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

A list of packages that grep for "python2" #148779

Closed
piegamesde opened this issue Dec 5, 2021 · 43 comments
Closed

A list of packages that grep for "python2" #148779

piegamesde opened this issue Dec 5, 2021 · 43 comments

Comments

@piegamesde
Copy link
Member

piegamesde commented Dec 5, 2021

Motivation

#140168 (comment):

From the Python perspective I would want to finally get rid of python2. We have been keeping it alive for NixOps 1.7, but I was assured that it would be dropped in time for 21.11.
e
That turned out to be a lot harder done than said, and thus it didn't happen in time. A mere glimpse on the list below shows some pretty big and prominent packages that we cannot simply remove, even if they cannot be fixed. I expect that Python 2 will keep haunting us for quite a while in the future. Nevertheless, we should still strive for removal where possible and reduce the support to an absolute minimum.

There is also #101964 with picked a few low hanging fruits, but it was way less throrough in finding packages (they used some why-depends which apparently had a lot of false negatives. On the other hand, I simply used rg python2 which may contain more false positives). Another difference here: there is no gentle "conversion" to Python 3 anymore. If we can't get a package to work within reasonable effort, it's out. You have six months to save your darlings.

Procedure

If status is "TBD", the first step is to look up and ping maintainers and then search for upstream issues. Appropriate follow-up actions are (in order of preference):

  • Get Python 3 support into the application
  • Remove the Python 2 dependency from the application, possibly at the loss of features
  • Remove the application

Some common solutions:

  • A few applications are fixed, but the patch is somewhere between "not merged upstream" and "not in nixpkgs yet".
  • A few applications are fixed nixpkgs, but we still offer older versions which rely on Python 2. They will probably have to go.
  • Applications that support both Gtk2 and Gtk3 can usually be fixed by dropping Gtk2 support.
  • All packages that somehow use python2 within node-env.nix can probably be solved at once. (pinging @svanderburg here for all those)

Directly affected packages

Result from running rg python2, manually cleaned up. Not included are all python2 packages, since they are already listed in pkgs/top-level/python2-packages.nix (and that list is long too).

