oracletrace icon indicating copy to clipboard operation
oracletrace copied to clipboard

[Bug]: pyproject.toml lists Python 3.10 classifier despite requiring Python 3.11+

Open KaykCaputo opened this issue 5 months ago • 2 comments

Summary

pyproject.toml declares requires-python = ">=3.11" but still includes a "Programming Language :: Python :: 3.10" PyPI classifier, which misrepresents supported versions.

Expected Behavior

PyPI classifiers and requires-python should be consistent. Since v3.0.0 officially dropped Python 3.10 support (documented in docs/docs/changelogs/v3-0-0.md), the 3.10 classifier should be removed.

Actual Behavior

requires-python = ">=3.11"

But classifiers include:

"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",

Users browsing PyPI may believe 3.10 is supported. Installing on 3.10 also fails at import time (Self from typing requires 3.11+).

Steps to Reproduce

  1. Run command:

  2. Use input/script:

  3. Observe output/error:

  4. Open pyproject.toml

  5. Compare requires-python with classifiers

  6. Attempt pip install oracletrace on Python 3.10 — import fails with ImportError: cannot import name 'Self' from 'typing'

Command and Output

python3.10 -m pip install oracletrace && python3.10 -c "import oracletrace"
ImportError: cannot import name 'Self' from 'typing'

Environment

  • OracleTrace version: 3.0.0
  • Python version: 3.10 (unsupported)
  • OS: any
  • Shell/terminal (if relevant): any

Additional Context

Fix: remove the "Programming Language :: Python :: 3.10" classifier from pyproject.toml. Consider adding "Programming Language :: Python :: 3.13" to match the CI matrix in .github/workflows/tests.yml.

Relevant files:

  • pyproject.toml (lines 11, 39–41)
  • docs/docs/changelogs/v3-0-0.md — breaking change note

Checklist

  • [x] I searched existing issues before opening this report
  • [x] I provided a reproducible example or clear reproduction steps
  • [x] I included version and environment details

KaykCaputo avatar Jun 16 '26 18:06 KaykCaputo

Hi! I’d like to work on this issue.

Vrindakr3300 avatar Jun 17 '26 05:06 Vrindakr3300

Nice! Go for it

KaykCaputo avatar Jun 17 '26 11:06 KaykCaputo