Skip to content
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

Failed to install using pip, setup.py calculated version differs from package version #108

Closed
nc7s opened this issue May 18, 2023 · 0 comments

Comments

@nc7s
Copy link

nc7s commented May 18, 2023

> pip install morss
Collecting morss
  Using cached morss-20221213.2216.tar.gz (54 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/60/0d/60a6241e44b61816a5837d20fe3bbc195882dfdb61990edc680c3dd19a64/morss-20221213.2216.tar.gz (from https://pypi.org/simple/morss/) (requires-python:>=2.7): Requested morss from https://files.pythonhosted.org/packages/60/0d/60a6241e44b61816a5837d20fe3bbc195882dfdb61990edc680c3dd19a64/morss-20221213.2216.tar.gz has inconsistent version: expected '20221213.2216', but metadata has '20230518.1938'

which is seemingly caused by

morss/setup.py

Line 10 in 438c32a

version = datetime.now().strftime('%Y%m%d.%H%M'),

Using Python 3.11.3 & pip 23.1.2

@nc7s nc7s changed the title Failed to install using pip, setup.py calculates version to be current time Failed to install using pip, setup.py calculated version differs from package version May 18, 2023
pictuga added a commit that referenced this issue Jun 27, 2023
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

1 participant