Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2021 10:52:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253117] py37-anyio package incorrectly has 0.0.0 version number in PKG-INFO and directory name
Message-ID:  <bug-253117-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: rwatson@FreeBSD.org

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

root@raspberry-pi:~/cambridge-l41-aos-labs/2020-2021/Laboratories # pkg fet=
ch
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=20=20=20=20


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.t=
xt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/dependenc=
y_links.txt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/entry_poi=
nts.txt
/usr/local/lib/python3.7/site-packages/anyio-0.0.0-py3.7.egg-info/not-zip-s=
afe
/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.

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



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