public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-hexbytes] rawhide: Update to 2.0.0
Date: Mon, 24 Aug 2026 16:51:49 GMT	[thread overview]
Message-ID: <178759030970.1.2209995497574255541.rpms-python-hexbytes-83fb6db95117@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-hexbytes
            Branch : rawhide
            Commit : 83fb6db95117b3e395d1b7e50b64caf0a56c02c3
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-22T22:45:58-03:00
            Stats  : +16/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-hexbytes/c/83fb6db95117b3e395d1b7e50b64caf0a56c02c3?branch=rawhide

            Log:
            Update to 2.0.0

Resolves: rhbz#2521240

---
diff --git a/hexbytes-2.0.0-find-packages.patch b/hexbytes-2.0.0-find-packages.patch
new file mode 100644
index 0000000..321a594
--- /dev/null
+++ b/hexbytes-2.0.0-find-packages.patch
@@ -0,0 +1,10 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -65,6 +65,7 @@
+ ]
+ 
+ [tool.setuptools.packages.find]
++include = ["hexbytes*"]
+ exclude = ["scripts", "scripts.*", "tests", "tests.*"]
+ 
+ [tool.setuptools.package-data]

diff --git a/python-hexbytes.spec b/python-hexbytes.spec
index 323071b..2af9aa5 100644
--- a/python-hexbytes.spec
+++ b/python-hexbytes.spec
@@ -1,14 +1,16 @@
 %global pypi_name hexbytes
 
 Name:          python-%{pypi_name}
-Version:       1.3.1
+Version:       2.0.0
 Release:       %autorelease
 BuildArch:     noarch
 Summary:       Python `bytes` subclass that decodes hex, with a readable console output
 License:       MIT
-URL:           https://github.com/ethereum/hexbytes
+URL:           https://github.com/ApeWorX/hexbytes
 VCS:           git:%{url}.git
 Source0:       %{pypi_source %pypi_name}
+# Upstream pyproject.toml does not constrain find_packages, causing docs and newsfragments to be packaged
+Patch:         hexbytes-2.0.0-find-packages.patch
 BuildRequires: python3-eth-utils
 BuildRequires: python3-hypothesis
 BuildRequires: python3-pytest
@@ -25,7 +27,7 @@ Summary: %{summary}
 %{summary}.
 
 %check -a
-%pytest -k 'not test_install_local_wheel'
+%pytest
 
 %files -n python3-%{pypi_name} -f %{pyproject_files}
 %doc README.md

diff --git a/sources b/sources
index d21fed4..f83edd4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hexbytes-1.3.1.tar.gz) = d244c470b057c38325bfe56933ac6c1c4f6785c475d1a10b3b520583b57459038f8a27333bdf55e29380ff215adf5cc5cce000bfee43ac41d6d9fb5b4a38563c
+SHA512 (hexbytes-2.0.0.tar.gz) = 2ce78436e255c44b6a1b6a91ba5772cde2ef914fcc599c8ac553b5192b61995ab5c1cef97fbd87a0ec45b7d99f25e43ccb318bcd1c65c11fda74a01a029a5a3b

                 reply	other threads:[~2026-08-24 16:51 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=178759030970.1.2209995497574255541.rpms-python-hexbytes-83fb6db95117@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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