Skip to content

T397332 use poetry - #101

Open
david-caro wants to merge 12 commits into
mainfrom
T397332-use-poetry
Open

T397332 use poetry#101
david-caro wants to merge 12 commits into
mainfrom
T397332-use-poetry

Conversation

@david-caro

@david-caro david-caro commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

This bulids on top of #93, it had to change a lot more things:

  • Moved everything to poetry (tox, dockerfiles, etc.)
  • Made docker compose podman friendly
  • Ran black on all files
  • Move to trixie image base
  • Move to python 3.13 (comes with trixie)
  • Replaced sqlalchemy mock library with a hand-built mock (it's been many years without updates, broke sqlalchemy)
  • Adapted some syntax to newer flask version
  • Other tests fixes mostly

I can try to split it better, but putting out here at least to not lose the progress.

Task: T397332

@david-caro
david-caro force-pushed the T397332-use-poetry branch 2 times, most recently from fddecbf to d2b760c Compare August 18, 2026 12:38
Vanshika110 and others added 8 commits August 18, 2026 14:42
 Replaced requirements.txt with pyproject.toml/poetry.lock and updated Dockerfile for clean builds.
Task: T397332
This includes:
* Move to trixie docker image
* Python dependency upgrades
* Added some print statements for debugging
* Fixed a couple issues with docker compose
* Added a new py3-format tox entry for autoformatting

Signed-off-by: David Caro <me@dcaro.es>
As sqlalchemy mock is not updated anymore and was breaking after
dependency upgrades, this now implements mocks with python native utils.

Signed-off-by: David Caro <me@dcaro.es>
Signed-off-by: David Caro <me@dcaro.es>
Signed-off-by: David Caro <me@dcaro.es>
@david-caro
david-caro force-pushed the T397332-use-poetry branch 2 times, most recently from d68f729 to 5ec21ef Compare August 18, 2026 12:45
Signed-off-by: David Caro <me@dcaro.es>
Signed-off-by: David Caro <me@dcaro.es>
The `--sync` flag is deprecated.

Signed-off-by: David Caro <me@dcaro.es>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants