Skip to content

All sdist archives > 5.1.0 are broken and uninstallable #85

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

Closed
mgorny opened this issue May 24, 2024 · 1 comment
Closed

All sdist archives > 5.1.0 are broken and uninstallable #85

mgorny opened this issue May 24, 2024 · 1 comment

Comments

@mgorny
Copy link

mgorny commented May 24, 2024

  • pypugjs version: 5.9.5 upwards
  • Django version: n/a
  • Python version: 3.11.9
  • Operating System: Gentoo Linux amd64

Description

All sdist archives newer than 5.1.0 have incorrect version number in pyproject.toml, and therefore are rejected by pip. I see that the version number has been fixed in git but it still needs to be released with a working sdist (also, please take a look at #84 first).

What I Did

$ pip install --no-binary :all: 'pypugjs'
Collecting pypugjs
  Using cached pypugjs-5.10.1.tar.gz (34 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/b2/fb/1b672c8f5b55ef09f7bf89dca48ceecc06e6230bbcdb999625021f6307e2/pypugjs-5.10.1.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/b2/fb/1b672c8f5b55ef09f7bf89dca48ceecc06e6230bbcdb999625021f6307e2/pypugjs-5.10.1.tar.gz has inconsistent version: expected '5.10.1', but metadata has '5.9.12'
  Using cached pypugjs-5.10.0.tar.gz (34 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/97/30/a361d18fc2b8e2a2cc7d1074157f0abcfb3ae76248348d60e7feecc5646a/pypugjs-5.10.0.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/97/30/a361d18fc2b8e2a2cc7d1074157f0abcfb3ae76248348d60e7feecc5646a/pypugjs-5.10.0.tar.gz has inconsistent version: expected '5.10.0', but metadata has '5.9.12'
  Using cached pypugjs-5.9.12.tar.gz (33 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/a8/ba/dcfb00c4508b66767bd345d23b3c0a0dadbb3156ae5cf440c683d0abb7a9/pypugjs-5.9.12.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/a8/ba/dcfb00c4508b66767bd345d23b3c0a0dadbb3156ae5cf440c683d0abb7a9/pypugjs-5.9.12.tar.gz has inconsistent version: expected '5.9.12', but metadata has '5.9.4'
  Using cached pypugjs-5.9.11.tar.gz (33 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/69/13/5b17f45ef62aaca129227df8610667dc6a9f1e112ea222192d7868d98385/pypugjs-5.9.11.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/69/13/5b17f45ef62aaca129227df8610667dc6a9f1e112ea222192d7868d98385/pypugjs-5.9.11.tar.gz has inconsistent version: expected '5.9.11', but metadata has '5.9.4'
  Using cached pypugjs-5.9.10.tar.gz (33 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/11/72/2329f46c9ead14ec1c0d7bb94af0c2b32dc09142f19675741dce8fd15337/pypugjs-5.9.10.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/11/72/2329f46c9ead14ec1c0d7bb94af0c2b32dc09142f19675741dce8fd15337/pypugjs-5.9.10.tar.gz has inconsistent version: expected '5.9.10', but metadata has '5.9.4'
  Using cached pypugjs-5.9.9.tar.gz (33 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/ba/f1/f73d7982ebf18cb164dceb1ee34eb29a449e27b0f029354a16762d5a4ba2/pypugjs-5.9.9.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/ba/f1/f73d7982ebf18cb164dceb1ee34eb29a449e27b0f029354a16762d5a4ba2/pypugjs-5.9.9.tar.gz has inconsistent version: expected '5.9.9', but metadata has '5.9.4'
  Using cached pypugjs-5.9.8.tar.gz (33 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/bc/9e/282e15a4c2e383ea8f7910575eba99c7c61fed857f633605fa48569bcf82/pypugjs-5.9.8.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/bc/9e/282e15a4c2e383ea8f7910575eba99c7c61fed857f633605fa48569bcf82/pypugjs-5.9.8.tar.gz has inconsistent version: expected '5.9.8', but metadata has '5.9.4'
  Using cached pypugjs-5.9.7.tar.gz (32 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/9c/ea/d2973e9a231ddf9e23619e97ea6aa087149bd5befc426d869f6b07a7de72/pypugjs-5.9.7.tar.gz (from https://pypi.org/simple/pypugjs/): Requested pypugjs from https://files.pythonhosted.org/packages/9c/ea/d2973e9a231ddf9e23619e97ea6aa087149bd5befc426d869f6b07a7de72/pypugjs-5.9.7.tar.gz has inconsistent version: expected '5.9.7', but metadata has '5.9.4'
  Downloading pypugjs-5.1.0.tar.gz (30 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: six in ./venv/lib/python3.11/site-packages (from pypugjs) (1.16.0)
Building wheels for collected packages: pypugjs
  Building wheel for pypugjs (pyproject.toml) ... done
  Created wheel for pypugjs: filename=pypugjs-5.1.0-py3-none-any.whl size=36044 sha256=9e5648c27d2d1915549bb0361cabe7b7fbb1178fe5bd26d26b0d5ee16e15fffa
  Stored in directory: /home/mgorny/.cache/pip/wheels/9e/24/82/f17b6f5aef9c54d213cd75d6cbee94ae9493dbf424aa085b97
Successfully built pypugjs
Installing collected packages: pypugjs
Successfully installed pypugjs-5.1.0
@kakulukia
Copy link
Owner

Never used this command before but "pip install --no-binary :all: 'pypugjs'" is installing 5.9.4 for me.

pyproject.toml should have been fixed already in the last release, but testing on another branch removed that update again .. so i added it again. Waiting for your update to the dependencies to finish the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants