Skip to content

Removes 3.13, CPython and PyPy classifiers #198

Closed
@hugovk

Description

@hugovk

Exciting to see the new release! 🎉

I have this in pre-commit:

  - repo: https://github.com/tox-dev/pyproject-fmt
    rev: 2.0.2
    hooks:
      - id: pyproject-fmt
        additional_dependencies: [tox]

And py313 in tox.ini:

[tox]
requires =
    tox>=4.2
env_list =
    cog
    cli
    lint
    pins
    py{py3, 313, 312, 311, 310, 39, 38}

But pyproject-fmt 2.0.2 is removing the 3.13 Trove classifier:

   "Programming Language :: Python :: 3.10",
   "Programming Language :: Python :: 3.11",
   "Programming Language :: Python :: 3.12",
-  "Programming Language :: Python :: 3.13",
-  "Programming Language :: Python :: Implementation :: CPython",
-  "Programming Language :: Python :: Implementation :: PyPy",

https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version says it should read the tox config for the upper bound.

For example: hugovk/norwegianblue#212

I'd also like to keep the "Implementation" classifiers to make it clear PyPy is supported.


Edit: PR tox-dev/pyproject-fmt-rust#4 will preserve the Implementation classifiers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions