-
Notifications
You must be signed in to change notification settings - Fork 1
refactor(dev): move from poetry to uv and to python3.12 #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3d675d8
refactor(dev): move from poetry to uv
732a798
feat: switch to uv
PaulFarault 2d3ad92
feat(.gitignore): add .tmp folder in .gitignore for temporary scripts
7bc16ac
feat(submodules): update submodules
d71340f
feat(.gitignore): add .venv in .gitignore
a912c06
feat(python): move to python3.12
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| sqlite.db | ||
| venv* | ||
| .venv | ||
| logs/tdp.log | ||
| files | ||
| .ansible | ||
| .cache | ||
| .poetrycache | ||
| .uvcache | ||
| .vagrant* | ||
| ansible_collections/community* | ||
| tdp_vars | ||
| tests/__pycache__ | ||
| .tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tdp
updated
52 files
Submodule tdp_extra
updated
10 files
Submodule tdp_prerequisites
updated
8 files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,31 @@ | ||
| [tool.poetry] | ||
| [project] | ||
| name = "tdp-dev" | ||
| version = "0.1.0" | ||
| description = "tdp-dev dependencies" | ||
| authors = ["Stephan Baum <stephan.baume-consultant@dgfip.finances.gouv.fr>"] | ||
| authors = [{ name = "TOSIT" }] | ||
| license = "Apache-2.0" | ||
| readme = "README.md" | ||
| homepage = "https://github.com/TOSIT-FR/tdp-dev" | ||
| repository = "https://github.com/TOSIT-FR/tdp-dev" | ||
| documentation = "https://github.com/TOSIT-FR/tdp-dev" | ||
| package-mode = false | ||
| requires-python = ">=3.12.0,<4.0" | ||
| dependencies = [ | ||
| "tdp-lib[visualization,mysql,postgresql]", | ||
| "jmespath==1.0.1", | ||
| "ansible-lint>=26.1.1", | ||
| "passlib>=1.7.4", | ||
| "pytest-xdist>=3.8.0", | ||
| "pytest-testinfra>=10.2.2", | ||
| ] | ||
|
|
||
| [tool.poetry.dependencies] | ||
| python = ">=3.9.0,<4.0" | ||
| tdp-lib = { path = "tdp-lib", develop = true, extras=["visualization", "mysql", "postgresql-binary"] } | ||
| passlib = "1.7.4" | ||
| jmespath = "1.0.1" | ||
| ansible-lint = {version = "6.17.2", markers = "platform_system != 'Windows'"} | ||
| pytest-xdist = "^3.6.1" | ||
| pytest-testinfra = "^10.1.1" | ||
| [tool.uv] | ||
| # https://github.com/ansible/ansible-lint/issues/4348 | ||
| environments = ["sys_platform != 'win32'"] | ||
|
|
||
| [build-system] | ||
| requires = ["poetry-core"] | ||
| build-backend = "poetry.core.masonry.api" | ||
| [tool.uv.sources] | ||
| tdp-lib = { path = "./tdp-lib", editable = true } | ||
|
|
||
| [project.urls] | ||
| Homepage = "https://github.com/TOSIT-FR/tdp-dev" | ||
| Repository = "https://github.com/TOSIT-FR/tdp-dev" | ||
| Documentation = "https://github.com/TOSIT-FR/tdp-dev" | ||
|
|
||
| [tool.setuptools] | ||
| py-modules = [] |
Submodule tdp-vagrant
updated
6 files
| +1 −0 | .gitignore | |
| +46 −0 | Docker/Dockerfile | |
| +25 −0 | Docker/docker-entrypoint.sh | |
| +34 −1 | README.md | |
| +6 −5 | Vagrantfile | |
| +2 −1 | vagrant.yml |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.