forked from conda/conda-libmamba-solver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
104 lines (99 loc) · 4.05 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "conda-libmamba-solver"
description = "The fast mamba solver, now in conda"
readme = "README.md"
authors = [
{name = "Anaconda, Inc.", email = "[email protected]"}
]
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy"
]
requires-python = ">=3.6"
dependencies = [
"conda >=4.13",
"libmambapy >=0.23",
"importlib-metadata"
]
dynamic = [
"version"
]
[project.urls]
homepage = "https://github.com/conda-incubator/conda-libmamba-solver"
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "conda_libmamba_solver"
[tool.black]
line-length = 99
exclude = '''
(
^/conda_libmamba_solver/_libmamba\.py
| ^/tests/_reposerver\.py
)
'''
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
### Original settings from conda/conda
"--ignore=setup.py",
"--ignore=conda/__main__.py",
"--ignore=conda/_vendor",
"--ignore=tests/conda_env/specs/test_binstar.py",
"--ignore=tests/conda_env/support",
"--ignore=tests/conda_env/utils/test_uploader.py",
"--ignore=test_data",
"--tb=native",
"--strict-markers",
"--xdoctest-modules",
"--xdoctest-style=google",
### Deselect tests from conda/conda we cannot pass due to different reasons
### These used to be skipped or xfail'd upstream, but we are trying to
### keep it clean from this project's specifics
# Conflict report / analysis is done differently with libmamba.
"--deselect=tests/cli/test_cli_install.py::test_find_conflicts_called_once",
# SolverStateContainer needed
"--deselect=tests/core/test_solve.py::test_solve_2",
"--deselect=tests/core/test_solve.py::test_virtual_package_solver",
"--deselect=tests/core/test_solve.py::test_broken_install",
# Features / nomkl involved
"--deselect=tests/core/test_solve.py::test_features_solve_1",
"--deselect=tests/core/test_solve.py::test_prune_1",
"--deselect=tests/test_create.py::IntegrationTests::test_remove_features",
# Inconsistency analysis not implemented yet
"--deselect=tests/test_create.py::IntegrationTests::test_conda_recovery_of_pip_inconsistent_env",
# Known bug in mamba; see https://github.com/mamba-org/mamba/issues/1197
"--deselect=tests/test_create.py::IntegrationTests::test_offline_with_empty_index_cache",
# The following are known to fail upstream due to too strict expectations
# We provide the same tests with adjusted checks in tests/test_modified_upstream.py
"--deselect=tests/test_create.py::IntegrationTests::test_neutering_of_historic_specs",
"--deselect=tests/test_create.py::IntegrationTests::test_pinned_override_with_explicit_spec",
"--deselect=tests/core/test_solve.py::test_pinned_1",
"--deselect=tests/core/test_solve.py::test_freeze_deps_1",
"--deselect=tests/core/test_solve.py::test_cuda_fail_1",
"--deselect=tests/core/test_solve.py::test_cuda_fail_2",
"--deselect=tests/core/test_solve.py::test_update_all_1",
"--deselect=tests/core/test_solve.py::test_conda_downgrade",
"--deselect=tests/core/test_solve.py::test_python2_update",
"--deselect=tests/core/test_solve.py::test_fast_update_with_update_modifier_not_set",
"--deselect=tests/core/test_solve.py::test_downgrade_python_prevented_with_sane_message",
# TODO: These ones need further investigation
"--deselect=tests/core/test_solve.py::test_channel_priority_churn_minimized",
"--deselect=tests/core/test_solve.py::test_priority_1",
# TODO: Investigate why this fails on Windows now
"--deselect=tests/test_create.py::IntegrationTests::test_install_update_deps_only_deps_flags",
]
markers = [
"integration: integration tests that usually require an internet connect",
"slow: slow running tests",
]