Skip to content

Commit b94f7d6

Browse files
authored
Merge pull request #472 from kotval/libgssapi
Libgssapi
2 parents d70b27f + b75f689 commit b94f7d6

File tree

9 files changed

+156
-38
lines changed

9 files changed

+156
-38
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install tools
2020
run: |
2121
apt-get update
22-
apt-get install -y curl postgresql-client build-essential python3-dev python3-pip pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client libmysqlclient-dev
22+
apt-get install -y curl postgresql-client build-essential python3-dev python3-pip pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client libmysqlclient-dev libkrb5-dev libclang-dev
2323
env:
2424
DEBIAN_FRONTEND: noninteractive
2525

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install tools
5959
run: |
6060
apt-get update
61-
apt-get install -y curl postgresql-client build-essential pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client python3 python3-pip libicu66
61+
apt-get install -y curl postgresql-client build-essential pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client python3 python3-pip libicu66 libkrb5-dev libclang-dev
6262
pip3 install mssql-cli
6363
pip3 install cli-helpers==2.2.0
6464
ln -s /usr/bin/python3 /usr/bin/python
@@ -181,7 +181,7 @@ jobs:
181181
- name: Install tools
182182
run: |
183183
apt-get update
184-
apt-get install -y curl postgresql-client build-essential python3-dev python3-pip pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client libmysqlclient-dev python3 python3-pip libicu66
184+
apt-get install -y curl postgresql-client build-essential python3-dev python3-pip pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client libmysqlclient-dev python3 python3-pip libicu66 libkrb5-dev libclang-dev
185185
pip3 install mssql-cli
186186
pip3 install cli-helpers==2.2.0
187187
ln -s /usr/bin/python3 /usr/bin/python

.github/workflows/release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
linux:
1111
runs-on: ubuntu-latest
12-
container: quay.io/pypa/manylinux2014_x86_64
12+
container: quay.io/pypa/manylinux_2_28_x86_64
1313
strategy:
1414
matrix:
1515
python-version: [[38, "3.8"], [39, "3.9"], [310, "3.10"], [311, "3.11"]]
@@ -18,11 +18,7 @@ jobs:
1818

1919
- name: Set python version
2020
run: |
21-
if [[ "${{ matrix.python-version[0] }}" == "37" ]]; then
22-
echo "/opt/python/cp37-cp37m/bin" >> $GITHUB_PATH
23-
else
24-
echo "/opt/python/cp${{ matrix.python-version[0] }}-cp${{ matrix.python-version[0] }}/bin" >> $GITHUB_PATH
25-
fi
21+
echo "/opt/python/cp${{ matrix.python-version[0] }}-cp${{ matrix.python-version[0] }}/bin" >> $GITHUB_PATH
2622
2723
- uses: actions-rs/toolchain@v1
2824
with:
@@ -39,18 +35,19 @@ jobs:
3935

4036
- name: Install tools
4137
run: |
42-
yum install -y mysql-devel postgresql-devel freetds-devel
38+
yum install -y epel-release
39+
yum install -y mysql-devel postgresql-devel freetds-devel krb5-libs clang-devel
4340
4441
- name: Setup project
4542
run: |
4643
just bootstrap-python
4744
48-
- uses: messense/maturin-action@v1
45+
- uses: PyO3/maturin-action@v1
4946
with:
5047
rust-toolchain: 1.65.0
51-
maturin-version: v0.12.1
48+
maturin-version: v0.14.15
5249
command: build
53-
args: -m connectorx-python/Cargo.toml -i python --no-sdist --release --manylinux 2014
50+
args: -m connectorx-python/Cargo.toml -i python --release --manylinux 2_28 --features integrated-auth-gssapi
5451
env:
5552
SQLITE3_STATIC: 1
5653

