-
Notifications
You must be signed in to change notification settings - Fork 777
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
examples: remove requirements-dev.txt files #3536
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dead file no longer needed.
@@ -1,3 +1,4 @@ | |||
variable::set("PYO3_VERSION", "0.20.0"); | |||
file::rename(".template/Cargo.toml", "Cargo.toml"); | |||
file::rename(".template/pyproject.toml", "pyproject.toml"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was missing from the template, thought I would fix at the same time while touching up these examples.
07d8d8a
to
aaa1d6d
Compare
aaa1d6d
to
7ceb552
Compare
7ceb552
to
391687d
Compare
@adamreichold I'm going to assume this is good to merge now that I switched to use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, just lost this from my to-do list.
While reviewing #3508 and #3052 we've noticed that we have a bit of duplication of maturin requirements as well as some inconsistency in how we install / pin maturin versions in the examples.
This PR attempts to fix that by removing the
requirements-dev.txt
files, and moving any "dev" requirements as optional dependencies in thepyproject.toml
files. Finally, thenoxfile
s are changed to use--config-settings
to pass arguments to maturin in a PEP517 install rather than by callingmaturin develop
, meaning those calls also go through the maturin version configured in thepyproject.toml
.