Attribute File Status, Issues, PRs Maintainer(s)
afl pkgs/tools/security/afl/qemu.nix TBD @thoughtpolice
airfield pkgs/tools/networking/airfield/node.nix npm package -
antlr2 pkgs/development/tools/parsing/antlr/2.7.7.nix Old version, can probably be removed none
apacheHttpdPackages.mod_python pkgs/servers/http/apache-modules/mod_python/default.nix Can probably be removed @lovek323
apitrace pkgs/applications/graphics/apitrace/default.nix TBD none
appimageTools pkgs/build-support/appimage/default.nix TBD none
arangodb pkgs/servers/nosql/arangodb/default.nix TBD @flosse
aseprite, aseprite-unfree pkgs/applications/editors/aseprite/skia.nix TBD @orivej
bareos pkgs/tools/backup/bareos/default.nix Optional dependency none
base16-builder pkgs/misc/base16-builder/node-packages.nix npm package -
bazel_0_29 pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix TBD @mboes
bazel_1 pkgs/development/tools/build-managers/bazel/bazel_1/default.nix TBD @mboes
bazel_3 pkgs/development/tools/build-managers/bazel/bazel_3/default.nix TBD @mboes
bazel_4 pkgs/development/tools/build-managers/bazel/bazel_4/default.nix TBD @mboes
betaflight-configurator pkgs/development/embedded/stm32/betaflight/default.nix TBD @elitak
blink pkgs/applications/networking/instant-messengers/blink/default.nix TBD @pSub
bookworm pkgs/applications/office/bookworm/default.nix TBD none
botamusique pkgs/tools/audio/botamusique/default.nix depends on npm @infinisil
bud pkgs/tools/networking/bud/default.nix TBD @cstrahan
buildEmscriptenPackage pkgs/development/em-modules/generic/default.nix TBD @qknight
buttersink pkgs/tools/filesystems/buttersink/default.nix TBD none
caffe2 pkgs/development/libraries/science/math/caffe2/default.nix Marked as broken @yuriaisaka
cassandra pkgs/servers/nosql/cassandra/generic.nix TBD @roberth
cde-gtk-theme pkgs/data/themes/cdetheme/default.nix TBD none
chirp pkgs/applications/radio/chirp/default.nix TBD none
clearsilver pkgs/development/libraries/clearsilver/default.nix TBD none
commitizen pkgs/applications/version-management/commitizen/node-env.nix npm package -
coqPackages(?) pkgs/development/coq-modules/fiat/HEAD.nix TBD @jwiegley
coreclr pkgs/development/compilers/coreclr/default.nix TBD @kuznero
couchpotato pkgs/servers/couchpotato/default.nix TBD @fadenb
cppcms pkgs/development/libraries/cppcms/default.nix Current stable 1.2.x series needs python2; 2.0 series (currently in beta) will support python3 @juliendehos
cryptpad pkgs/servers/web-apps/cryptpad/node-packages.nix npm package -
csound, csound-manual, csound-qt pkgs/applications/audio/csound/csound-qt/default.nix TBD @hlolli
cudatoolkit pkgs/development/compilers/cudatoolkit/common.nix TBD none
curaByDagoma pkgs/applications/misc/curabydagoma/default.nix TBD none
cura pkgs/applications/misc/cura/stable.nix TBD @abbradar @gebner
cvs2svn pkgs/applications/version-management/cvs2svn/default.nix TBD @makefu
cypress pkgs/development/web/cypress/cypress-example-kitchensink/cypress-example-kitchensink.nix npm package -
darwin.iproute2mac(?) pkgs/os-specific/darwin/iproute2mac/default.nix TBD @flokli
dd-agent pkgs/tools/networking/dd-agent/5.nix TBD @thoughtpolice @domenkozar
ddar pkgs/tools/backup/ddar/default.nix TBD none
dia pkgs/applications/graphics/dia/default.nix TBD @raskin
disper pkgs/tools/misc/disper/default.nix TBD none
displaycal pkgs/applications/graphics/displaycal/default.nix TBD @MarcWeber
dmtcp pkgs/os-specific/linux/dmtcp/default.nix TBD none
docopt_cpp pkgs/development/libraries/docopt_cpp/default.nix TBD @knedlsepp
duply pkgs/tools/backup/duply/default.nix TBD @bjornfor
ec2-utils pkgs/tools/virtualization/ec2-utils/default.nix TBD @thefloweringash
ecopcr pkgs/applications/science/biology/ecopcr/default.nix TBD @metabar
ecryptfs-helper pkgs/tools/security/ecryptfs/helper.nix TBD @obadz
ecryptfs pkgs/tools/security/ecryptfs/default.nix Optional dependency @obadz
eggnog-mapper pkgs/applications/science/biology/eggnog-mapper/default.nix TBD @luispedro
elm pkgs/development/compilers/elm/packages/node-composition.nix npm package -
fahcontrol pkgs/applications/science/misc/foldingathome/control.nix TBD @zimbatm
fdr pkgs/applications/science/programming/fdr/default.nix TBD @NickHu
fedpkg pkgs/development/tools/fedpkg/default.nix TBD none
flatpak-builder pkgs/development/tools/flatpak-builder/default.nix #148779 (comment) @jtojnar
foundationdb pkgs/servers/foundationdb/vsmake.nix TBD @thoughtpolice
fslint pkgs/applications/misc/fslint/default.nix TBD @dasj19
fx_cast_bridge pkgs/tools/misc/fx_cast/default.nix TBD @dtzWill @kevincox
gcc-arm-embedded-10 pkgs/development/compilers/gcc-arm-embedded/10/default.nix TBD @prusnak
gcc-arm-embedded-6 pkgs/development/compilers/gcc-arm-embedded/6/default.nix TBD @prusnak
gcc-arm-embedded-7 pkgs/development/compilers/gcc-arm-embedded/7/default.nix TBD @prusnak
gcc-arm-embedded-8 pkgs/development/compilers/gcc-arm-embedded/8/default.nix TBD @prusnak
gcc-arm-embedded-9 pkgs/development/compilers/gcc-arm-embedded/9/default.nix TBD @prusnak
gdal pkgs/development/libraries/gdal/2.4.nix Old version, can probably be removed @MarcWeber
gemrb pkgs/games/gemrb/default.nix Py3 exists but is broken in 0.9.0. Next version will be py3 only. @peterhoeg
getmail pkgs/tools/networking/getmail/default.nix TBD @raskin
gimp, gimp-with-plugins pkgs/applications/graphics/gimp/default.nix #148779 (comment), draft PR @jtojnar
git-crecord pkgs/applications/version-management/git-crecord/default.nix TBD none
gitinspector pkgs/applications/version-management/gitinspector/default.nix TBD @bjornfor
gitstats pkgs/applications/version-management/gitstats/default.nix TBD @bjornfor
glimpse, glimpse-with-plugins pkgs/applications/graphics/glimpse/default.nix TBD @ashkitten @erictapen
gnome2.libglade pkgs/desktops/gnome-2/platform/libglade/default.nix Optional dependency none
golly-beta pkgs/applications/science/misc/golly/beta.nix TBD @raskin
golly pkgs/applications/science/misc/golly/default.nix TBD @raskin
goocanvas2 pkgs/development/libraries/goocanvas/2.x.nix Old version, can probably be removed none
google-clasp pkgs/development/misc/google-clasp/google-clasp.nix npm package -
gpuvis pkgs/development/tools/misc/gpuvis/default.nix upstream PR has been merged @Emantor
grass pkgs/applications/gis/grass/default.nix #150286 @mpickering
headphones pkgs/servers/headphones/default.nix #155466 @rembo10
hexio pkgs/development/tools/hexio/default.nix TBD @leenaars
hopper pkgs/development/tools/analysis/hopper/default.nix TBD @luis @Enteee
hplip pkgs/misc/drivers/hplip/3.16.11.nix Old version, can probably be removed @ttuegel
ibus pkgs/tools/inputmethods/ibus/fix-paths.patch TBD @ttuegel @yegortimoshenko
impressive pkgs/applications/office/impressive/default.nix Removed in #156327 @lheckemann
ino pkgs/development/embedded/arduino/ino/default.nix TBD @antono
isso pkgs/servers/isso/default.nix npm package -
jellyfin pkgs/servers/jellyfin/node-composition.nix npm package -
k3d pkgs/applications/graphics/k3d/default.nix #153448 @raskin
keybinder pkgs/development/libraries/keybinder/default.nix TBD @bjornfor
klipper pkgs/servers/klipper/default.nix TBD @lovesegfault @zhaofengli
kmymoney pkgs/applications/office/kmymoney/default.nix #152521 none
lasso pkgs/development/libraries/lasso/default.nix TBD @womfoo
ldgallery pkgs/tools/graphics/ldgallery/viewer/node-composition.nix npm package -
lean2 pkgs/applications/science/logic/lean2/default.nix TBD @thoughtpolice @gebner
libcap_ng pkgs/os-specific/linux/libcap-ng/default.nix Optional dependency, currently unused none
libfive(?) pkgs/applications/science/misc/root/5.nix Probably an old version, might be removable @veprbl
libgnome-keyring pkgs/desktops/gnome/core/gnome-keyring/default.nix #148779 (comment) @hedning @jtojnar @dasj19 @maxeaubrey
libinjection pkgs/development/libraries/libinjection/default.nix TBD @thoughtpolice
libkkc-data pkgs/data/misc/libkkc-data/default.nix TBD @vanzef
libkkc pkgs/tools/inputmethods/libkkc/default.nix TBD @vanzef
libosmocore pkgs/applications/misc/libosmocore/default.nix TBD @mog
libqxx_6 pkgs/development/libraries/libpqxx/6.nix Old version, can probably be removed @eelco
libsystemtap pkgs/development/libraries/libsystemtap/default.nix TBD @farlion
libsystemtap(?) pkgs/development/tools/profiling/systemtap/default.nix TBD none
libvirt pkgs/development/libraries/libvirt/5.9.0.nix Old version, can probably be removed @fpletz @globin
lighthouse pkgs/applications/misc/lighthouse/default.nix TBD @ramkromberg
lumpy pkgs/applications/science/biology/lumpy/default.nix upstream issue @jbedo
lvtk pkgs/development/libraries/audio/lvtk/default.nix TBD @goibhniu
macvim pkgs/applications/editors/vim/macvim.nix Optional dependency @cstrahan @lilyball
mailpile pkgs/applications/networking/mailreaders/mailpile/default.nix TBD none
manta pkgs/applications/science/biology/manta/default.nix upstream issue @jbedo
matrix-appservice-irc pkgs/servers/matrix-synapse/matrix-appservice-irc/node-composition.nix npm package -
matrix-appservice-slack pkgs/servers/matrix-synapse/matrix-appservice-slack/node-composition.nix npm package -
matrix-recorder pkgs/applications/networking/instant-messengers/matrix-recorder/node-env.nix npm package -
metamorphose2 pkgs/applications/misc/metamorphose2/default.nix TBD @ramkromberg
midigins pkgs/tools/audio/mididings/default.nix TBD none
mjolnir pkgs/servers/mjolnir/node-composition.nix npm package -
mono pkgs/development/compilers/mono/llvm.nix TBD @thoughtpolice
munin pkgs/servers/monitoring/munin/default.nix TBD @bjornfor
mx-puppet-discord pkgs/servers/mx-puppet-discord/node-composition.nix npm package -
mysql-workbench pkgs/applications/misc/mysql-workbench/default.nix TBD @kkallio
n8n pkgs/applications/networking/n8n/node-env.nix npm package -
natron pkgs/applications/video/natron/default.nix TBD @puffnfresh
neap pkgs/applications/misc/neap/default.nix TBD @romildo
neovide pkgs/applications/editors/neovim/neovide/default.nix Uses Python 2 for the Skia bindings @ck3d
netlify-cli pkgs/development/web/netlify-cli/composition.nix npm package -
netlify-cli pkgs/development/web/netlify-cli/node-env.nix npm package -
newman pkgs/development/web/newman/node-env.nix npm package -
nimPackages pkgs/development/nim-packages/python/default.nix a5b49f2 @ehmry
nixops pkgs/tools/package-management/nixops/default.nix needs major release / #150059 @aminechikhaoui @eelco @rob
nmap pkgs/tools/security/nmap/default.nix Optional for graphical support. Upstream PR @thoughtpolice @fpletz
nodejs-10_x pkgs/development/web/nodejs/v10.nix npm package -
nodejs-12_x pkgs/development/web/nodejs/v12.nix npm package -
ntdb pkgs/development/libraries/ntdb/default.nix Requires Python 2 for wafhook none
octavePackages(?) pkgs/development/octave-modules/symbolic/default.nix upstream issue with PR @KarlJoad
omniorc pkgs/development/tools/omniorb/default.nix TBD @smironov
oni2 pkgs/applications/editors/oni2/common.nix TBD @gardspirito
onlykey pkgs/tools/security/onlykey/onlykey.nix npm package -
opae pkgs/development/libraries/opae/default.nix TBD @thoughtpolice
openjfx11 pkgs/development/compilers/openjdk/openjfx/11.nix Old version, might be removed @abbradar
opensmtpd pkgs/servers/mail/opensmtpd/extras.nix #153449, Has enable-python flag @gebner @ekleog
openvswitch-lts pkgs/os-specific/linux/openvswitch/lts.nix #149283 @netixx @kmcopper
palemoon pkgs/applications/networking/browsers/palemoon/default.nix TBD @AndersonTorres @OPNA2608
patchage pkgs/applications/audio/patchage/default.nix TBD @nico202
pixie pkgs/development/interpreters/pixie/default.nix TBD @bendlas
??? pkgs/desktops/gnome-2/bindings/gnome-python/default.nix TBD @qknight
??? pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix TBD @goibhniu
??? pkgs/development/libraries/kdb/default.nix TBD @zraexy
??? pkgs/development/libraries/kreport/default.nix TBD @zraexy
??? pkgs/development/node-packages/composition.nix npm package -
??? pkgs/os-specific/linux/hyperv-daemons/default.nix Only requires Python 2 for kernels older than 4.19 @peterhoeg
??? pkgs/os-specific/linux/kernel/perf.nix Only requires Python 2 for older kernels @viric
??? pkgs/tools/audio/mpdsync/default.nix TBD none
platypus pkgs/applications/science/biology/platypus/default.nix Upstream issue @jbedo
plover pkgs/applications/misc/plover/default.nix TBD @twey @kovirobi
pocketsphinx pkgs/development/libraries/pocketsphinx/default.nix TBD none
postgresql pkgs/servers/sql/postgresql/packages.nix TBD @thoughtpolice @danbst @globin @marsam @ivan
prometheus pkgs/servers/monitoring/prometheus/webui/webui/default.nix npm package -
py3c pkgs/development/libraries/py3c/default.nix helps port C extensions to Python 3 @ajs124 @dotlambda
pydb pkgs/development/tools/pydb/default.nix TBD none
pyrex pkgs/development/interpreters/pyrex/0.9.6.nix TBD none
qpid-cpp pkgs/servers/amqp/qpid-cpp/default.nix TBD @cpages
qtwebengine(?) pkgs/development/libraries/qt-5/modules/qtwebengine.nix TBD @matthewbauer
qtwebkit(?) pkgs/development/libraries/qt-5/modules/qtwebkit.nix TBD @abbradar @periklis
quickder pkgs/development/libraries/quickder/default.nix TBD @leenaars
remarkjs pkgs/development/web/remarkjs/nodepkgs.nix npm package -
renpy pkgs/development/interpreters/renpy/default.nix renpy/renpy#2003 none
reptyr pkgs/os-specific/linux/reptyr/default.nix TBD @raskin
resholve pkgs/development/misc/resholve/resholve.nix TBD @abathur
rethinkdb pkgs/servers/nosql/rethinkdb/default.nix TBD @thoughtpolice @bluescreen303
rubyPackages(?) pkgs/development/ruby-modules/gem-config/default.nix TBD none
salut_a_toi pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix TBD @raskin
scons pkgs/development/tools/build-managers/scons/default.nix https://github.com/NixOS/nixpkgs/pull/156474´ none
scribus pkgs/applications/office/scribus/default.nix TBD @MarcWeber
scyther pkgs/applications/science/programming/scyther/default.nix #149404 @infinisil
spacegun pkgs/applications/networking/cluster/spacegun/node-composition.nix npm package -
sphinxbase pkgs/development/libraries/sphinxbase/default.nix TBD none
spidermonkey_68 pkgs/development/interpreters/spidermonkey/68.nix Old version, can probably not be removed @abbradar
strelka pkgs/applications/science/biology/strelka/default.nix Upstream issue @jbedo
styx pkgs/applications/misc/styx/default.nix TBD @ericsagnes
syncserver pkgs/servers/syncserver/default.nix TBD @nadrieril
tailor pkgs/applications/version-management/tailor/default.nix TBD none
telepathy-gabble pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix TBD none
telepathy-haze pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix TBD none
telepathy-idle pkgs/applications/networking/instant-messengers/telepathy/idle/default.wnix Needs update none
telepathy-logger pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix Probably dead @jtojnar
telepathy-salut pkgs/applications/networking/instant-messengers/telepathy/salut/default.nix TBD none
twister pkgs/applications/networking/p2p/twister/default.nix TBD none
unit pkgs/servers/http/unit/default.nix Optional dependency @izorkin
uwsgi pkgs/servers/uwsgi/default.nix TBD @abbradar @schneefux @globin
vde2 pkgs/tools/networking/vde2/default.nix TBD none
vte pkgs/desktops/gnome-2/desktop/vte/default.nix Optional dependency @astsmtl
webbrowser pkgs/applications/networking/browsers/webbrowser/default.nix TBD @TheBrainScrambler
whitebophir pkgs/servers/web-apps/whitebophir/node-packages.nix npm package -
wiktionary pkgs/servers/dict/wiktionary/default.nix TBD @qyliss
wordnet pkgs/servers/dict/dictd-wordnet.nix TBD none
writers pkgs/build-support/writers/default.nix Should probably be removed n.a.
xe-guest-utilities pkgs/tools/virtualization/xe-guest-utilities/default.nix TBD @benwbooth
xenPackages pkgs/applications/virtualization/xen/generic.nix TBD @eelco @tstrobel @oxij
xpf pkgs/tools/text/xml/xpf/default.nix TBD none
zigbee2mqtt pkgs/servers/zigbee2mqtt/node.nix npm package -
zynaddsubfx pkgs/applications/audio/zynaddsubfx/mruby-zest/default.nix Upstream issue @kira-bruneau
Done
Attribute File Status, Issues, PRs Maintainer(s)
aflplusplus pkgs/tools/security/aflplusplus/qemu.nix #150242 @ris
apfel pkgs/development/libraries/physics/apfel/default.nix #148796 @veprbl
avro-cpp pkgs/development/libraries/avro-c++/default.nix #148914 @rasendubi
azure-cli pkgs/tools/admin/azure-cli/python-packages.nix #148887 @jonringer
bitlbee pkgs/applications/networking/instant-messengers/bitlbee/default.nix #154795 @pSub
blastem pkgs/misc/emulators/blastem/default.nix #153151 @puffnfresh
blockhash pkgs/tools/graphics/blockhash/default.nix #149400 @infinisil
cjdns pkgs/tools/networking/cjdns/default.nix #150475 @ehmry
conway_polynomials pkgs/data/misc/conway_polynomials/default.nix #148797 @timokau @omasanori @raskin @collares
claws-mail, claws-mail-gtk2 pkgs/applications/networking/mailreaders/claws-mail/default.nix PR to remove Gtk2 support @fpletz @globin @orivej @oxzi @ajs124
creddump pkgs/tools/security/creddump/default.nix #153151 @fishi0x01
crispyDoom pkgs/games/crispy-doom/default.nix #150049 @neonfuz
dtrx pkgs/tools/compression/dtrx/default.nix #153151 @spwhitt
electrum, electrum-dash, electrum-tlc pkgs/applications/misc/electrum/dash.nix #153151 @np
elliptic_curves pkgs/data/misc/elliptic_curves/default.nix #148797 @timokau @omasanori @raskin @collares
enpass pkgs/tools/security/enpass/default.nix #153151 @ewok
escrotum pkgs/tools/graphics/escrotum/default.nix #148910 @rasendubi
euca2ools pkgs/tools/virtualization/euca2ools/default.nix #153151 @eelco
facedetect pkgs/tools/graphics/facedetect/default.nix PR @rycee
fomp pkgs/applications/audio/fomp/default.nix #149746 @magnetophon
gaia pkgs/development/libraries/gaia/default.nix removal PR @doronbehar
git-bz pkgs/applications/version-management/git-and-tools/git-bz/default.nix #153151 none
grin pkgs/tools/text/grin/default.nix PR @sjagoe
gtklick pkgs/applications/audio/gtklick/default.nix #153151 none
inkscape pkgs/applications/graphics/inkscape/fix-python-paths.patch False positive @jtojnar
julia_10 pkgs/development/compilers/julia/1.0.nix #149177 @raskin @rob @garrison
julia_15 pkgs/development/compilers/julia/1.5.nix #149177 @raskin @rob @garrison
keepnote pkgs/applications/office/keepnote/default.nix #153151 none
knockknock pkgs/tools/security/knockknock/default.nix #153151 @copumpkin
lastfmsubmitd pkgs/applications/audio/lastfmsubmitd/default.nix #153151 none
linuxband pkgs/applications/audio/linuxband/default.nix #149743 @magnetophon
loxodo pkgs/applications/misc/loxodo/default.nix #150139 none
me_cleaner pkgs/tools/misc/me_cleaner/default.nix #150140 none
mimms pkgs/applications/audio/mimms/default.nix #153151 none
ntk pkgs/development/libraries/audio/ntk/default.nix #149744 @magnetophon @nico202
non pkgs/applications/audio/non/default.nix #149745 @nico202
nvpy pkgs/applications/editors/nvpy/default.nix #150146 none
pdf-redact-tools pkgs/tools/graphics/pdfredacttools/default.nix #153151 @leenaars
polysh pkgs/tools/networking/polysh/default.nix #153151 @astsmtl
pybitmessage pkgs/applications/networking/instant-messengers/pybitmessage/default.nix Bitmessage/PyBitmessage#1712, #153151 @jgillich
pyrit pkgs/tools/security/pyrit/default.nix #153151 @danielfullmer
rawdog pkgs/applications/networking/feedreaders/rawdog/default.nix #153151 none
recoverjpeg pkgs/tools/misc/recoverjpeg/default.nix #148821 @dotlambda
retroarch pkgs/misc/emulators/retroarch/cores.nix #149114 @edwtjo @hrdinka @MP2E @thiagokokada
rocm-opencl-runtime pkgs/development/libraries/rocm-opencl-runtime/default.nix #150767 @acowley @lovesegfault
sickrage pkgs/servers/sickbeard/sickrage.nix #153151 @sterfield
sssd pkgs/os-specific/linux/sssd/default.nix #150508 @e-user @illustris
steam pkgs/games/steam/fhsenv.nix #152080 none
tor-arm pkgs/tools/security/tor/tor-arm.nix #153151 @thoughtpolice
vigra pkgs/development/libraries/vigra/default.nix #153516 @viric
zabbix-cli pkgs/tools/misc/zabbix-cli/default.nix #153151 @womfoo
zeroad pkgs/games/0ad/game.nix #148815 @chvp

