Comments (5)
Hhmm… interesting, I haven't seen this issue before. It seems like the issue is that the directory name needs to have dashes, but the file name needs to have underscores.
from pip2pi.
Although… hrm, weird. It seems like the PyPI uses underscores too: https://pypi.python.org/simple/backports.ssl_match_hostname/
Digging into pip's source to see what's up…
from pip2pi.
Okay… it does seem like this is a bug in pip, because tweaking the relevant code:
resp = Response()
+ if not os.path.exists(pathname):
+ resp.status_code = 404
+ return resp
+
resp.status_code = 200
resp.url = real_url
stats = os.stat(pathname)
modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
Makes things work. I've pinged a couple people who might know the best way to move forward here…
from pip2pi.
Great, thanks for looking into it. I like what you're doing with this project and I didn't have time to dig into the problem today.
from pip2pi.
Timing out this issue. Please feel free to re-open if there's some way pip2pi could help.
from pip2pi.
Related Issues (20)
- Use pip compat layer
- Find sdist when project only provides wheels
- Create index.html files instead of autoindexing? HOT 4
- Handling unruly wheel filenames HOT 2
- Add json api output to local server
- module 'cgi' has no attribute 'escape' HOT 4
- dir2pi with folders and subfolders in packages/
- bug: symbol link "../../" on windows is incorrect HOT 1
- Bug on Windows: A required privilege is not held by the client
- oldest supported numpy dependency not downloaded for scikit-bio
- DEPRECATION warning ahead of pip 22.2
- Can a .tar.gz source file be published to pypi?
- Fails to install existing package in local package index HOT 1
- Wheels with 5 dashes not split correctly in file_to_package HOT 4
- create a repository for other OSs HOT 3
- I install scikit-learn==0.19.1 error report, other no problem HOT 13
- pip 19.3 breaks pip2pi 0.8.1 HOT 5
- cgi.escape was removed HOT 2
- Tag 0.8.1 missing
- Error if -r used without target directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip2pi.