Skip to content

Commit 6b0c253

Browse files
Bump Sqlparser to 0.47 (#261)
* bump version to v0.1.47; upgrade sqlparser-rs * bump versions to 0.1.47 * stop supporting python 3.7 --------- Co-authored-by: Will Eaton <me@wseaton.com>
1 parent e4b1404 commit 6b0c253

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.1.43
2+
current_version = 0.1.47
33
commit = True
44
tag = True
55

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
48+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
4949
os: [macos-latest, windows-latest, ubuntu-latest]
5050
steps:
5151
- uses: actions/checkout@v2
52-
- uses: actions/setup-python@v2
52+
- uses: actions/setup-python@v5
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
- name: Run image
@@ -70,14 +70,19 @@ jobs:
7070
if: matrix.os == 'macos-latest'
7171
run: rustup target add aarch64-apple-darwin
7272

73+
- name: Install Rust x86_64-apple-darwin
74+
if: matrix.os == 'macos-latest'
75+
run: rustup target add x86_64-apple-darwin
76+
7377
- name: Build on macOS universal2
7478
if: matrix.os == 'macos-latest'
7579
shell: bash
7680
env:
7781
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
78-
MACOSX_DEPLOYMENT_TARGET: "10.9"
82+
MACOSX_DEPLOYMENT_TARGET: "10.15"
7983
ARCHFLAGS: -arch x86_64 -arch arm64
80-
PYO3_CROSS_LIB_DIR: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib
84+
# PYO3_CROSS_LIB_DIR: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/${{ matrix.python-version }}/lib
85+
PYO3_CROSS_PYTHON_VERSION: ${{ matrix.python-version }}
8186
run: poetry run python setup.py bdist_wheel && poetry install
8287

8388
- name: Build Python package

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqloxide"
3-
version = "0.1.43"
3+
version = "0.1.47"
44
authors = ["Will Eaton <me@wseaton.com>"]
55
edition = "2018"
66

@@ -9,13 +9,13 @@ name = "sqloxide"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pythonize = "0.20"
12+
pythonize = "0.21.1"
1313
serde = "1.0.171"
1414

1515
[dependencies.pyo3]
16-
version = "0.20.0"
16+
version = "0.21.2"
1717
features = ["extension-module"]
1818

1919
[dependencies.sqlparser]
20-
version = "0.43.1"
20+
version = "0.47.0"
2121
features = ["serde", "visitor"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sqloxide"
3-
version = "0.1.43"
3+
version = "0.1.47"
44
repository = "https://github.com/wseaton/sqloxide"
55
license = "MIT"
66
description = "Python bindings for sqlparser-rs"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup_kwargs = {
99
"name": "sqloxide",
10-
"version": "0.1.43",
10+
"version": "0.1.47",
1111
"description": "Python bindings for sqlparser-rs",
1212
"long_description": open("readme.md").read(),
1313
"long_description_content_type": "text/markdown",
@@ -18,7 +18,7 @@
1818
"url": "https://github.com/wseaton/sqloxide",
1919
"packages": packages,
2020
"package_data": package_data,
21-
"python_requires": ">=3.7,<4.0",
21+
"python_requires": ">=3.8,<4.0",
2222
}
2323
from build import *
2424

0 commit comments

Comments
 (0)