diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 772b71a..24c4e51 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.43 +current_version = 0.1.47 commit = True tag = True diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4b8e11..d2b35fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,11 +45,11 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [macos-latest, windows-latest, ubuntu-latest] steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Run image @@ -70,14 +70,19 @@ jobs: if: matrix.os == 'macos-latest' run: rustup target add aarch64-apple-darwin + - name: Install Rust x86_64-apple-darwin + if: matrix.os == 'macos-latest' + run: rustup target add x86_64-apple-darwin + - name: Build on macOS universal2 if: matrix.os == 'macos-latest' shell: bash env: DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer - MACOSX_DEPLOYMENT_TARGET: "10.9" + MACOSX_DEPLOYMENT_TARGET: "10.15" ARCHFLAGS: -arch x86_64 -arch arm64 - PYO3_CROSS_LIB_DIR: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib + # PYO3_CROSS_LIB_DIR: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/${{ matrix.python-version }}/lib + PYO3_CROSS_PYTHON_VERSION: ${{ matrix.python-version }} run: poetry run python setup.py bdist_wheel && poetry install - name: Build Python package diff --git a/Cargo.toml b/Cargo.toml index 82cdd95..f764157 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqloxide" -version = "0.1.43" +version = "0.1.47" authors = ["Will Eaton "] edition = "2018" @@ -9,13 +9,13 @@ name = "sqloxide" crate-type = ["cdylib"] [dependencies] -pythonize = "0.20" +pythonize = "0.21.1" serde = "1.0.171" [dependencies.pyo3] -version = "0.20.0" +version = "0.21.2" features = ["extension-module"] [dependencies.sqlparser] -version = "0.43.1" +version = "0.47.0" features = ["serde", "visitor"] diff --git a/pyproject.toml b/pyproject.toml index 0c0c844..b2ef12d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sqloxide" -version = "0.1.43" +version = "0.1.47" repository = "https://github.com/wseaton/sqloxide" license = "MIT" description = "Python bindings for sqlparser-rs" diff --git a/setup.py b/setup.py index c74eab7..2d34f41 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup_kwargs = { "name": "sqloxide", - "version": "0.1.43", + "version": "0.1.47", "description": "Python bindings for sqlparser-rs", "long_description": open("readme.md").read(), "long_description_content_type": "text/markdown", @@ -18,7 +18,7 @@ "url": "https://github.com/wseaton/sqloxide", "packages": packages, "package_data": package_data, - "python_requires": ">=3.7,<4.0", + "python_requires": ">=3.8,<4.0", } from build import *