[Bug 297697] devel/py-backports*: don't install backports/__init__.py

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297697

            Bug ID: 297697
           Summary: devel/py-backports*: don't install
                    backports/__init__.py
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]

The various devel/py-backports.* ports install files into a shared "backports"
Python module.  Unfortunately, more than one of them attempts to create the
/usr/local/lib/python3.12/site-packages/backports/__init__.py file.  That
creates conflicts.  For example, it's impossible to install
py-backports.zoneinfo and py-backports.cached-property at the same time.  It's
a very unfortunate conflict, because the backports/__init__.py files that they
try to create all have identical content, modulo comments.

These conflicts are leading to breakage downstream the dependency tree, for
example Bug #297696 .

I propose that all of the ports be patched to remove backports/__init__.py ,
and instead add a run depends on py-backports, which creates that file and
little else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.