Skip to content

Commit d5f295b

Browse files
EliEli
authored andcommitted
Disallow blank versioning
Eliminated "None" as well as previous "0.0.0". Hard stop if no version.
1 parent 28b4e24 commit d5f295b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/python-package-conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ jobs:
4747
PKG_VERSION=$PKG_VERSION conda build -c cadwr-dms -c conda-forge --user cadwr-dms --token "$ANACONDA_CHANNEL_UPLOAD_TOKEN" conda.recipe
4848
4949
conda deactivate
50-
conda remove -n test_dms_datastore --all
50+
conda remove -n test_dms_datastore --all -y
5151

conda.recipe/meta.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package:
66
name: dms-datastore
77
# Use the environment variable passed from the shell
88
# Set via: export PKG_VERSION=$(python -m setuptools_scm)
9-
version: {{ environ.get('PKG_VERSION') }}
9+
version: {{ environ['PKG_VERSION'] }}
1010

1111
source:
1212
path: ..
@@ -33,17 +33,13 @@ requirements:
3333
- python {{ pyproject['project']['requires-python'] }}
3434
- setuptools
3535
- setuptools-scm
36-
{% for dep in pyproject['build-system']['requires'] %}
37-
- {{ dep.lower() }}
38-
{% endfor %}
36+
- wheel
3937
host:
4038
- python {{ pyproject['project']['requires-python'] }}
4139
- pip
42-
{% for dep in pyproject['build-system']['requires'] %}
43-
- {{ dep.lower() }}
44-
{% endfor %}
4540
- setuptools
4641
- setuptools-scm
42+
- wheel
4743
run:
4844
- python {{ pyproject['project']['requires-python'] }}
4945
# dependencies are defined in pyproject.toml

0 commit comments

Comments
 (0)