#9910 test: Handle Python 3.15 warning coming from transitive dependency pygments
Pull request opened by
edgarrmondragon
Description
SSIA.
Checklist
• I have read the
contribution guide
Was generative AI tooling used to co-author this PR?
• Yes (please specify the tool below)
Related Issues
•
pygments/pygments#3039
•
python/cpython#74453
•
python/cpython#144436
Summary by Sourcery
Adjust test configuration to handle a new Python 3.15 deprecation warning from pygments and scope a Pyo3 compatibility flag to nox-managed environments.
Build:
• Add a pytest warning filter in pyproject.toml to ignore the pygments DeprecationWarning about os.path.commonprefix on Python 3.15.
CI:
• Remove the global PYO3_USE_ABI3_FORWARD_COMPATIBILITY environment variable from the GitHub Actions test workflow and rely on environment configuration within nox sessions instead.
Tests:
• Set PYO3_USE_ABI3_FORWARD_COMPATIBILITY within the nox _uv_sync session environment so that test environments retain the required Pyo3 ABI compatibility setting.
meltano/meltano