1
0
Fork 0

Adding upstream version 26.10.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-17 07:38:52 +01:00
parent 412e82cbc6
commit 5b8e67f8b8
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
66 changed files with 79349 additions and 76628 deletions

View file

@ -10,13 +10,14 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Create a virtual environment
run: |
python -m venv .venv
@ -28,8 +29,4 @@ jobs:
- name: Run checks (linter, code style, tests)
run: |
source ./.venv/bin/activate
if [[ ${{ matrix.python-version }} == "3.7" ]]; then
make test test-rs
else
make check
fi
make check

View file

@ -55,13 +55,13 @@ jobs:
- uses: actions/setup-python@v5
if: matrix.os == 'windows'
with:
python-version: '3.7'
python-version: '3.8'
architecture: ${{ matrix.python-architecture || 'x64' }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --interpreter 3.7 3.8 3.9 3.10 3.11 3.12 3.13
args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12 3.13
sccache: 'true'
manylinux: auto
working-directory: ./sqlglotrs
@ -122,7 +122,7 @@ jobs:
python -m venv .venv
source ./.venv/bin/activate
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build twine
make install-dev
- name: Build and publish
env:
@ -130,7 +130,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
source ./.venv/bin/activate
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*
- name: Update API docs
run: |