Skip to content

Commit a4fb530

Browse files
2024.1.2
1 parent d2577be commit a4fb530

File tree

10 files changed

+35
-17
lines changed

10 files changed

+35
-17
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ project_email: blake.naccarato@gmail.com
99
project_name: boilerdaq
1010
project_owner_github_username: softboiler
1111
project_owner_name: Blake Naccarato
12-
project_version: 2024.1.1
12+
project_version: 2024.1.2
1313
python_version: '3.11'
1414
year_of_project_creation: 2023

.github/ISSUE_TEMPLATE/bug-report.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ body:
1313
id: "latest-version"
1414
attributes:
1515
label: "Please confirm that this bug affects the latest version"
16-
description: "Please verify the issue is present in the latest version by installing it with `pip install boilerdaq==2024.1.1` and checking that the bug is still there"
16+
description: "Please verify the issue is present in the latest version by installing it with `pip install boilerdaq==2024.1.2` and checking that the bug is still there"
1717
options:
1818
- required: True
19-
label: "This bug affects version `2024.1.1` of `boilerdaq`."
19+
label: "This bug affects version `2024.1.2` of `boilerdaq`."
2020
- type: "checkboxes"
2121
id: "operating-systems"
2222
attributes:

.github/issue_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Please apply the `bug` label
1010

1111
### Please confirm that this bug affects the latest version
1212

13-
<!-- Please verify the issue is present in the latest version by installing it with `pip install boilerdaq==2024.1.1` and checking that the bug is still there #} -->
13+
<!-- Please verify the issue is present in the latest version by installing it with `pip install boilerdaq==2024.1.2` and checking that the bug is still there #} -->
1414

15-
- [ ] This bug affects version `2024.1.1` of `boilerdaq`.
15+
- [ ] This bug affects version `2024.1.2` of `boilerdaq`.
1616

1717
### Please indicate which operating system(s) you are using
1818

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
1414

1515
<!-- towncrier release notes start -->
1616

17+
## [2024.1.2](https://github.com/softboiler/boilerdaq/tree/2024.1.2)
18+
19+
### Changes
20+
21+
Sign releases from now on.
22+
1723
## [2024.1.1](https://github.com/softboiler/boilerdaq/tree/2024.1.1)
1824

1925
### Changes

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "boilerdaq"
7-
version = "2024.1.1"
7+
version = "2024.1.2"
88
description = "Data acquisition for a nucleate pool boiling experimental apparatus"
99
readme = "README.md"
1010
license = { file = "LICENSE" }
@@ -22,6 +22,7 @@ classifiers = [
2222
# "Programming Language :: Python :: 3.14", # ? Unreleased (https://peps.python.org/pep-0745)
2323
]
2424
dependencies = [
25+
"boilercore>=2024.1.3",
2526
"libusb>=1.0.27",
2627
"mcculw>=1.0.0",
2728
"pandas[hdf5,performance]>=2.2.0",
@@ -52,8 +53,10 @@ ignore_errors = true
5253
[tool.fawltydeps]
5354
deps = ["pyproject.toml"]
5455
code = ["src"]
55-
ignore_undeclared = ["boilercore", "PySide6"]
56+
ignore_undeclared = ["PySide6"]
5657
ignore_unused = ["libusb", "pyusb", "pyvisa-py", "pyvisa-sim", "zeroconf"]
58+
[tool.fawltydeps.custom_mapping]
59+
boilercore = ["boilercore"]
5760

5861
[tool.pytest.ini_options]
5962
addopts = '''

requirements/dev.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
--editable docs/
33
--editable scripts/
44
--editable tests/
5-
--editable submodules/boilercore
65
debugpy==1.8.2
76
dvc[gs]==3.51.2
87
fawltydeps==0.16.0

requirements/override.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
--editable submodules/boilercore
12
cachier @ git+https://github.com/blakeNaccarato/cachier@db7f394a553a90944ca25c2d687771006e77a024

scripts/boilerdaq_tools/sync.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,21 @@
2020
"""Requirements."""
2121
DEV = REQS / "dev.in"
2222
"""Other development tools and editable local dependencies."""
23+
OVERRIDES = REQS / "override.txt"
24+
"""Overrides to satisfy otherwise incompatible combinations."""
25+
NODEPS = REQS / "nodeps.in"
26+
"""Path to dependencies which should not have their transitive dependencies compiled."""
2327
DEPS = (
2428
DEV,
2529
*[
2630
Path(editable["path"]) / "pyproject.toml"
2731
for editable in finditer(
28-
r"(?m)^(?:-e|--editable)\s(?P<path>.+)$", DEV.read_text("utf-8")
32+
r"(?m)^(?:-e|--editable)\s(?P<path>.+)$",
33+
"".join([path.read_text("utf-8") for path in [DEV, OVERRIDES, NODEPS]]),
2934
)
3035
],
3136
)
3237
"""Paths to compile dependencies for."""
33-
OVERRIDES = REQS / "override.txt"
34-
"""Overrides to satisfy otherwise incompatible combinations."""
35-
NODEPS = REQS / "nodeps.in"
36-
"""Path to dependencies which should not have their transitive dependencies compiled."""
3738
REQUIREMENTS = REQS / "requirements.txt"
3839
"""Requirements."""
3940

src/boilerdaq/daq.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pathlib import Path
88
from tempfile import NamedTemporaryFile
99
from textwrap import dedent
10-
from typing import Any, NamedTuple, Self
10+
from typing import TYPE_CHECKING, Any, NamedTuple, Self
1111
from warnings import warn
1212

1313
from boilercore.fits import fit_from_params
@@ -23,12 +23,17 @@
2323
mkQApp,
2424
setConfigOptions,
2525
)
26-
from PySide6.QtCore import Qt, QTimer, Signal
27-
from PySide6.QtGui import QKeyEvent
2826
from pyvisa import ResourceManager, VisaIOError
2927
from pyvisa.resources import MessageBasedResource
3028
from simple_pid import PID
3129

30+
if TYPE_CHECKING:
31+
from PySide6.QtCore import Qt, QTimer, Signal
32+
from PySide6.QtGui import QKeyEvent
33+
else:
34+
from pyqtgraph.Qt.QtCore import Qt, QTimer, Signal
35+
from pyqtgraph.Qt.QtGui import QKeyEvent
36+
3237
try:
3338
try:
3439
from mcculw.enums import InterfaceType

tests/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ dependencies = [
1212
"pytest-custom-exit-code==0.3.0",
1313
"pytest-github-actions-annotate-failures==0.2.0",
1414
"pytest==8.2.2",
15+
# ? Other testing
16+
"boilercore>=2024.1.3",
1517
]
1618

1719
[tool.fawltydeps]
@@ -21,7 +23,6 @@ ignore_undeclared = [
2123
"boilerdaq_docs",
2224
"boilerdaq_tests",
2325
"boilerdaq_tools",
24-
"boilercore",
2526
"boilerdaq",
2627
"PySide6",
2728
]
@@ -33,3 +34,5 @@ ignore_unused = [
3334
"pytest",
3435
"pytest-qt",
3536
]
37+
[tool.fawltydeps.custom_mapping]
38+
boilercore = ["boilercore"]

0 commit comments

Comments
 (0)