Skip to content

Declare project and pytest configuration in pyproject.toml #80

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

Merged
merged 7 commits into from
Jul 30, 2022

Conversation

EpicWink
Copy link
Contributor

@EpicWink EpicWink commented Jul 19, 2022

Uses PEP 518 and PEP 621. Drops support for Python 3.6 and running tests via python setup.py.

setup.py-less editable installs are blocked by pypa/setuptools#3082 (likely setuptools v64), so a stub setup.py remains.

EpicWink added 2 commits July 19, 2022 17:03
Uses PEP 518 and PEP 621. Drops support for running tests via 'python setup.py'
@codecov
Copy link

codecov bot commented Jul 19, 2022

Codecov Report

Merging #80 (817921c) into master (c3689c9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #80   +/-   ##
=======================================
  Coverage   84.83%   84.83%           
=======================================
  Files           1        1           
  Lines         310      310           
=======================================
  Hits          263      263           
  Misses         47       47           

Help us with your feedback. Take ten seconds to tell us how you rate us.

@jenshnielsen
Copy link

@EpicWink I believe it would be possible to do the main part of this provided that you leave a stup setup.py file around https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/?highlight=660#editable-installation even without setuptools supporting pep660. How do you think about that

@Chilipp
Copy link
Owner

Chilipp commented Jul 25, 2022

I agree to @jenshnielsen, we should still keep a setup.py file unless you can give me a good reason why it should be removed. What do you think @EpicWink ?

@EpicWink
Copy link
Contributor Author

Sounds good, I'll get to it tomorrow and test

@EpicWink EpicWink marked this pull request as ready for review July 28, 2022 11:00
Copy link
Owner

@Chilipp Chilipp left a comment

Choose a reason for hiding this comment

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

thanks a lot @EpicWink!

@Chilipp Chilipp merged commit a21e05d into Chilipp:master Jul 30, 2022
@EpicWink EpicWink deleted the pyproject-toml branch August 1, 2022 01:09
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.

3 participants