forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
179 lines (172 loc) · 4.93 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
[build-system]
build-backend = 'mesonpy'
# Minimum requirements for the build system to execute.
requires = [
'meson-python',
'cypari2 >=2.1.1',
# cysignals 1.11.2 is the newest version that is available on conda:
# https://github.com/conda-forge/cysignals-feedstock/pull/49
'cysignals >=1.11.2',
# Exclude 3.0.3 because of https://github.com/cython/cython/issues/5748
'cython >=3.0, != 3.0.3',
'gmpy2 ~=2.1.b999',
'memory_allocator',
'numpy >=1.19',
'jinja2'
]
[project]
name = "sagemath"
description = "Sage: Open Source Mathematics Software: Standard Python Library"
dependencies = [
'six >=1.15.0',
'conway-polynomials >=0.8',
'cypari2 >=2.1.1',
'cysignals >=1.10.2',
'cython >=3.0, != 3.0.3',
'gmpy2 ~=2.1.b999',
'lrcalc ~=2.1',
'memory_allocator',
'numpy >=1.19',
# Issue #30922: pplpy 0.8.4 and earlier do not declare dependencies correctly
'pplpy >=0.8.6',
'primecountpy',
'requests >=2.13.0',
# According to https://github.com/python/typing_extensions/blob/main/CHANGELOG.md,
# version 4.4.0 adds another Python 3.11 typing backport
'typing_extensions >= 4.4.0; python_version<"3.11"',
'ipython >=7.13.0',
'pexpect >=4.8.0',
'sphinx >=5.2, <9',
'networkx >=2.4',
# 1.8 is known good version.
# Per https://docs.scipy.org/doc/scipy/dev/core-dev/index.html#version-numbering
# and https://docs.scipy.org/doc/scipy/dev/core-dev/index.html#deprecations,
# deprecations cannot be introduced in micro releases.
# SciPy devs wait "at least 6 months", "in practice two (minor) releases"
# from deprecation to removal of a feature.
'scipy >=1.5',
'sympy >=1.6, <2.0',
# Issue #33642: Set lower bound for use of matplotlib color maps introduced in #33491,
# and to suppress deprecation warnings (https://github.com/matplotlib/matplotlib/pull/21073)
'matplotlib >=3.5.1',
'pillow >=7.2.0',
'mpmath >=1.1.0',
'ipykernel >=5.2.1',
'jupyter-client',
'ipywidgets >=7.5.1',
'fpylll >=0.5.9',
'ptyprocess > 0.5',
# TODO: Remove this once the migration to meson is complete
'pkgconfig'
]
dynamic = ["version"]
license = {text = "GNU General Public License (GPL) v2 or later"}
authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
]
urls = {Homepage = "https://www.sagemath.org"}
requires-python = ">=3.9, <3.13"
[project.optional-dependencies]
R = [
'rpy2 >=3.3',
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[tool.conda-lock]
platforms = [
'osx-64', 'linux-64', 'linux-aarch64', 'osx-arm64'
]
# External dependencies in the format proposed by https://peps.python.org/pep-0725
[external]
build-requires = [
"virtual:compiler/c",
"virtual:compiler/cpp",
"pkg:generic/pkg-config"
]
host-requires = [
"virtual:interface/blas",
"virtual:compiler/fortran",
"pkg:generic/boost",
"pkg:generic/brial",
"pkg:generic/cddlib",
"pkg:generic/cliquer",
"pkg:generic/ecl",
"pkg:generic/eclib",
"pkg:generic/ecm",
"pkg:generic/fflas-ffpack",
"pkg:generic/fplll",
"pkg:generic/flint",
"pkg:generic/libgd",
"pkg:generic/gap",
"pkg:generic/gfan",
"pkg:generic/giac",
"pkg:generic/givaro",
"pkg:generic/glpk",
"pkg:generic/gmp",
"pkg:generic/gsl",
"pkg:generic/iml",
"pkg:generic/lcalc",
"pkg:generic/libbraiding",
"pkg:generic/libhomfly",
"pkg:generic/linbox",
"pkg:generic/lrcalc",
"pkg:generic/m4ri",
"pkg:generic/m4rie",
"pkg:generic/maxima",
"pkg:generic/mpc",
"pkg:generic/mpfi",
"pkg:generic/mpfr",
"pkg:generic/nauty",
"pkg:generic/ntl",
"pkg:generic/palp",
"pkg:generic/pari",
"pkg:generic/pari-elldata",
"pkg:generic/pari-galdata",
"pkg:generic/pari-seadata",
"pkg:generic/planarity",
"pkg:generic/ppl",
"pkg:generic/primesieve",
"pkg:generic/primecount",
"pkg:generic/qhull",
"pkg:generic/rw",
"pkg:generic/singular",
"pkg:generic/symmetrica",
"pkg:generic/sympow",
]
dependencies = [
"pkg:generic/tachyon",
"pkg:generic/sagemath-polytopes-db",
"pkg:generic/sagemath-elliptic-curves",
"pkg:generic/sagemath-graphs",
]
[dependency-groups]
test = [
"pytest",
"pytest-xdist",
"coverage",
]
docs = [
"sphinx",
"sphinx-inline-tabs",
"furo",
]
lint = [
"relint",
"ruff",
"pycodestyle",
"flake8-rst-docstrings",
]