From d5247e7ed2b1797c34675ea4f0933c55c9d12d50 Mon Sep 17 00:00:00 2001 From: Steffen Schneider Date: Sat, 7 Oct 2023 21:13:10 +0200 Subject: [PATCH 1/2] Bump version to 0.3.0 --- Dockerfile | 2 +- Makefile | 2 +- PKGBUILD | 2 +- cebra/__init__.py | 2 +- reinstall.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c90da78f..078ce767 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ RUN make dist FROM cebra-base # install the cebra wheel -ENV WHEEL=cebra-0.3.0rc2-py2.py3-none-any.whl +ENV WHEEL=cebra-0.3.0-py2.py3-none-any.whl WORKDIR /build COPY --from=wheel /build/dist/${WHEEL} . RUN pip install --no-cache-dir ${WHEEL}'[dev,integrations,datasets]' diff --git a/Makefile b/Makefile index eb9ae3a9..257401ba 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ build: dist archlinux: mkdir -p dist/arch cp PKGBUILD dist/arch - cp dist/cebra-0.3.0rc2.tar.gz dist/arch + cp dist/cebra-0.3.0.tar.gz dist/arch (cd dist/arch; makepkg --skipchecksums -f) # NOTE(stes): Ensure that no old tempfiles are present. Ideally, move this into diff --git a/PKGBUILD b/PKGBUILD index d074de32..8301ab53 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Steffen Schneider pkgname=python-cebra _pkgname=cebra -pkgver=0.3.0rc2 +pkgver=0.3.0 pkgrel=1 pkgdesc="Consistent Embeddings of high-dimensional Recordings using Auxiliary variables" url="https://cebra.ai" diff --git a/cebra/__init__.py b/cebra/__init__.py index abf816b2..44e9770d 100644 --- a/cebra/__init__.py +++ b/cebra/__init__.py @@ -47,7 +47,7 @@ import cebra.integrations.sklearn as sklearn -__version__ = "0.3.0rc2" +__version__ = "0.3.0" __all__ = ["CEBRA"] __allow_lazy_imports = False __lazy_imports = {} diff --git a/reinstall.sh b/reinstall.sh index 95291721..ad8cb83a 100755 --- a/reinstall.sh +++ b/reinstall.sh @@ -15,7 +15,7 @@ pip uninstall -y cebra # Get version info after uninstalling --- this will automatically get the # most recent version based on the source code in the current directory. # $(tools/get_cebra_version.sh) -VERSION=0.3.0rc2 +VERSION=0.3.0 echo "Upgrading to CEBRA v${VERSION}" # Upgrade the build system (PEP517/518 compatible) From b20d89316cf953a0655728efa1dbac21c1009fb0 Mon Sep 17 00:00:00 2001 From: Steffen Schneider Date: Sat, 7 Oct 2023 21:14:43 +0200 Subject: [PATCH 2/2] Add missing license headers --- tests/test_plotly.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/test_plotly.py b/tests/test_plotly.py index b999cf39..4f0a926b 100644 --- a/tests/test_plotly.py +++ b/tests/test_plotly.py @@ -1,3 +1,14 @@ +# +# (c) All rights reserved. ECOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE, +# Switzerland, Laboratory of Prof. Mackenzie W. Mathis (UPMWMATHIS) and +# original authors: Steffen Schneider, Jin H Lee, Mackenzie W Mathis. 2023. +# +# Source code: +# https://github.com/AdaptiveMotorControlLab/CEBRA +# +# Please see LICENSE.md for the full license document: +# https://github.com/AdaptiveMotorControlLab/CEBRA/LICENSE.md +# import matplotlib import numpy as np import plotly.graph_objects as go