1

Resolved

generate requirements.txt incorrectly replaces existing entry

description

Beta 2 06/18

Create flask starter project, install requirements into a 3.4 virtual env

Contents of requirements.txt:
flask<1
Click generate requirements, refresh existing entries, and it was replaced with:
flas==0.24k<1

comments

huguesv wrote Jun 18 at 8:52 PM

One the same project, if you choose replace entire file, you'll get:
Flask==0.10.1
itsdangerous==0.24
Jinja2==2.7.3
MarkupSafe==0.23
Werkzeug==0.9.6
Then do it again, with refresh existing entries, you'll get:
flas==0.24k==0.10.1
its==0.24
jinja2==2.7.3
Markups==0.24afe==0.23
Werkzeug

Zooba wrote Jun 18 at 9:30 PM

I'm not sure why you're getting differently cased outputs from pip freeze each time you run it, but that appears to be the underlying issue.