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

In Python 3.12, a DeprecationWarning about tarfile filtering by default in Python 3.14 #48

Closed
musicinmybrain opened this issue Jul 16, 2023 · 0 comments

Comments

@musicinmybrain
Copy link

When using Python 3.12, a number of tests fail due to DeprecationWarnings of the following form:

DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.

Please consider reading https://docs.python.org/3.12/library/tarfile.html#tarfile-extraction-filter and, when running on Python 3.12 or later, explicitly configuring a filter for tar archives.

jwodder added a commit that referenced this issue Sep 22, 2023
jwodder added a commit that referenced this issue Sep 22, 2023
jwodder added a commit that referenced this issue Sep 22, 2023
I8dNLo added a commit to qdrant/fastembed that referenced this issue Aug 13, 2024
I8dNLo added a commit to qdrant/fastembed that referenced this issue Aug 14, 2024
* Fix to avoid overfloat and get rid of model_max_length
* Fixes for max_length vs model_max_length logic
Jupter warning disabled

* Support of jwodder/versioningit#48

* Update fastembed/common/preprocessor_utils.py
---------

Co-authored-by: George <[email protected]>
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

No branches or pull requests

1 participant