Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2022 08:46:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 267040] devel/py-nbformat and devel/py-black incorrectly install files belonging to the test infrastructure
Message-ID:  <bug-267040-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267040

            Bug ID: 267040
           Summary: devel/py-nbformat and devel/py-black incorrectly
                    install files belonging to the test infrastructure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
                CC: python@FreeBSD.org, sunpoet@FreeBSD.org
                CC: python@FreeBSD.org, sunpoet@FreeBSD.org

Scenario:
- FreeBSD 12.3 latest patches
- latest ports
- upgrading using portmaster
- graphics/qgis is installed; this needs devel/py-nbformat which is also
installed
- devel/py-black is installed

Result:
- Upgrading py-black from 22.8.0 to 22.10.0 fails with a conflict during
install:

Installing py39-black-22.10.0...
pkg-static: py39-black-22.10.0 conflicts with py39-nbformat-5.6.1_1 (instal=
ls
files into the same place).  Problematic file:
/usr/local/lib/python3.9/site-packages/tests/__init__.py
*** Error code 1

Expected result:
- The install should succeed without conflicting files.

Analysis and suggested fix:
- It seems that devel/py-nbformat and devel/py-black both install files from
the generic python test infrastructure.
- Most likely the staging part for python ports must be changed to exclude =
such
files.

See also bug 266944.

-- Martin

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267040-21822>