|
From: Mercurial C. <th...@in...> - 2026-05-12 21:11:54
|
# HG changeset patch
# User John Rouillard <ro...@ie...>
# Date 1778507870 14400
# Mon May 11 09:57:50 2026 -0400
# Node ID 3b826d2a7c74813596c7597cf1c19280e0b45a68
# Parent e99c562b8bb496cdcb6760a1ffb969cb27c6ab0b
bug: issue2551368 - pip install gpg fails in CI - ubuntu 24.04
Version 2.0.0 of the pgp module was published by Bernhard Reiter.
Special instructions on installing a newer gpg is not needed.
Updated documentation and tests.
diff -r e99c562b8bb4 -r 3b826d2a7c74 .github/workflows/ci-test.yml
--- a/.github/workflows/ci-test.yml Sun May 10 16:39:38 2026 -0400
+++ b/.github/workflows/ci-test.yml Mon May 11 09:57:50 2026 -0400
@@ -243,15 +243,6 @@
# docutils for ReStructuredText
pip install beautifulsoup4 brotli docutils gpg jinja2 \
mistune==0.8.4 pyjwt pytz whoosh
- # gpg on PyPi is currently broken with newer OS platform
- # ubuntu 24.04
- # used for newer Python versions. Temporarily use the
- # testing index, which contains a newer version of the
- # bindings on 24.04 or released version for other OS
- # versions. See issue2551368. 'pip install gpg' should work
- # at some point when things are released to the production repo.
- #pip install --index-url https://test.pypi.org/simple/ \
- # --extra-index-url https://pypi.org/simple gpg;
- name: Install aux packages that need versions differences
# if zstd fails install, keep going with test, don't abort
diff -r e99c562b8bb4 -r 3b826d2a7c74 CHANGES.txt
--- a/CHANGES.txt Sun May 10 16:39:38 2026 -0400
+++ b/CHANGES.txt Mon May 11 09:57:50 2026 -0400
@@ -137,6 +137,9 @@
https://words.filippo.io/csrf/. (John Rouillard)
- standardize use of roundup.anypy.urllib_. Replace urlparse() with
urlsplit() (recommended) for some speedup. (John Rouillard)
+- issue2551368 - version 2.0.0 of the pgp module was published by
+ Bernhard Reiter. Updated documentation and tests. (Bernhard Reiter,
+ John Rouillard)
2025-07-13 2.5.0
diff -r e99c562b8bb4 -r 3b826d2a7c74 doc/admin_guide.txt
--- a/doc/admin_guide.txt Sun May 10 16:39:38 2026 -0400
+++ b/doc/admin_guide.txt Mon May 11 09:57:50 2026 -0400
@@ -1881,9 +1881,7 @@
.. note::
This section was written with the help of the Devin/DeepWiki AI.
-You have to install the gpg module using pip. See :ref:`directions for
-installing gpg <gpginstall>`
-in the upgrading document for more information.
+You have to install the gpg module using pip (``pip install gpg``).
In your tracker's config.ini configure the following settings in the
``[pgp]`` section::
diff -r e99c562b8bb4 -r 3b826d2a7c74 doc/installation.txt
--- a/doc/installation.txt Sun May 10 16:39:38 2026 -0400
+++ b/doc/installation.txt Mon May 11 09:57:50 2026 -0400
@@ -248,10 +248,7 @@
If gpg_ is installed you can configure the mail gateway to perform
verification or decryption of incoming OpenPGP MIME messages. When
configured, you can require email to be cryptographically signed
- before roundup will allow it to make modifications to issues. (Note
- with python 3.13 or newer on some platforms, you may need to install
- version 2.0 of gpg from test.pypi.org. See the `gpg install
- directions in the upgrading document`_.
+ before Roundup will allow it to make modifications to issues.
nanoid
If nanoid_ is installed, it is used to generate short unique
diff -r e99c562b8bb4 -r 3b826d2a7c74 doc/upgrading.txt
--- a/doc/upgrading.txt Sun May 10 16:39:38 2026 -0400
+++ b/doc/upgrading.txt Mon May 11 09:57:50 2026 -0400
@@ -58,6 +58,7 @@
* **optional** - new features or changes to existing features you might
want to use
* **info** - important possibly visible changes in how things operate
+* **obsolete** - ignore these entries. They are no longer required.
If you use virtual environments for your installation, you
can run trackers with different versions of Roundup. So you
@@ -978,9 +979,15 @@
.. _gpginstall:
-Directions for installing gpg (optional)
+Directions for installing gpg (obsolete)
----------------------------------------
+.. note::
+ issue2551368 was closed in May 2026. Running ``pip install
+ gpg`` will install gpg 2.0.0 on all versions of Python supported by
+ Roundup. If you installed the test version use ``pip install -U
+ gpg`` to upgrade.
+
In this release a new version of the gpg module was needed for Ubuntu
24.04 and python 3.13. Paul Schwabauer produced a new version of the
gpg module. However it is only on the test instance of pypi. If you
|