If you have commit access, you are encouraged to edit the tables above to keep it up to date with the current progress.

@mweinelt mweinelt pinned this issue Dec 5, 2021
@OPNA2608
Copy link
Contributor

OPNA2608 commented Dec 5, 2021

Regarding palemoon, upstream have said that they have no plans to migrate their build system to python3 "for at least the foreseeable future". Tauthon may be acceptable for them.

@thiagokokada
Copy link
Contributor

Not sure how I feel about this issue. I think we should remove packages that use Python 2 during runtime, however in many cases (like retroarch and resholve), Python 2 is only used for build. Also in case of retroarch at least, it is used to build older MAME cores that will probably never be updated.

Could we target removal of all Python 2 packages instead, however keep Python 2 itself just for build purposes only? Maybe having some warn (or even an error) about usage of Python 2 in non-build contexts, for example?

@Qubasa
Copy link
Contributor

Qubasa commented Dec 5, 2021

@piegamesde What about closed source applications like the Hopper disassembler? It only uses python27 without any python dependencies do we really want to throw this away?

@piegamesde
Copy link
Member Author

I think at least half of the packages should be actionable in some way. Let's work on them first, and worry about the others later.

@7c6f434c
Copy link
Member

7c6f434c commented Dec 5, 2021 via email

@thiagokokada
Copy link
Contributor