@@ -59,20 +56,20 @@ jobs:
5956
cp -rf connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies
6057
6158
# rebuild the wheel to incorporate j4rs dependencies
62-
- uses: messense/maturin-action@v1
59+
- uses: PyO3/maturin-action@v1
6360
with:
6461
rust-toolchain: 1.65.0
65-
maturin-version: v0.12.1
62+
maturin-version: v0.14.15
6663
command: build
67-
args: -m connectorx-python/Cargo.toml -i python --no-sdist --release --manylinux 2014
64+
args: -m connectorx-python/Cargo.toml -i python --release --manylinux 2_28 --features integrated-auth-gssapi
6865
env:
6966
SQLITE3_STATIC: 1
7067

71-
# - uses: messense/maturin-action@v1
68+
# - uses: PyO3/maturin-action@v1
7269
# with:
73-
# maturin-version: v0.12.1
70+
# maturin-version: v0.14.15
7471
# command: build
75-
# args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --no-sdist --release --manylinux 2014
72+
# args: -m connectorx-python/Cargo.toml --target aarch64-unknown-linux-gnu -i python --release --manylinux 2_28 --features integrated-auth-gssapi
7673
# env:
7774
# SQLITE3_STATIC: 1
7875

@@ -87,6 +84,9 @@ jobs:
8784
matrix:
8885
os: ["windows-latest", "macos-10.15"]
8986
python-version: ["3.8", "3.9", "3.10", "3.11"]
87+
include:
88+
- os: "macos-10.15"
89+
features: "--features integrated-auth-gssapi"
9090
steps:
9191
- uses: actions/checkout@v2
9292

@@ -115,12 +115,12 @@ jobs:
115115
run: |
116116
just bootstrap-python
117117
118-
- uses: messense/maturin-action@v1
118+
- uses: PyO3/maturin-action@v1
119119
with:
120120
rust-toolchain: 1.65.0
121-
maturin-version: v0.12.1
121+
maturin-version: v0.14.15
122122
command: build
123-
args: -m connectorx-python/Cargo.toml -i python --no-sdist --release
123+
args: -m connectorx-python/Cargo.toml -i python --release ${{ matrix.features }}
124124
env:
125125
SQLITE3_STATIC: 1
126126

@@ -129,12 +129,12 @@ jobs:
129129
cp -r connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies
130130
131131
# rebuild the wheel to incorporate j4rs dependencies
132-
- uses: messense/maturin-action@v1
132+
- uses: PyO3/maturin-action@v1
133133
with:
134134
rust-toolchain: 1.65.0
135-
maturin-version: v0.12.1
135+
maturin-version: v0.14.15
136136
command: build
137-
args: -m connectorx-python/Cargo.toml -i python --no-sdist --release
137+
args: -m connectorx-python/Cargo.toml -i python --release ${{ matrix.features }}
138138
env:
139139
SQLITE3_STATIC: 1
140140

@@ -176,12 +176,12 @@ jobs:
176176
run: |
177177
just bootstrap-python
178178
179-
- uses: messense/maturin-action@v1
179+
- uses: PyO3/maturin-action@v1
180180
with:
181181
rust-toolchain: 1.65.0
182-
maturin-version: v0.12.1
182+
maturin-version: v0.14.15
183183
command: build
184-
args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --no-sdist --release
184+
args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --release --features integrated-auth-gssapi
185185
env:
186186
SQLITE3_STATIC: 1
187187

@@ -190,12 +190,12 @@ jobs:
190190
cp -rf connectorx-python/target/aarch64-apple-darwin/release/jassets connectorx-python/connectorx/dependencies
191191
192192
# rebuild the wheel to incorporate j4rs dependencies
193-
- uses: messense/maturin-action@v1
193+
- uses: PyO3/maturin-action@v1
194194
with:
195195
rust-toolchain: 1.65.0
196-
maturin-version: v0.12.1
196+
maturin-version: v0.14.15
197197
command: build
198-
args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --no-sdist --release
198+
args: -m connectorx-python/Cargo.toml --target aarch64-apple-darwin -i python --release --features integrated-auth-gssapi
199199
env:
200200
SQLITE3_STATIC: 1
201201

Cargo.lock

Lines changed: 65 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)