Giter VIP home page Giter VIP logo

Comments (6)

jsirois avatar jsirois commented on August 13, 2024 1

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.

jsirois avatar jsirois commented on August 13, 2024 1

@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.

jsirois avatar jsirois commented on August 13, 2024

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.

jsirois avatar jsirois commented on August 13, 2024

The most relevant PEP violated here appears to be https://peps.python.org/pep-0625/

from pex.

jsirois avatar jsirois commented on August 13, 2024

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.

gruzewski avatar gruzewski commented on August 13, 2024

Awesome, thank you!

from pex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.