Skip to content

Commit 706d045

Browse files
Merge pull request #7 from DiamondLightSource/add_dependencies
Add list of dependencies to dodal, bluesky, ophyd etc. Updated supported Python versions to be 3.11 and 3.12.
2 parents 58799b5 + 3345f21 commit 706d045

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
runs-on: ["ubuntu-latest"] # can add windows-latest, macos-latest
24-
python-version: ["3.10", "3.11", "3.12"]
24+
python-version: ["3.11", "3.12"]
2525
include:
2626
# Include one that runs in the dev environment
2727
- runs-on: "ubuntu-latest"

pyproject.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,24 @@ name = "sm_bluesky"
77
classifiers = [
88
"Development Status :: 3 - Alpha",
99
"License :: OSI Approved :: Apache Software License",
10-
"Programming Language :: Python :: 3.10",
1110
"Programming Language :: Python :: 3.11",
1211
"Programming Language :: Python :: 3.12",
1312
]
1413
description = "Bluesky code for Diamond's surface and magnetic materials beamline."
15-
dependencies = [] # Add project dependencies here, e.g. ["click", "numpy"]
14+
dependencies = [
15+
#
16+
# If a constraint is not set here or if the dependency is pinned to a hash
17+
# it will be auto-pinned to the latest release version by the pre-release workflow
18+
#
19+
"bluesky",
20+
"dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git",
21+
"ophyd-async >= 0.9.0a2",
22+
"scanspec"
23+
]
1624
dynamic = ["version"]
1725
license.file = "LICENSE"
1826
readme = "README.md"
19-
requires-python = ">=3.10"
27+
requires-python = ">=3.11"
2028

2129
[project.optional-dependencies]
2230
dev = [

0 commit comments

Comments
 (0)