Skip to content

Conversation

@ArBridgeman
Copy link
Collaborator

Checklist

Note: If any of the items in the checklist are not relevant to your PR, just check the box.

For any Pull Request

Is the following correct:

  • the title of the Pull Request?
  • the title of the corresponding issue?
  • there are no other open Pull Requests for the same update/change?
  • that the issue which this Pull Request fixes ("Fixes...") is mentioned?

When Changes Were Made

Did you:

  • update the changelog?
  • update the cookiecutter-template?
  • update the implementation?
  • check coverage and add tests: unit tests and, if relevant, integration tests?
  • update the User Guide & other documentation?
  • resolve any failing CI criteria (incl. Sonar quality gate)?

When Preparing a Release

Have you:

  • thought about version number (major, minor, patch)?
  • checked Exasol packages for updates and resolved open vulnerabilities, if easily possible?

{ name = "Nicola Coretti", email = "[email protected]" },
{ name = "Ariel Schulz", email = "[email protected]" },
]
requires-python = ">=3.10,<4.0"
Copy link
Collaborator Author

@ArBridgeman ArBridgeman Jan 9, 2026

Choose a reason for hiding this comment

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

✅ re-orders section, I think consistently - could check docu

"infrastructure",
]
dynamic = ["dependencies"]
dependencies = [
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

✅ does correctly and orders

"exasol",
"infrastructure",
]
dynamic = ["dependencies"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

➖ needed to remove this manually, as it remains

"twine>=6.1.0,<7",
]

[project.urls]
Copy link
Collaborator Author

@ArBridgeman ArBridgeman Jan 9, 2026

Choose a reason for hiding this comment

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

originally this was incorrectly labeled, so it didn't get converted.
neither poetry nor uv were angry about that.

Issues = "https://github.com/exasol/python-toolbox/issues"
Changelog = "https://exasol.github.io/python-toolbox/changelog.html"

[project.scripts]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

✅ correctly converted & works in CLI (after creating new env)

tbx = "exasol.toolbox.tools.tbx:CLI"
sphinx-multiversion = "exasol.toolbox.sphinx.multiversion:main"

# unused entry point as using project.scripts instead
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

➖ kept/added this and it should be manually removed

# manually remove
#[project.entry-points]

[dependency-groups]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

✅ did this correctly and ordered it

pyproject.toml Outdated
"cookiecutter>=2.6.0,<3",
]

# Needed for poetry intsall to run again
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

➖ I don't think there's a way to preserve poetry too much, so this needed to be manually copied back over these two sections (see intermediate commits).

sphinx-inline-tabs = "^2023.4.21"
sphinx-design = ">=0.5.0,<1"
sphinx-toolbox = "^4.0.0"
typer = { extras = ["all"], version = ">=0.7.0" }
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

✅ uv told us typer[all] isn't a thing, but ➖ we needed to manually do

sphinx-multiversion = 'exasol.toolbox.sphinx.multiversion:main'

# manually re-add as needed for code
[tool.poetry.requires-plugins]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

➖ need to manually re-add

"F", # Pyflakes rules (excluding F401)
"UP", # pyupgrade rules
"D", # Docstring rules
"E", # Syntax errors
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sometimes it removes comments. Here it kept them, but this would be something to watch out for.

"cookiecutter>=2.6.0,<3",
]

# Needed for poetry install to run again
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

➖ needed to override these two sections with what we had before

{ name = "Nicola Coretti", email = "[email protected]" },
{ name = "Ariel Schulz", email = "[email protected]" },
]
requires-python = ">=3.10,<4.0"
Copy link
Collaborator Author

@ArBridgeman ArBridgeman Jan 9, 2026

Choose a reason for hiding this comment

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

Note that this migration mostly works for PTB as most dependencies are main ones but would need to switch to Poetry 2.2.x or update PTB otherwise to handle dev dependencies moving to groups.

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.

2 participants