Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943156 - dev-python/pip-24.3.1 - ImportError: cannot import name ios_platforms from packaging.tags (/.../tags.py). Did you mean: mac_platforms?
Summary: dev-python/pip-24.3.1 - ImportError: cannot import name ios_platforms from pa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-09 17:34 UTC by Toralf Förster
Modified: 2024-11-10 03:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,23.99 KB, text/plain)
2024-11-09 17:34 UTC, Toralf Förster
Details
dev-python:pip-24.3.1:20241109-171221.log (dev-python:pip-24.3.1:20241109-171221.log,98.34 KB, text/plain)
2024-11-09 17:34 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,149.99 KB, application/x-xz)
2024-11-09 17:34 UTC, Toralf Förster
Details
environment (environment,186.53 KB, text/plain)
2024-11-09 17:35 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-09 17:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,48.58 KB, application/x-xz)
2024-11-09 17:35 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.77 KB, application/x-xz)
2024-11-09 17:35 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,143.43 KB, application/x-xz)
2024-11-09 17:35 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,42.06 KB, application/x-xz)
2024-11-09 17:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-09 17:34:55 UTC
  File "/var/tmp/portage/dev-python/pip-24.3.1/work/pip-24.3.1-python3_12/install/usr/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py", line 29, in <module>
    from pip._internal.models.target_python import TargetPython
  File "/var/tmp/portage/dev-python/pip-24.3.1/work/pip-24.3.1-python3_12/install/usr/lib/python3.12/site-packages/pip/_internal/models/target_python.py", line 6, in <module>
    from pip._internal.utils.compatibility_tags import get_supported, version_info_to_nodot
  File "/var/tmp/portage/dev-python/pip-24.3.1/work/pip-24.3.1-python3_12/install/usr/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py", line 7, in <module>
    from packaging.tags import (
ImportError: cannot import name 'ios_platforms' from 'packaging.tags' (/usr/lib/python3.12/site-packages/packaging/tags.py). Did you mean: 'mac_platforms'?
 * ERROR: dev-python/pip-24.3.1::gentoo failed (compile phase):
 *   (no error message)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241025-164008

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.79.0
  [4]   rust-bin-1.81.0
  [5]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 09f32af1bf73aeb787876383dd2f2980f690f708
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 9 15:33:24 2024 +0000

    2024-11-09 15:33:24 UTC

emerge -qpvO =dev-python/pip-24.3.1
[ebuild     U ] dev-python/pip-24.3.1 [24.2-r1] USE="(test-rust) -test" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-09 17:34:56 UTC
Created attachment 908335 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-09 17:34:58 UTC
Created attachment 908336 [details]
dev-python:pip-24.3.1:20241109-171221.log
Comment 3 Toralf Förster gentoo-dev 2024-11-09 17:34:59 UTC
Created attachment 908337 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-09 17:35:01 UTC
Created attachment 908338 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-09 17:35:02 UTC
Created attachment 908339 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-09 17:35:03 UTC
Created attachment 908340 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-09 17:35:05 UTC
Created attachment 908341 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-09 17:35:06 UTC
Created attachment 908342 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-09 17:35:07 UTC
Created attachment 908343 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-10 03:03:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26fb1617bbead3a20fbea645e7647ec9982cd38d

commit 26fb1617bbead3a20fbea645e7647ec9982cd38d
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-11-10 02:58:54 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-11-10 03:02:55 +0000

    dev-python/pip: fix minimum bounds for packaging dep
    
    We were waiting on an update to packaging before bumping pip (as it
    imports new API from packaging 24.2), but having gotten that update we
    didn't actually depend on it.
    
    This causes pip to fail to build, as packaging is used at build time in
    order to create shell completions (and obviously for testing as well)
    and nothing requires packaging to update at all, let alone requires it
    to come first in the build queue.
    
    Closes: https://bugs.gentoo.org/943156
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 dev-python/pip/{pip-24.3.1-r1.ebuild => pip-24.3.1-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)