Skip to content
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

Feature/fix GitHub actions windows build #48

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python_version }}"
cache: "pip"
# cache: "pip"
# windows では wheel が見当たらずエラーになるため wheel をインストールする
- run: pip install wheel
- run: pip install -r requirements-dev.lock
- run: python run.py
- run: python -m build
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ Documentation = "https://sora-python-sdk.shiguredo.jp"
Discord = "https://discord.gg/shiguredo"

[tool.rye]
virtual = true
dev-dependencies = [
"nanobind>=1.8.0",
"setuptools>=69",
"build~=1.0.3",
"wheel~=0.42.0",
"auditwheel~=5.4.0",
"setuptools>=69.1",
"build>=1.0.3",
"wheel>=0.42.0",
"auditwheel>=6.0.0",
"pytest>=8.0.0",
"ruff>=0.1.14",
"ruff>=0.2.1",
]

[tool.ruff]
Expand Down
21 changes: 16 additions & 5 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,32 @@
# all-features: false
# with-sources: false

-e file:.
auditwheel==5.4.0
auditwheel==6.0.0
build==1.0.3
exceptiongroup==1.2.0
# via pytest
importlib-metadata==7.0.1
# via build
iniconfig==2.0.0
# via pytest
nanobind==1.8.0
packaging==23.2
# via auditwheel
# via build
# via pytest
pluggy==1.3.0
# via pytest
pyelftools==0.30
# via auditwheel
pyproject-hooks==1.0.0
# via build
pytest==8.0.0
ruff==0.1.14
ruff==0.2.2
tomli==2.0.1
# via build
# via pyproject-hooks
# via pytest
wheel==0.42.0
zipp==3.17.0
# The following packages are considered to be unsafe in a requirements file:
setuptools==69.0.3
# via importlib-metadata
setuptools==69.1.0
1 change: 0 additions & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
# all-features: false
# with-sources: false

-e file:.