Adding upstream version 26.10.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
412e82cbc6
commit
5b8e67f8b8
66 changed files with 79349 additions and 76628 deletions
9
.github/workflows/python-package.yml
vendored
9
.github/workflows/python-package.yml
vendored
|
@ -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
|
||||
|
|
8
.github/workflows/python-publish.yml
vendored
8
.github/workflows/python-publish.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue