[Bug 292851] mail/py-postfix-mta-sts-resolver won't build with Python 3.12

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Feb 2026 04:23:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292851

            Bug ID: 292851
           Summary: mail/py-postfix-mta-sts-resolver won't build with
                    Python 3.12
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: nork@FreeBSD.org
          Reporter: mandrews@bit0.com
             Flags: maintainer-feedback?(nork@FreeBSD.org)
          Assignee: nork@FreeBSD.org

Poudriere with DEFAULT_VERSIONS python=3.12



/usr/local/lib/python3.12/site-packages/setuptools/installer.py:27:
SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements
should be satisfied by a PEP 517 installer.
  warnings.warn(
/usr/local/bin/python3.12: No module named pip
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/setuptools/installer.py", line
82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/local/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/python3.12', '-m',
'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
'/tmp/tmpkcn3d3hq', '--quiet', 'packaging>=24.0']' returned non-zero exit
status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 9, in <module>
    setup(name='postfix_mta_sts_resolver',
  File "/usr/local/lib/python3.12/site-packages/setuptools/__init__.py", line
86, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.12/site-packages/setuptools/__init__.py", line
80, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/local/lib/python3.12/site-packages/setuptools/dist.py", line 875,
in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pkg_resources/__init__.py",
line 789, in resolve
    dist = best[req.key] = env.best_match(
                           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pkg_resources/__init__.py",
line 1075, in best_match
    return self.obtain(req, installer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pkg_resources/__init__.py",
line 1087, in obtain
    return installer(requirement)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/setuptools/dist.py", line 945,
in fetch_build_egg
    return fetch_build_egg(self, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/setuptools/installer.py", line
84, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/local/bin/python3.12', '-m',
'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
'/tmp/tmpkcn3d3hq', '--quiet', 'packaging>=24.0']' returned non-zero exit
status 1.
*** Error code 1

Stop.
make: stopped making "configure" in /usr/ports/mail/py-postfix-mta-sts-resolver

-- 
You are receiving this mail because:
You are the assignee for the bug.