Orphaned python-mccabe (dependency of pylint)
by Miro Hrončok
Hello.
I have orphaned python-mccabe.
It does not build with updated hypothesis, because the update broke
hypothesmith and I don't have time to look into it:
https://bugzilla.redhat.com/2261579
mccabe is a dependency of pylint.
Packages other than linters should not BuildRequire pylint in Fedora (but they do).
The recursive dependency tree is very large. Here are some basics:
$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-mccabe
pylint-0:3.0.3-3.fc40.src
python-f5-icontrol-rest-0:1.3.15-11.fc39.src
python-flake8-0:6.0.0-2.fc39.src
python-lsp-server-0:1.9.0-3.fc40.src
python-twitter-0:3.5-18.fc39.src
python3-flake8-0:6.0.0-2.fc39.noarch
python3-lsp-server+all-0:1.9.0-3.fc40.noarch
python3-pylint-0:3.0.3-3.fc40.noarch
$ repoquery -q --repo=rawhide{,-source} --whatrequires pylint --whatrequires
python3-pylint
crypto-policies-0:20231204-1.git1e3a2e4.fc40.src
distro-info-0:0.18-18.fc39.src
dogtag-pki-tests-0:11.4.3-2.fc39.1.noarch
foomuuri-0:0.21-1.fc40.src
nordugrid-arc-0:6.18.0-2.fc40.src
nvme-stas-0:2.3.1-1.fc40.src
postfix-mta-sts-resolver+dev-0:1.4.0-2.fc40.noarch
pylint-0:3.0.3-3.fc40.noarch
python-geoplot-0:0.5.1-7.fc40.src
python-guessit-0:3.8.0-1.fc40.src
python-hwdata-0:2.3.8-4.fc39.src
python-platformio-0:6.1.13-1.fc40.src
python-pocketlint-0:0.25-1.fc40.src
python-pylint-venv-0:3.0.2-1.fc40.src
python-rebulk-0:3.3.0-1.fc40.src
python3-pocketlint-0:0.25-1.fc40.noarch
python3-spyder-0:6.0.0~a1-13.20231010gitv6.0.0a1.fc40.noarch
thonny-0:4.1.4-1.fc40.noarch
thonny-0:4.1.4-1.fc40.src
vcs-diff-lint-0:4-3.fc39.noarch
vim-syntastic-python-0:3.10.0-21.fc39.noarch
$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-mccabe --recursive
crypto-policies-0:20231204-1.git1e3a2e4.fc40.src
diskimage-builder-0:3.31.0-2.fc40.noarch
distro-info-0:0.18-18.fc39.src
dogtag-pki-tests-0:11.4.3-2.fc39.1.noarch
foomuuri-0:0.21-1.fc40.src
glances-0:3.4.0-3.fc39.src
mu-0:1.2.0-10.fc40.noarch
mu-0:1.2.0-10.fc40.src
nordugrid-arc-0:6.18.0-2.fc40.src
nvme-stas-0:2.3.1-1.fc40.src
ocaml-atd-0:2.15.0-3.fc40.src
piper-0:0.7-5.fc39.src
postfix-mta-sts-resolver+dev-0:1.4.0-2.fc40.noarch
pyee-0:9.0.4-6.fc39.src
pylint-0:3.0.3-3.fc40.noarch
pylint-0:3.0.3-3.fc40.src
python-binary-memcached-0:0.31.2-2.fc39.src
python-croniter-0:1.4.1-1.fc40.src
python-debianbts-0:2.8.2-13.fc39.src
python-django-formtools-0:2.2-10.fc39.src
python-esbonio-0:0.16.4-3.fc40.src
python-f5-icontrol-rest-0:1.3.15-11.fc39.src
python-factory-boy-0:3.3.0-1.fc40.src
python-flake8-0:6.0.0-2.fc39.src
python-flake8-builtins-0:2.1.0-4.fc39.src
python-flake8-comprehensions-0:3.10.1-6.fc39.src
python-flake8-import-order-0:0.18.2-3.fc39.src
python-flake8-polyfill-0:1.0.2-19.fc39.src
python-flake8-quotes-0:3.3.2-4.fc39.src
python-flask-mailman-0:1.0.0-1.fc40.src
python-geoplot-0:0.5.1-7.fc40.src
python-gerritlib-0:0.6.0-24.fc39.src
python-guessit-0:3.8.0-1.fc40.src
python-hacking-0:6.0.1-1.fc40.src
python-hwdata-0:2.3.8-4.fc39.src
python-ipmi-0:0.5.4-3.fc39.src
python-lsp-server-0:1.9.0-3.fc40.src
python-nashpy-0:0.0.40-1.fc39.src
python-nikola-0:8.2.4-4.fc39.src
python-oslo-context-0:5.2.0-1.fc40.src
python-oslo-service-0:3.1.1-8.fc40.src
python-pep8-naming-0:0.13.3-3.fc39.src
python-platformio-0:6.1.13-1.fc40.src
python-pocketlint-0:0.25-1.fc40.src
python-pylint-venv-0:3.0.2-1.fc40.src
python-pymochad-0:0.2.0-10.fc39.src
python-pytest-flake8-path-0:1.5.0-1.fc39.src
python-rebulk-0:3.3.0-1.fc40.src
python-sqlalchemy-utils-0:0.41.1-2.fc39.src
python-twitter-0:3.5-18.fc39.src
python3-esbonio+dev-0:0.16.4-3.fc40.noarch
python3-flake8-0:6.0.0-2.fc39.noarch
python3-flake8-builtins-0:2.1.0-4.fc39.noarch
python3-flake8-comprehensions-0:3.10.1-6.fc39.noarch
python3-flake8-docstrings-0:1.6.0-6.fc39.noarch
python3-flake8-import-order-0:0.18.2-3.fc39.noarch
python3-flake8-polyfill-0:1.0.2-19.fc39.noarch
python3-flake8-quotes-0:3.3.2-4.fc39.noarch
python3-hacking-0:6.0.1-1.fc40.noarch
python3-lsp-server+all-0:1.9.0-3.fc40.noarch
python3-oslo-concurrency-tests-0:5.2.0-1.fc40.noarch
python3-oslo-service-tests-0:3.1.1-8.fc40.noarch
python3-oslo-utils-tests-0:6.2.1-1.fc40.noarch
python3-pep8-naming-0:0.13.3-3.fc39.noarch
python3-pocketlint-0:0.25-1.fc40.noarch
python3-pylint-0:3.0.3-3.fc40.noarch
python3-pytest-flake8-path-0:1.5.0-1.fc39.noarch
python3-spyder-0:6.0.0~a1-13.20231010gitv6.0.0a1.fc40.noarch
python3-tackerclient-tests-unit-0:1.14.0-1.fc40.noarch
quodlibet-0:4.6.0-1.fc40.src
repo-0:2.35-1.fc39.src
spyder-0:6.0.0~a1-13.20231010gitv6.0.0a1.fc40.src
thonny-0:4.1.4-1.fc40.noarch
thonny-0:4.1.4-1.fc40.src
vcs-diff-lint-0:4-3.fc39.noarch
vim-syntastic-python-0:3.10.0-21.fc39.noarch
xr-hardware-0:1.1.0-1.fc40.src
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
2 months, 3 weeks
Orphaning python-flit
by Miro Hrončok
Hello.
Now when python-flit-core has been split out of python-flit, I do no longer
have a use-case for python-flit and hence I have orphaned it.
$ repoquery -q --repo=rawhide{,-source} --whatrequires flit
python-perky-0:0.8.2-3.fc39.src
python-pydyf-0:0.8.0-1.fc40.src
python-pyrpm-0:0.14.1-3.fc39.src
python-signature-dispatch-0:1.0.1-4.fc39.src
python-vecrec-0:0.3.1-11.fc40.src
weasyprint-0:60.2-1.fc40.src
The packages would probably build fine with flit-core (happy to help with that
if you are interested).
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
3 months
Re: Orphaning python-flit
by Miro Hrončok
On 26. 01. 24 4:33, Nico Kadel-Garcia wrote:
> What is the*fascination* with splitting and renaming packages this
> way?
No idea generally, but in the world of Python packaging,
the two cases I know (poetry, flit) were motivated by folks not wanting to pull
in full-blown package and environment management apps when they only want to
pip install something that uses it.
The split made a lot of sense.
core - PEP517 backend https://peps.python.org/pep-0517/
the rest - an app that let's you "manage" your project
Scenario:
- The developer uses the full app to create and develop the project.
- The user uses -core to build and install it.
(Obviously a developer is free to just use -core as well, if they like it. Many
upstream projects use flit-core only.)
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
3 months
Macro for a binary package's documentation directory name?
by Tim Landscheidt
Hi,
on Fedora 38, the binary package python3-collada ships a
broken symlink (CHANGELOG.rst):
| $ rpm -qlv python3-collada | grep /usr/share/doc/python3-collada
| drwxr-xr-x 2 root root 0 Jan 20 2023 /usr/share/doc/python3-collada
| -rw-r--r-- 1 root root 428 Nov 12 2021 /usr/share/doc/python3-collada/AUTHORS.md
| lrwxrwxrwx 1 root root 18 Nov 12 2021 /usr/share/doc/python3-collada/CHANGELOG.rst -> docs/changelog.rst
| -rw-r--r-- 1 root root 1095 Nov 12 2021 /usr/share/doc/python3-collada/README.markdown
| $
So I wanted to fix this by:
| diff --git a/python-collada.spec b/python-collada.spec
| index 1f6a6bf..6178381 100644
| --- a/python-collada.spec
| +++ b/python-collada.spec
| @@ -58,6 +58,7 @@ as well as in-place editing.
| %install
| %py3_install
| +install -p -m 0644 -t '%{buildroot}%{_pkgdocdir}' -D CHANGELOG.rst
| %check
| @@ -66,7 +67,8 @@ as well as in-place editing.
| %files -n python%{python3_pkgversion}-collada
| %license COPYING
| -%doc AUTHORS.md CHANGELOG.rst README.markdown
| +%doc AUTHORS.md README.markdown
| +%doc %{_pkgdocdir}/CHANGELOG.rst
| %{python3_sitelib}/*
But this installs CHANGELOG.rst in
/usr/share/doc/python-collada (not python3-collada):
| $ rpm -qlpv noarch/python3-collada-0.7.2-5.fc38.noarch.rpm | grep /doc
| -rw-r--r-- 1 root root 8133 Nov 12 2021 /usr/share/doc/python-collada/CHANGELOG.rst
| drwxr-xr-x 2 root root 0 Jan 20 2023 /usr/share/doc/python3-collada
| -rw-r--r-- 1 root root 428 Nov 12 2021 /usr/share/doc/python3-collada/AUTHORS.md
| -rw-r--r-- 1 root root 1095 Nov 12 2021 /usr/share/doc/python3-collada/README.markdown
| $
as %_pkgdocdir is defined by appending the source package's
name, not the binary's name:
| $ grep -R pkgdocdir /usr/lib/rpm
| /usr/lib/rpm/redhat/macros:%_pkgdocdir %{_docdir}/%{name}
| $
But obviously, rpm(build) must know the binary package's di-
rectory name as it installs %doc files given by only by
their base filename there (AUTHORS.md and README.markdown in
this example).
So how/with which macro can I access a binary package's do-
cumentation directory name in a spec file?
(Posting this on python-devel as %pkgdocdir is used in some
Python packages as well and there is (always?) a difference
between the source and binary package name.)
TIA,
Tim
3 months, 2 weeks
Changes/RemovePythonMockUsage affected packages
by Maxwell G
Hi everyone,
https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage has been
approved, so Michel and I will be working on identifying packages that
still depend on python3-mock. python3-mock has been deprecated for 6
releases in favor of unittest.mock from the Python standard library, and
we would like to finally retire the package. We will help with PRs, but
we would also appreciate help from packagers to fix their own packages.
https://fedoraproject.org/wiki/Changes/DeprecatePythonMock#How_to_migrate...
provides guidance on how to accomplish that. Please reach out to us or
pop into https://matrix.to/#/#python:fedoraproject.org if you have any
questions.
Here is a list of packages that currently depend on python3-mock at
runtime and/or buildtime:
Maintainers by package:
ansible-collection-community-libvirt gotmax23 pghmcfc
ansible-collection-kubernetes-core gotmax23 kevin
autojump codeblock orion salimma ttomecek
compose-utils carlwgeorge lsedlar
enki raphgro
fedmsg kevin
fedscm-admin cqi ignatenkobrain limb mohanboddu mprahl tibbs
gtimelog amigadave
libabigail dodji mcermak sinnykumari
limnoria kevin
litecli fab
nest ankursinha
obs-service-tar_scm defolos ngompa
odcs cqi hlin lsedlar qwan
oraculum frantisekz lbrabec
pdc-client kevin lholecek lsedlar nphilipp
pungi dmach hlin lsedlar maxamillion onosek tdawson wwoods
pychess bruno dcavalca
pycolumnize fab kushal
pyee pbrobinson
pyosmium tomh
pytest churchyard mrunge radez thm
python-agate jujens
python-aiounifi fab
python-ansible-runner radez
python-apprise lead2gold
python-arrow pingou
python-bashate apevec mikelo2
python-billiard fab frantisekz mrunge ngompa pingou pjp
python-bitmath tbielawa
python-bluepyopt ankursinha
python-boto apevec gholms limb
python-catkin_tools ankursinha cottsay rmattes
python-check-manifest fab
python-codecov dcavalca
python-collectd_cvmfs stevetraylen
python-collectd_systemd stevetraylen
python-cotyledon jcapitao
python-croniter jcapitao totol
python-datadog dminer
python-debianbts huzaifas
python-dictdiffer jmontleon
python-diff-cover aekoroglu dshea
python-django-filter aekoroglu lbazan
python-docker-squash goldmann
python-doit jamatos
python-dtfabric fab
python-elastic-transport aekoroglu
python-elasticsearch aekoroglu piotrp stevetraylen
python-enrich chedi
python-etcd neil
python-eyed3 amigadave cicku pjp
python-f5-icontrol-rest xavierb
python-f5-sdk xavierb
python-fastpurge rohanpm
python-fedmsg-meta-fedora-infrastructure kevin
python-firehose athoscr dmalcolm
python-flake8-polyfill cottsay
python-gabbi apevec chandankumar
python-gevent-eventemitter atim
python-google-auth-oauthlib fab
python-graphviz eclipseo mairacanal
python-http-ece limb
python-httpretty jpopelka
python-hupper kevin
python-ifcfg cottsay
python-ipmi lbazan
python-jenkins cottsay
python-keystoneclient jcapitao
python-klusta ankursinha
python-kubernetes amoralej jmontleon
python-libarchive-c zbyszek
python-lunr smani
python-magnumclient apevec chandankumar
python-moksha-common lbalhar
python-moksha-hub gui1ty
python-music21 zbyszek
python-mwclient adamwill rdieter
python-network-runner radez
python-nuheat fab
python-octaviaclient cgoncalves
python-opnsense fab
python-osc-lib amoralej apevec hguemar jpena jruzicka
python-oslo-log apevec hguemar
python-pelican mrunge
python-persist-queue eharney
python-pip churchyard ksurma torsava ttorling
python-praw fab fale
python-prawcore fab
python-promise fab
python-pyarlo fab
python-pymochad fab
python-pynn ankursinha
python-pysb zbyszek
python-pytest-services ngompa salimma
python-pytest-shutil kevin
python-pytest-spec fab
python-ratelimitingfilter mfabik mkutlak msuchy
python-rows fab
python-shade larsks
python-simplebayes qulogic
python-slacker fab
python-sphinx-intl jujens
python-sqlalchemy-collectd mbayer mrunge
python-sseclient fab
python-statsd tdecacqu
python-steam atim
python-sure music
python-tackerclient amoralej
python-tinyrpc amoralej jpena
python-twilio edward-evans-aiven elisre italomga nickfarrell pwouters rominf rommell
python-twitter spot
python-urwidtrees ttomecek
python-vdf atim
python-vine frantisekz mrunge ngompa pingou
python-virtualbmc jorti
python-vsts-cd-manager mhayden
python-waterfurnace fab
python-whisper jonathanspw jsteffan piotrp
python-xvfbwrapper mrunge totol
python-zaqarclient flaper87 hguemar jruzicka
python-zdaemon fab
resultsdb_conventions adamwill
rpkg-util praiskup
sshuttle kevin maci
transifex-client blackfile echevemaster lbazan
transtats-cli pnemade suanand
ursa-major cqi julian8628
vex lbalhar
wad fab
wfuzz fab
Packages by maintainer:
adamwill python-mwclient resultsdb_conventions
aekoroglu python-diff-cover python-django-filter python-elastic-transport python-elasticsearch
amigadave gtimelog python-eyed3
amoralej python-kubernetes python-osc-lib python-tackerclient python-tinyrpc
ankursinha nest python-bluepyopt python-catkin_tools python-klusta python-pynn
apevec python-bashate python-boto python-gabbi python-magnumclient python-osc-lib python-oslo-log
athoscr python-firehose
atim python-gevent-eventemitter python-steam python-vdf
blackfile transifex-client
bruno pychess
carlwgeorge compose-utils
cgoncalves python-octaviaclient
chandankumar python-gabbi python-magnumclient
chedi python-enrich
churchyard pytest python-pip
cicku python-eyed3
codeblock autojump
cottsay python-catkin_tools python-flake8-polyfill python-ifcfg python-jenkins
cqi fedscm-admin odcs ursa-major
dcavalca pychess python-codecov
defolos obs-service-tar_scm
dmach pungi
dmalcolm python-firehose
dminer python-datadog
dodji libabigail
dshea python-diff-cover
echevemaster transifex-client
eclipseo python-graphviz
edward-evans-aiven python-twilio
eharney python-persist-queue
elisre python-twilio
fab litecli pycolumnize python-aiounifi python-billiard python-check-manifest python-dtfabric python-google-auth-oauthlib python-nuheat python-opnsense python-praw python-prawcore python-promise python-pyarlo python-pymochad python-pytest-spec python-rows python-slacker python-sseclient python-waterfurnace python-zdaemon wad wfuzz
fale python-praw
flaper87 python-zaqarclient
frantisekz oraculum python-billiard python-vine
gholms python-boto
goldmann python-docker-squash
gotmax23 ansible-collection-community-libvirt ansible-collection-kubernetes-core
gui1ty python-moksha-hub
hguemar python-osc-lib python-oslo-log python-zaqarclient
hlin odcs pungi
huzaifas python-debianbts
ignatenkobrain fedscm-admin
italomga python-twilio
jamatos python-doit
jcapitao python-cotyledon python-croniter python-keystoneclient
jmontleon python-dictdiffer python-kubernetes
jonathanspw python-whisper
jorti python-virtualbmc
jpena python-osc-lib python-tinyrpc
jpopelka python-httpretty
jruzicka python-osc-lib python-zaqarclient
jsteffan python-whisper
jujens python-agate python-sphinx-intl
julian8628 ursa-major
kevin ansible-collection-kubernetes-core fedmsg limnoria pdc-client python-fedmsg-meta-fedora-infrastructure python-hupper python-pytest-shutil sshuttle
ksurma python-pip
kushal pycolumnize
larsks python-shade
lbalhar python-moksha-common vex
lbazan python-django-filter python-ipmi transifex-client
lbrabec oraculum
lead2gold python-apprise
lholecek pdc-client
limb fedscm-admin python-boto python-http-ece
lsedlar compose-utils odcs pdc-client pungi
maci sshuttle
mairacanal python-graphviz
maxamillion pungi
mbayer python-sqlalchemy-collectd
mcermak libabigail
mfabik python-ratelimitingfilter
mhayden python-vsts-cd-manager
mikelo2 python-bashate
mkutlak python-ratelimitingfilter
mohanboddu fedscm-admin
mprahl fedscm-admin
mrunge pytest python-billiard python-pelican python-sqlalchemy-collectd python-vine python-xvfbwrapper
msuchy python-ratelimitingfilter
music python-sure
neil python-etcd
ngompa obs-service-tar_scm python-billiard python-pytest-services python-vine
nickfarrell python-twilio
nphilipp pdc-client
onosek pungi
orion autojump
pbrobinson pyee
pghmcfc ansible-collection-community-libvirt
pingou python-arrow python-billiard python-vine
piotrp python-elasticsearch python-whisper
pjp python-billiard python-eyed3
pnemade transtats-cli
praiskup rpkg-util
pwouters python-twilio
qulogic python-simplebayes
qwan odcs
radez pytest python-ansible-runner python-network-runner
raphgro enki
rdieter python-mwclient
rmattes python-catkin_tools
rohanpm python-fastpurge
rominf python-twilio
rommell python-twilio
salimma autojump python-pytest-services
sinnykumari libabigail
smani python-lunr
spot python-twitter
stevetraylen python-collectd_cvmfs python-collectd_systemd python-elasticsearch
suanand transtats-cli
tbielawa python-bitmath
tdawson pungi
tdecacqu python-statsd
thm pytest
tibbs fedscm-admin
tomh pyosmium
torsava python-pip
totol python-croniter python-xvfbwrapper
ttomecek autojump python-urwidtrees
ttorling python-pip
wwoods pungi
xavierb python-f5-icontrol-rest python-f5-sdk
zbyszek python-libarchive-c python-music21 python-pysb
Best,
Maxwell
--
Maxwell G (@gotmax23)
Pronouns: He/They
3 months, 2 weeks