Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904495 - dev-python/markupsafe-2.1.2[python_targets_python3_11] fails to import markupsafe: ModuleNotFoundError: No module named 'markupsafe'
Summary: dev-python/markupsafe-2.1.2[python_targets_python3_11] fails to import markup...
Status: RESOLVED INVALID
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: 2023-04-18 00:33 UTC by Sebastian Pipping
Modified: 2023-04-19 15:49 UTC (History)
1 user (show)

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 Sebastian Pipping gentoo-dev 2023-04-18 00:33:33 UTC
Something is off with the 3.11 support of dev-python/markupsafe-2.1.2.  Python 3.9 and 3.10 work well, 3.11 does not:

# xargs -n1 < /var/db/pkg/dev-python/markupsafe-2.1.2/USE | grep python | sort -V
python_targets_python3_9
python_targets_python3_10
python_targets_python3_11

# python3.9 -c 'import markupsafe'

# python3.10 -c 'import markupsafe'

# python3.11 -c 'import markupsafe'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'markupsafe'

# python3.11 --version
Python 3.11.3
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-19 10:27:53 UTC
Build log, please.  It works just fine here.  Do you have /usr/lib/python3.11/site-packages/markupsafe?
Comment 2 Sebastian Pipping gentoo-dev 2023-04-19 15:48:31 UTC
Works just fine now for some reason, closing as invalid for now.
Comment 3 Sebastian Pipping gentoo-dev 2023-04-19 15:49:50 UTC
PS: Yes I did have /usr/lib/python3.11/site-packages/markupsafe but no build log.