Skip to content
Merged
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
2 changes: 1 addition & 1 deletion pylhc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__title__ = "pylhc"
__description__ = "An accelerator physics script collection for the OMC team at CERN."
__url__ = "https://github.com/pylhc/pylhc"
__version__ = "0.8.3"
__version__ = "0.8.4"
__author__ = "pylhc"
__author_email__ = "pylhc@github.com"
__license__ = "MIT"
Expand Down
7 changes: 7 additions & 0 deletions pylhc/bsrt_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@
import pickle
import sys
import time
import warnings
from pathlib import Path

from omc3.definitions import formats
from omc3.utils.mock import cern_network_import

warnings.warn(
"The pyjapc package has reached end-of-life and is not supported on Python 3.12+. "
"On higher Python versions this script will not run.",
stacklevel=2
)

pyjapc = cern_network_import("pyjapc")


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ cern = [
"omc3[cern] >= 0.15",
"pjlsa >= 0.2",
"pytimber >= 3.0", # NXCALS support
"pyjapc",
"pyjapc; python_version < '3.12'",
]
test = [
"pytest>=7.0",
Expand Down
Loading