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

Missing dependency "future" on Python 2.7 #24

Closed
laurent-laporte-pro opened this issue Jan 29, 2019 · 2 comments
Closed

Missing dependency "future" on Python 2.7 #24

laurent-laporte-pro opened this issue Jan 29, 2019 · 2 comments

Comments

@laurent-laporte-pro
Copy link

laurent-laporte-pro commented Jan 29, 2019

Hi,

When installing Meza v0.41.1 on Python 2.7, the dependency "future" is not installed (but required).

To reproduce (for instance on Windows but the problem is the same on Linux):

D:\Laurent\Projets\virtualenv>C:\Python27\python.exe -m virtualenv meza
New python executable in D:\Laurent\Projets\virtualenv\meza\Scripts\python.exe
Installing setuptools, pip, wheel...done.

D:\Laurent\Projets\virtualenv>meza\Scripts\activate

(meza) D:\Laurent\Projets\virtualenv>pip --version
pip 19.0.1 from d:\laurent\projets\virtualenv\meza\lib\site-packages\pip (python 2.7)

(meza) D:\Laurent\Projets\virtualenv>pip install meza==0.41.1
[...]

(meza) D:\Laurent\Projets\virtualenv>pip list
Package                       Version
----------------------------- ----------
backports.functools-lru-cache 1.5
beautifulsoup4                4.7.1
certifi                       2018.11.29
chardet                       3.0.4
dbfread                       2.0.4
idna                          2.8
ijson                         2.3
meza                          0.41.1
pip                           19.0.1
pygogo                        0.12.0
python-dateutil               2.7.5
python-slugify                1.2.6
PyYAML                        3.13
requests                      2.21.0
setuptools                    40.7.1
six                           1.12.0
soupsieve                     1.7.3
Unidecode                     1.0.23
urllib3                       1.24.1
wheel                         0.32.3
xlrd                          1.2.0

As you can see, future is missing.

The problem occurs because the Wheel meta info is not valid.

If you want to install "future" only for Python 2.7, your requirements should be:

    'future>=0.16.0,<1.0.0; python_version < "3"'

See:

@reubano
Copy link
Owner

reubano commented Jul 7, 2020

Thanks for the info. Just dropped support for py2 via a56b927. However, I'm happy to accept a PR off of v0.41.1 (cb28f48).

@jaraco
Copy link
Collaborator

jaraco commented Feb 18, 2024

It's been four years. It's probably not worth considering Python 2.7 any longer.

@jaraco jaraco closed this as completed Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants