Skip to content

Commit e1c5df8

Browse files
authored
Fix __version__ and prepare for patch release (#1013)
1 parent 62424fa commit e1c5df8

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

.github/workflows/pr-pytest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: |
2828
conda install pytest
2929
conda install -c conda-forge pydicom
30+
pip install -e .
3031
- name: Get OpenSSL version
3132
run: |
3233
python -c "import ssl; print('OpenSSL:', ssl.OPENSSL_VERSION_INFO)"

docs/_static/switcher.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
{
88
"name": "3.0 (stable)",
9-
"version": "3.0.0",
9+
"version": "3.0.1",
1010
"url": "https://pydicom.github.io/pynetdicom/stable/",
1111
"preferred": true
1212
},

docs/changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Releases
77
.. toctree::
88
:maxdepth: 1
99

10+
v3.0.1
1011
v3.0.0
1112
v2.1.1
1213
v2.1.0

docs/changelog/v3.0.1.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. _v3.0.1:
2+
3+
3.0.1
4+
=====
5+
6+
Fixes
7+
-----
8+
* Fixed incorrect `pynetdicom.__version__` (:issue:`1012`)

pynetdicom/_version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"""Version information for pynetdicom based on PEP396 and 440"""
22

3+
from importlib.metadata import version
34
import re
45

56

67
# pynetdicom version
7-
__version__: str = "3.0.0.dev0"
8+
__version__: str = version("pynetdicom")
89

910
# DICOM Standard version used for SOP classes and instances
1011
__dicom_version__: str = "2025b"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ maintainers = [
3030
]
3131
name = "pynetdicom"
3232
readme = "README.rst"
33-
version = "3.0.0"
33+
version = "3.0.1"
3434
requires-python = ">=3.10"
3535
dependencies = ["pydicom >=3, <4"]
3636

0 commit comments

Comments
 (0)