Open emilazy opened 2 months ago
@emilazy in your list, candidates1
seems like a script error, i cant find it in nixpkgs
Uh, yeah I have no idea where that came from.
aws-google-auth may be dead: cevoaustralia/aws-google-auth#284
Probably just drop it, although we’re not running its tests anyway.
2 packages that have been already done @emilazy
new to nix with much to learn- but quick question. will these be backported into 24.05 when complete? or better to point a flake to master or unstable for packages that are fixed? thanks!
24.05 uses Python 3.11 by default, so the packages here should mostly not be an issue. If you’re using Python 3.12, I would recommend using the unstable release until 24.11 is released.
(Also, most of these packages do already work with 3.12 on 24.11 as we have patched nose ourselves; we’re just trying to get them cleaned up.)
Interesting-- I was using nix-shell and for some reason my nix-channel was set to unstable so it was pulling from there and therefore using 3.12 i guess. I don't need 3.12 specifically, so updated the channel and all is well now. Thanks for taking the time to explain!
131
items: 82.44%
done, 10.69%
in progress, 11
waiting
umcompyle6
has doCheck = pythonOlder "3.9";
but when using nix-build -A python312.umcompyle6
tests are still being run, am I missing something @emilazy?
@emilazy should we drop more-itertools
?
more-itertools
We can't, it is to widely used. Or do you mean the python2Package? Not sure what is even using that at this point.
more-itertools
We can't, it is to widely used. Or do you mean the python2Package? Not sure what is even using that at this point.
yup the python2Package
Try removing it and see what breaks. I would be in support to drop eg https://github.com/NixOS/nixpkgs/blob/21576aba43e604a95cc45c25248f39f3989ebe36/pkgs/servers/neard/default.nix
but we need to keep gimp intact https://github.com/NixOS/nixpkgs/blob/21576aba43e604a95cc45c25248f39f3989ebe36/pkgs/applications/graphics/gimp/default.nix#L137
I didn't find anything else uses python2 packages on the fast but I didn't search for all variants.
Ignore Python 2; it is even more obsolete than nose. GIMP will be solved soon and I have plans for the rest of Python 2.
nose is abandoned upstream and has caused us untold headaches recently (admittedly mostly unrelated to the code itself). We’ve stopped the bleeding by getting https://github.com/NixOS/nixpkgs/pull/325968 into staging thanks to the incredible work of @jchv, but it’s still broken on master and we ought to do some tidying up so we’re not dragging this around forever and perhaps even to unblock some stuff on master while the staging cycle progresses. Many packages don’t actually need nose any more, despite us including it in our dependency lists. Active upstreams should have already moved to pytest or something else. Some packages will have patches available; if we’re really feeling generous we could send patches to upstream ourselves. Others may be completely unmaintained packages that we could think about dropping.
Please make sure to migrate packages to
pyproject = true;
when working on them. Additionally, if the upstream is unmaintained, there are no significant reverse dependencies in‐tree or on Wheelodex, and it requires patching or there is no particular reason to imagine we’d want to keep it, consider just dropping the package. For the same reasons we want to get rid of nose, we should take this as an opportunity to reduce future maintenance burden and drop broken, unused, or long‐obsolete packages.@dotlambda has already done some great work on this – see https://github.com/NixOS/nixpkgs/pull/325847, https://github.com/NixOS/nixpkgs/pull/325872, https://github.com/NixOS/nixpkgs/pull/325885, and https://github.com/NixOS/nixpkgs/pull/326164 – but I thought it’d be good to have a master list of all affected packages so we can tackle it collectively. If you open a PR for one of these, please edit this issue to link it beside the relevant package(s).
adafruit-nrfutil
https://github.com/NixOS/nixpkgs/pull/327199aws-google-auth
https://github.com/NixOS/nixpkgs/pull/331352caffe
cmake-lint
https://github.com/NixOS/nixpkgs/pull/327220docker-compose_1
https://github.com/NixOS/nixpkgs/pull/330907gixy
https://github.com/NixOS/nixpkgs/pull/330741grin
https://github.com/NixOS/nixpkgs/pull/330741hydrus
ledger-autosync
https://github.com/NixOS/nixpkgs/pull/334202mackup
https://github.com/NixOS/nixpkgs/pull/327240mbutil
https://github.com/NixOS/nixpkgs/pull/334492onboard
openlp
https://github.com/NixOS/nixpkgs/pull/330855python3Packages.actdiag
https://github.com/NixOS/nixpkgs/pull/330396python3Packages.androguard
https://github.com/NixOS/nixpkgs/pull/330535python3Packages.apricot-select
python3Packages.beaker
https://github.com/NixOS/nixpkgs/pull/327530python3Packages.biopandas
https://github.com/NixOS/nixpkgs/pull/330740python3Packages.blessings
python3Packages.blockdiag
https://github.com/NixOS/nixpkgs/pull/330396python3Packages.boto
python3Packages.braintree
https://github.com/NixOS/nixpkgs/pull/330290python3Packages.bx-python
https://github.com/NixOS/nixpkgs/pull/330744python3Packages.cassandra-driver
https://github.com/NixOS/nixpkgs/pull/330760python3Packages.cgroup-utils
https://github.com/NixOS/nixpkgs/pull/330287python3Packages.changefinder
https://github.com/NixOS/nixpkgs/pull/330311python3Packages.chart-studio
https://github.com/NixOS/nixpkgs/pull/330248python3Packages.citeproc-py
https://github.com/NixOS/nixpkgs/pull/330237python3Packages.clickhouse-driver
https://github.com/NixOS/nixpkgs/pull/330959python3Packages.clustershell
python3Packages.deform
https://github.com/NixOS/nixpkgs/pull/328917python3Packages.django-crontab
python3Packages.dm-control
python3Packages.dodgy
https://github.com/NixOS/nixpkgs/pull/330761python3Packages.envs
https://github.com/NixOS/nixpkgs/pull/330762python3Packages.expiringdict
https://github.com/NixOS/nixpkgs/pull/326665python3Packages.flask-restful
https://github.com/NixOS/nixpkgs/pull/330876python3Packages.gocardless-pro
https://github.com/NixOS/nixpkgs/pull/326766python3Packages.habanero
https://github.com/NixOS/nixpkgs/pull/330768python3Packages.hkdf
https://github.com/NixOS/nixpkgs/pull/330769python3Packages.http-ece
https://github.com/NixOS/nixpkgs/pull/330771python3Packages.inotify
https://github.com/NixOS/nixpkgs/pull/330776python3Packages.isbnlib
https://github.com/NixOS/nixpkgs/pull/330773python3Packages.jsonable
https://github.com/NixOS/nixpkgs/pull/330777python3Packages.jupyter-contrib-nbextensions
python3Packages.libgpuarray
https://github.com/NixOS/nixpkgs/pull/331841python3Packages.locationsharinglib
https://github.com/NixOS/nixpkgs/pull/330786python3Packages.lockfile
python3Packages.mhcflurry
python3Packages.mkl-service
https://github.com/NixOS/nixpkgs/pull/324729python3Packages.mohawk
https://github.com/NixOS/nixpkgs/pull/331838python3Packages.mongoengine
https://github.com/NixOS/nixpkgs/pull/334487python3Packages.mwtypes
https://github.com/NixOS/nixpkgs/pull/330805python3Packages.mwxml
https://github.com/NixOS/nixpkgs/pull/330805python3Packages.mygpoclient
https://github.com/NixOS/nixpkgs/pull/324734python3Packages.nbmerge
https://github.com/NixOS/nixpkgs/pull/324749python3Packages.neo
https://github.com/NixOS/nixpkgs/pull/330882python3Packages.nose-pattern-exclude
https://github.com/NixOS/nixpkgs/pull/330439python3Packages.nose-timer
https://github.com/NixOS/nixpkgs/pull/330535python3Packages.nose-warnings-filters
https://github.com/NixOS/nixpkgs/pull/330439python3Packages.nose-xunitmp
https://github.com/NixOS/nixpkgs/pull/330869python3Packages.nwdiag
https://github.com/NixOS/nixpkgs/pull/330396python3Packages.ofxhome
https://github.com/NixOS/nixpkgs/pull/327239python3Packages.ofxtools
https://github.com/NixOS/nixpkgs/pull/330866python3Packages.para
https://github.com/NixOS/nixpkgs/pull/330229python3Packages.paramz
https://github.com/NixOS/nixpkgs/pull/330865python3Packages.pastescript
https://github.com/NixOS/nixpkgs/pull/327246python3Packages.paver
https://github.com/NixOS/nixpkgs/pull/330858python3Packages.pid
https://github.com/NixOS/nixpkgs/pull/327372python3Packages.pkutils
https://github.com/NixOS/nixpkgs/pull/330741python3Packages.pprintpp
https://github.com/NixOS/nixpkgs/pull/330705python3Packages.preggy
https://github.com/NixOS/nixpkgs/pull/329978python3Packages.premailer
https://github.com/NixOS/nixpkgs/pull/330702python3Packages.prison
https://github.com/NixOS/nixpkgs/pull/330700python3Packages.prox-tv
https://github.com/NixOS/nixpkgs/pull/330699python3Packages.ptable
https://github.com/NixOS/nixpkgs/pull/330696python3Packages.pycdio
https://github.com/NixOS/nixpkgs/pull/330695python3Packages.pycontracts
https://github.com/NixOS/nixpkgs/pull/330791python3Packages.pydy
python3Packages.pyexcel-ods
https://github.com/NixOS/nixpkgs/pull/330758python3Packages.pyexcel-xls
https://github.com/NixOS/nixpkgs/pull/330758python3Packages.pygatt
https://github.com/NixOS/nixpkgs/pull/332660 https://github.com/NixOS/nixpkgs/pull/330688python3Packages.pygeoip
https://github.com/NixOS/nixpkgs/pull/330509python3Packages.pygogo
https://github.com/NixOS/nixpkgs/pull/329989python3Packages.pygtfs
https://github.com/NixOS/nixpkgs/pull/330504python3Packages.pylacrosse
https://github.com/NixOS/nixpkgs/pull/330500python3Packages.pypass
https://github.com/NixOS/nixpkgs/pull/330222python3Packages.pypillowfight
https://github.com/NixOS/nixpkgs/pull/327214python3Packages.pyquaternion
https://github.com/NixOS/nixpkgs/pull/330459python3Packages.pyrfc3339
https://github.com/NixOS/nixpkgs/pull/330496python3Packages.pysrt
https://github.com/NixOS/nixpkgs/pull/330441python3Packages.pytest
https://github.com/NixOS/nixpkgs/pull/326541python3Packages.python-etcd
https://github.com/NixOS/nixpkgs/pull/330438python3Packages.python-fedora
https://github.com/NixOS/nixpkgs/pull/327169python3Packages.python-hglib
https://github.com/NixOS/nixpkgs/pull/330739python3Packages.python-mapnik
https://github.com/NixOS/nixpkgs/pull/330432python3Packages.pytimeparse
https://github.com/NixOS/nixpkgs/pull/330421python3Packages.pyutilib
https://github.com/NixOS/nixpkgs/pull/330759python3Packages.rauth
https://github.com/NixOS/nixpkgs/pull/330417python3Packages.rx
python3Packages.safe
https://github.com/NixOS/nixpkgs/pull/330404python3Packages.sampledata
https://github.com/NixOS/nixpkgs/pull/330029python3Packages.scales
https://github.com/NixOS/nixpkgs/pull/334466python3Packages.scikit-fuzzy
https://github.com/NixOS/nixpkgs/pull/330854python3Packages.selectors2
https://github.com/NixOS/nixpkgs/pull/330024python3Packages.seqdiag
https://github.com/NixOS/nixpkgs/pull/330396python3Packages.shap
python3Packages.simplebayes
https://github.com/NixOS/nixpkgs/pull/330018python3Packages.spark-parser
https://github.com/NixOS/nixpkgs/pull/330001python3Packages.sphinx-rtd-dark-mode
https://github.com/NixOS/nixpkgs/pull/330383python3Packages.sqlalchemy-mixins
https://github.com/NixOS/nixpkgs/pull/330493python3Packages.stytra
python3Packages.sure
https://github.com/NixOS/nixpkgs/pull/330012python3Packages.svgutils
https://github.com/NixOS/nixpkgs/pull/330381python3Packages.telfhash
https://github.com/NixOS/nixpkgs/pull/330005python3Packages.tempita
https://github.com/NixOS/nixpkgs/pull/330855python3Packages.tissue
https://github.com/NixOS/nixpkgs/pull/330376python3Packages.traittypes
https://github.com/NixOS/nixpkgs/pull/330236python3Packages.trfl
https://github.com/NixOS/nixpkgs/pull/329976python3Packages.uncompyle6
python3Packages.unicode-slugify
https://github.com/NixOS/nixpkgs/pull/329998python3Packages.uvcclient
python3Packages.vxi11
https://github.com/NixOS/nixpkgs/pull/329994python3Packages.webassets
https://github.com/NixOS/nixpkgs/pull/334483python3Packages.webhelpers
https://github.com/NixOS/nixpkgs/pull/330399python3Packages.weboob
https://github.com/NixOS/nixpkgs/pull/330436python3Packages.wsme
https://github.com/NixOS/nixpkgs/pull/334472python3Packages.xlwt
https://github.com/NixOS/nixpkgs/pull/330217python3Packages.yanc
https://github.com/NixOS/nixpkgs/pull/329978python3Packages.yarg
https://github.com/NixOS/nixpkgs/pull/327170sasview
svtplay-dl
https://github.com/NixOS/nixpkgs/pull/330741tarsnapper
https://github.com/NixOS/nixpkgs/pull/334462zk-shell
https://github.com/NixOS/nixpkgs/pull/333725This was generated from staging commit 83881cb6e9b660cbca5241380c031ab2b69d6e1e with the following awful fish one‐liner:
for pkg in (rg -l '\bnose3?\b' | rg -v '/(nose[23]?|cufflinks|enocean|jaconv|annoy|hdmedians|flaky|pycron|snapshottest|ssh-mitm|colour|influxdb)/|(python|cran)-(packages|aliases)\.nix' | sed 's|.*/\([^/]*\)/\([^/]*\)$|\1|'); rg "/$pkg"'[ \n{]' pkgs/top-level/python-packages.nix | awk '{print "python3Packages." $1}'; test $pipestatus[1] = 0 || rg "/$pkg"'[ \n{]' pkgs/top-level/all-packages.nix | awk '{print $1}'; test $pipestatus[1] = 0 || echo "$pkg"; end | sort -u | sed 's/^/* [ ] `/; s/$/`/'
; feel free to edit to update the list.