public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikel Olasagasti Uranga <mikel@olasagasti.info>
To: git-commits@fedoraproject.org
Subject: [rpms/codespell] epel10: Update to 2.4.2 - Closes rhbz#2444866
Date: Mon, 22 Jun 2026 08:49:03 GMT	[thread overview]
Message-ID: <178211814371.1.3526390817078497525.rpms-codespell-f4ad8a2bb5a2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/codespell
Branch : epel10
Commit : f4ad8a2bb5a260eac431128ed7df4495a63bd024
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date   : 2026-06-22T10:33:32+02:00
Stats  : +68/-2 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/codespell/c/f4ad8a2bb5a260eac431128ed7df4495a63bd024?branch=epel10

Log:
Update to 2.4.2 - Closes rhbz#2444866

---
diff --git a/.gitignore b/.gitignore
index 36517a5..127c003 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
 /codespell-2.3.0.tar.gz
 /codespell-2.4.0.tar.gz
 /codespell-2.4.1.tar.gz
+/codespell-2.4.2.tar.gz

diff --git a/aca223e2ec3ddc25f52089653c8f9ef8bfda0d9b.patch b/aca223e2ec3ddc25f52089653c8f9ef8bfda0d9b.patch
new file mode 100644
index 0000000..6ef8f73
--- /dev/null
+++ b/aca223e2ec3ddc25f52089653c8f9ef8bfda0d9b.patch
@@ -0,0 +1,63 @@
+From aca223e2ec3ddc25f52089653c8f9ef8bfda0d9b Mon Sep 17 00:00:00 2001
+From: Mikel Olasagasti Uranga <mikel@olasagasti.info>
+Date: Sun, 12 Apr 2026 18:41:00 +0200
+Subject: [PATCH] fix(packaging): prevent unwanted files and tests from being
+ installed
+
+Refine package discovery and manifest exclusions to clean up both
+wheels and source distributions (sdists):
+
+- Dev-only paths like `tools/` and `example/` are not installed in
+wheels.
+- The `codespell_lib.tests` subpackage is excluded from the wheel.
+- Only files explicitly listed in `package-data` are bundled in wheels.
+- Dev metadata (.github, .devcontainer, .gitignore, .mailmap) is pruned
+from sdists.
+
+Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
+---
+ MANIFEST.in    | 10 +++++++---
+ pyproject.toml |  7 +++++++
+ 2 files changed, 14 insertions(+), 3 deletions(-)
+
+diff --git a/MANIFEST.in b/MANIFEST.in
+index 36e8cf9628..90c44a95a9 100644
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -1,7 +1,11 @@
+-exclude *.yml *.yaml
++exclude *.yml
+ exclude .coveragerc
+ exclude .git-blame-ignore-revs
+-exclude example example/* snap snap/*
+-exclude Makefile
++prune example
++prune snap
++prune .devcontainer
++prune .github
++exclude .gitignore
++exclude .mailmap
+ exclude codespell.1.include
+ exclude pyproject-codespell.precommit-toml
+diff --git a/pyproject.toml b/pyproject.toml
+index 58bc385343..efc9eaf104 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -70,10 +70,17 @@ requires = ["setuptools>=77", "setuptools_scm[toml]>=6.2, != 8.0.0"]
+ [tool.setuptools_scm]
+ write_to = "codespell_lib/_version.py"
+ 
++[tool.setuptools]
++include-package-data = false
++
+ [tool.setuptools.packages.find]
++include = ["codespell_lib", "codespell_lib.*"]
+ exclude = [
+     "dist",
+     "snap",
++    "tools",
++    "example",
++    "codespell_lib.tests*",
+ ]
+ 
+ [tool.setuptools.package-data]

diff --git a/codespell.spec b/codespell.spec
index c3e1180..fcbc9da 100644
--- a/codespell.spec
+++ b/codespell.spec
@@ -1,11 +1,13 @@
 Name:           codespell
-Version:        2.4.1
+Version:        2.4.2
 Release:        %autorelease
 Summary:        Fix common misspellings in text files
 
 License:        GPL-2.0-only AND CC-BY-SA-3.0
 URL:            https://github.com/codespell-project/codespell/
 Source0:        %{pypi_source}
+# https://github.com/codespell-project/codespell/pull/3911
+Patch:          aca223e2ec3ddc25f52089653c8f9ef8bfda0d9b.patch
 BuildArch:      noarch
 
 BuildRequires:  python3-devel

diff --git a/sources b/sources
index 008d003..dd207f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (codespell-2.4.1.tar.gz) = 744543ee9565130248928390404076ae43f89425a61461809e5fa157ab16cbe2ae361a53f6997e48e93dce8b46ee5f3a8a63bcbc8f62c7efffb3fec3e01ded6b
+SHA512 (codespell-2.4.2.tar.gz) = ff67f3b0e6630cb95bd804fd9b0732add500a06c6fd4d50a796b9b5f944b3ea6fc3b8408c7cbc8cf4ff4d7673c023b9346fdbfd0fe3c193b64e7b94637019706

                 reply	other threads:[~2026-06-22  8:49 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=178211814371.1.3526390817078497525.rpms-codespell-f4ad8a2bb5a2@fedoraproject.org \
    --to=mikel@olasagasti.info \
    --cc=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