From 0fe5ca51873f30f342432c587a07477f514e9064 Mon Sep 17 00:00:00 2001 From: Ondřej Nosek Date: Nov 26 2025 04:17:25 +0000 Subject: 1.47 Release Signed-off-by: Ondřej Nosek --- diff --git a/README.rst b/README.rst index 10e00b5..42af70e 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ Introduction This is the fedpkg project, which mostly is a subclass of the rpkg project. -fedpkg works with Python 3.6, 3.9, 3.12 and 3.13 +fedpkg works with Python 3.6, 3.9, 3.12, 3.13 and 3.14 License ======= @@ -64,4 +64,4 @@ Links * Documentation: https://docs.fedoraproject.org/en-US/package-maintainers/Package_Maintenance_Guide/ * Upstream GIT: https://pagure.io/fedpkg * Issue tracker: https://pagure.io/fedpkg/issues -* Jenkins testing pipeline.: https://jenkins-fedora-infra.apps.ocp.cloud.ci.centos.org/job/fedpkg-pipeline/ \ No newline at end of file +* Jenkins testing pipeline.: https://jenkins-fedora-infra.apps.ocp.cloud.ci.centos.org/job/fedpkg-pipeline/ diff --git a/doc/source/conf.py b/doc/source/conf.py index cc00fd8..597fc83 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -25,9 +25,9 @@ copyright = '{0}, fedpkg Team'.format(datetime.date.today().year) author = 'fedpkg Team' # The short X.Y version -version = '1.46' +version = '1.47' # The full version, including alpha/beta/rc tags -release = '1.46' +release = '1.47' # -- General configuration --------------------------------------------------- diff --git a/doc/source/releases.rst b/doc/source/releases.rst index fc6db99..34a0803 100644 --- a/doc/source/releases.rst +++ b/doc/source/releases.rst @@ -6,6 +6,7 @@ Releases .. toctree:: :maxdepth: 1 + releases/1.47 releases/1.46 releases/1.45 releases/1.44 diff --git a/doc/source/releases/1.47.rst b/doc/source/releases/1.47.rst new file mode 100644 index 0000000..0e56c29 --- /dev/null +++ b/doc/source/releases/1.47.rst @@ -0,0 +1,79 @@ +.. _release_1.47: + +fedpkg 1.47 Release Notes +========================= + +Released on *November 26, 2025* + +This release requires ``rpkg >= 1.69-2``. rpkg-1.69 `release notes`_ + +.. _`release notes`: https://docs.pagure.org/rpkg/releases/1.69.html + +Python compatibility +-------------------- +fedpkg works with Python 3.6, 3.9, 3.12, 3.13 and 3.14 + +What’s new in fedpkg 1.47 +------------------------- +Not everything listed here is strictly "new": many changes were previously released as patches. The following summarizes all changes since the previous fedpkg version. + +``request-unretirement``: new command added +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Introduces a new `request-unretirement` command. Supported branch names correspond to active Fedora and EPEL releases. Release names can be obtained using the ``releases-info`` command. If a branch was retired more than 8 weeks ago, an open Bugzilla ticket is required. + +``request-repo``: creating project and package in Anitya +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Adds fields needed for creating a project and package in Anitya (via toddlers). +When the `monitoring` option is active, the tool checks whether the package exists in Anitya, and if not, prompts the user for additional data. + +Use ruff code checker instead of bandit +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In the testing CI (Jenkins), stop using bandit in favour of ruff. Bandit is deprecated in the latest Fedora release (F43). Added an environment for code coverage analysis. + +Switch to ``%pyproject_*`` macros +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Drops setuptools support for most environments and performs cleanup. Python 3.6 is still supported and therefore setuptools cannot be fully removed. +Bash and zsh completions were removed in favor of Python *argcomplete*. +Python 3.14 classifiers and test environments were added. + +Clone the API key info into all help messages +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Help text for several commands did not clearly reference the instructions found under `request-repo`, causing users to overlook them. To improve discoverability, shared help-text fragments were added and cloned into all relevant commands. Explicit uses of fedpkg were also cleaned up via string interpolation in modified sections. + +``update``: Add unspecified update type +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Adds support for an unspecified update type in the `update` command. +See upstream Bodhi pull requests for details: + +[1] https://github.com/fedora-infra/bodhi/pull/3047 + +[2] https://github.com/fedora-infra/bodhi/pull/5892 + +``srpm``: ``--offline`` arg to prevent connecting to Koji +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Introduces a new `--offline` mode for the `srpm` command, using a recently added rpkg flag. In some branches, offline mode remains unavailable due to required macros in Koji. + +Fixes: `#600`_ + +Other small fixes +~~~~~~~~~~~~~~~~~ +- README documentation and Jenkins link updates - documentation links in the README were updated and a new Jenkins link was added. +- `retire`: extended console help - the `retire` command now includes extended help text. +- Jenkinsfile: use local declaration instead of global - adjusts Jenkinsfile to use a local variable declaration rather than a global one. + +Change Logs +----------- +- Use ruff code checker instead of bandit (onosek) +- Clone the API key info into all help messages (mpospisi) +- README: Documentation link change, and new Jenkins link – `#606`_ (gleiro) +- `update`: Add unspecified update type (priv.luk@gmail.com) +- `request-unretirement`: Added a new command (amedvede) +- `request-repo`: creating project and package in Anitya (amedvede) +- Switch to %pyproject_* macros (onosek) +- `retire`: extend the command's console help - `rhbz#2189969`_ (onosek) +- Jenkinsfile: use local declaration instead of global (onosek) +- `srpm`: --offline arg to prevent connecting to Koji – `#600`_ (onosek) + +.. _`#600`: https://pagure.io/fedpkg/issue/600 +.. _`#606`: https://pagure.io/fedpkg/issue/606 +.. _`rhbz#2189969`: https://bugzilla.redhat.com/show_bug.cgi?id=2189969 diff --git a/pyproject.toml b/pyproject.toml index e6af427..ff12656 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "hatchling.build" [project] name = "fedpkg" dynamic = ["license"] -version = "1.46" +version = "1.47" description = "Fedora plugin to rpkg to manage package sources in a git repository" readme = "README.rst" authors = [ diff --git a/setup.py b/setup.py index f67229f..bd3de2b 100755 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ with open(tests_requirements, 'r') as f: setup( name="fedpkg", - version="1.46", + version="1.47", author="Dennis Gilmore", author_email="dgilmore@fedoraproject.org", description=("Fedora plugin to rpkg to manage "