FS#54288 - python-flask is built from git instead of PyPI, has the wrong __version__ string

Attached to Project: Community Packages
Opened by David (davidism) - Saturday, 03 June 2017, 15:09 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 03 June 2017, 15:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Install python-flask, open a python shell:

>>> import flask
>>> print(flask.__version__)
0.12.2-dev

Meanwhile, create a virtualenv, pip install flask, open a python shell:

>>> import flask
>>> print(flask.__version__)
0.12.2

This is partially our (Flask's) fault, something in our release script tags the wrong commit as the release on Git. However, PyPI has the correct files. Distros should be using PyPI's sdist builds for packaging. https://pypi.python.org/pypi/Flask

I'm not familiar with Arch PKGBUILD workflow, but it looks like it's easy to link to a GitHub version archive. Unfortunately, PyPI downloads are impossible to predict the links for. If you can use an alternate download method, `pip download --no-deps --no-binary :all: flask` will get the sdist from PyPI.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 03 June 2017, 15:43 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#54287 

Loading...