[FFe] Sync empy 4.2.1-1 (universe) from Debian experimental (main)

Bug #2142692 reported by Jose Luis Rivero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
empy (Ubuntu)
Fix Released
Undecided
Graham Inggs

Bug Description

Please sync empy 4.2.1-1 (universe) from Debian experimental (main)

This is a major version upgrade of the EmPy templating system (3.x → 4.x).
I'm the maintainer of the package in Debian

== Rationale ==

 - This update to version 4.x has been in experimental waiting the patch for
   the ros-bloom package before being migrated to unstable. ros-bloom is
   not in Ubuntu so transition should have happened a while ago.
 - The current version 3.3.4 dates from 2019 and is unmaintained upstream
 - Version 4.2.1 fixes a Python 3.14 deprecation (codecs.open), which is
   relevant as Python 3.13 is in resolute and future Python versions will
   remove this API
 - The 4.x series has been in active development since late 2023 with
   significant improvements in functionality and maintainability

== Reverse Dependencies ==

 - python3-colcon-core: only direct reverse dependency. Tested
   successfully with empy 4.2.1

   $ seeded-in-ubuntu empy
   empy's binaries are not seeded.

== PPA Testing ==

  PPA build for empy + ros2-colcon-core
  - https://launchpad.net/~j-rivero/+archive/ubuntu/resolute-testing/+packages
  - https://code.launchpad.net/~j-rivero/+recipe/python3-empy-daily

== Local esting ==

  Full test logs: https://gist.github.com/j-rivero/aa838dc93b9b6ab194df0a6358cf4ae3

  Tested in ubuntu:resolute (Python 3.13.12) Docker container:

   Builds: YES - dpkg-buildpackage succeeds from debian/experimental
     packaging branch at https://code.launchpad.net/ubuntu/+source/empy

   Installs: YES - clean install on fresh ubuntu:resolute works,
     import em and basic templating functionality verified

   Upgrades: YES - upgrade from 3.3.4-2build1 to 4.2.1-1 works cleanly,
     functionality verified after upgrade

   Reverse dependencies: python3-colcon-core (0.20.0-1) works correctly
     after upgrading to empy 4.2.1 - colcon version-check and colcon list
     both function normally

== Upstream Changelog (key changes) ==

  4.2.1 (2026-02-08):
   - codecs.open is deprecated as of Python 3.14; use open instead in binary mode
   - Better proxy and module finder management
   - Uniform attachment and detachment of plugins
   - Add SimpleToken token factory

  4.2 (2024-08-25):
   - Add module support
   - Add support for disabling output and switch markup
   - Support repeated curly braces with functional expressions
   - Add backward-compatible Case abstraction for match markup

  4.1 (2024-03-24):
   - Add support for extension markup
   - Add @[match] control support
   - Add interpreter cores for overriding interpreter behavior

  4.0 (2023-11-29):
   - Major revamp and modernization
   - Relicensed to BSD
   - Full Unicode support, inline comments, control markup
   - Rewritten documentation

== Debian changelog ==

Changelog entries since current resolute version 3.3.4-2build1:

empy (4.2.1-1) experimental; urgency=medium

  * Fix autopkgtest
  * New upstream version 4.2.1

 -- Jose Luis Rivero <email address hidden> Thu, 12 Feb 2026 19:59:29 +0000

empy (4.2-2) experimental; urgency=medium

  * Bump standards version
  * Do not output -x on stderr but stdout

 -- Jose Luis Rivero <email address hidden> Fri, 06 Feb 2026 11:58:25 +0000

empy (4.2-1) experimental; urgency=medium

  [ Jose Luis Rivero ]
  * Move package under the scope of python-team
  * New upstream version 4.2
  * Bump standard to 4.7.0
  * Remove python2 tests
  * Update sample files in d/
  * Update d/control: upstream has correct shebang
  * Update d/copyright
  * Remove all empy3 and python2 packages
  * Remove empy3 exectuable and support em.py binary
  * Update d/docs
  * Rework autopkgtest

 -- Jose Luis Rivero <email address hidden> Wed, 27 Nov 2024 12:55:27 +0000

Tags: resolute
summary: - Sync empy 4.2.1-1 (universe) from Debian experimental (main)
+ [FFe] Sync empy 4.2.1-1 (universe) from Debian experimental (main)
tags: added: resolute
Revision history for this message
Ural Tunaboyu (uralt) wrote :

The rationale makes sense. However, the PPA build of python3-colcon-core looks problematic to me as it seems to have pulled in the previous version of python3-empty (grepping for empy in the logs surfaces version 3.3.4-2build1 instead of the new 4.2.1-1).

FFe is conditionally approved, given rebuilding python3-colcon-core actually succeeds against empy 4.2.1-1.

Revision history for this message
Paride Legovini (paride) wrote :

+1 on that, thanks Ural.

Changed in empy (Ubuntu):
status: New → Triaged
Graham Inggs (ginggs)
Changed in empy (Ubuntu):
assignee: nobody → Graham Inggs (ginggs)
Revision history for this message
Graham Inggs (ginggs) wrote :

I confirmed in a PPA that ros2-colcon-core 0.20.0-1 still builds against empy 4.2.1-1.

Changed in empy (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Graham Inggs (ginggs) wrote :

This bug was fixed in the package empy - 4.2.1-1
Sponsored for Jose Luis Rivero (j-rivero)

---------------
empy (4.2.1-1) experimental; urgency=medium

  * Fix autopkgtest
  * New upstream version 4.2.1

 -- Jose Luis Rivero <email address hidden> Thu, 12 Feb 2026 19:59:29 +0000

empy (4.2-2) experimental; urgency=medium

  * Bump standards version
  * Do not output -x on stderr but stdout

 -- Jose Luis Rivero <email address hidden> Fri, 06 Feb 2026 11:58:25 +0000

empy (4.2-1) experimental; urgency=medium

  [ Jose Luis Rivero ]
  * Move package under the scope of python-team
  * New upstream version 4.2
  * Bump standard to 4.7.0
  * Remove python2 tests
  * Update sample files in d/
  * Update d/control: upstream has correct shebang
  * Update d/copyright
  * Remove all empy3 and python2 packages
  * Remove empy3 exectuable and support em.py binary
  * Update d/docs
  * Rework autopkgtest

 -- Jose Luis Rivero <email address hidden> Wed, 27 Nov 2024 12:55:27 +0000

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.