Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versioneer #290

Merged
merged 3 commits into from
Jan 23, 2024
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
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ sphinx:
configuration: doc/source/conf.py
builder: html

build:
os: ubuntu-22.04
tools:
python: "3.8"

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: doc/requirements.txt
- method: pip
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
`Unreleased <https://github.com/pace-neutrons/Euphonic/compare/v1.3.0...HEAD>`_
-------------------------------------------------------------------------------

- Maintenance

- Updated versioneer for compatibility with Python 3.12
- In tests, avoid checking an attribute of 3D plots which is unreliable in
recent matplotlib versions
- Update readthedocs configuration to fix documentation builds

`v1.3.0 <https://github.com/pace-neutrons/Euphonic/compare/v1.2.1...v1.3.0>`_
-----------------------------------------------------------------------------

Expand Down
5 changes: 2 additions & 3 deletions euphonic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']

import pint
from pint import UnitRegistry
Expand Down
Loading