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

All packages are up-to-date. #29

Open
paul-brenner opened this issue Mar 10, 2020 · 4 comments
Open

All packages are up-to-date. #29

paul-brenner opened this issue Mar 10, 2020 · 4 comments

Comments

@paul-brenner
Copy link

Not sure what i'm doing wrong here but pip-upgrade keeps failing and saying that all packages are up to date. Below is an example when i was trying to upgrade scikit-learn. You can see that pip-upgrade gives up but then I immediately run pip install -U scikit-learn and it upgrades.

Any ideas?

Thanks for building such a great and necessary package!

`(.venv) Pauls-Mac-mini:my_dir Paul$ pip-upgrade requirements.txt
Found valid requirements file(s):
requirements.txt
All packages are up-to-date.

Upgrade interrupted.
(.venv) Pauls-Mac-mini:my_dir Paul$ pip install -U scikit-learn
Collecting scikit-learn
Using cached scikit_learn-0.22.2.post1-cp37-cp37m-macosx_10_9_x86_64.whl (7.1 MB)
Requirement already satisfied, skipping upgrade: scipy>=0.17.0 in ./.venv/lib/python3.7/site-packages (from scikit-learn) (1.4.1)
Requirement already satisfied, skipping upgrade: numpy>=1.11.0 in ./.venv/lib/python3.7/site-packages (from scikit-learn) (1.18.1)
Requirement already satisfied, skipping upgrade: joblib>=0.11 in ./.venv/lib/python3.7/site-packages (from scikit-learn) (0.14.1)
Installing collected packages: scikit-learn
Attempting uninstall: scikit-learn
Found existing installation: scikit-learn 0.21.3
Uninstalling scikit-learn-0.21.3:
Successfully uninstalled scikit-learn-0.21.3
Successfully installed scikit-learn-0.22.2.post1`

@mschoettle
Copy link

I have the same issue:

Found valid requirements file(s): 
requirements/dev.txt
requirements/prod.txt
requirements/base.txt
All packages are up-to-date.

Upgrade interrupted.

I cannot figure out what causes "Update interrupted".

It worked fine on another project.

@mschoettle
Copy link

Okay, I figured it out. The reason is that in the requirements, none of the dependencies were frozen (==<versionNumber>). They all had >=<versionNumber>.

A better error message would be helpful in this case. Better even could be to bump the min version (if desired).

@louking
Copy link

louking commented Apr 10, 2021

I'm seeing this problem, and my requirements.txt uses ==

I did interrupt an earlier running of this in the middle, and it hasn't run correctly since.

I see

(venv) C:\Users\lking\Documents\Lou's Software\projects\rrwebapp\rrwebapp>pip-upgrade
Found valid requirements file(s): 
requirements.txt
All packages are up-to-date.

Upgrade interrupted.

my requirements.txt file is

alembic==1.0.10
amqp==1.4.9
anyjson==0.3.3
appdirs==1.4.0
asn1crypto==0.24.0
attrdict==2.0.0
backports.shutil-get-terminal-size==1.0.0
bcrypt==3.1.6
billiard==3.3.0.23
blinker==1.4
celery==3.1.23
certifi==2018.10.15
cffi==1.11.5
chardet==3.0.4
click==6.6
colorama==0.3.9
colorclass==2.2.0
cryptography==2.4.2
cssmin==0.2.0
decorator==4.1.2
dnspython==2.1.0
docopt==0.6.2
docutils==0.11
docx==0.2.4
dominate==2.3.5
ecdsa==0.13.3
email-validator==1.1.2
enum34==1.1.6
ez-setup==0.9
fabric==2.4.0
Flask==1.1.2
Flask-Assets==0.12
Flask-Login==0.5.0
Flask-Principal==0.4.0
Flask-Security-Too==4.0.1
Flask-SQLAlchemy==2.5.1
Flask-Uploads==0.2.1
Flask-WTF==0.14.3
flup==1.0.3
googlemaps==4.4.5
gpxpy==1.1.2
greenlet==1.0.0
haversine==0.4.5
httplib2==0.12.0
idna==2.7
importlib-metadata==3.10.0
invoke==1.2.0
ipaddress==1.0.22
ipython==5.4.1
ipython-genutils==0.2.0
itsdangerous==1.1.0
Jinja2==2.10.1
jsmin==2.2.2
kombu==3.0.35
loutilities==3.3.0
lxml==4.6.3
Mako==1.0.4
MarkupSafe==0.23
mysqlclient==1.4.6
ndg-httpsclient==0.5.1
oauthlib==3.1.0
packaging==16.8
paramiko==2.4.2
passlib==1.7.4
pathlib2==2.3.0
pickleshare==0.7.4
Pillow==6.2.1
pip-upgrader==1.4.15
prompt-toolkit==1.0.15
pyasn1==0.4.4
pycparser==2.19
Pygments==2.2.0
PyNaCl==1.3.0
pyOpenSSL==18.0.0
pyparsing==2.1.10
pyreadline==2.0
python-dateutil==2.8.0
python-editor==1.0.1
pytz==2013.9
requests==2.22.0
requests-oauthlib==1.3.0
runtilities==2.1.1
scandir==1.5
simplegeneric==0.8.1
six==1.10.0
SQLAlchemy==1.4.6
sqlalchemy-datatables==2.0.1
terminaltables==3.1.0
traitlets==4.3.2
typing-extensions==3.7.4.3
tzlocal==2.1
unicodecsv==0.14.1
urllib3==1.25.3
wcwidth==0.1.7
webassets==0.12.1
Werkzeug==0.15.4
win-unicode-console==0.5
WTForms==2.1
xlrd==2.0.1
xlwt==1.3.0
zipp==3.4.1

@louking
Copy link

louking commented Apr 12, 2021

Never mind. I was using windows powershell to create the requirements.txt file, which apparently creates utf-16 that pip-upgrader won't process. Sorry for the noise, but I thought I'd follow up in case someone else runs into this.

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

3 participants