netanelcyber / netanelcyber/AdPentestAI-Python

Replace deprecated pyproject license table + classifier

Open Beginner friendly
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

chore
Dominant language
Python
Stars
5
Forks
2
Avg merge
22h 25m
Merged PRs (30d)
7

Description

Warning

python -m build emits SetuptoolsDeprecationWarnings on every build:

`project.license` as a TOML table is deprecated
License classifiers are deprecated

Deadline stated by setuptools: 2027-02-18 — builds break after that.

Fix

In pyproject.toml:

[project]
license = "MIT"
license-files = ["LICENSE"]

And remove "License :: OSI Approved :: MIT License" from classifiers.

Acceptance

  • python -m build produces zero deprecation warnings
  • PyPI still shows MIT license on the project page

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in pyproject.toml and inspect the [project] license and classifiers entries. Run python -m build before and after the metadata change, confirming that it produces no deprecation warnings; verify that the published project metadata still identifies the MIT license.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
92/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.