File tree Expand file tree Collapse file tree 6 files changed +34
-745
lines changed Expand file tree Collapse file tree 6 files changed +34
-745
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ dependencies:
6
6
- cloudpickle =3.1.1
7
7
- executorlib =1.7.1
8
8
- graphviz =9.0.0
9
+ - hatchling =1.27.0
10
+ - hatch-vcs =0.5.0
9
11
- pandas =2.3.2
10
12
- pint =0.25
11
13
- pyiron_snippets =0.2.0
12
14
- python >=3.11,<3.14
13
15
- python-graphviz =0.21
14
16
- rdflib =7.1.4
15
17
- semantikon =0.0.22
16
- - setuptools>=68
17
18
- toposort =1.10
18
19
- typeguard =4.4.4
19
- - wheel
Original file line number Diff line number Diff line change 2
2
name : Release
3
3
4
4
on :
5
- # pull_request:
5
+ pull_request :
6
6
release :
7
7
types : [ published ]
8
8
13
13
with :
14
14
semantic-upper-bound : ' minor'
15
15
lower-bound-yaml : ' .ci_support/lower_bound.yml'
16
- # publish-to-pypi: false
16
+ publish-to-pypi : ${{ github.event_name == 'release' && github.event.action == 'published' }}
Original file line number Diff line number Diff line change 22
22
guided workflow design
23
23
"""
24
24
25
- from . _version import get_versions
25
+ import importlib . metadata
26
26
27
- __version__ = get_versions ()["version" ]
27
+ try :
28
+ # Installed package will find its version
29
+ __version__ = importlib .metadata .version (__name__ )
30
+ except importlib .metadata .PackageNotFoundError :
31
+ # Repository clones will register an unknown version
32
+ __version__ = "0.0.0+unknown"
28
33
29
34
# User API
30
35
You can’t perform that action at this time.
0 commit comments