Skip to content
Snippets Groups Projects

Use hatchling and versioningit for versioning

Merged Daniel CARRON requested to merge improve-versioning into main
2 unresolved threads
Compare and Show latest version
50 files
+ 1640
428
Compare changes
  • Side-by-side
  • Inline
Files
50
+ 6
2
@@ -6,7 +6,7 @@
package:
name: {{ data['project']['name'] }}
version: {{ GIT_DESCRIBE_TAG }}.dev{{ GIT_DESCRIBE_NUMBER }}+{{ GIT_DESCRIBE_HASH }}
version: {{ environ.get('PACKAGE_VERSION') }}
source:
path: ..
@@ -23,9 +23,11 @@ requirements:
host:
- python >=3.10
- pip
- setuptools_scm
- hatchling
- versioningit
- clapper {{ clapper }}
- click {{ click }}
- credible {{ credible }}
- grad-cam {{ grad_cam }}
- matplotlib {{ matplotlib }}
- numpy {{ numpy }}
@@ -43,8 +45,10 @@ requirements:
- lightning >=2.2.0
run:
- python >=3.10
- versioningit
- {{ pin_compatible('clapper') }}
- {{ pin_compatible('click') }}
- {{ pin_compatible('credible') }}
- {{ pin_compatible('grad-cam', max_pin='x.x') }}
- {{ pin_compatible('matplotlib') }}
- {{ pin_compatible('numpy') }}
Loading