Skip to content

Commit

Permalink
Release 1.0.3 (#93)
Browse files Browse the repository at this point in the history
* Build m1 wheels in CI (#88)

* Add use_scm_version in setup() - fixes source distribution thinking its version 0.0.0

* Fix fetch depth for version number of build + build aarch65
  • Loading branch information
cmmarslender committed Aug 26, 2021
1 parent e9732e6 commit 5c3d7dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-aarch64.yml
Expand Up @@ -20,6 +20,8 @@ jobs:

- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Prepare cibuildwheel
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -20,6 +20,8 @@ jobs:

- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-python@v2
name: Install Python
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -258,6 +258,7 @@ def build_extensions(self):
ext_modules=ext_modules,
cmdclass={"build_ext": BuildExt},
zip_safe=False,
use_scm_version={"fallback_version": "unknown-no-.git-directory"},
)
else:
build.sub_commands.append(("build_hook", lambda x: True)) # type: ignore
Expand All @@ -279,4 +280,5 @@ def build_extensions(self):
build_ext=CMakeBuild, install_hook=install_hook, build_hook=build_hook
),
zip_safe=False,
use_scm_version={"fallback_version": "unknown-no-.git-directory"},
)

0 comments on commit 5c3d7dc

Please sign in to comment.