Skip to content

Commit 9e41e3c

Browse files
dixonjoelJoel Dixon
andauthored
Remove Python 3.9 and include 3.14 (#60)
* Remove Python 3.9 and include 3.14 * Get all needed files * Add checks_succeeded summary stp and tests_succeeded * Use Python 3.14 for checking examples * Explicitly specify grpcio-tools version so install works * Rename to NI Measurement Data Services --------- Co-authored-by: Joel Dixon <joel.dixon@emerson.com>
1 parent 50ec30c commit 9e41e3c

File tree

10 files changed

+1345
-1111
lines changed

10 files changed

+1345
-1111
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,25 @@ jobs:
1818
check_docs:
1919
name: Check docs for ni.datastore
2020
uses: ./.github/workflows/check_docs.yml
21+
checks_succeeded:
22+
name: Checks succeeded
23+
needs: [check_analyzers, check_examples, check_docs]
24+
runs-on: ubuntu-latest
25+
steps:
26+
- run: exit 0
2127
run_unit_tests:
2228
strategy:
2329
matrix:
2430
os: [windows-latest, ubuntu-latest]
25-
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
31+
python-version: ['3.10', 3.11, 3.12, 3.13, 3.14]
2632
name: Run unit tests
2733
uses: ./.github/workflows/run_unit_tests.yml
2834
with:
2935
python-version: ${{ matrix.python-version }}
3036
os: ${{ matrix.os }}
37+
tests_succeeded:
38+
name: Unit tests succeeded
39+
needs: [run_unit_tests]
40+
runs-on: ubuntu-latest
41+
steps:
42+
- run: exit 0

.github/workflows/check_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [windows-latest, ubuntu-latest, macos-latest]
13-
python-version: [3.13]
13+
python-version: [3.14]
1414
example-name: ['overview']
1515
runs-on: ${{ matrix.os }}
1616
steps:

.github/workflows/check_ni_datastore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [windows-latest, ubuntu-latest, macos-latest]
13-
python-version: [3.9, 3.13]
13+
python-version: ['3.10', 3.14]
1414
runs-on: ${{ matrix.os }}
1515
steps:
1616
- name: Check out repo

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
# Table of Contents
22

33
- [Table of Contents](#table-of-contents)
4+
- [Measurement Data Services API for Python](#measurement-data-services-api-for-python)
45
- [About](#about)
56
- [Operating System Support](#operating-system-support)
67
- [Python Version Support](#python-version-support)
8+
- [Installation](#installation)
79

8-
# Measurement Data Store API for Python
10+
# Measurement Data Services API for Python
911

1012
`datastore-python` contains Python code for writing to and reading from
11-
the [NI Measurement Data Store](https://github.com/ni/datastore-service).
13+
[NI Measurement Data Services](https://github.com/ni/datastore-service).
1214
It will include examples of how to use the Python API.
1315

1416
# About
1517

1618
`ni.datastore` is the main Python package in this repo that
1719
provides APIs for publishing and retrieving data from the NI
18-
Measurement Data Store
20+
Measurement Data Services
1921

2022
NI created and supports this package.
2123

@@ -25,7 +27,7 @@ NI created and supports this package.
2527

2628
## Python Version Support
2729

28-
`ni.datastore` supports CPython 3.9+.
30+
`ni.datastore` supports CPython 3.10+.
2931

3032
## Installation
3133

docs/intro.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Operating System Support
1616
Python Version Support
1717
----------------------
1818

19-
``ni.datastore`` supports CPython 3.9+.
19+
``ni.datastore`` supports CPython 3.10+.
2020

2121
Installation
2222
------------

examples/overview/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ the [NI Measurement Data Store](https://github.com/ni/datastore-service).
55

66
## Required Software
77

8-
`overview` requires Python 3.9 or greater
8+
`overview` requires Python 3.10 or greater
99

1010
## Usage
1111

examples/overview/poetry.lock

Lines changed: 409 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/overview/pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ classifiers = [
1919
"Operating System :: Microsoft :: Windows",
2020
"Operating System :: POSIX",
2121
"Programming Language :: Python :: 3",
22-
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
2423
"Programming Language :: Python :: 3.11",
2524
"Programming Language :: Python :: 3.12",
2625
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
2727
"Programming Language :: Python :: Implementation :: CPython",
2828
]
2929
dynamic = ["dependencies"]
30-
requires-python = '>=3.9,<4.0'
30+
requires-python = '>=3.10,<4.0'
3131

3232
[[tool.poetry.packages]]
3333
include = "src"
@@ -39,13 +39,19 @@ overview = "src.overview:main"
3939
requires-poetry = '>=2.1,<3.0'
4040

4141
[tool.poetry.dependencies]
42-
python = "^3.9"
42+
python = "^3.10"
4343
protobuf = {version=">=4.21"}
4444
ni-datamonikers-v1-client = { version = ">=0.1.0.dev1", allow-prereleases = true }
4545
ni-measurements-data-v1-client = { version = ">=0.1.0.dev2", allow-prereleases = true }
4646
ni-measurements-metadata-v1-client = { version = ">=0.1.0.dev2", allow-prereleases = true }
4747
ni-protobuf-types = { version = ">=1.0.1.dev0", allow-prereleases = true }
4848
hightime = { version = ">=0.3.0.dev0", allow-prereleases = true }
49+
grpcio-tools = [
50+
{ version = "1.49.1", python = ">=3.9,<3.12" },
51+
{ version = "1.59.0", python = ">=3.12,<3.13" },
52+
{ version = "1.67.0", python = ">=3.13,<3.14" },
53+
{ version = "1.75.1", python = "^3.14" },
54+
]
4955

5056
[tool.poetry.group.dev.dependencies]
5157
types-grpcio = ">=1.0"

poetry.lock

Lines changed: 900 additions & 1071 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ni.datastore"
33
version = "0.1.0.dev5"
44
license = "MIT"
5-
description = "APIs for publishing and retrieving data from the NI Measurement Data Store"
5+
description = "APIs for publishing and retrieving data from NI Measurement Data Services"
66
authors = [{name = "NI", email = "opensource@ni.com"}]
77
maintainers = [
88
{name = "Johann Scholtz", email = "johann.scholtz@emerson.com"},
@@ -20,22 +20,22 @@ classifiers = [
2020
"Operating System :: Microsoft :: Windows",
2121
"Operating System :: POSIX",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
2625
"Programming Language :: Python :: 3.12",
2726
"Programming Language :: Python :: 3.13",
27+
"Programming Language :: Python :: 3.14",
2828
"Programming Language :: Python :: Implementation :: CPython",
2929
]
3030
dynamic = ["dependencies"]
31-
requires-python = '>=3.9,<4.0'
31+
requires-python = '>=3.10,<4.0'
3232

3333
[tool.poetry]
3434
packages = [{include = "ni", from = "src"}]
3535
requires-poetry = '>=2.1,<3.0'
3636

3737
[tool.poetry.dependencies]
38-
python = "^3.9"
38+
python = "^3.10"
3939
protobuf = {version=">=4.21"}
4040
ni-datamonikers-v1-client = { version = ">=0.1.0.dev1", allow-prereleases = true }
4141
ni-measurements-data-v1-client = { version = ">=0.1.0.dev2", allow-prereleases = true }
@@ -70,7 +70,6 @@ optional = true
7070
[tool.poetry.group.docs.dependencies]
7171
# The latest Sphinx requires a recent Python version.
7272
Sphinx = [
73-
{ version = ">=7.4", python = ">=3.9,<3.10" },
7473
{ version = ">=8.1", python = ">=3.10,<3.11" },
7574
{ version = ">=8.2", python = "^3.11" },
7675
]

0 commit comments

Comments
 (0)