forked from GridTools/gt4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
min-requirements-test.txt
106 lines (105 loc) · 2.66 KB
/
min-requirements-test.txt
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
105
106
#
# Generated automatically by cog from pyproject.toml and requirements-dev.in
# Run:
# tox r -e requirements-common
#
##[[[cog
## import copy, sys
## from packaging import requirements as reqs, specifiers as specs
## if sys.version_info >= (3, 11):
## import tomllib
## else:
## import tomli as tomllib
##
## def make_min_req(r: reqs.Requirement) -> reqs.Requirement:
## for s in r.specifier:
## if (ss := str(s)).startswith(">"):
## assert ss.startswith(">="), f"'{r!s}' requires a '>=' constraint"
## min_spec = specs.SpecifierSet(f"=={ss[2:]}")
## break
## min_r = copy.deepcopy(r)
## min_r.specifier = min_spec
## return min_r
##
## project = tomllib.loads(open("pyproject.toml").read())
## all_cpu_extra = project["project"]["optional-dependencies"]["all-cpu"]
## assert len(all_cpu_extra) == 1 and all_cpu_extra[0].startswith("gt4py[")
## opt_req_versions = {
## reqs.Requirement(r).name: reqs.Requirement(r)
## for e in reqs.Requirement(all_cpu_extra[0]).extras
## for r in project["project"]["optional-dependencies"][e]
## }
## requirements = [
## reqs.Requirement(rr)
## for r in (project["project"]["dependencies"] + open("requirements-dev.in").readlines())
## if (rr := (r[: r.find("#")] if "#" in r else r))
## ]
## processed = set()
## result = []
## for r in requirements:
## assert r.name not in processed
## processed.add(r.name)
## if not r.specifier:
## assert r.name in opt_req_versions, f"Missing contraints for '{r.name}'"
## r = opt_req_versions[r.name]
## result.append(str(make_min_req(r)))
## print("\n".join(sorted(result)))
##]]]
astunparse==1.6.3; python_version < "3.9"
attrs==21.3
black==22.3
boltons==20.1
bump-my-version==0.12.0
cached-property==1.5.1
clang-format==9.0
click==8.0.0
cmake==3.22
cogapp==3.3
coverage[toml]==5.0
cytoolz==0.12.1
darglint==1.6
deepdiff==5.6.0
devtools==0.6
diskcache==5.6.3
factory-boy==3.3.0
filelock==3.16.1
frozendict==2.3
gridtools-cpp==2.3.8
hypothesis==6.0.0
importlib-resources==5.0; python_version < "3.9"
jinja2==3.0.0
jupytext==1.14
lark==1.1.2
mako==1.1
matplotlib==3.3
mypy==1.0
nanobind==1.4.0
nbmake==1.4.6
ninja==1.10
numpy==1.23.3
packaging==20.0
pip-tools==6.10
pipdeptree==2.3
pre-commit==2.17
psutil==5.0
pybind11==2.10.1
pygments==2.7.3
pytest-cache==1.0
pytest-cov==2.8
pytest-custom-exit-code==0.3.0
pytest-factoryboy==2.0.3
pytest-instafail==0.5.0
pytest-xdist[psutil]==2.4
pytest==7.0
ruff==0.2.0
setuptools==65.5.0
sphinx==4.4
sphinx_rtd_theme==1.0
tabulate==0.8.10
tach==0.10.7
tomli==2.0.1; python_version < "3.11"
tox==3.2.0
types-tabulate==0.8.10
typing-extensions==4.10.0
xxhash==1.4.4
##[[[end]]]