[Bug 253117] py37-anyio package incorrectly has 0.0.0 version number in PKG-INFO and directory name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 31 10:52:13 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253117

            Bug ID: 253117
           Summary: py37-anyio package incorrectly has 0.0.0 version
                    number in PKG-INFO and directory name
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: rwatson at FreeBSD.org

On FreeBSD/arm64, running FreeBSD 13-ALPHA today:

root at raspberry-pi:~/cambridge-l41-aos-labs/2020-2021/Laboratories # pkg fetch
py37-anyio
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following packages will be fetched:

New packages to be FETCHED:
        py37-anyio: 2.0.2 (93 KiB: 100.00% of the 93 KiB to download)

Number of packages to be fetched: 1

93 KiB to be downloaded.

Proceed with fetching packages? [y/N]: y
Fetching py37-anyio-2.0.2.txz: 100%   93 KiB  95.2kB/s    00:01    


But when I install, I get an incorrect directory name and PKG-INFO contents,
showing a version of 0.0.0:

/usr/local/share/licenses/py37-anyio-2.0.2/catalog.mk
/usr/local/share/licenses/py37-anyio-2.0.2/LICENSE
/usr/local/share/licenses/py37-anyio-2.0.2/MIT
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/PKG-INFO
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/SOURCES.txt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/dependency_links.txt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/entry_points.txt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/not-zip-safe
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/requires.txt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/top_level.txt


If I hand rename the directory in /usr/local/lib, and edit PKG-INFO to say
2.0.2, then it works. When I look in a ports build locally, I see that the
downloaded distfile contains 2.0.2, but that the staging directory has 0.0.0 as
above.

I'm afraid I don't understand the Python build/etc infrastructure, so can't
debug this further easily.

This is an essential dependency for jupyter-lab, and without it, you cannot
start jupyter-lab, making the dependent jupyter-lab package unusable.

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


More information about the freebsd-ports-bugs mailing list