Skip to content

Commit

Permalink
Python 3.12 (includes xlwings Reader dependency updates) (#2341)
Browse files Browse the repository at this point in the history
* python 3.12 support
* updated xlwings Reader dependencies
  • Loading branch information
fzumstein committed Oct 4, 2023
1 parent 2b30719 commit b389c15
Show file tree
Hide file tree
Showing 8 changed files with 422 additions and 437 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
fail-fast: false
matrix:
# abi3 wheels aren't supported as DateTime is not part of the ABI spec (PEP 384)
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
platform:
[
{ os: "windows-latest", target: "x86_64" },
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
with:
target: ${{ matrix.platform.target }}
manylinux: ${{ matrix.platform.manylinux || 'auto' }}
maturin-version: v0.14.17
maturin-version: v1.2.3
command: build
args: --release --out dist --interpreter ${{ matrix.python-version }}

Expand Down
51 changes: 20 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ publish = false
name = "xlwings.xlwingslib"

[lib]
name = "xlwingslib"
name = "xlwings"
crate-type = ["cdylib"]

[dependencies]
calamine = {git = "https://github.com/xlwings/calamine", rev = "d8ee3df0ea144fbb8068c9d7eabe2b3ab9cf848c", features = ["dates"] }
chrono = { version = "0.4.24", features = ["serde"], default-features = false }
calamine = {git = "https://github.com/xlwings/calamine", rev = "ed0a4bde9ae0d0abaeeaed26b0fbd5b20cce91b8", features = ["dates"] }
chrono = { version = "0.4.31", features = ["serde"], default-features = false }
# abi3 wheels aren't supported as DateTime is not part of the ABI spec (PEP 384)
pyo3 = { version = "0.18.3", features = ["extension-module", "chrono"] }
pyo3 = { version = "0.19.2", features = ["extension-module", "chrono"] }
10 changes: 10 additions & 0 deletions about.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Build with
# cargo about generate about.hbs > docs/_static/opensource_licenses2.html
#
# To calculate checksum: shasum -a 256 path/to/file
accepted = [
"Apache-2.0",
"MIT",
Expand Down Expand Up @@ -28,3 +30,11 @@ license = "MIT"
path = 'LICENSE-MIT'
license = 'MIT'
checksum = '65f94e99ddaf4f5d1782a6dae23f35d4293a9a01444a13135a6887017d353cee'

[chrono.clarify]
license = "MIT"

[[chrono.clarify.files]]
path = 'License.txt'
license = 'MIT'
checksum = '46610329ff0b38effb9cb05979ff1ef761e465fed96b2eaca39e439d00129fd7'

0 comments on commit b389c15

Please sign in to comment.