Upgrade dependency versions

This commit is contained in:
muzing 2024-03-12 08:02:30 +08:00
parent 0823d20323
commit 137936c189
4 changed files with 1188 additions and 106 deletions

View File

@ -18,7 +18,7 @@ Development environment is more complicated than use environment, ensure that yo
```shell ```shell
cd Py2exe-GUI cd Py2exe-GUI
poetry init poetry init
poetry install --extras "AddOns" poetry install --with dev --extras "AddOns"
``` ```
You also need to install a git hook via [pre-commit](https://pre-commit.com/): You also need to install a git hook via [pre-commit](https://pre-commit.com/):
@ -65,7 +65,7 @@ Do a pull request to the `main` branch of [muziing/Py2exe-GUI](https://github.co
```shell ```shell
cd Py2exe-GUI cd Py2exe-GUI
poetry init poetry init
poetry install --extras "AddOns" poetry install --with dev --extras "AddOns"
``` ```
> 如果你在国内使用 PyPI 源速度较慢,可以考虑取消注释 `pyproject.toml` 文件中的 `[[tool.poetry.source]]` > 如果你在国内使用 PyPI 源速度较慢,可以考虑取消注释 `pyproject.toml` 文件中的 `[[tool.poetry.source]]`

View File

@ -23,6 +23,6 @@ repos:
args: [--settings-path, "./pyproject.toml"] args: [--settings-path, "./pyproject.toml"]
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2 rev: v0.3.2
hooks: hooks:
- id: ruff - id: ruff

1278
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -28,12 +28,12 @@ py2exe-gui = 'py2exe_gui.__main__:main'
#priority = "default" #priority = "default"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">=3.8,<3.13" python = ">=3.8.1, <3.13"
PySide6-Essentials = "^6.2.0" PySide6-Essentials = "^6.2.0"
pyyaml = "^6.0.0" pyyaml = "^6.0.0"
Pillow = { version = "^10.0", optional = true } Pillow = { version = "^10.0", optional = true }
pipreqs = { version = "^0.4.13", optional = true } pipreqs = { version = "^0.5.0", optional = true }
[tool.poetry.extras] [tool.poetry.extras]
AddOns = ["Pillow", "pipreqs"] AddOns = ["Pillow", "pipreqs"]
@ -45,9 +45,9 @@ optional = true
pre-commit = "^3.5.0" pre-commit = "^3.5.0"
black = "^24.2.0" black = "^24.2.0"
isort = "^5.13.0" isort = "^5.13.0"
ruff = "^0.2.0" ruff = "^0.3.0"
mypy = "^1.8.0" mypy = "^1.9.0"
pyinstaller = "^6.4.0" pyinstaller = "^6.5.0"
types-pyyaml = "^6.0.12.12" types-pyyaml = "^6.0.12.12"
line-profiler = "^4.1.2" line-profiler = "^4.1.2"