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

Switching from poetry to uv #542

Merged
merged 30 commits into from
Jan 28, 2025
Merged

Switching from poetry to uv #542

merged 30 commits into from
Jan 28, 2025

Conversation

apchytr
Copy link
Collaborator

@apchytr apchytr commented Jan 20, 2025

Context: astral-sh/uv is an alternative package manager written in rust. The aim here is to replace poetry with uv.

Description of the Change: Updating references to poetry with uv. Updating pyproject.toml and the lock file.

Benefits: uv is faster than poetry. Additionally, our pyproject.toml file is now up to the latest PEP standards.

Possible Drawbacks: There may be some features in poetry that are currently missing in uv.

Note: changes will need to be propagated to Mr Kite

@apchytr apchytr added the no changelog Pull request does not require a CHANGELOG entry label Jan 20, 2025
@apchytr apchytr added the WIP work in progress label Jan 20, 2025
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.05%. Comparing base (810053f) to head (5253e59).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #542   +/-   ##
========================================
  Coverage    90.05%   90.05%           
========================================
  Files          102      102           
  Lines         6222     6222           
========================================
  Hits          5603     5603           
  Misses         619      619           

Continue to review full report in Codecov by Sentry.

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

@apchytr apchytr removed the WIP work in progress label Jan 23, 2025
@apchytr apchytr marked this pull request as ready for review January 23, 2025 19:08
@ziofil
Copy link
Collaborator

ziofil commented Jan 27, 2025

zippity fast!

ziofil
ziofil previously approved these changes Jan 27, 2025
Copy link
Collaborator

@ziofil ziofil left a comment

Choose a reason for hiding this comment

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

thanks! this is awesome

Copy link
Collaborator

@timmysilv timmysilv left a comment

Choose a reason for hiding this comment

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

is the lockfile from scratch, as in, packages are now bumped to latest instead of whatever was in poetry.lock?

Makefile Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
.github/workflows/tests_docs.yml Outdated Show resolved Hide resolved
@apchytr
Copy link
Collaborator Author

apchytr commented Jan 27, 2025

is the lockfile from scratch, as in, packages are now bumped to latest instead of whatever was in poetry.lock?

It was generated from scratch yes. As to whether this is an issue I'm not sure. What do you think @timmysilv?

Copy link
Collaborator

@timmysilv timmysilv left a comment

Choose a reason for hiding this comment

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

i don't think it's an issue, but it's something of note! I'll list the changes here for posterity in case it causes issues in the future.

Changed packages Changed aiosignal from 1.3.1 to 1.3.2
Changed astroid from 3.3.5 to 3.3.8
Changed asttokens from 2.4.1 to 3.0.0
Changed attrs from 24.2.0 to 24.3.0
Changed black from 24.10.0 to 22.12.0
Changed certifi from 2024.8.30 to 2024.12.14
Changed charset-normalizer from 3.4.0 to 3.4.1
Changed click from 8.1.7 to 8.1.8
Changed cloudpickle from 3.1.0 to 3.1.1
Changed contourpy from 1.3.0 to 1.3.1
Changed coverage from 7.6.8 to 7.6.10
Changed dask from 2024.8.0 to 2025.1.0
Changed docutils from 0.20.1 to 0.21.2
Changed fastjsonschema from 2.21.0 to 2.21.1
Changed flatbuffers from 24.3.25 to 24.12.23
Changed fonttools from 4.55.0 to 4.55.3
Changed fsspec from 2024.10.0 to 2024.12.0
Changed identify from 2.6.3 to 2.6.5
Changed ipython from 8.18.1 to 8.31.0
Changed jinja2 from 3.1.4 to 3.1.5
Changed keras from 3.7.0 to 3.8.0
Changed kiwisolver from 1.4.7 to 1.4.8
Changed llvmlite from 0.42.0 to 0.43.0
Changed matplotlib from 3.9.2 to 3.10.0
Changed networkx from 3.2.1 to 3.4.2
Changed numba from 0.59.1 to 0.60.0
Changed optree from 0.13.1 to 0.14.0
Changed pillow from 11.0.0 to 11.1.0
Changed protobuf from 5.29.0 to 5.29.3
Changed pyaml from 24.9.0 to 25.1.0
Changed pygments from 2.18.0 to 2.19.1
Changed pylint from 3.3.1 to 3.3.3
Changed pyparsing from 3.2.0 to 3.2.1
Changed ray from 2.39.0 to 2.40.0
Changed referencing from 0.35.1 to 0.36.1
Changed rpds-py from 0.21.0 to 0.22.3
Changed scikit-learn from 1.5.2 to 1.6.1
Changed scikit-optimize from 0.9.0 to 0.10.2
Changed scipy from 1.13.1 to 1.15.1
Changed six from 1.16.0 to 1.17.0
Changed sphinx-automodapi from 0.15.0 to 0.18.0
Changed urllib3 from 2.2.3 to 2.3.0
Changed virtualenv from 20.28.0 to 20.29.1
Changed wrapt from 1.17.0 to 1.17.2

@apchytr apchytr merged commit 5a11703 into develop Jan 28, 2025
10 checks passed
@apchytr apchytr deleted the uvSwitch branch January 28, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Pull request does not require a CHANGELOG entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants