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

zipp package in dependency requires Python 3.6+ #150

Closed
Djailla opened this issue Aug 5, 2020 · 1 comment
Closed

zipp package in dependency requires Python 3.6+ #150

Djailla opened this issue Aug 5, 2020 · 1 comment

Comments

@Djailla
Copy link
Collaborator

Djailla commented Aug 5, 2020

Hello,

I'm facing an issue with the project django-macaddress especially with this PR :

django-macaddress/django-macaddress#39

I'm pushing to use tox-travis.
The configuration is pretty straight forward but the travis fails with Python 3.5 with this message :

https://travis-ci.org/github/django-macaddress/django-macaddress/builds/715081813

306The command "pip install tox-travis" failed and exited with 1 during .```

Any idea ?

Thanks
@hugovk
Copy link
Collaborator

hugovk commented Aug 5, 2020

The full command and error:

$ pip install tox-travis
Collecting tox-travis
  Downloading https://files.pythonhosted.org/packages/b9/62/940f7fdb0d207a90ebf8389b59679ed4c3b4b36357054a30dda6274ee6d0/tox_travis-0.12-py2.py3-none-any.whl
Collecting tox>=2.0 (from tox-travis)
  Downloading https://files.pythonhosted.org/packages/9d/4d/bdd9d9a1ad56713d4b92c66f606811d6c580835d20728ae96140bfbab5f5/tox-3.18.1-py2.py3-none-any.whl (82kB)
Requirement already satisfied: py>=1.4.17 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from tox>=2.0->tox-travis) (1.7.0)
Collecting six>=1.14.0 (from tox>=2.0->tox-travis)
  Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.12; python_version < "3.8" (from tox>=2.0->tox-travis)
  Downloading https://files.pythonhosted.org/packages/8e/58/cdea07eb51fc2b906db0968a94700866fc46249bdc75cac23f9d13168929/importlib_metadata-1.7.0-py2.py3-none-any.whl
Collecting filelock>=3.0.0 (from tox>=2.0->tox-travis)
  Downloading https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from tox>=2.0->tox-travis) (16.2.0)
Collecting packaging>=14 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/46/19/c5ab91b1b05cfe63cccd5cfc971db9214c6dd6ced54e33c30d5af1d2bc43/packaging-20.4-py2.py3-none-any.whl
Collecting pluggy>=0.12.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Collecting toml>=0.9.4 (from tox>=2.0->tox-travis)
  Downloading https://files.pythonhosted.org/packages/9f/e1/1b40b80f2e1663a6b9f497123c11d7d988c0919abbf3c3f2688e448c5363/toml-0.10.1-py2.py3-none-any.whl
Requirement already satisfied: zipp>=0.5 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/zipp-3.1.0-py3.5.egg (from importlib-metadata<2,>=0.12; python_version < "3.8"->tox>=2.0->tox-travis) (3.1.0)
zipp requires Python '>=3.6' but the running Python is 3.5.6
The command "pip install tox-travis" failed and exited with 1 during .

That PR was failing because some dependency of python setup.py install installs a new version of zipp that doesn't support Python 3.5.

And there's no need to run python setup.py install when testing via tox, it's done for you inside the virtualenv.

Please see PR Djailla/django-macaddress#1 to fix it.

@Djailla Djailla closed this as completed Aug 5, 2020
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

2 participants