From f730fcd1303c5efd970b7f83649313e19235d8f6 Mon Sep 17 00:00:00 2001 From: Matthew Wardrop Date: Mon, 11 Nov 2024 14:35:39 -0800 Subject: [PATCH] Install `pyenv` manually so we can get more recent versions of pyenv (and enable tests for 3.13). --- .github/workflows/tox.yml | 16 ++++++++++------ tox.ini | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index ebb6348..f1bd129 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -21,14 +21,18 @@ jobs: PANDAS_PRESENCE: ${{ matrix.pandas-presence }} steps: - uses: actions/checkout@v2 - - uses: gabrielfalcao/pyenv-action@v17 - with: - default: "${{ matrix.python-version }}" + - name: Install PyEnv + run: | + curl https://pyenv.run | bash + PYENV_ROOT="$HOME/.pyenv" + PYENV_BIN="$PYENV_ROOT/bin" + echo "$PYENV_BIN" >> $GITHUB_PATH + echo "PYENV_ROOT=$PYENV_ROOT" >> $GITHUB_ENV - name: Install Python ${{ matrix.python-version }} run: | - pyenv install "${{ matrix.python-version }}" - pyenv local "${{ matrix.python-version }}" - pyenv versions + pyenv install "${{ matrix.python-version }}" + pyenv local "${{ matrix.python-version }}" + pyenv versions - name: Install dependencies run: | pip install -U pip diff --git a/tox.ini b/tox.ini index 4e599c0..58677a1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {py36,py37,py38,py39,py310,py311,py312}-{with_pandas,without_pandas} +envlist = {py36,py37,py38,py39,py310,py311,py312,py313}-{with_pandas,without_pandas} [gh-actions] python = @@ -10,6 +10,7 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [testenv] deps=