-
Notifications
You must be signed in to change notification settings - Fork 872
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
Full pyproject conversion #1065
Conversation
The only thing I could fit in was the long description. But the readme can take its place if that's acceptable. |
Thanks a lot, this is awesome! (And no worries, I will try to debug the CI issues) |
I'll close out #1064 if you like this one better. |
Could you try to update the branch by pulling or rebasing from master? The CI should be fixed now. |
22be47e
to
ecf4a87
Compare
Rebased it |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1065 +/- ##
=======================================
Coverage 77.26% 77.26%
=======================================
Files 200 200
Lines 11297 11297
Branches 1513 1513
=======================================
Hits 8729 8729
Misses 2350 2350
Partials 218 218 ☔ View full report in Codecov by Sentry. |
It seems to work now. Thanks a lot for this great PR and restructuring. I will make a PyPI release later today. |
Code of Conduct
Description
Continuing on the conversation from #1062. Converted all the way to a pyproject. This is really slick. Everything builds and installs as expected. The
__version__
thing is no longer a problem. If it's changed in the__init__.py
, it is picked up automatically.Was able to delete the
setup.py
andsetup.cfg
entirely by moving the pytest config and the setuptools wheel config. The "universal" wheel section in thesetup.cfg
was causing it to make python 2 compatible wheels (withpy2-py3-non-any.whl
). Now it just makes apy3
wheel.Let me know thoughts. Happy to make any changes. The PR is coming from a github org so you might not be able to edit it directly.
Alternative to #1064
Build output:
Related issues or pull requests
Fixes #1062
Pull Request Checklist
./docs/sources/CHANGELOG.md
file (if applicable)./mlxtend/*/tests
directories (if applicable)mlxtend/docs/sources/
(if applicable)PYTHONPATH='.' pytest ./mlxtend -sv
and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g.,PYTHONPATH='.' pytest ./mlxtend/classifier/tests/test_stacking_cv_classifier.py -sv
)flake8 ./mlxtend