Skip to content

Commit 662892a

Browse files
authored
Release 0.6.1 (#294)
* Update download urls from figshare to s3 bucket * minimize the diff * unify the dataset download funcs * fix accedentally skipped save/load test * include a numpy legacy test * fix windows compatibility for tempfile * fix added test * Fix legacy loading logic * minimize diff in tests * Fix _assert_equal check * Bump version to 0.6.1 * fix loading logic for legacy torch * allowlist float32d * bump python and torch in workflows * add torch 2.6.0 as legacy only * fix codespell typo
1 parent 64a06bc commit 662892a

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
# https://devguide.python.org/versions/
2424
# Python Ubuntu LTS:
2525
# https://documentation.ubuntu.com/ubuntu-for-developers/reference/availability/python/
26-
python-version: ["3.10", "3.12", "3.13"]
26+
python-version: ["3.10", "3.12", "3.13", "3.14"]
2727
# We aim to support the versions on pytorch.org
2828
# as well as selected previous versions on
2929
# https://pytorch.org/get-started/previous-versions/
30-
torch-version: ["2.6.0", "2.10.0"]
30+
torch-version: ["2.9.1", "2.12.0"]
3131
sklearn-version: ["latest"]
3232
numpy-version: ["latest"]
3333

@@ -55,10 +55,10 @@ jobs:
5555
# TODO(stes): latest torch and python
5656
# requires a PyTables release compatible with
5757
# python 3.14. Update when new version is released.
58-
#- os: ubuntu-latest
59-
# torch-version: 2.9.1
60-
# python-version: "3.14"
61-
# sklearn-version: "latest"
58+
- os: ubuntu-latest
59+
torch-version: 2.9.1
60+
python-version: "3.14"
61+
sklearn-version: "latest"
6262

6363
# legacy support
6464
- os: ubuntu-latest

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN make dist
4040
FROM cebra-base
4141

4242
# install the cebra wheel
43-
ENV WHEEL=cebra-0.6.0-py3-none-any.whl
43+
ENV WHEEL=cebra-0.6.1-py3-none-any.whl
4444
WORKDIR /build
4545
COPY --from=wheel /build/dist/${WHEEL} .
4646
RUN pip install --no-cache-dir ${WHEEL}'[dev,integrations,datasets]'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CEBRA_VERSION := 0.6.0
1+
CEBRA_VERSION := 0.6.1
22

33
dist:
44
python3 -m pip install virtualenv

PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Steffen Schneider <stes@hey.com>
22
pkgname=python-cebra
33
_pkgname=cebra
4-
pkgver=0.6.0
4+
pkgver=0.6.1
55
pkgrel=1
66
pkgdesc="Consistent Embeddings of high-dimensional Recordings using Auxiliary variables"
77
url="https://cebra.ai"

cebra/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
import cebra.integrations.sklearn as sklearn
6868

69-
__version__ = "0.6.0"
69+
__version__ = "0.6.1"
7070
__all__ = ["CEBRA"]
7171
__allow_lazy_imports = False
7272
__lazy_imports = {}

cebra/distributions/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def search(self, continuous, discrete=None):
215215
Samples from the continuous index
216216
discrete:
217217
Optionally matching samples from the discrete index,
218-
used to pre-select matching indices.
218+
used to preselect matching indices.
219219
"""
220220
if continuous.shape[1] != self.continuous.shape[1]:
221221
raise ValueError(f"Shape of continuous index does not match along "

reinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pip uninstall -y cebra
1515
# Get version info after uninstalling --- this will automatically get the
1616
# most recent version based on the source code in the current directory.
1717
# $(tools/get_cebra_version.sh)
18-
VERSION=0.6.0
18+
VERSION=0.6.1
1919
echo "Upgrading to CEBRA v${VERSION}"
2020

2121
# Upgrade the build system (PEP517/518 compatible)

0 commit comments

Comments
 (0)