Commit f7c117d4 authored by Andrew Quinn's avatar Andrew Quinn
Browse files

Merge branch '87-python-3-13-support' into 'master'

Resolve "Python 3.13 support"

Closes #87

See merge request !104
parents 71ea87b9 1dca7c54
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ pytests:
  image: docker.io/python:$PYTHON_VERSIONS
  parallel:
    matrix:
      - PYTHON_VERSIONS: ["3.9", "3.10", "3.11", "3.12"]  
      - PYTHON_VERSIONS: ["3.9", "3.10", "3.11", "3.12", "3.13"]  
  script:
    - flake8
    - make clean-build
+8 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ SPHINXBUILD = sphinx-build
SPHINXPROJ    = emd
SOURCEDIR     = doc/source
BUILDDIR      = doc/build
EMD_VENV_PATH = ~/src/venv-emd-dev

# Put it first so that "make" without argument is like "make help".
help:
@@ -40,6 +41,13 @@ release-build: clean
check-dist:
	twine check dist/* --strict

clean-env:
	# This depends on UV: https://docs.astral.sh/uv/pip/environments/#creating-a-virtual-environment
	# EMD_VENV_PATH can be overwritten with environment variable for local install
	rm -fr ${EMD_VENV_PATH}
	uv venv ${EMD_VENV_PATH} --python=3.13
	source ${EMD_VENV_PATH}/bin/activate; uv pip install -r pyproject.toml --extra full

test:
	pytest
	coverage html
+10 −0
Original line number Diff line number Diff line
@@ -26,6 +26,16 @@ Work in progress...

# Stable Versions

## 0.8.1

    pip install emd==0.8.0
Released 2025-03-08

### Added
- Python 3.13 support [!87](https://gitlab.com/emd-dev/emd/-/merge_requests/104)

---

## 0.8.0

    pip install emd==0.8.0
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
    <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
    <a class="dropdown-item" href="https://emd.readthedocs.io/en/latest/">Latest (gitlab)</a>
    <a class="dropdown-item" href="https://emd.readthedocs.io/en/stable/">Stable (PyPI)</a>
    <a class="dropdown-item" href="https://emd.readthedocs.io/en/v0.8.1/">v0.8.1</a>
    <a class="dropdown-item" href="https://emd.readthedocs.io/en/v0.8.0/">v0.8.0</a>
    <a class="dropdown-item" href="https://emd.readthedocs.io/en/v0.7.0/">v0.7.0</a>
    <a class="dropdown-item" href="https://emd.readthedocs.io/en/v0.6.2/">v0.6.2</a>
+2 −2
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ The `stable version of the code <https://pypi.org/project/emd/>`_ is hosted on `

    .. code-block::

        pip install emd==0.8.0
        pip install emd==0.8.1



@@ -80,7 +80,7 @@ The `stable version of the code <https://pypi.org/project/emd/>`_ is hosted on `
          - defaults
          - conda-forge
        dependencies:
          - emd==0.8.0
          - emd==0.8.1

    This environment can be customised to include any other packages that you might be working with. The last two lines can also be added to an existing conda environment configuration file to include emd in that env.

Loading