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
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 5
2
@@ -6,14 +6,14 @@
package:
name: {{ data['project']['name'] }}
version: {{ data['project']['version'] }}
version: {{ environ.get('PACKAGE_VERSION') }}
source:
path: ..
build:
noarch: python
number: {{ environ.get('USE_BUILD_NUMBER', 0) }}
number: {{ environ.get('NEXT_BUILD_NUMBER', 0) }}
run_exports:
- {{ pin_subpackage(data['project']['name']) }}
script:
@@ -23,6 +23,8 @@ requirements:
host:
- python >=3.10
- pip
- hatchling
- versioningit
- clapper {{ clapper }}
- click {{ click }}
- credible {{ credible }}
@@ -43,6 +45,7 @@ requirements:
- lightning >=2.2.0
run:
- python >=3.10
- versioningit
- {{ pin_compatible('clapper') }}
- {{ pin_compatible('click') }}
- {{ pin_compatible('credible') }}
Loading