Presumably, buildtime-only (and some of the runtime) Python2 uses should be fine with PyPy2 instead, which is maintained upstream and is likely to stay so?

Isn't it easier to keep Python 2 as-is? I don't think many upstreams tests their build systems with PyPy, so this will probably cause at least some issues.

@jtojnar
Copy link
Member

jtojnar commented Dec 5, 2021

oxzi added a commit to oxzi/nixpkgs that referenced this issue Dec 5, 2021
The GTK+ 2 version of Claws Mail, major version number three, relies on
Python 2, which is end-of-life and might be dropped in the nixpkgs.

In favour of NixOS#148779, this older branch of Claws Mail was removed.
@doronbehar doronbehar mentioned this issue Dec 5, 2021
13 tasks
sjagoe added a commit to sjagoe/nixpkgs that referenced this issue Dec 5, 2021
Update grin to Python 3 compatible version (NixOS#148779)
@sjagoe sjagoe mentioned this issue Dec 5, 2021
13 tasks
@rycee
Copy link
Member

rycee commented Dec 5, 2021

Facedetect migrated to Python 3 in #148781.

@r-burns
Copy link
Contributor

r-burns commented Dec 6, 2021

I've found Fedora's python porting db helpful: https://fedora.portingdb.xyz/

jonringer pushed a commit that referenced this issue Dec 6, 2021
Update grin to Python 3 compatible version (#148779)
happysalada pushed a commit that referenced this issue Mar 16, 2022
Motivated by #148779 and an unmaintained upstream.
armeenm added a commit to armeenm/nixpkgs that referenced this issue Mar 16, 2022
@armeenm armeenm mentioned this issue Mar 18, 2022
13 tasks
armeenm added a commit to armeenm/nixpkgs that referenced this issue Mar 18, 2022
Motivated by NixOS#148779 and an unmaintained upstream.
@armeenm armeenm mentioned this issue Mar 18, 2022
13 tasks
armeenm added a commit to armeenm/nixpkgs that referenced this issue Mar 18, 2022
Motivated by NixOS#148779 and an unmaintained upstream.
infinisil pushed a commit to armeenm/nixpkgs that referenced this issue Mar 25, 2022
Motivated by NixOS#148779 and an unmaintained upstream.
armeenm added a commit to armeenm/nixpkgs that referenced this issue Apr 5, 2022
Motivated by NixOS#148779 and an unmaintained upstream.
@jtojnar jtojnar moved this to Done in Picking up garbage Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests