Skip to content

Commit

Permalink
chore(deps): upgrade PyInstaller and Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
LussacZheng committed Jun 10, 2024
1 parent ef0e6bd commit 8102c0b
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 46 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:
poetry_version:
description: "Set the version of Poetry to use"
required: true
default: "1.7.1"
default: "1.8.3"
type: string
main_python_version:
description: "Select a Python version for the main release"
required: true
default: "3.9"
default: "3.10"
type: string

jobs:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
python scripts/ci/main.py --poetry ${{ inputs.poetry_version }} --main ${{ inputs.main_python_version }}
- name: "Release"
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: .ci/**/*.zip
# draft: true
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ git pull

# update the repository of `you-get`
git submodule update --remote
# cd build\you-get
# git checkout v0.x.xxxx

# update dependencies
poetry update
Expand Down
2 changes: 2 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ git pull

# 更新 `you-get` 项目仓库
git submodule update --remote
# cd build\you-get
# git checkout v0.x.xxxx

# 更新依赖
poetry update
Expand Down
84 changes: 44 additions & 40 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name = "you-get.exe"
version = "0.1.0"
description = "You-Get unofficial build executable for Windows"
authors = ["Lussac Zheng <[email protected]>"]
package-mode = false

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
python = ">=3.8, <3.13, !=3.10.0"

[tool.poetry.group.dev.dependencies]
pyinstaller = ">4.0, !=5.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/build-and-log.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main():
with open(log, "w", encoding="utf-8") as f:
# "python -u": force the stdout and stderr streams to be unbuffered
# "build.py --force": force delete the outputs of last build
subprocess.call(["poetry", "run", "python", "-u", "build.py", "--force"], stdout=f, stderr=subprocess.STDOUT)
subprocess.run(["poetry", "run", "python", "-u", "build.py", "--force"], stdout=f, stderr=subprocess.STDOUT)

print(" * All completed.")
print(f" * Build logs saved in: `{log}`")
Expand Down

0 comments on commit 8102c0b

Please sign in to comment.