Compare commits
10 commits
bb2d35ec0c
...
2f68084bdd
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f68084bdd | |||
|
|
fb134e0b80 | ||
|
|
1430d530a8 | ||
|
|
5cbab0b2cd | ||
|
|
fc88397ef2 | ||
|
|
de925eba74 | ||
|
|
52d5a50164 | ||
|
|
fe4edf2016 | ||
|
|
5a931058dd | ||
|
|
57e0e58231 |
4 changed files with 36 additions and 13 deletions
41
.github/workflows/pythonpackage.yml
vendored
41
.github/workflows/pythonpackage.yml
vendored
|
|
@ -69,101 +69,121 @@ jobs:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: x86_64
|
cibw_archs: x86_64
|
||||||
cibw_build: "cp*-manylinux_*"
|
cibw_build: "cp*-manylinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86_64
|
compile_target: x86_64
|
||||||
out: x86_64-manylinux
|
out: x86_64-manylinux
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: x86_64
|
cibw_archs: x86_64
|
||||||
cibw_build: "cp*-musllinux_*"
|
cibw_build: "cp*-musllinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86_64
|
compile_target: x86_64
|
||||||
out: x86_64-musllinux
|
out: x86_64-musllinux
|
||||||
- os: ubuntu-24.04-arm
|
- os: ubuntu-24.04-arm
|
||||||
cibw_archs: aarch64
|
cibw_archs: aarch64
|
||||||
cibw_build: "cp*-manylinux_*"
|
cibw_build: "cp*-manylinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: armv8
|
compile_target: armv8
|
||||||
out: armv8-manylinux
|
out: armv8-manylinux
|
||||||
- os: ubuntu-24.04-arm
|
- os: ubuntu-24.04-arm
|
||||||
cibw_archs: aarch64
|
cibw_archs: aarch64
|
||||||
cibw_build: "cp*-musllinux_*"
|
cibw_build: "cp*-musllinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: armv8
|
compile_target: armv8
|
||||||
out: armv8-musllinux
|
out: armv8-musllinux
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: i686
|
cibw_archs: i686
|
||||||
cibw_build: "cp*-manylinux_*"
|
cibw_build: "cp*-manylinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86
|
compile_target: x86
|
||||||
out: x86-manylinux
|
out: x86-manylinux
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: i686
|
cibw_archs: i686
|
||||||
cibw_build: "cp*-musllinux_*"
|
cibw_build: "cp*-musllinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86
|
compile_target: x86
|
||||||
out: x86-musllinux
|
out: x86-musllinux
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: ppc64le
|
cibw_archs: ppc64le
|
||||||
cibw_build: "cp36-manylinux_* cp37-manylinux_* cp38-manylinux_* cp39-manylinux_*"
|
cibw_build: "cp38-manylinux_* cp39-manylinux_* cp310-manylinux_* cp311-manylinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: ppc64le
|
compile_target: ppc64le
|
||||||
out: pp64le-manylinux-1
|
out: pp64le-manylinux-1
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: ppc64le
|
cibw_archs: ppc64le
|
||||||
cibw_build: "cp310-manylinux_* cp311-manylinux_* cp312-manylinux_* cp313-manylinux_*"
|
cibw_build: "cp*-manylinux_*"
|
||||||
|
cibw_skip: "cp38-manylinux_* cp39-manylinux_* cp310-manylinux_* cp311-manylinux_*"
|
||||||
compile_target: ppc64le
|
compile_target: ppc64le
|
||||||
out: pp64le-manylinux-2
|
out: pp64le-manylinux-2
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: ppc64le
|
cibw_archs: ppc64le
|
||||||
cibw_build: "cp36-musllinux_* cp37-musllinux_* cp38-musllinux_* cp39-musllinux_*"
|
cibw_build: "cp38-musllinux_* cp39-musllinux_* cp310-musllinux_* cp311-musllinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: ppc64le
|
compile_target: ppc64le
|
||||||
out: ppc64le-musllinux-1
|
out: ppc64le-musllinux-1
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: ppc64le
|
cibw_archs: ppc64le
|
||||||
cibw_build: "cp310-musllinux_* cp311-musllinux_* cp312-musllinux_* cp313-musllinux_*"
|
cibw_build: "cp*-musllinux_*"
|
||||||
|
cibw_skip: "cp38-musllinux_* cp39-musllinux_* cp310-musllinux_* cp311-musllinux_*"
|
||||||
compile_target: ppc64le
|
compile_target: ppc64le
|
||||||
out: ppc64le-musllinux-2
|
out: ppc64le-musllinux-2
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: s390x
|
cibw_archs: s390x
|
||||||
cibw_build: "cp36-manylinux_* cp37-manylinux_* cp38-manylinux_* cp39-manylinux_*"
|
cibw_build: "cp38-manylinux_* cp39-manylinux_* cp310-manylinux_* cp311-manylinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: s390x
|
compile_target: s390x
|
||||||
out: s390x-manylinux-1
|
out: s390x-manylinux-1
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: s390x
|
cibw_archs: s390x
|
||||||
cibw_build: "cp310-manylinux_* cp311-manylinux_* cp312-manylinux_* cp313-manylinux_*"
|
cibw_build: "cp*-manylinux_*"
|
||||||
|
cibw_skip: "cp38-manylinux_* cp39-manylinux_* cp310-manylinux_* cp311-manylinux_*"
|
||||||
compile_target: s390x
|
compile_target: s390x
|
||||||
out: s390x-manylinux-2
|
out: s390x-manylinux-2
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: s390x
|
cibw_archs: s390x
|
||||||
cibw_build: "cp36-musllinux_* cp37-musllinux_* cp38-musllinux_* cp39-musllinux_*"
|
cibw_build: "cp38-musllinux_* cp39-musllinux_* cp310-musllinux_* cp311-musllinux_*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: s390x
|
compile_target: s390x
|
||||||
out: s390x-musllinux-1
|
out: s390x-musllinux-1
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cibw_archs: s390x
|
cibw_archs: s390x
|
||||||
cibw_build: "cp310-musllinux_* cp311-musllinux_* cp312-musllinux_* cp313-musllinux_*"
|
cibw_build: "cp*-musllinux_*"
|
||||||
|
cibw_skip: "cp38-musllinux_* cp39-musllinux_* cp310-musllinux_* cp311-musllinux_*"
|
||||||
compile_target: s390x
|
compile_target: s390x
|
||||||
out: s390x-musllinux-2
|
out: s390x-musllinux-2
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cibw_archs: AMD64
|
cibw_archs: AMD64
|
||||||
cibw_build: "cp*"
|
cibw_build: "cp*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86_64
|
compile_target: x86_64
|
||||||
out: x86_64-windows
|
out: x86_64-windows
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cibw_archs: x86
|
cibw_archs: x86
|
||||||
cibw_build: "cp*"
|
cibw_build: "cp*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86
|
compile_target: x86
|
||||||
out: x86-windows
|
out: x86-windows
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cibw_archs: ARM64
|
cibw_archs: ARM64
|
||||||
cibw_build: "cp*"
|
cibw_build: "cp*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: armv8
|
compile_target: armv8
|
||||||
out: armv8-windows
|
out: armv8-windows
|
||||||
- os: macos-13
|
- os: macos-13
|
||||||
cibw_archs: x86_64
|
cibw_archs: x86_64
|
||||||
cibw_build: "cp*"
|
cibw_build: "cp*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: x86_64
|
compile_target: x86_64
|
||||||
out: x86_64-macos
|
out: x86_64-macos
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cibw_archs: arm64
|
cibw_archs: arm64
|
||||||
cibw_build: "cp*"
|
cibw_build: "cp*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: armv8
|
compile_target: armv8
|
||||||
out: armv8-macos
|
out: armv8-macos
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cibw_archs: universal2
|
cibw_archs: universal2
|
||||||
cibw_build: "cp*"
|
cibw_build: "cp*"
|
||||||
|
cibw_skip: ""
|
||||||
compile_target: universal2
|
compile_target: universal2
|
||||||
out: universal2-macos
|
out: universal2-macos
|
||||||
|
|
||||||
|
|
@ -192,13 +212,14 @@ jobs:
|
||||||
path: ./src/sqlcipher
|
path: ./src/sqlcipher
|
||||||
|
|
||||||
- name: Build wheels for ${{ matrix.os }} ${{ matrix.cibw_archs }} ${{ matrix.cibw_build }}
|
- name: Build wheels for ${{ matrix.os }} ${{ matrix.cibw_archs }} ${{ matrix.cibw_build }}
|
||||||
uses: pypa/cibuildwheel@v2.23.3
|
uses: pypa/cibuildwheel@v3.3.0
|
||||||
env:
|
env:
|
||||||
CIBW_BUILD_FRONTEND: build
|
CIBW_BUILD_FRONTEND: build
|
||||||
CIBW_BUILD: ${{ matrix.cibw_build }}
|
CIBW_BUILD: ${{ matrix.cibw_build }}
|
||||||
|
CIBW_SKIP: ${{ matrix.cibw_skip }}
|
||||||
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
||||||
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||||
CIBW_BEFORE_ALL_LINUX: yum install -y perl-core
|
CIBW_BEFORE_ALL_LINUX: command -v yum >/dev/null && yum -y install perl-core || command -v apk >/dev/null && apk add perl || true
|
||||||
CIBW_TEST_COMMAND: >
|
CIBW_TEST_COMMAND: >
|
||||||
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||||
python {project}/tests/ &&
|
python {project}/tests/ &&
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "sqlcipher3-wheels"
|
name = "sqlcipher3-wheels"
|
||||||
version = "0.5.5.post0"
|
version = "0.5.6"
|
||||||
description = "DB-API 2.0 interface for SQLCipher 3.x"
|
description = "DB-API 2.0 interface for SQLCipher 3.x"
|
||||||
readme = { content-type = "text/markdown", file = "README.md" }
|
readme = { content-type = "text/markdown", file = "README.md" }
|
||||||
authors = [
|
authors = [
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -132,8 +132,10 @@ if __name__ == "__main__":
|
||||||
# Required for SQLCipher.
|
# Required for SQLCipher.
|
||||||
("SQLITE_HAS_CODEC", "1"),
|
("SQLITE_HAS_CODEC", "1"),
|
||||||
("SQLITE_TEMP_STORE", "2"),
|
("SQLITE_TEMP_STORE", "2"),
|
||||||
|
("SQLITE_THREADSAFE", "1"),
|
||||||
("SQLITE_EXTRA_INIT", "sqlcipher_extra_init"),
|
("SQLITE_EXTRA_INIT", "sqlcipher_extra_init"),
|
||||||
("SQLITE_EXTRA_SHUTDOWN", "sqlcipher_extra_shutdown"),
|
("SQLITE_EXTRA_SHUTDOWN", "sqlcipher_extra_shutdown"),
|
||||||
|
("HAVE_STDINT_H", "1"),
|
||||||
# Increase the maximum number of "host parameters".
|
# Increase the maximum number of "host parameters".
|
||||||
("SQLITE_MAX_VARIABLE_NUMBER", "250000"),
|
("SQLITE_MAX_VARIABLE_NUMBER", "250000"),
|
||||||
# Additional nice-to-have.
|
# Additional nice-to-have.
|
||||||
|
|
@ -216,7 +218,7 @@ if __name__ == "__main__":
|
||||||
# With pyproject.toml, all are not necessary except ext_modules
|
# With pyproject.toml, all are not necessary except ext_modules
|
||||||
# However, they are kept for building python 3.6 wheels
|
# However, they are kept for building python 3.6 wheels
|
||||||
name="sqlcipher3-wheels",
|
name="sqlcipher3-wheels",
|
||||||
version="0.5.5.post0",
|
version="0.5.6",
|
||||||
package_dir={"sqlcipher3": "sqlcipher3"},
|
package_dir={"sqlcipher3": "sqlcipher3"},
|
||||||
packages=["sqlcipher3"],
|
packages=["sqlcipher3"],
|
||||||
ext_modules=[module],
|
ext_modules=[module],
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit d41a25f448ba08ce24c0a599cf322046bdaa135a
|
Subproject commit ab223bd801ec225d1497a077da08777d21d1266d
|
||||||
Loading…
Add table
Add a link
Reference in a new issue