use zstd from python lib or backports.zstd (python<'3.14'), closes #9261#9397
Conversation
|
@defnvary Thanks for the PR, looks good! Guess we also describe the requirements in our install docs, including some dist-specific instructions for linux, bsd, mac, windows about what to install and they need fixing also. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9397 +/- ##
=======================================
Coverage 76.47% 76.47%
=======================================
Files 85 85
Lines 14804 14804
Branches 2213 2213
=======================================
Hits 11322 11322
Misses 2803 2803
Partials 679 679 ☔ View full report in Codecov by Sentry. |
|
Please update your local master branch and then rebase this branch onto that master and force push. That should solve the CI test failures that are unrelated to your work. |
|
Oh Thank you. I thought I made some mistake in setting up the environment🙃. |
ThomasWaldmann
left a comment
There was a problem hiding this comment.
Looks good overall, dependencies for py<3.14 unclear.
There is backports.zstd dependency that i added in pyproject.toml under dependencies. which i am not 100% sure is the correct place for this kind of dependency. Should i put it under requirements.d/development.txt? |
|
pyproject.toml is the correct place for the backports.zstd dependency. the files in requirements.d/* mostly define requirements for development, testing, docs building. |
|
BTW, do you know Be careful when first using it, but that is a very nice and powerful command to get a clean commit history. |
I know (in theory) never used it. I need to rebase this whole pr into a single commit before merging right? |
1fc75b5 to
3b7fa9f
Compare
ThomasWaldmann
left a comment
There was a problem hiding this comment.
there are changes from other commits now in your PR.
There was a problem hiding this comment.
that should not be in your PR.
3b7fa9f to
4344eb3
Compare
|
Thanks! |
Description
Replace C dependency for zstd with built in compression.zstd (for python 3.14 and above) falling back to backports.zstd for older python versions.
Issue
#9261