Skip to content
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

Add runtime dependency on setuptools #102

Merged
merged 2 commits into from
Jan 14, 2021

Conversation

tiran
Copy link
Contributor

@tiran tiran commented Jan 14, 2021

setuptools_rust has a runtime dependency on setuptools. Ensure that all
installations of setuptools_rust have a sufficiently recent version of
setuptools.

Fixes: #101
Signed-off-by: Christian Heimes christian@python.org

@@ -27,7 +27,7 @@ classifiers =
[options]
packages = setuptools_rust
zip_safe = True
install_requires = semantic_version>=2.6.0; toml>=0.9.0
install_requires = setuptools>=46.1; semantic_version>=2.6.0; toml>=0.9.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is 46.1 correct? I just copy and pasted the dependency from setup_requires.

By the way pyproject.toml specifies a different version.

Copy link
Member

Choose a reason for hiding this comment

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

As 46.1 is the higher of the numbers, let's use that to be on the safe side.

If you're willing, could you please also update pyproject.toml so that they all match?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure!

setuptools_rust has a runtime dependency on setuptools. Ensure that all
installations of setuptools_rust have a sufficiently recent version of
setuptools.

Fixes: PyO3#101
Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran force-pushed the gh-101-setuptools branch from 6830479 to f20d6e6 Compare January 14, 2021 17:40
Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setuptools is not listed as installation requirement
2 participants