Skip to content

Commit 4d5caad

Browse files
wasadeclaude
andcommitted
Fix pyproject.toml package-data key, add fetch-depth: 0
- Empty string "" package-data key is invalid; must be "*" - fetch-depth: 0 needed for setuptools-scm to read git history Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c5d3b99 commit 4d5caad

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v6
14+
with:
15+
fetch-depth: 0
1416
- name: set up python 3.11
1517
uses: actions/setup-python@v5
1618
with:
@@ -25,13 +27,15 @@ jobs:
2527
runs-on: ubuntu-22.04
2628
steps:
2729
- uses: actions/checkout@v6
30+
with:
31+
fetch-depth: 0
2832

2933
- name: Setup for conda
3034
uses: conda-incubator/setup-miniconda@v3
31-
with:
35+
with:
3236
auto-update-conda: true
3337
python-version: 3.11
34-
38+
3539
- name: Install
3640
shell: bash -l {0}
3741
run: |
@@ -74,10 +78,12 @@ jobs:
7478
# Downloads a copy of the code in your repository before running CI tests
7579
- name: Check out repository code
7680
uses: actions/checkout@v6
81+
with:
82+
fetch-depth: 0
7783

7884
- name: Setup for conda
7985
uses: conda-incubator/setup-miniconda@v3
80-
with:
86+
with:
8187
auto-update-conda: true
8288
python-version: 3.11
8389

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dynamic = ["version"]
1515
where = ["."]
1616

1717
[tool.setuptools.package-data]
18-
"" = ["translations/*/*/*.mo", "translations/*/*/*.po"]
18+
"*" = ["translations/*/*/*.mo", "translations/*/*/*.po"]
1919
"microsetta_interface" = [
2020
"routes.yaml",
2121
"server_config.json",

0 commit comments

Comments
 (0)