Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tracking global migration to Python 3.x

Python 3.x is looking ever more tempting with cleaned up syntax (I like it, others may not) new features and what looks like a gradual progression towards more speed and better multithreading.

But Python 3.x is still held back by lack of 3rd party support. Important packages like Django, Twisted, etc. are not ported. It's hard to get an overview of where the bottlebecks in the migration are, how far it has come, and if it's progressing at all. The migration dependencies are also hard to map. Also, projects are probably waiting for Python 3.x to offer some major improvement over 2.x that would justify the effort of porting.

Ideally, there would be a site for tracking this migration overall, with (links to) migration plans and dependencies shown so that people willing to help the migration globally could coordinate their efforts and help specific projects. Perhaps also linking to projects' bug tracking systems for relevant migration-related bugs.

But perhaps I'm just not looking hard enough. Does someone know of any efforts to track global migration to Python 3.x?

(By "global", I mean the universe of open source projects built on Python.)

Update: There's a poll right now on the Python home page which asks about packages you'd like to see ported to Python 3.x.

like image 453
Fabian Fagerholm Avatar asked Dec 09 '10 06:12

Fabian Fagerholm


People also ask

How to migrate from Python 2 to Python 3?

The Many Concepts That Help Migrate from Python 2 to Python 3.X Python boasts of a huge ecosystem of libraries and tools. As we pointed out earlier that there is no one-stop tool for the migration but a collection of tools and packages that aid the migration. For instance, PIP can help install the new Python package.

What is future package in Python?

Future Package:As the name suggests, Future package is a sort of bridge between Python 2 and 3. It is designed to allow a Python 3.x codebase that works in both python version 2 and 3. There is a script included in the package called ‘futurize’ that helps make the code compatible with both versions of Python.

How can GPS be used to track the movements of animals?

One fascinating area of research uses GPS to track the movements of animals. It is now possible to manufacture a small GPS device that is solar charged, so you don’t need to change batteries and use it to track flight patterns of birds. The data for this case study comes from the LifeWatch INBO project.

How to get the location details from GPS module in Python?

In this dataset there are the location details from GPS module are stored. The complete dataset is in CSV form. In that file, there are different fields. The first one is Bird Id, then date_time, Latitude, longitude and speed. For this Task, we need some modules that can be used in Python codes. We are using matplotlib, pandas, and cartopy modules.


1 Answers

George Brandl has made a script that generates a graph with the amount of packages supporting Python 3:

Python 3 packages over time

The Link on the CheeseShop front page shows the packages in question: http://pypi.python.org/pypi?%3aaction=browse&c=533&show=all

There is also (a pretty crummy) list of unported packages ordered by how many depends on it: http://onpython3yet.com/ Why do I say it's crummy? Well, because it is done entirely without manual fixing up, resulting in things like listing Python as a package. This is to a large extent because people don't know that the "Dependencies" listing isn't a place to just list any sort of random dependencies, it should be used to list the packages that should be auto installed when you use easy_install/PIP. But for example in the Django world, they don't know that so you see things like "django-saddle" depending on Django and Python, and hence not being easy_installable.

That said, the list is interesting, and we see that PIL really should get ported.

Now this is not anything "global" it's just the packages on PyPI, and as such tend to be mostly Python modules, not separate applications. But I think the trend in general is visible there anyway.

like image 148
Lennart Regebro Avatar answered Oct 14 '22 02:10

Lennart Regebro