Move to Python 3: dependencies status
See original GitHub issueThanks to the work of @cclauss our code is (more) ready for Python 3. I also ran caniusepython3 on our requirements files and the results are very encouraging:
$ caniusepython3 --requirements requirements.txt
Finding and checking dependencies ...
You need 5 projects to transition to Python 3.
Of those 5 projects, 4 have no direct dependencies blocking their transition:
chromelogger
flask-sslify
python-geoip (which is blocking python-geoip-geolite2)
restrictedpython
python-geoip
has a Python 3 compatible alternative (python-geoip-python3
)- Latest master version of
flask-sslify
is marked as Python 3 compatible, but no new version was released for a long time. chromelogger
is unknown but we can either drop it or update to support Python 3 (~140 lines of code).restrictedpython
has an unreleased version 4 that supports Python 3.
$ caniusepython3 --requirements requirements_all_ds.txt
Finding and checking dependencies ...
You need 1 project to transition to Python 3.
Of that 1 project, 1 has no direct dependencies blocking its transition:
pyhive
I’m not sure why pyhive
is marked as not supported, because it is. Maybe we just need to update the version.
$ caniusepython3 --requirements requirements_dev.txt
Finding and checking dependencies ...
You need 1 project to transition to Python 3.
Of that 1 project, 1 has no direct dependencies blocking its transition:
pytest-watch
I’m not sure about the state of pytest-watch
, but we can always remove it.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:26 (25 by maintainers)
Top Results From Across the Web
Porting Python 2 Code to Python 3 — Python 3.11.1 ...
Use caniusepython3 to find out which of your dependencies are blocking your use of Python 3 ( python -m pip install caniusepython3 )....
Read more >Python 2.7 to 3.X Migration Guide - STX Next
Read our guide on how to migrate your app from Python 2.7 to Python 3.6. ... full Python 3 compatibility, but the issue...
Read more >How I moved a library from Python 2 to 3 | by Martin Thoma
Make sure that you document the current state of the migration to Python 3. Typically this is done via an issue tracker, e.g....
Read more >How to Best Manage Python Dependencies - ActiveState
There are several different approaches to dealing with dependencies in Python. In this article, I'll go over the pros and cons of some...
Read more >Upgrading To Python 3 And Moving Away From Legacy
Why do we want to migrate to Python 3? ... tool to find projects containing Python code and dependencies that are 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 FreeTop 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
Top GitHub Comments
https://stackoverflow.com/questions/4960048/how-can-i-connect-to-mysql-in-python-3-on-windows
I think it counts python-geoip-geolite2 and python-geoip individually: