pypa / pypa/setuptools

[BUG] v57.1.0 on Python v3.6 SSL Errors

Open
#2,728 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Needs Triage
Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

setuptools version

57.1.0

Python version

3.6

OS

macOS, Windows

Additional environment information

The problem doesn't seem to occur on Linux. setuptools v57.0.0 works fine.

Description

Running "python setup.py install" on my project fails to install the project's dependencies from PyPI.

Expected behavior

Normal installation.

How to Reproduce

python setup.py install

Output
Searching for toml
Reading https://pypi.org/simple/toml/
Download error on https://pypi.org/simple/toml/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) -- Some packages may not be found!
Couldn't find index page for 'toml' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) -- Some packages may not be found!
No local packages or working download links found for toml
error: Could not find suitable distribution for Requirement.parse('toml')
Code of Conduct
  • I agree to follow the PSF Code of Conduct

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing python setup.py install with setuptools 57.1.0 on Python 3.6 on macOS or Windows, then compare with 57.0.0 and the Linux behavior described. Done means the project's dependencies install from PyPI without the reported SSL certificate verification errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.