Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ concurrency:
jobs:
unit-test:
name: Run unit tests
runs-on: ubuntu-22.04 # 3.7 needs 22.04, can move to -latest when we drop 3.7 support
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.10", "3.11", "3.12", "3.13"]

steps:
- name: Set up Python ${{ matrix.python }}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ historical look back of the housekeeping data.
Dependencies
------------

This code targets Python 3.7+.
This code targets Python 3.10+.

* `so3g`_ - Required for using the HK Aggregator Agent.
* `crossbar`_ (optional) - The supported WAMP router. Controllable via
Expand Down
6 changes: 2 additions & 4 deletions docs/developer/writing-plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,8 @@ running:
.. code-block:: python

import sys
if sys.version_info < (3, 10):
from importlib_metadata import entry_points
else:
from importlib.metadata import entry_points

from importlib.metadata import entry_points

discovered_plugins = entry_points(group='ocs.plugins')
print(discovered_plugins)
Expand Down
5 changes: 1 addition & 4 deletions ocs/agent_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
import sys
import warnings

if sys.version_info < (3, 10):
from importlib_metadata import entry_points
else:
from importlib.metadata import entry_points
from importlib.metadata import entry_points

from ocs import site_config

Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,21 @@ name = "ocs"
dynamic = ["version"]
description = "Observatory Control System"
readme = "README.rst"
requires-python = ">=3.7"
requires-python = ">=3.10"
classifiers = [
"Framework :: Twisted",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Astronomy",
]
dependencies = [
"autobahn",
"deprecation",
"importlib_metadata;python_version<\"3.10\"",
"influxdb",
"influxdb-client[ciso]",
"numpy",
Expand Down