Skip to content

Generate requirements files from pyproject.toml#6987

Merged
jarrodmillman merged 2 commits intonetworkx:mainfrom
jarrodmillman:gen-requirements-from-pyproject
Oct 6, 2023
Merged

Generate requirements files from pyproject.toml#6987
jarrodmillman merged 2 commits intonetworkx:mainfrom
jarrodmillman:gen-requirements-from-pyproject

Conversation

@jarrodmillman
Copy link
Member

This PR is based on numpy/numpydoc#483 and scikit-image/scikit-image#7085, which make pyproject.toml a primary file without any template, and adds a pre-commit script to write requirements files. It doesn't really change anything, but I would like to keep everything consistent.

This PR is based on numpy/numpydoc#483 and scikit-image/scikit-image#7085,
which make pyproject.toml a primary file without any template, and adds a pre-commit script to write requirements files.
It doesn't really change anything, but I would like to keep everything
consistent.
@jarrodmillman jarrodmillman requested a review from MridulS October 5, 2023 14:55
@jarrodmillman jarrodmillman added this to the 3.2 milestone Oct 5, 2023
Copy link
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough to be a true judge of these scripts. But I trust them.
The now foundational pyproject.toml does not have blank lines before two sections. It's not a big deal but makes the style cleaner:
[tool.setuptools]
and
[tool.setuptools.dynamic.version]

@jarrodmillman jarrodmillman merged commit 731f497 into networkx:main Oct 6, 2023
@jarrodmillman jarrodmillman deleted the gen-requirements-from-pyproject branch October 6, 2023 13:26
Alex-Markham pushed a commit to Alex-Markham/networkx that referenced this pull request Oct 13, 2023
* Generate requirements files from pyproject.toml

This PR is based on numpy/numpydoc#483 and scikit-image/scikit-image#7085,
which make pyproject.toml a primary file without any template, and adds a pre-commit script to write requirements files.
It doesn't really change anything, but I would like to keep everything
consistent.

* Cleanup formatting
dschult pushed a commit to BrunoBaldissera/networkx that referenced this pull request Oct 23, 2023
* Generate requirements files from pyproject.toml

This PR is based on numpy/numpydoc#483 and scikit-image/scikit-image#7085,
which make pyproject.toml a primary file without any template, and adds a pre-commit script to write requirements files.
It doesn't really change anything, but I would like to keep everything
consistent.

* Cleanup formatting
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* Generate requirements files from pyproject.toml

This PR is based on numpy/numpydoc#483 and scikit-image/scikit-image#7085,
which make pyproject.toml a primary file without any template, and adds a pre-commit script to write requirements files.
It doesn't really change anything, but I would like to keep everything
consistent.

* Cleanup formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants