From bebad2dd03c96fdd4dda622ea9cc285a33dea548 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 28 Apr 2026 09:34:51 +0200 Subject: [PATCH 1/2] Update python --- .github/workflows/main.yml | 21 ++++++++++----------- README.md | 4 ---- setup.py | 13 +++++++------ 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78ff708..96cdbb1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,22 +20,21 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.10, 3.14] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v6 - - name: Setup conda - uses: conda-incubator/setup-miniconda@v2 + - name: Install Conda environment with Micromamba + uses: mamba-org/setup-micromamba@v2 with: - python-version: ${{ matrix.python-version }} - mamba-version: "*" - auto-activate-base: false - channels: conda-forge - - - name: Install dependencies - run: mamba install pytest pytest-cov flake8 + environment-name: py2vega + create-args: >- + python=${{ matrix.python-version }} + pytest + pytest-cov + flake8 - name: Install py2vega run: pip install -e . diff --git a/README.md b/README.md index 87b1dd9..cd06f45 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # py2vega - -[![Travis](https://travis-ci.org/QuantStack/py2vega.svg?branch=master)](https://travis-ci.org/QuantStack/py2vega) -[![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/QuantStack/Lobby) - A Python to [Vega-expression](https://vega.github.io/vega/docs/expressions/) transpiler. ## Installation diff --git a/setup.py b/setup.py index dd08a69..f3d2860 100644 --- a/setup.py +++ b/setup.py @@ -14,9 +14,9 @@ license='BSD 3-Clause', keywords='python vega vega-expression', packages=find_packages(exclude=['test']), - python_requires='>=3.6', + python_requires='>=3.10', install_requires=[ - 'gast>=0.4.0,<0.5' + 'gast>=0.7.0,<0.8' ], extras_require={ 'testing': ['pytest', 'flake8'], @@ -26,10 +26,11 @@ 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Software Development :: Libraries :: Python Modules', ], ) From 0a540aedd5219c1906a6f321e355afe3fb58e986 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 28 Apr 2026 09:37:50 +0200 Subject: [PATCH 2/2] Yep those are strings --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96cdbb1..70628b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.10, 3.14] + python-version: ["3.10", "3.14"] steps: - name: Checkout