From 87d055275eacb26be922fd5fa5201c948f8b807a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 22:26:03 +0000 Subject: [PATCH 1/2] refactor(packaging): align pyproject.toml with PEP 621 Migrated package metadata from `[tool.poetry]` to the standardized `[project]` table as specified by PEP 621. Updated `license` definition to correctly handle a custom license file, resolving validation warnings. Confirmed buildability with standard PyPA tools (`build`) to ensure PEP 517/518 compliance. Maintained Poetry-specific dependency tables (`[tool.poetry.dependencies]`) to ensure compatibility with Poetry's development workflow and tooling. --- poetry.lock | 2 +- pyproject.toml | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2c522f5..57768ce 100644 --- a/poetry.lock +++ b/poetry.lock @@ -624,4 +624,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "01c7875ce5f28aeab63cddae7b01ab14686bf0bd331b05cac98fd2c3a320f950" +content-hash = "29660e39bc4a64b1ef539f79e9e1d23be28fe1786c44e4cd93683dd1504be998" diff --git a/pyproject.toml b/pyproject.toml index 515e38c..fb18953 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,24 +1,29 @@ -[tool.poetry] +[project] name = "my_python_project" version = "0.1.0" description = "A best-in-class Python package template." -authors = ["CoReason, Inc. "] +authors = [ + {name = "CoReason, Inc.", email = "gowtham.rao@coreason.ai"}, +] readme = "README.md" -license = "Prosperity-3.0.0" -homepage = "https://github.com/[USERNAME]/[REPO_NAME]" -repository = "https://github.com/[USERNAME]/[REPO_NAME]" -documentation = "https://github.com/[USERNAME]/[REPO_NAME]" +license = "LicenseRef-Proprietary" +license-files = ["LICENSE"] keywords = ["template", "poetry", "python"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", - "License :: Other/Proprietary License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] +requires-python = "^3.10" + +[project.urls] +Homepage = "https://github.com/[USERNAME]/[REPO_NAME]" +Repository = "https://github.com/[USERNAME]/[REPO_NAME]" +Documentation = "https://github.com/[USERNAME]/[REPO_NAME]" [tool.poetry.dependencies] python = "^3.10" From 1c62376e455f06a0b4fcae41c89bdf5aa5424e6f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 22:38:48 +0000 Subject: [PATCH 2/2] refactor(packaging): align pyproject.toml with PEP 621 Migrated package metadata from `[tool.poetry]` to the standardized `[project]` table as specified by PEP 621. Updated `license` definition to correctly handle a custom license file, resolving validation warnings. Confirmed buildability with standard PyPA tools (`build`) to ensure PEP 517/518 compliance. Maintained Poetry-specific dependency tables (`[tool.poetry.dependencies]`) to ensure compatibility with Poetry's development workflow and tooling. Updated the `requires-python` version specifier to be PEP 440 compliant, fixing a parsing error in the `ruff` pre-commit hook. --- poetry.lock | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 57768ce..3d730c7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -624,4 +624,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "29660e39bc4a64b1ef539f79e9e1d23be28fe1786c44e4cd93683dd1504be998" +content-hash = "3f67a3a2bb1c324871fb9b9851e4a8eb275eb91c53d372c52edb799e01858dd3" diff --git a/pyproject.toml b/pyproject.toml index fb18953..539dc0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -requires-python = "^3.10" +requires-python = ">=3.10" [project.urls] Homepage = "https://github.com/[USERNAME]/[REPO_NAME]"