public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-setuptools] rawhide: Update rpmlintrc
Date: Wed, 30 Sep 2026 14:55:48 GMT [thread overview]
Message-ID: <179078014899.1.3281628083018856777.rpms-python-setuptools-27beb6f8f4c9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-setuptools
Branch : rawhide
Commit : 27beb6f8f4c934fee89fa37e02a638c76a05eeaf
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-09-08T14:07:44+02:00
Stats : +6/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-setuptools/c/27beb6f8f4c934fee89fa37e02a638c76a05eeaf?branch=rawhide
Log:
Update rpmlintrc
This should avoid:
python3-setuptools.noarch: E: zero-length /usr/lib/python3.15/site-packages/setuptools/_vendor/.lock
python3-setuptools.noarch: E: unused-rpmlintrc-filter "W: files-duplicate .+__init__\.py "
python3-setuptools.noarch: E: unused-rpmlintrc-filter "W: files-duplicate .+/(setuptools/_vendor/.+ .+/pkg_resources|pkg_resources/_vendor/.+ .+/setuptools)/_vendor/"
python3-setuptools.noarch: E: unused-rpmlintrc-filter "E: files-duplicated-waste"
python-setuptools.src: E: spelling-error ('distutils', '%description -l en_US distutils -> distillates')
python-setuptools-wheel.noarch: E: spelling-error ('venv', '%description -l en_US venv -> vent, vend, even')
python3-setuptools.noarch: W: hidden-file-or-dir /usr/lib/python3.15/site-packages/setuptools/_vendor/.lock
Not sure what the purpose of setuptools/_vendor/.lock is, so I asked upstream.
[skip changelog]
Assisted-By: Claude Sonnet 5
---
diff --git a/python-setuptools.rpmlintrc b/python-setuptools.rpmlintrc
index 0b224f8..34f2214 100644
--- a/python-setuptools.rpmlintrc
+++ b/python-setuptools.rpmlintrc
@@ -1,14 +1,8 @@
-# let's not report duplicate __init__s
-addFilter(r'W: files-duplicate .+__init__\.py ')
-
-# setuptools and pkg_resources have duplicated vendored libraries
-# we might want to de-duplicate this somehow in the future, but not yet
-# regex a bit complex to allow arbitrary order
-addFilter(r'W: files-duplicate .+/(setuptools/_vendor/.+ .+/pkg_resources|pkg_resources/_vendor/.+ .+/setuptools)/_vendor/')
-
-# When duplicate files are found, this errors is produced
-# as long as we filter out the warnings, we need to filter the error as well
-addFilter(r'E: files-duplicated-waste')
-
# no %doc in the wheel packages
addFilter(r'python-setuptools-wheel.noarch: (E|W): no-documentation')
+
+# https://github.com/pypa/setuptools/discussions/5326
+addFilter(r'[EW]: (zero-length|hidden-file-or-dir) /usr/lib/python3\.\d+/site-packages/setuptools/_vendor/\.lock')
+
+# terms, not spelling errors
+addFilter(r"[EW]: spelling-error .+'(distutils|venv)'")
reply other threads:[~2026-09-30 14:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179078014899.1.3281628083018856777.rpms-python-setuptools-27beb6f8f4c9@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox