Comments (6)
And, the data:
SELECT
REGEXP_EXTRACT(path, r'\.([^.]+|tar\.[^.]+|tar)$') as extension,
COUNT(*) as count
FROM `bigquery-public-data.pypi.distribution_metadata`
GROUP BY extension
ORDER BY count DESC
sdist? | extension | count | % of sdists |
---|---|---|---|
whl | 6332494 | ||
yes | tar.gz | 5283102 | 97.92 |
egg | 135940 | ||
yes | zip | 108532 | 2.01 |
exe | 18452 | ||
yes | tar.bz2 | 3857 | 0.07 |
msi | 625 | ||
rpm | 603 | ||
yes | tgz | 226 | 0.00 |
dmg | 47 | ||
deb | 36 | ||
yes? | tar.zip | 2 | 0.00 |
yes? | ZIP | 1 | 0.00 |
from pex.
@gruzewski the fix is now released in Pex 2.2.2. Pants folks should be able to help you upgrade your Pants setup to this Pex release.
from pex.
Hrm, well yeah, .tar.bz2 is not supposed to be a thing: https://peps.python.org/pep-0517/#build-sdist
Looking further, even python-constraint realized this eventually and stopped producing wonky sdists.
That said, Pex needs to work with spec violations since the PyPA / spec world is such a mess.
from pex.
The most relevant PEP violated here appears to be https://peps.python.org/pep-0625/
from pex.
This is noted in #2380, but it appears the chaos here was rooted in distutils / setuptools advice last documented here: https://docs.python.org/3.11/distutils/sourcedist.html
from pex.
Awesome, thank you!
from pex.
Related Issues (20)
- pex lock update: mechanism to remove projects from lockfile requirements HOT 7
- pex lock update: mechanism to change the version specifier if an existing requirement (or constraint?) HOT 5
- gmsh library not loaded in the packaged pex python binary HOT 21
- Documentation website is down/missing HOT 6
- lock update does not preserve "binary-ness" and errors out with artifact set changes HOT 6
- Support Pip's `--only-binary` / `--no-binary`. HOT 1
- Support syncing input requirements to a lock file more easily.
- Unify CLI options with Pip options when requirements files are parsed. HOT 2
- URL quoting regression when using `find-links` HOT 1
- Generating lockfiles fails with: unknown error (_ssl.c:3161) HOT 3
- Consider using uv as an optional alternate resolver. HOT 12
- Expose Pip's `--use-feature`. HOT 2
- How to build pex file with requirements.txt ? HOT 3
- Can we build the project without requirements.txt ? HOT 3
- Implement more permissive `pex3 lock sync` locked resolve selection in multi-resolve locks.
- Trying to use pex to build a ML runtime. HOT 3
- unable to create pex with --no-build flag from lockfile HOT 2
- `--no-pre-install-wheels --requirements-pex .. --layout packed` gives `[Errno 21] Is a directory: '.../.deps/....whl'` errors HOT 3
- Incompatible Python version + `--complete-platforms ...` + `--lock ...` + empty cache gives seemingly-spurious "requires different Python" errors HOT 2
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 pex.