Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929800 - sci-misc/vitables: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: sci-misc/vitables: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:52 UTC by Michał Górny
Modified: 2024-07-31 08:46 UTC (History)
2 users (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:52:15 UTC
This package does not support Python 3.12.  Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Igor Krivenko 2024-06-15 09:25:04 UTC
I copied vitables-3.0.2_p4-r1.ebuild from the main tree 
to a local overlay and set `PYTHON_COMPAT=( python3_{10..12} )` in it. The resulting package merges normally with PYTHON_SINGLE_TARGET="python3_12". After a quick inspection (opening an HDF5 file, inspecting, deleting and renaming some datasets) I cannot report any problems running the application either.
Comment 2 Pacho Ramos gentoo-dev 2024-07-31 08:46:40 UTC
tests fail with
python3.12 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories
ImportError while loading conftest '/var/tmp/portage/sci-misc/vitables-3.0.2_p4-r1/work/ViTables-3.0.2/tests/conftest.py'.
tests/conftest.py:16: in <module>
    import vitables.vtapp
vitables/vtapp.py:55: in <module>
    import vitables.csv.import_csv as importcsv
vitables/csv/import_csv.py:65: in <module>
    import vitables.csv.csvutils as csvutils
vitables/csv/csvutils.py:39: in <module>
    warnings.filterwarnings("ignore", category=numpy.VisibleDeprecationWarning)
/usr/lib/python3.12/site-packages/numpy/__init__.py:410: in __getattr__
    raise AttributeError("module {!r} has no attribute "
E   AttributeError: module 'numpy' has no attribute 'VisibleDeprecationWarning'