-
Notifications
You must be signed in to change notification settings - Fork 40
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
Migrate to poetry #144
Migrate to poetry #144
Conversation
Codecov Report
@@ Coverage Diff @@
## master #144 +/- ##
=======================================
Coverage 89.08% 89.08%
=======================================
Files 11 11
Lines 1090 1090
Branches 239 239
=======================================
Hits 971 971
Misses 76 76
Partials 43 43 Continue to review full report at Codecov.
|
A few notes on the changes. I've somewhat mitigate problems with Poetry so one can manage virtualenvs, dependencies, build process and publishing with it now. Tried to fully mimic current pipenv / setup.py behavior, but faced these issues:
Everything else seems fine. Waiting for your comments! :-) |
Hi @alexmisk Sorry for the delay!
I don't mind dropping |
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.
Left 1 comment. Everything else looks good to me! 👍
CONTRIBUTING.md
Outdated
- Install pipenv: | ||
- Install Poetry (used for dependency management and packaging): | ||
|
||
For OSX / Linux / WSL |
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.
Nitpick, the latest OS for Mac is called macOS
.
Hi! Extra deps removed, OS name changed :-) PR is ready to merge. Yet another detail: as you may know, Poetry tracks package version in pyproject.toml and has a convenient way to change it. For example: ❯ poetry version minor
Bumping version from 0.4.0 to 0.5.0
❯ poetry version patch
Bumping version from 0.5.0 to 0.5.1 More on that: https://python-poetry.org/docs/cli/#version So maybe there is no need to keep version number in |
LGTM! 🎉 |
I don't mind deleting version number in |
Here is an almost working draft, I'll leave a few comments later today. You can examine a build generated by Poetry here: https://test.pypi.org/project/pyserde-test/