diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6e29631..f74514e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9"] + python-version: ["3.10"] fail-fast: false defaults: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c506033..dabf179 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/ambv/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black language_version: python3.10 @@ -17,7 +17,7 @@ repos: exclude: ^(.*\.py) args: [--line-length=88] - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/pycqa/isort diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index 92761f5..2bda6a4 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -2,9 +2,51 @@ Release History =============== +v0.7.1 (2023-08-18) +------------------- + +This is a maintenance release with small API, tests, CI, and documentation updates. + +API +... + +- Enabled generation of beamline elements from existing simulations. +- Moved and updated the ``prepare_*_env.py`` code from the ``examples/`` + directory of the repository to the library code, so that the new module can be + imported in IPython and Jupyter notebooks (both interactively and in the docs). + The ``argparser`` CLI argument parser was added to the module so that users can + specify the databroker config name and root path for the data files. + +Documentation +............. + +- Pinned ``furo`` minimum version to 2023.8.17 for compatiblity with Sphinx 7.2.0 + and 7.2.1. + +Tests +..... + +- Sorted out test failures happening due to a small numerical difference of the + results from the PyPI-installed ``srwpy`` in the Sirepo Docker image. +- Removed an old/irrelevant test. + +CI improvements +............... + +- Switched from the conda action to built-in Python for CI (saves >2 minutes per + run). + + v0.7.0 (2023-08-04) ------------------- +This is a major release with new features to support the ``stateless-compute`` +API and propagation parameters in Sirepo/SRW and the old API used prior to +v0.4.0 removed. + +This release includes many useful contributions from the SULI 2023 summer intern +Riley Bode. Thank you! + New features ............ - Created ``.json`` and ``.yaml`` CLI exporters and added relevant tests. diff --git a/requirements-dev.txt b/requirements-dev.txt index 89130c8..667eb4a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -9,13 +9,13 @@ pytest vcrpy>=4.3.1 # These are dependencies of various sphinx extensions for documentation. # cloud-sptheme -furo +furo>=2023.8.17 ipython jupyter matplotlib nbsphinx numpydoc pandoc -sphinx==7.1.2 +sphinx sphinx-copybutton tabulate>=0.9.0