-
Notifications
You must be signed in to change notification settings - Fork 153
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
Use Poetry for dependency management #431
Conversation
Coverage Report
|
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.
Awesome! Thanks for doing this. Does pyproject.toml replacing all the existing build file formats (pipenv, conda, poetry, requirements.txt) stay compatible for users?
Should be, according to https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#declaring-project-metadata :) Requirements can be exported into requirements.txt for pip install with https://python-poetry.org/docs/cli/#export |
Forgot to add commit tagging workflow - will do that, update contributor section in README and then merge. |
looks good thanks for making the automation better with the semver tagging! would this still work with trusted publishing? i saw the workflow is now directly running |
|
Actually, we can also just do the |
@lidatong updated, just to make sure, this is the result of
|
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.
@lidatong updated, just to make sure, this is the result of
poetry build
:> ~/PycharmProjects/dataclasses-json$ poetry build Building dataclasses-json (0.0.0) - Building sdist - Built dataclasses_json-0.0.0.tar.gz - Building wheel - Built dataclasses_json-0.0.0-py3-none-any.whl > ~/PycharmProjects/dataclasses-json$ ls LICENSE README.md dataclasses_json dist poetry.lock pyproject.toml tests venv > ~/PycharmProjects/dataclasses-json$ ls dist/ dataclasses_json-0.0.0-py3-none-any.whl dataclasses_json-0.0.0.tar.gz
ok great, this looks good! we can keep trusted publishing this way. thanks again for the nice CI improvements :D
Part of #413
Scope
setup.py
poetry install