[question] why isn't python requires updated with --update?
See original GitHub issueTo 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:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
andself.check_updates
toConanPythonRequires
, I’ll submit a draft PR, to be considered for 1.14Implemented. This will be released in next Conan 1.14. Thanks for raising this issue!