Skip to content

Commit

Permalink
Setup: Fix ImportError: cannot import name 'tarfile' from 'backports'
Browse files Browse the repository at this point in the history
/path/to/lib/python3.8/site-packages/setuptools/_vendor/jaraco/context.py:17: ImportError

ImportError: cannot import name 'tarfile' from 'backports' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/backports/__init__.py)
  • Loading branch information
amotl committed Jul 17, 2024
1 parent 2905689 commit 4d87261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
# `setuptools 0.64.0` adds support for editable install hooks (PEP 660).
# https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400
pip install "setuptools>=64" --upgrade
pip install "setuptools>=64,<70" --upgrade
# Install package in editable mode.
pip install --use-pep517 --prefer-binary --editable=.[pymongo,test,develop]
Expand Down

0 comments on commit 4d87261

Please sign in to comment.