-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Comments
And because GitHub stopped the pinging party short, here's some more names: @edolstra @rycee @zimbatm @NickHu @jtojnar @magnetophon @dasj19 @dasJ @dtzWill @kevincox @doronbehar @prusnak @peterhoeg @ashkitten @erictapen @Emantor @mpickering @sjagoe @luis-hebendanz @Enteee @ttuegel @yegortimoshenko @lheckemann @antono @rbvermaa @garrison @lovesegfault @zhaofengli @copumpkin @womfoo @hedning @maxeaubrey @vanzef @workflow @RamKromberg @jbedo @cillianderoiste @lilyball @bjornfor @romildo @romildo @ck3d @AmineChikhaoui @nico202 @magnetophon @KarlJoad @grwlf @Ekleog @netixx @kmcopper @AndersonTorres @OPNA2608 … |
Aaand some more (I'm really sorry if I screw some up, GitHub is so stupid): @leenaars @bendlas @cillianderoiste @zraexy @peterhoeg @jbedo @Twey @KoviRobi @danbst @marsam @ivan @viric @astsmtl @dotlambda @danielfullmer @cpages @periklis @abathur @bluescreen303 @edwtjo @hrdinka @MP2E @thiagokokada @acowley @lovesegfault @sterfield @e-user @illustris @jbedo @Nadrieril @schneefux @TheBrainScrambler @alyssais @benwbooth @oxij @womfoo @chvp @kira-bruneau @magnetophon |
Regarding |
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 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? |
@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? |
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. |
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?
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. |
|
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.
Update grin to Python 3 compatible version (NixOS#148779)
Facedetect migrated to Python 3 in #148781. |
I've found Fedora's python porting db helpful: https://fedora.portingdb.xyz/ |
Update grin to Python 3 compatible version (#148779)
Motivated by #148779 and an unmaintained upstream.
https://github.com/vanrein/hexio/releases/tag/version-1.1-RC1 drop derdump as it uses python2 (NixOS#148779)
Motivated by NixOS#148779 and an unmaintained upstream.
Motivated by NixOS#148779 and an unmaintained upstream.
Motivated by NixOS#148779 and an unmaintained upstream.
Motivated by NixOS#148779 and an unmaintained upstream.
Motivation
#140168 (comment):
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 usedrg 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):
Some common solutions:
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 inpkgs/top-level/python2-packages.nix
(and that list is long too).afl
pkgs/tools/security/afl/qemu.nix
airfield
pkgs/tools/networking/airfield/node.nix
antlr2
pkgs/development/tools/parsing/antlr/2.7.7.nix
apacheHttpdPackages.mod_python
pkgs/servers/http/apache-modules/mod_python/default.nix
apitrace
pkgs/applications/graphics/apitrace/default.nix
appimageTools
pkgs/build-support/appimage/default.nix
arangodb
pkgs/servers/nosql/arangodb/default.nix
aseprite
,aseprite-unfree
pkgs/applications/editors/aseprite/skia.nix
bareos
pkgs/tools/backup/bareos/default.nix
base16-builder
pkgs/misc/base16-builder/node-packages.nix
bazel_0_29
pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
bazel_1
pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
bazel_3
pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
bazel_4
pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
betaflight-configurator
pkgs/development/embedded/stm32/betaflight/default.nix
blink
pkgs/applications/networking/instant-messengers/blink/default.nix
bookworm
pkgs/applications/office/bookworm/default.nix
botamusique
pkgs/tools/audio/botamusique/default.nix
bud
pkgs/tools/networking/bud/default.nix
buildEmscriptenPackage
pkgs/development/em-modules/generic/default.nix
buttersink
pkgs/tools/filesystems/buttersink/default.nix
caffe2
pkgs/development/libraries/science/math/caffe2/default.nix
cassandra
pkgs/servers/nosql/cassandra/generic.nix
cde-gtk-theme
pkgs/data/themes/cdetheme/default.nix
chirp
pkgs/applications/radio/chirp/default.nix
clearsilver
pkgs/development/libraries/clearsilver/default.nix
commitizen
pkgs/applications/version-management/commitizen/node-env.nix
coqPackages
(?)pkgs/development/coq-modules/fiat/HEAD.nix
coreclr
pkgs/development/compilers/coreclr/default.nix
couchpotato
pkgs/servers/couchpotato/default.nix
cppcms
pkgs/development/libraries/cppcms/default.nix
cryptpad
pkgs/servers/web-apps/cryptpad/node-packages.nix
csound
,csound-manual
,csound-qt
pkgs/applications/audio/csound/csound-qt/default.nix
cudatoolkit
pkgs/development/compilers/cudatoolkit/common.nix
curaByDagoma
pkgs/applications/misc/curabydagoma/default.nix
cura
pkgs/applications/misc/cura/stable.nix
cvs2svn
pkgs/applications/version-management/cvs2svn/default.nix
cypress
pkgs/development/web/cypress/cypress-example-kitchensink/cypress-example-kitchensink.nix
darwin.iproute2mac
(?)pkgs/os-specific/darwin/iproute2mac/default.nix
dd-agent
pkgs/tools/networking/dd-agent/5.nix
ddar
pkgs/tools/backup/ddar/default.nix
dia
pkgs/applications/graphics/dia/default.nix
disper
pkgs/tools/misc/disper/default.nix
displaycal
pkgs/applications/graphics/displaycal/default.nix
dmtcp
pkgs/os-specific/linux/dmtcp/default.nix
docopt_cpp
pkgs/development/libraries/docopt_cpp/default.nix
duply
pkgs/tools/backup/duply/default.nix
ec2-utils
pkgs/tools/virtualization/ec2-utils/default.nix
ecopcr
pkgs/applications/science/biology/ecopcr/default.nix
ecryptfs-helper
pkgs/tools/security/ecryptfs/helper.nix
ecryptfs
pkgs/tools/security/ecryptfs/default.nix
eggnog-mapper
pkgs/applications/science/biology/eggnog-mapper/default.nix
elm
pkgs/development/compilers/elm/packages/node-composition.nix
fahcontrol
pkgs/applications/science/misc/foldingathome/control.nix
fdr
pkgs/applications/science/programming/fdr/default.nix
fedpkg
pkgs/development/tools/fedpkg/default.nix
flatpak-builder
pkgs/development/tools/flatpak-builder/default.nix
foundationdb
pkgs/servers/foundationdb/vsmake.nix
fslint
pkgs/applications/misc/fslint/default.nix
fx_cast_bridge
pkgs/tools/misc/fx_cast/default.nix
gcc-arm-embedded-10
pkgs/development/compilers/gcc-arm-embedded/10/default.nix
gcc-arm-embedded-6
pkgs/development/compilers/gcc-arm-embedded/6/default.nix
gcc-arm-embedded-7
pkgs/development/compilers/gcc-arm-embedded/7/default.nix
gcc-arm-embedded-8
pkgs/development/compilers/gcc-arm-embedded/8/default.nix
gcc-arm-embedded-9
pkgs/development/compilers/gcc-arm-embedded/9/default.nix
gdal
pkgs/development/libraries/gdal/2.4.nix
gemrb
pkgs/games/gemrb/default.nix
getmail
pkgs/tools/networking/getmail/default.nix
gimp
,gimp-with-plugins
pkgs/applications/graphics/gimp/default.nix
git-crecord
pkgs/applications/version-management/git-crecord/default.nix
gitinspector
pkgs/applications/version-management/gitinspector/default.nix
gitstats
pkgs/applications/version-management/gitstats/default.nix
glimpse
,glimpse-with-plugins
pkgs/applications/graphics/glimpse/default.nix
gnome2.libglade
pkgs/desktops/gnome-2/platform/libglade/default.nix
golly-beta
pkgs/applications/science/misc/golly/beta.nix
golly
pkgs/applications/science/misc/golly/default.nix
goocanvas2
pkgs/development/libraries/goocanvas/2.x.nix
google-clasp
pkgs/development/misc/google-clasp/google-clasp.nix
gpuvis
pkgs/development/tools/misc/gpuvis/default.nix
grass
pkgs/applications/gis/grass/default.nix
headphones
pkgs/servers/headphones/default.nix
hexio
pkgs/development/tools/hexio/default.nix
hopper
pkgs/development/tools/analysis/hopper/default.nix
hplip
pkgs/misc/drivers/hplip/3.16.11.nix
ibus
pkgs/tools/inputmethods/ibus/fix-paths.patch
impressive
pkgs/applications/office/impressive/default.nix
ino
pkgs/development/embedded/arduino/ino/default.nix
isso
pkgs/servers/isso/default.nix
jellyfin
pkgs/servers/jellyfin/node-composition.nix
k3d
pkgs/applications/graphics/k3d/default.nix
keybinder
pkgs/development/libraries/keybinder/default.nix
klipper
pkgs/servers/klipper/default.nix
kmymoney
pkgs/applications/office/kmymoney/default.nix
lasso
pkgs/development/libraries/lasso/default.nix
ldgallery
pkgs/tools/graphics/ldgallery/viewer/node-composition.nix
lean2
pkgs/applications/science/logic/lean2/default.nix
libcap_ng
pkgs/os-specific/linux/libcap-ng/default.nix
libfive
(?)pkgs/applications/science/misc/root/5.nix
libgnome-keyring
pkgs/desktops/gnome/core/gnome-keyring/default.nix
libinjection
pkgs/development/libraries/libinjection/default.nix
libkkc-data
pkgs/data/misc/libkkc-data/default.nix
libkkc
pkgs/tools/inputmethods/libkkc/default.nix
libosmocore
pkgs/applications/misc/libosmocore/default.nix
libqxx_6
pkgs/development/libraries/libpqxx/6.nix
libsystemtap
pkgs/development/libraries/libsystemtap/default.nix
libsystemtap
(?)pkgs/development/tools/profiling/systemtap/default.nix
libvirt
pkgs/development/libraries/libvirt/5.9.0.nix
lighthouse
pkgs/applications/misc/lighthouse/default.nix
lumpy
pkgs/applications/science/biology/lumpy/default.nix
lvtk
pkgs/development/libraries/audio/lvtk/default.nix
macvim
pkgs/applications/editors/vim/macvim.nix
mailpile
pkgs/applications/networking/mailreaders/mailpile/default.nix
manta
pkgs/applications/science/biology/manta/default.nix
matrix-appservice-irc
pkgs/servers/matrix-synapse/matrix-appservice-irc/node-composition.nix
matrix-appservice-slack
pkgs/servers/matrix-synapse/matrix-appservice-slack/node-composition.nix
matrix-recorder
pkgs/applications/networking/instant-messengers/matrix-recorder/node-env.nix
metamorphose2
pkgs/applications/misc/metamorphose2/default.nix
midigins
pkgs/tools/audio/mididings/default.nix
mjolnir
pkgs/servers/mjolnir/node-composition.nix
mono
pkgs/development/compilers/mono/llvm.nix
munin
pkgs/servers/monitoring/munin/default.nix
mx-puppet-discord
pkgs/servers/mx-puppet-discord/node-composition.nix
mysql-workbench
pkgs/applications/misc/mysql-workbench/default.nix
n8n
pkgs/applications/networking/n8n/node-env.nix
natron
pkgs/applications/video/natron/default.nix
neap
pkgs/applications/misc/neap/default.nix
neovide
pkgs/applications/editors/neovim/neovide/default.nix
netlify-cli
pkgs/development/web/netlify-cli/composition.nix
netlify-cli
pkgs/development/web/netlify-cli/node-env.nix
newman
pkgs/development/web/newman/node-env.nix
nimPackages
pkgs/development/nim-packages/python/default.nix
nixops
pkgs/tools/package-management/nixops/default.nix
nmap
pkgs/tools/security/nmap/default.nix
nodejs-10_x
pkgs/development/web/nodejs/v10.nix
nodejs-12_x
pkgs/development/web/nodejs/v12.nix
ntdb
pkgs/development/libraries/ntdb/default.nix
wafhook
octavePackages
(?)pkgs/development/octave-modules/symbolic/default.nix
omniorc
pkgs/development/tools/omniorb/default.nix
oni2
pkgs/applications/editors/oni2/common.nix
onlykey
pkgs/tools/security/onlykey/onlykey.nix
opae
pkgs/development/libraries/opae/default.nix
openjfx11
pkgs/development/compilers/openjdk/openjfx/11.nix
opensmtpd
pkgs/servers/mail/opensmtpd/extras.nix
enable-python
flagopenvswitch-lts
pkgs/os-specific/linux/openvswitch/lts.nix
palemoon
pkgs/applications/networking/browsers/palemoon/default.nix
patchage
pkgs/applications/audio/patchage/default.nix
pixie
pkgs/development/interpreters/pixie/default.nix
pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix
pkgs/development/libraries/kdb/default.nix
pkgs/development/libraries/kreport/default.nix
pkgs/development/node-packages/composition.nix
pkgs/os-specific/linux/hyperv-daemons/default.nix
pkgs/os-specific/linux/kernel/perf.nix
pkgs/tools/audio/mpdsync/default.nix
platypus
pkgs/applications/science/biology/platypus/default.nix
plover
pkgs/applications/misc/plover/default.nix
pocketsphinx
pkgs/development/libraries/pocketsphinx/default.nix
postgresql
pkgs/servers/sql/postgresql/packages.nix
prometheus
pkgs/servers/monitoring/prometheus/webui/webui/default.nix
py3c
pkgs/development/libraries/py3c/default.nix
pydb
pkgs/development/tools/pydb/default.nix
pyrex
pkgs/development/interpreters/pyrex/0.9.6.nix
qpid-cpp
pkgs/servers/amqp/qpid-cpp/default.nix
qtwebengine
(?)pkgs/development/libraries/qt-5/modules/qtwebengine.nix
qtwebkit
(?)pkgs/development/libraries/qt-5/modules/qtwebkit.nix
quickder
pkgs/development/libraries/quickder/default.nix
remarkjs
pkgs/development/web/remarkjs/nodepkgs.nix
renpy
pkgs/development/interpreters/renpy/default.nix
reptyr
pkgs/os-specific/linux/reptyr/default.nix
resholve
pkgs/development/misc/resholve/resholve.nix
rethinkdb
pkgs/servers/nosql/rethinkdb/default.nix
rubyPackages
(?)pkgs/development/ruby-modules/gem-config/default.nix
salut_a_toi
pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix
scons
pkgs/development/tools/build-managers/scons/default.nix
scribus
pkgs/applications/office/scribus/default.nix
scyther
pkgs/applications/science/programming/scyther/default.nix
spacegun
pkgs/applications/networking/cluster/spacegun/node-composition.nix
sphinxbase
pkgs/development/libraries/sphinxbase/default.nix
spidermonkey_68
pkgs/development/interpreters/spidermonkey/68.nix
strelka
pkgs/applications/science/biology/strelka/default.nix
styx
pkgs/applications/misc/styx/default.nix
syncserver
pkgs/servers/syncserver/default.nix
tailor
pkgs/applications/version-management/tailor/default.nix
telepathy-gabble
pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix
telepathy-haze
pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
telepathy-idle
pkgs/applications/networking/instant-messengers/telepathy/idle/default.wnix
telepathy-logger
pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
telepathy-salut
pkgs/applications/networking/instant-messengers/telepathy/salut/default.nix
twister
pkgs/applications/networking/p2p/twister/default.nix
unit
pkgs/servers/http/unit/default.nix
uwsgi
pkgs/servers/uwsgi/default.nix
vde2
pkgs/tools/networking/vde2/default.nix
vte
pkgs/desktops/gnome-2/desktop/vte/default.nix
webbrowser
pkgs/applications/networking/browsers/webbrowser/default.nix
whitebophir
pkgs/servers/web-apps/whitebophir/node-packages.nix
wiktionary
pkgs/servers/dict/wiktionary/default.nix
wordnet
pkgs/servers/dict/dictd-wordnet.nix
writers
pkgs/build-support/writers/default.nix
xe-guest-utilities
pkgs/tools/virtualization/xe-guest-utilities/default.nix
xenPackages
pkgs/applications/virtualization/xen/generic.nix
xpf
pkgs/tools/text/xml/xpf/default.nix
zigbee2mqtt
pkgs/servers/zigbee2mqtt/node.nix
zynaddsubfx
pkgs/applications/audio/zynaddsubfx/mruby-zest/default.nix
Done
aflplusplus
pkgs/tools/security/aflplusplus/qemu.nix
apfel
pkgs/development/libraries/physics/apfel/default.nix
avro-cpp
pkgs/development/libraries/avro-c++/default.nix
azure-cli
pkgs/tools/admin/azure-cli/python-packages.nix
bitlbee
pkgs/applications/networking/instant-messengers/bitlbee/default.nix
blastem
pkgs/misc/emulators/blastem/default.nix
blockhash
pkgs/tools/graphics/blockhash/default.nix
cjdns
pkgs/tools/networking/cjdns/default.nix
conway_polynomials
pkgs/data/misc/conway_polynomials/default.nix
claws-mail
,claws-mail-gtk2
pkgs/applications/networking/mailreaders/claws-mail/default.nix
creddump
pkgs/tools/security/creddump/default.nix
crispyDoom
pkgs/games/crispy-doom/default.nix
dtrx
pkgs/tools/compression/dtrx/default.nix
electrum
,electrum-dash
,electrum-tlc
pkgs/applications/misc/electrum/dash.nix
elliptic_curves
pkgs/data/misc/elliptic_curves/default.nix
enpass
pkgs/tools/security/enpass/default.nix
escrotum
pkgs/tools/graphics/escrotum/default.nix
euca2ools
pkgs/tools/virtualization/euca2ools/default.nix
facedetect
pkgs/tools/graphics/facedetect/default.nix
fomp
pkgs/applications/audio/fomp/default.nix
gaia
pkgs/development/libraries/gaia/default.nix
git-bz
pkgs/applications/version-management/git-and-tools/git-bz/default.nix
grin
pkgs/tools/text/grin/default.nix
gtklick
pkgs/applications/audio/gtklick/default.nix
inkscape
pkgs/applications/graphics/inkscape/fix-python-paths.patch
julia_10
pkgs/development/compilers/julia/1.0.nix
julia_15
pkgs/development/compilers/julia/1.5.nix
keepnote
pkgs/applications/office/keepnote/default.nix
knockknock
pkgs/tools/security/knockknock/default.nix
lastfmsubmitd
pkgs/applications/audio/lastfmsubmitd/default.nix
linuxband
pkgs/applications/audio/linuxband/default.nix
loxodo
pkgs/applications/misc/loxodo/default.nix
me_cleaner
pkgs/tools/misc/me_cleaner/default.nix
mimms
pkgs/applications/audio/mimms/default.nix
ntk
pkgs/development/libraries/audio/ntk/default.nix
non
pkgs/applications/audio/non/default.nix
nvpy
pkgs/applications/editors/nvpy/default.nix
pdf-redact-tools
pkgs/tools/graphics/pdfredacttools/default.nix
polysh
pkgs/tools/networking/polysh/default.nix
pybitmessage
pkgs/applications/networking/instant-messengers/pybitmessage/default.nix
pyrit
pkgs/tools/security/pyrit/default.nix
rawdog
pkgs/applications/networking/feedreaders/rawdog/default.nix
recoverjpeg
pkgs/tools/misc/recoverjpeg/default.nix
retroarch
pkgs/misc/emulators/retroarch/cores.nix
rocm-opencl-runtime
pkgs/development/libraries/rocm-opencl-runtime/default.nix
sickrage
pkgs/servers/sickbeard/sickrage.nix
sssd
pkgs/os-specific/linux/sssd/default.nix
steam
pkgs/games/steam/fhsenv.nix
tor-arm
pkgs/tools/security/tor/tor-arm.nix
vigra
pkgs/development/libraries/vigra/default.nix
zabbix-cli
pkgs/tools/misc/zabbix-cli/default.nix
zeroad
pkgs/games/0ad/game.nix
If you have commit access, you are encouraged to edit the tables above to keep it up to date with the current progress.
The text was updated successfully, but these errors were encountered: