From f5d14192b8fea5845d601d279061056b54a1fda9 Mon Sep 17 00:00:00 2001 From: Nicholas Devenish Date: Mon, 6 Nov 2023 15:25:34 +0000 Subject: [PATCH 1/3] Update removed datablock module and warning (#665) This attempted to import some code from experiment_list before printing the warning, but used an incorrect import path. This didn't get tested because this was added in the commit otherwise removing datablock completely. --- newsfragments/665.bugfix | 1 + src/dxtbx/datablock.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 newsfragments/665.bugfix diff --git a/newsfragments/665.bugfix b/newsfragments/665.bugfix new file mode 100644 index 000000000..a0a44e441 --- /dev/null +++ b/newsfragments/665.bugfix @@ -0,0 +1 @@ +Importing the (deprecated and removed) ``dxtbx.datablock`` module failed to display warning properly. diff --git a/src/dxtbx/datablock.py b/src/dxtbx/datablock.py index 436f52ea3..ea8d8fc3e 100644 --- a/src/dxtbx/datablock.py +++ b/src/dxtbx/datablock.py @@ -2,7 +2,7 @@ import warnings -from dxtbx.experiment_list import ( +from dxtbx.model.experiment_list import ( BeamComparison, DetectorComparison, FormatChecker, From a06323a64dd1062087f502e5fd918efb0a10428c Mon Sep 17 00:00:00 2001 From: DiamondLightSource-build-server Date: Mon, 20 Nov 2023 04:57:20 +0000 Subject: [PATCH 2/3] =?UTF-8?q?Bump=20version:=203.17.0=20=E2=86=92=203.17?= =?UTF-8?q?.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index d63f26bbb..b6151882e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.17.0 +current_version = 3.17.1 commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P[a-z]+)?(?P\d+)? diff --git a/setup.py b/setup.py index 9827c6e2f..463844b6f 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ # Static version number which is updated by bump2version # Do not change this manually - use 'bump2version ' -__version_tag__ = "3.17.0" +__version_tag__ = "3.17.1" setup_kwargs = { "name": "dxtbx", From 2ae4fc694d76732344ee58f70c38f97aaa83d697 Mon Sep 17 00:00:00 2001 From: DiamondLightSource-build-server Date: Mon, 20 Nov 2023 04:57:21 +0000 Subject: [PATCH 3/3] Towncrier for 3.17.1 towncrier --name "DIALS" --version 3.17.1 --- CHANGELOG.rst | 9 +++++++++ newsfragments/665.bugfix | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) delete mode 100644 newsfragments/665.bugfix diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cb89dc0a5..c53319059 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,12 @@ +DIALS 3.17.1 (2023-11-20) +========================= + +Bugfixes +-------- + +- Importing the (deprecated and removed) ``dxtbx.datablock`` module failed to display warning properly. (`#665 `_) + + dxtbx 3.17.0 (2023-11-03) ========================= diff --git a/newsfragments/665.bugfix b/newsfragments/665.bugfix deleted file mode 100644 index a0a44e441..000000000 --- a/newsfragments/665.bugfix +++ /dev/null @@ -1 +0,0 @@ -Importing the (deprecated and removed) ``dxtbx.datablock`` module failed to display warning properly.