Skip to content

Use Poetry for dependency management and packaging #367

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 2 commits into from
Jul 3, 2021
Merged

Use Poetry for dependency management and packaging #367

merged 2 commits into from
Jul 3, 2021

Conversation

sisp
Copy link
Contributor

@sisp sisp commented Jun 30, 2021

This PR adds Poetry for dependency management and packaging.

It addresses the first suggestion of #355. I think it's better to create separate PRs for the different improvements suggested in #355 instead of having one big PR. I've intentionally set most of the dependencies' version specifiers to "*" to keep them as they are right now to not mix different steps of the migration.

Let me know what you think. 🙂

@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Merging #367 (9939ce3) into master (bf2f13d) will decrease coverage by 25.77%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #367       +/-   ##
===========================================
- Coverage   96.72%   70.95%   -25.78%     
===========================================
  Files          80       80               
  Lines        1743     2355      +612     
===========================================
- Hits         1686     1671       -15     
- Misses         57      684      +627     
Impacted Files Coverage Δ
openapi_core/contrib/flask/handlers.py 45.71% <0.00%> (-54.29%) ⬇️
openapi_core/contrib/falcon/handlers.py 51.16% <0.00%> (-48.84%) ⬇️
openapi_core/contrib/falcon/requests.py 51.28% <0.00%> (-48.72%) ⬇️
openapi_core/casting/schemas/factories.py 53.84% <0.00%> (-46.16%) ⬇️
openapi_core/contrib/django/handlers.py 54.83% <0.00%> (-45.17%) ⬇️
openapi_core/contrib/flask/decorators.py 55.88% <0.00%> (-44.12%) ⬇️
openapi_core/testing/requests.py 57.14% <0.00%> (-42.86%) ⬇️
openapi_core/contrib/requests/requests.py 58.33% <0.00%> (-41.67%) ⬇️
openapi_core/templating/paths/finders.py 61.16% <0.00%> (-38.84%) ⬇️
openapi_core/validation/response/validators.py 58.56% <0.00%> (-37.81%) ⬇️
... and 38 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf2f13d...9939ce3. Read the comment docs.

Copy link
Collaborator

@p1c2u p1c2u left a comment

Choose a reason for hiding this comment

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

Looks good just have couple of questions. Apreciate it.

@p1c2u
Copy link
Collaborator

p1c2u commented Jul 1, 2021

Code coverage report went crazy dunno why

Copy link
Collaborator

@p1c2u p1c2u left a comment

Choose a reason for hiding this comment

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

LGTM

@p1c2u
Copy link
Collaborator

p1c2u commented Jul 3, 2021

@sisp thank you for the contribution

@p1c2u p1c2u merged commit b801118 into python-openapi:master Jul 3, 2021
@sisp sisp deleted the use-poetry branch July 3, 2021 11:58
@sisp
Copy link
Contributor Author

sisp commented Jul 3, 2021

@p1c2u I just noticed you didn't squash the commits of this PR before merging it. Was it intentional?

@p1c2u
Copy link
Collaborator

p1c2u commented Jul 3, 2021

Not intentional but that's okay

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.

2 participants