v1.0.2 (2022-07-26)

Backwards Incompatible Changes

  • Dropped support for Python 3.6. (#73)

Features

  • Updated “SIS Crate” digitizers mapper (HDFMapDigiSISCrate) so the analog-digital-converters can have enabled/active boards without enabled/active channels. (#61)

  • Updated HDFMapControl6K so the identification and mapping of probe configurations uses the combination of the receptacle number and probe name as an unique id, opposed to just the probe name. (#63)

  • Created helper function bapsflib.utils._bytes_to_str to convert byte literals to utf-8 strings. (#64)

  • Made indexing of datasets more robust in a few locations in anticipation of allowing h5py >= 3.0, and thus accounting for h5py’s change in indexing behavior. (#65)

Documentation Improvements

Trivial/Internal Changes

  • Refactored bapsflib module imports to be consistent with the style enforced by isort. (#66)

  • Refactored bapsflib using black==21.7b0 styling formatter, and converted many string concatenations and format strings into f-strings . (#67)

  • Added .git-blame-ignore-revs to package so git blame ignores the major refactoring commits from isort PR #66 and black PR #67. (#68)

  • Converted all remaining relative imports to absolute imports. (#83)

  • Added codespell as a package “extras” dependency. (#86)

Package Management

  • Added GitHub Action check_pr_changelog.yml to check for valid change log entries on a pull request. (#58)

  • Added GitHub Action tests.yml for testing of pushes to master, version tags, pull requests, and cron jobs every Sunday at 3:13 am PT. Tests are setup to run on the latest versions of ubuntu, MacOS, and Windows. Tests are setup to run on Python 3.6, 3.7, and 3.8. Tests also run on min versions of h5py (v2.8.0) and numpy (v1.14). (#58)

  • Added isort configuration to pyproject.toml. (#66)

  • Created GitHub Action linters.yml with the isort/isort-action to check that module imports are properly styled. (#66)

  • Added black==21.7b0 to the “extras” dependencies and add its configuration to pyproject.toml. (#67)

  • Added to GitHub Action linters.yml` the psf/black action to check that new code is formatted properly. (#67)

  • Deleted pep8speaks.yml and disconnect CI from repo since package is adopting black and associated GitHub Action. (#67)

  • Added a GitHub Dependabot to keep versions of GitHub Actions up to date. (#72)

  • Reworked testing GitHub Action workflow such that: two base tests are initially run; if the base tests pass, then the full matrix of tests are run; and if the full matrix of tests passes, then the tests on minimum versions are run. (#72)

  • Updated GitHub Actions for linters isort and black such that the associated package versions used are taken from bapsflib’s requirements files. (#72)

  • Set numpy dependency to >= 1.15. (#73)

  • Set package dependency coverage[toml] >= 4.5.1. The [toml] option allows for the coverage configuration to be defined in pyproject.toml, and v4.5.1 is the first release with this functionality. (#74)

  • Moved the coverage configuration from .coveragerc to pyproject.toml. (#74)

  • Removed setuptools and setuptools_scm from setup.cfg install dependencies since they are already listed as build dependencies in pyproject.toml. (#74)

  • Exposed requirements/build.txt into requirements/install.txt since setuptools and setuptools_scm are both build and install dependencies. (#74)

  • Added workflow python-publish.yml to GitHub Actions that builds and publishes a release to PyPI when using GitHub’s Releases functionality. (#84)

  • Added an import bapsflib test to the test.yml GitHub Action workflow. (#85)

  • Added a package build and install test to the test.yml GitHub Action workflow. (#85)

  • Added a codespell test to the linters.yml GitHub Action workflow. (#86)