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

Notify significant projects that still refer to python-igraph instead of igraph #699

Closed
szhorvat opened this issue Jul 19, 2023 · 4 comments

Comments

@szhorvat
Copy link
Member

szhorvat commented Jul 19, 2023

On PyPI, python-igraph was renamed to igraph in October 2021. The standard way to install igraph is now:

pip install igraph

The python-igraph name was kept functional, with the intention to terminate support in September 2022. However, as of today (July 2023), over a third of downloads are still through python-igraph:

Here's the the fraction of python-igraph downloads based on a 2-week moving average:

image

This issue is to notify downstream igraph users (packages, educational resources, etc.) to start using the new name.

This was referenced Jul 19, 2023
@szhorvat
Copy link
Member Author

szhorvat commented Sep 4, 2023

Update on the fraction of python-igraph downloads. The following show the fraction based on a 2-week moving average, as well as daily data.

image image

There is a steady improvement, and I assume the situation will continue to improve as more of the above PRs get merged and as more downstream packages release new versions. Closing this issue now.

@szhorvat
Copy link
Member Author

szhorvat commented Jun 4, 2024

Updated plots as of today:

image image

It's strange to see the mass of python-igraph downloads in March. Notice that the "fraction" value goes above 1 here. The fraction is calculated as python-igraph downloads divided by igraph downloads, with the assumption that each python-igraph download also triggers an igraph downloads due to the dependency between the two. Since this ratio went above 1, there must have been lots of python-igraph-only downloads for some reason. Otherwise we'll still hovering just below 30%.

@ntamas
Copy link
Member

ntamas commented Jun 4, 2024

Caching may screw the stats up. pip has a local cache of downloaded wheels on each machine, on a per-user basis. If the user has already downloaded igraph==x.y.z due to some project and another project that depends on python-igraph==x.y.z is installed, this will trigger a download for python-igraph==x.y.z but not igraph==x.y.z since that is already in the cache. Institutions may also use local institution-wise PyPI caches (like devpi).

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

2 participants