Skip to content

Commit

Permalink
Use Python 3.11 to build pypi package
Browse files Browse the repository at this point in the history
Python 3.9 comes with old setuptools that has limited support for package_data
  • Loading branch information
r4victor committed Aug 13, 2024
1 parent d08ec31 commit 0543e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ jobs:
name: Set latest variable
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.11
- name: Download frontend build
uses: actions/download-artifact@v4
with:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def get_long_description():
packages=find_packages("src"),
package_data={
"dstack._internal.server": ["statics/**/*"],
"dstack.api._public.huggingface.finetuning.sft": ["requirements.txt"],
},
include_package_data=True,
scripts=[],
Expand Down

0 comments on commit 0543e5e

Please sign in to comment.