Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926966 - sys-apps/portage: `pip check` dislikes 9999 patched versioning
Summary: sys-apps/portage: `pip check` dislikes 9999 patched versioning
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 04:56 UTC by Sam James
Modified: 2024-04-26 22:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-14 04:56:39 UTC
```
$ pip check
DEPRECATION: portage 3.0.63_p27_p1710183658 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of portage or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
```

```
$ emerge --version
Portage 3.0.63_p27_p1710183658 (python 3.12.2-final-0, default/linux/amd64/17.1/hardened, gcc-14, glibc-2.39-r2, 6.6.21 x86_64)
```
Comment 1 Larry the Git Cow gentoo-dev 2024-04-26 22:06:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=36235596e061bf8cf4729b3915f9aaa6ec80baa3

commit 36235596e061bf8cf4729b3915f9aaa6ec80baa3
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-04-06 08:28:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-26 22:05:48 +0000

    lib: adhere to python package version conventions
    
    * Commit metadata isn't valid version that python tooling is expected to
      parse. Follow python ecosystem conventions and make it a local
      version.
    
    https://packaging.python.org/en/latest/specifications/version-specifiers/#local-version-segments
    
    Example:
    * Old: 3.0.63-g08a2bc380
    * New: 3.0.63+g08a2bc380
    
    Bug: https://bugs.gentoo.org/926966
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/portage/pull/1314
    Signed-off-by: Sam James <sam@gentoo.org>

 lib/portage/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)