-
-
Notifications
You must be signed in to change notification settings - Fork 675
pkgs/sagemath-standard: Move metadata from setup.cfg to pyproject.toml #37902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
69f3e8e
c5ba0ad
3a285be
5cf3a28
7ff4a5f
e984631
e0589c3
1bbeec6
443b5bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
conway-polynomials >=0.8 | ||
conway-polynomials | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cypari2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cysignals |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cython | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reintroduction of these version requirement files containing no actual requirements (which however are present in the pyproject.toml file) seems pretty pointless. This also reverts the design of #36982 - which already went through the "disputed" process. Just add all packages whose version is now specified in the pyproject toml in the list in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
No. This defines the map between SPKG names and Python distribution names. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
No. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
As I understand it, by the design of #36982:
This PR respects that, and also reintroduces @mkoeppe Am I right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kwankyu That's correct. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
fpylll >=0.5.9 | ||
fpylll | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So the constraint ">= 0.5.9" is needed for sagemath-standard distribution package. For sage-the-distribution, there is no further constraint. Hence it is just "fpylll" here. Right? Is there a sage package for which sage-the-distribution needs more constraint than sagemath-standard? It seems there is none, currently... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As I said in https://groups.google.com/g/sage-devel/c/sVcJiJdUxRs/m/VMOu20agBgAJ, I don't plan to start maintaining two sets of constraints. (Setting the version constraint for the packages that are dependencies of sagelib in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
You mean Now this PR makes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two sets of constraints (those in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes.
Consider a package A that is a build dependency of sagelib.
Now consider a package B that is not a build dependency of sagelib but a runtime dependency of sagelib.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For which packages is this the case? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. non-python packages can be renamed if needed, this is not a problem There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. one reason for name clashed between Python and non-Python packages is lack of a directory structure in build/pkgs/, everything is dumped into one flat namespace. And no, don't tell me that a distribution XXX does this too, this is irrelevant, and it suffices to see that such an XXX is forced to deal with the name clashes like this by inventing package name prefixes, which is obviously just a poor man replacement of a proper directory structure. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Obviously outside of the scope of this PR to do any of this. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gmpy2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
# According to https://pypi.org/project/importlib-metadata/, | ||
# 4.13 provides the features of Python 3.11 importlib.metadata | ||
importlib_metadata >=4.13; python_version<"3.11" | ||
importlib_metadata |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
# According to https://pypi.org/project/importlib-resources/, | ||
# version 5.7 provides the features of Python 3.11 importlib.resources | ||
importlib_resources >= 5.7; python_version<"3.11" | ||
importlib_resources |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ipykernel >=5.2.1 | ||
ipykernel |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ipython >=7.13.0 | ||
ipython |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ipywidgets >=7.5.1 | ||
ipywidgets |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jupyter-core |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
lrcalc ~=2.1 | ||
lrcalc |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
# 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 | ||
matplotlib |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
memory_allocator |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
mpmath >=1.1.0 | ||
mpmath |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
networkx >=2.4 | ||
networkx |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
numpy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pexpect >=4.8.0 | ||
pexpect |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pillow >=7.2.0 | ||
pillow |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkgconfig |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pplpy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ptyprocess > 0.5 | ||
ptyprocess |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
requests >=2.13.0 | ||
requests |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
rpy2 >=3.3 | ||
rpy2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
# 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 | ||
scipy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
setuptools |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
six >=1.15.0 | ||
six |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sympy >=1.6, <2.0 | ||
sympy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
# 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' | ||
typing_extensions |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
wheel |
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.