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

Pip 8.1.2 doesnt find ndg_httpsclient extra subjectAltName_support #3945

Closed
jayvdb opened this issue Sep 1, 2016 · 5 comments
Closed

Pip 8.1.2 doesnt find ndg_httpsclient extra subjectAltName_support #3945

jayvdb opened this issue Sep 1, 2016 · 5 comments
Labels
auto-locked Outdated issues that have been locked by automation
Milestone

Comments

@jayvdb
Copy link

jayvdb commented Sep 1, 2016

  • Pip version: 8.1.2
  • Python version: 2.7.12
  • Operating System: Fedora 24

Description:

pip 8.1.2 installs ndg_httpsclient[subjectAltName_support], but emits
ndg-httpsclient 0.4.2 does not provide the extra 'subjectAltName_support' which is incorrect.

What I've run:

$ sudo python -m pip install 'ndg_httpsclient[subjectAltName_support]'
Collecting ndg-httpsclient[subjectaltname_support]
  Using cached ndg_httpsclient-0.4.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): PyOpenSSL in /usr/lib/python2.7/site-packages (from ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): pyasn1 in /usr/lib/python2.7/site-packages (from ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): cryptography>=1.3 in /usr/lib64/python2.7/site-packages (from PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in /usr/lib/python2.7/site-packages (from PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /usr/lib/python2.7/site-packages (from cryptography>=1.3->PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in /usr/lib/python2.7/site-packages (from cryptography>=1.3->PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from cryptography>=1.3->PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from cryptography>=1.3->PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in /usr/lib64/python2.7/site-packages (from cryptography>=1.3->PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography>=1.3->PyOpenSSL->ndg-httpsclient[subjectaltname_support])
Installing collected packages: ndg-httpsclient
  Running setup.py install for ndg-httpsclient ... done
Successfully installed ndg-httpsclient-0.4.2
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

After upgrading to pip 8.1.2

$ sudo python -m pip install 'ndg_httpsclient[subjectAltName_support]'
Collecting ndg_httpsclient[subjectAltName_support]
  Using cached ndg_httpsclient-0.4.2.tar.gz
  ndg-httpsclient 0.4.2 does not provide the extra 'subjectAltName_support'
Requirement already satisfied (use --upgrade to upgrade): PyOpenSSL in /usr/lib/python2.7/site-packages (from ndg_httpsclient[subjectAltName_support])
...
@philipkershaw
Copy link

pyasn1 is a dependency of cryptography which pyOpenSSL has used since v0.14. I think the simplest solution is to remove the extras_requires and add pyasn1 as a core dependency to ndg-httpsclient.

@jayvdb
Copy link
Author

jayvdb commented Sep 1, 2016

Ubuntu precise is pyOpenSSL v0.12

@jayvdb
Copy link
Author

jayvdb commented Sep 1, 2016

Note that I am not objecting at all; just pointing out a relevant fact which might help you decide.

Forcing pyasn1 as a core dependency simplifies this packages support matrix, and means subjectAltName_support is mandatory - which is a good thing.

@xavfernandez
Copy link
Member

Could you check if pip install ndg_httpsclient[subjectaltname_support] works (note the lowercase) ?
If yes, this is a duplicate of #3810 which should be easy to fix.

@xavfernandez
Copy link
Member

It should have been fixed by #4037

@xavfernandez xavfernandez added this to the 8.2 milestone Oct 29, 2016
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants