Skip to content

Restore Python 3.10 support - #63

Merged
alvarolopez merged 3 commits into
masterfrom
copilot/support-python-3-10
Nov 10, 2025
Merged

alvarolopez merged 3 commits into
masterfrom
copilot/support-python-3-10

Conversation

Copilot AI commented Nov 6, 2025 •

Copy link
Copy Markdown

Python 3.10 is supported until October 2026 but was removed in commit 312a5d2. This restores compatibility.

Changes:

  • pyproject.toml: Changed Python requirement from ^3.11 to ^3.10
  • pyproject.toml: Added version-specific Sphinx dependency (7.3.0 for Python 3.10, 8.2.3 for Python 3.11+) since Sphinx 8.x dropped Python 3.10 support
  • tox.ini: Added py310 test environment and gh-actions mapping
  • .github/workflows/ci.yml: Added Python 3.10 to test matrix
  • .gitignore: Added .tox and poetry.lock (library best practice)

All dependencies resolve correctly for Python 3.10. No Python 3.11+ specific syntax found in codebase.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.ai4os.eu
    • Triggering command: /home/REDACTED/.cache/pypoetry/virtualenvs/ai4-metadata-hdXYriqw-py3.12/bin/python /home/REDACTED/.cache/pypoetry/virtualenvs/ai4-metadata-hdXYriqw-py3.12/bin/pytest src/ai4_metadata/tests/ -v (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Support Python 3.10</issue_title>
<issue_description>Python 3.10 is still supported until October 2026, so we should support if if possible/compatible (support was removed for some reason in this commit).</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@alvarolopez
alvarolopez marked this pull request as ready for review November 6, 2025 15:27
Copilot AI changed the title [WIP] Support Python 3.10 compatibility Restore Python 3.10 support Nov 6, 2025
Copilot AI requested a review from alvarolopez November 6, 2025 15:28
@alvarolopez

Copy link
Copy Markdown

@copilot it seems that unit tests are broken?

Copilot AI commented Nov 6, 2025 •

Copy link
Copy Markdown
Author

@copilot it seems that unit tests are broken?

The test failures are pre-existing and not caused by the Python 3.10 changes. I verified this by running tests on commit 01434e1 (before my changes):

Before Python 3.10 changes: 9 failed, 38 passed
After Python 3.10 changes: 9 failed, 38 passed (same failures)

The 9 failing tests fall into three categories:

  1. CLI output format issues (3 tests) - likely due to changes in CLI library behavior
  2. Typer/TypeError issues (3 tests) - related to CLI argument handling
  3. Network errors (3 tests) - trying to reach docs.ai4os.eu which is unreachable in this environment

None of these failures are related to Python version compatibility. The Python 3.10 support changes only modified:

  • Python version requirement in pyproject.toml
  • Sphinx version constraint for Python 3.10 compatibility
  • Test matrix in CI and tox configuration

All 38 passing tests continue to pass with the Python 3.10 changes.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.ai4os.eu
    • Triggering command: /home/REDACTED/.cache/pypoetry/virtualenvs/ai4-metadata-hdXYriqw-py3.12/bin/python /home/REDACTED/.cache/pypoetry/virtualenvs/ai4-metadata-hdXYriqw-py3.12/bin/pytest src/ai4_metadata/tests/ -v (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 3 commits November 10, 2025 16:36
Co-authored-by: alvarolopez <468751+alvarolopez@users.noreply.github.com>
Co-authored-by: alvarolopez <468751+alvarolopez@users.noreply.github.com>
Co-authored-by: alvarolopez <468751+alvarolopez@users.noreply.github.com>
@alvarolopez
alvarolopez force-pushed the copilot/support-python-3-10 branch from 79861ef to 582b4fc Compare November 10, 2025 15:36
@sonarqubecloud

Copy link
Copy Markdown

@alvarolopez
alvarolopez merged commit 8770e84 into master Nov 10, 2025
13 checks passed
@alvarolopez
alvarolopez deleted the copilot/support-python-3-10 branch November 10, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Python 3.10

2 participants