-
Notifications
You must be signed in to change notification settings - Fork 20
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
Replacing requirement files and setup.py with pyproject.toml #70
Conversation
Hello @caleb-johnson, would you kindly have a look at my solution? |
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.
Thanks for this submission! Just a small comment.
...enotes/notes/replace-requirment-files-and-setup.py-with-pyproject.toml-4db05996dd99827c.yaml
Outdated
Show resolved
Hide resolved
I'm going to approve the workflow, but my guess is that the "minimum version tests" and "development version tests" will fail for the meantime. Right now, an improved, |
Co-authored-by: Jim Garrison <jim@garrison.cc>
@garrison, yes, I agree. The checks will not pass because |
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.
Looks great, thanks!
Ahh the CI was passing earlier, sorry I'm getting caught up now :) |
@garrison should I re-add |
I think it makes more sense just to remove the dev and min version test workflows for now. With regards to |
@garrison ok, that is done for you. Thank you. |
quantum-prototype-template/tox.ini Lines 15 to 16 in fac25b3
replace with Might also be worth grepping the repository (e.g., |
Aside for the dev and min version test workflows which I removed, the files containing requirement files are:
|
Pull Request Test Coverage Report for Build 5192209113
💛 - Coveralls |
@garrison should I modify the |
I just ran
|
You will need |
What version of tox are you using? If below version 4, you might have to pass the |
@garrison, I am currently on version |
perhaps there is a problem with my system. I ran all the commands manually and it seems to me the checks all passed |
thank you! I understand. Co-authored-by: Jim Garrison <jim@garrison.cc>
docs/file-map-and-description.md
Outdated
<!-- - [requirements.txt](../requirements.txt) - list of required 3rd party packages to run your project. | ||
- [requirements-dev.txt](../requirements-dev.txt) - list of required 3rd party packages that are | ||
NOT required to run your project, but which might benefit developers. It can include specific test | ||
libraries, style checks packages etc. | ||
libraries, style checks packages etc. --> |
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.
Can you remove these lines containing requirements.txt
and requirements-dev.txt
? (since there is no chance in them coming back)
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.
That has been resolved.
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.
Can you double check? I think you removed a different commented region, actually, than this one in c3a3519. I was thinking it makes sense to keep the explanations in README.md
commented out since (we hope) the development and minimum version tests will re-appear in a subsequent PR.
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.
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.
I have also re-added the comment section I wrongly removed previously. Sorry about that.
Co-authored-by: Jim Garrison <jim@garrison.cc>
* Update README.md adding comment section that was removed by mistake * Update README.md re-adding comment section * Update file-map-and-description.md removing comments referring to `requirments.txt`
Just one note for the future (don't worry about this here): typically it is customary to make pull requests from a new branch in your fork, rather than using |
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.
Thanks, this is looking very good to me. I appreciate the contribution!
Co-authored-by: Jim Garrison <jim@garrison.cc>
noted! |
Summary
This pull request aims to resolve issue 61. The requirement files and
setup.py
have been replaced withpyproject.toml
.Details and comments
The
pyproject.toml
in this repo is a template and contains the required fields. In addition, optional fields can be added according to the documentation found here.To install
pyproject.toml
use the commandpython -m pip install path/to/pyproject.toml