mbox series

[bug#49993,00/18] Remove Python 2 packages possibly added for Python 2 MediaGoblin.

Message ID 20210811030711.2715-1-ben@sturm.com.au
Headers show
Series Remove Python 2 packages possibly added for Python 2 MediaGoblin. | expand

Message

Ben Sturmfels Aug. 11, 2021, 3:07 a.m. UTC
The following packages were once dependencies of Python 2 MediaGoblin, but are
no longer used by MediaGoblin or any other Guix package. There may well be
people using these for non-Guix work, so I'll defer to maintainers as to
whether it's reasonable to remove them - I'm just trying to clean up after
MediaGoblin.

python2-openid-teams and python2-openid-cla weren't used by MediaGoblin
directly, but seem closely related to the removed python2-openid package and
are similarly not used by other Guix packages.

python2-psycopg2 is not removed here because although it's likely still a
popular Guix package, so should perhaps be one of the last Python 2 packages
to go.

Ben Sturmfels (18):
  gnu: Remove python2-exif-read.
  gnu: Remove python2-pyld.
  gnu: Remove python2-jsonschema.
  gnu: Remove python2-unidecode.
  gnu: Remove python2-itsdangerous.
  gnu: Remove python2-feedgenerator.
  gnu: Remove python2-markdown.
  gnu: Remove python2-configobj.
  gnu: Remove python2-waitress.
  gnu: Remove python2-email-validator.
  gnu: Remove python2-py-bcrypt.
  gnu: Remove python2-oauthlib.
  gnu: Remove python2-wtforms.
  gnu: Remove python2-pastescript.
  gnu: Remove python2-openid-teams.
  gnu: Remove python2-openid-cla.
  gnu: Remove python2-openid.
  gnu: Remove python2-celery.

 gnu/packages/python-crypto.scm |  3 --
 gnu/packages/python-web.scm    | 39 ----------------------
 gnu/packages/python-xyz.scm    | 60 ++--------------------------------
 3 files changed, 2 insertions(+), 100 deletions(-)

Comments

Ben Sturmfels Aug. 31, 2021, 12:09 a.m. UTC | #1
This is an additional dependency that has since been removed from
MediaGoblin, which is why I didn't catch in the initial patch set.
Ben Sturmfels Sept. 2, 2021, 5:30 a.m. UTC | #2
The following patchset removes these Python 2 leaf package and replaces all
previous patches. Of this list, the following were added by cwebber or
dthompson, so highly likely for MediaGoblin:

python2-pyld
python2-itsdangerous
python2-feedgenerator
python2-wtforms
python2-pastescript
python2-translitcodec

These were added by other people:

python2-configobj
python2-email-validator
python2-openid-teams
python2-openid-cla
python2-openid
python2-celery

This time I've *properly* confirmed that these are indeed leaf packages:

$ guix refresh -l python2-pyld
No dependents other than itself: python2-pyld@1.0.5
$ guix refresh -l python2-itsdangerous
No dependents other than itself: python2-itsdangerous@1.1.0
$ guix refresh -l python2-feedgenerator
No dependents other than itself: python2-feedgenerator@1.9
$ guix refresh -l python2-configobj
No dependents other than itself: python2-configobj@5.0.6
$ guix refresh -l python2-email-validator
No dependents other than itself: python2-email-validator@1.0.2
$ guix refresh -l python2-wtforms
No dependents other than itself: python2-wtforms@2.1
$ guix refresh -l python2-pastescript
No dependents other than itself: python2-pastescript@2.0.2
$ guix refresh -l python2-openid-teams
No dependents other than itself: python2-openid-teams@1.1
$ guix refresh -l python2-openid-cla
No dependents other than itself: python2-openid-cla@1.2
$ guix refresh -l python2-openid
No dependents other than itself: python2-openid@2.2.5
$ guix refresh -l python2-celery
No dependents other than itself: python2-celery@4.2.1


Ben Sturmfels (12):
  gnu: Remove python2-pyld.
  gnu: Remove python2-itsdangerous.
  gnu: Remove python2-feedgenerator.
  gnu: Remove python2-configobj.
  gnu: Remove python2-email-validator.
  gnu: Remove python2-wtforms.
  gnu: Remove python2-pastescript.
  gnu: Remove python2-openid-teams.
  gnu: Remove python2-openid-cla.
  gnu: Remove python2-openid.
  gnu: Remove python2-celery.
  gnu: Remove python2-translitcodec.

 gnu/packages/python-web.scm | 36 ------------------------------------
 gnu/packages/python-xyz.scm | 29 +----------------------------
 2 files changed, 1 insertion(+), 64 deletions(-)
Vinicius Monego May 14, 2023, 11:46 p.m. UTC | #3
Hi,

> Ben Sturmfels (18):
> gnu: Remove python2-exif-read.
> gnu: Remove python2-pyld.
> gnu: Remove python2-jsonschema.
> gnu: Remove python2-unidecode.
> gnu: Remove python2-itsdangerous.
> gnu: Remove python2-feedgenerator.
> gnu: Remove python2-markdown.
> gnu: Remove python2-configobj.
> gnu: Remove python2-waitress.
> gnu: Remove python2-email-validator.
> gnu: Remove python2-py-bcrypt.
> gnu: Remove python2-oauthlib.
> gnu: Remove python2-wtforms.
> gnu: Remove python2-pastescript.
> gnu: Remove python2-openid-teams.
> gnu: Remove python2-openid-cla.
> gnu: Remove python2-openid.
> gnu: Remove python2-celery.

All these packages were removed last year as part of a larger effort to 
remove python2 packages. I will close this issue then.

Vinicius