question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] why isn't python requires updated with --update?

See original GitHub issue

To help us debug your issue please explain:

  • I’ve read the CONTRIBUTING guide.
  • I’ve specified the Conan version, operating system version and any tool that can be relevant.
  • I’ve explained the steps to reproduce the error or the motivation/use case of the question/suggestion.
Conan Version 1.12.2
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.5 LTS
Release:	16.04
Codename:	xenial

I see from documentation at: https://docs.conan.io/en/latest/extending/python_requires.html

That python_requires are not updated with --update They are not automatically updated with the --update argument from remotes.

But why? Every time I update the python_requires I need to inform all users to clear their cache for those packages to be updated? Seems very cumbersome.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
memshardedcommented, Mar 5, 2019

The main reason was that due to the “inversion of control” that is necessary to process python-requires, passing user information to the resolution of python-requires was quite ugly.

The architecture has improved a little bit, so I think it is possible, adding self.update and self.check_updates to ConanPythonRequires, I’ll submit a draft PR, to be considered for 1.14

1reaction
memshardedcommented, Mar 12, 2019

Implemented. This will be released in next Conan 1.14. Thanks for raising this issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
Hi, I tried to upgrade Python 3.8.10 to 3.10 on Ubuntu : Ubuntu 20.04.4 LTS but we hit a blocker and wondering whether...
Read more >
Python modules no longer available after updating python
I had a few modules installed with pip in my Python 3.8 version. However I installed the 3.9.7 version and now I'm not...
Read more >
How to Update All Python Packages - ActiveState
Update all Python Packages on Windows · Open a command shell by typing 'powershell' in the Search Box of the Task bar ·...
Read more >
How to Update Python 2 to Python 3 - The Couchbase Blog
At first, clone the original repository and have the basic automatic conversion changes. Checkin the changes as a new repository until full ...
Read more >
apt-get upgrade does not work after updating python [duplicate]
I just want to reiterate for people using the deadsnakes PPA, run it with python3.10 or use an alias that is not python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found