Skip to content

Conversation

cocolato
Copy link
Contributor

@cocolato cocolato commented Aug 6, 2025

Ref: https://peps.python.org/pep-0518/#sticking-with-setup-cfg
Fix: #420

Migrating the static matadata to project.toml will also help us to use some modern package managers such as: poetry、uv、pdm.

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of zzzeek to try to get revision d66d8e4 of this pull request into gerrit so we can run tests and reviews and stuff

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of zzzeek to try to get revision d66d8e4 of this pull request into gerrit so we can run tests and reviews and stuff

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of zzzeek to try to get revision d66d8e4 of this pull request into gerrit so we can run tests and reviews and stuff

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of zzzeek to try to get revision d66d8e4 of this pull request into gerrit so we can run tests and reviews and stuff

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of zzzeek to try to get revision d66d8e4 of this pull request into gerrit so we can run tests and reviews and stuff

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of zzzeek to try to get revision d66d8e4 of this pull request into gerrit so we can run tests and reviews and stuff

@sqla-tester
Copy link
Collaborator

Patchset d66d8e4 added to existing Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102

@zzzeek
Copy link
Member

zzzeek commented Aug 16, 2025

sorry doing some config cahnges here

Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Federico Caselli (CaselIT) wrote:

code review left on gerrit

View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102

pyproject.toml Outdated
@@ -2,6 +2,66 @@
build-backend = 'setuptools.build_meta'
requires = ['setuptools >= 47', 'wheel']

[project]
name = "Mako"
version = "1.3.11"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Federico Caselli (CaselIT) wrote:

this should be dynamic, since before it was attr: mako.__version__
See https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata

View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102

[project.urls]
Homepage = "https://www.makotemplates.org/"
Source = "https://github.com/sqlalchemy/mako"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Federico Caselli (CaselIT) wrote:

we miss Documentation = "https://docs.makotemplates.org"

View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102

@cocolato
Copy link
Contributor Author

Thanks! It has been updated.

@CaselIT CaselIT requested a review from sqla-tester August 22, 2025 18:33
Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of CaselIT to try to get revision 1ef7ade of this pull request into gerrit so we can run tests and reviews and stuff

@sqla-tester
Copy link
Collaborator

Patchset 1ef7ade added to existing Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102

@cocolato
Copy link
Contributor Author

@CaselIT
Copy link
Member

CaselIT commented Aug 25, 2025

you can take a look at what's done in alembic or sqlalchemy, that both use pyproject in a fairly similar way:

it seems that both just require setuptools >=77.0.3
not sure if it may cause issues here with older python version, but I guess we could just drop them

@cocolato
Copy link
Contributor Author

I've removed the wheel dependency during the build process. I can restore it if necessary.

@CaselIT CaselIT requested a review from sqla-tester August 27, 2025 11:23
Copy link
Collaborator

@sqla-tester sqla-tester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this is sqla-tester setting up my work on behalf of CaselIT to try to get revision c52e72a of this pull request into gerrit so we can run tests and reviews and stuff

@sqla-tester
Copy link
Collaborator

Patchset c52e72a added to existing Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102

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.

SetuptoolsDeprecationWarning: License classifiers are deprecated
4 participants