Skip to content
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

Poetry build #152

Merged
merged 27 commits into from
Sep 17, 2024
Merged

Poetry build #152

merged 27 commits into from
Sep 17, 2024

Conversation

jcschaff
Copy link
Member

What new features does this PR implement?
resolve build dependencies and switch to poetry package manager and pyproject.toml instead of requirements.txt and setup.py. Requires Python 3.10.

How have you tested this PR?
integrated with biosimulators_test_suite prior to merge.

Additional information
deployment to PyPI with new pyproject.toml project definition not yet tested.

jcschaff and others added 27 commits August 30, 2024 17:04
@jcschaff jcschaff self-assigned this Sep 17, 2024
Copy link

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.87%. Comparing base (663b7f6) to head (18df340).
Report is 32 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #152   +/-   ##
=======================================
  Coverage   90.87%   90.87%           
=======================================
  Files          89       89           
  Lines        9607     9610    +3     
=======================================
+ Hits         8730     8733    +3     
  Misses        877      877           
Flag Coverage Δ
unittests 90.87% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! curl-ing to get Poetry is definitely the best way to get poetry in a workflow environment.

Copy link
Member Author

Choose a reason for hiding this comment

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

there was a broken set of dependencies in python 3.11 (rbapy failed in 3.11).

Copy link
Contributor

Choose a reason for hiding this comment

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

I enjoy whenever we get to use the Docker python API!

Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine, I just wonder if the strictness of python = "~3.10" will jam things up in envs that use 3.11 or 3.12, etc. Just something to keep in mind! This might be a very picky comment!

Copy link
Contributor

@AlexPatrie AlexPatrie left a comment

Choose a reason for hiding this comment

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

All set! Have a look at the comment regarding pyproject.toml. This is not at all blocking, but rather something to keep in mind. Approved!

@jcschaff jcschaff merged commit 65c9127 into dev Sep 17, 2024
11 checks passed
@jcschaff jcschaff deleted the poetry-build branch September 17, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants