From 4840c0f81af86a12fbee382cf7005ff2d09240c2 Mon Sep 17 00:00:00 2001 From: Isaac Parker Date: Mon, 6 May 2024 14:11:30 -0600 Subject: [PATCH] bump: upgrade python to 3.12.3 --- .github/workflows/CI.yml | 6 +++--- .tool-versions | 3 ++- justfile | 11 ++++++++++- pyproject.toml | 4 ++-- src/loader.rs | 2 +- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1e64c05..f579e87 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.11.6' + python-version: '3.12.3' - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -79,7 +79,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.11.6' + python-version: '3.12.3' architecture: ${{ matrix.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -102,7 +102,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.11.6' + python-version: '3.12.3' - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/.tool-versions b/.tool-versions index db86a4e..cb32dab 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ -poetry 1.6.1 +poetry 1.8.2 +python 3.12.3 diff --git a/justfile b/justfile index fdbe1f0..5859e4b 100644 --- a/justfile +++ b/justfile @@ -1,5 +1,14 @@ -deps: +[macos] +platform_deps: + brew install cmake automake autoconf + +[linux] +platform_deps: + echo "No platform_deps known" + +deps: platform_deps cargo install cross + poetry install build-x86-linux-musl: RUSTFLAGS="-C target-feature=-crt-static" cross build --target x86_64-unknown-linux-musl --release diff --git a/pyproject.toml b/pyproject.toml index 630a411..9270997 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,14 +11,14 @@ classifiers = [ "Programming Language :: Python :: Implementation :: PyPy", ] dynamic = ["version"] -version = "0.0.5" +version = "0.0.6" [tool.maturin] features = ["pyo3/extension-module"] [tool.poetry] name = "linen_closet" -version = "0.0.5" +version = "0.0.6" description = "A Google Sheets bulk download and caching library." authors = [ "Isaac Parker " diff --git a/src/loader.rs b/src/loader.rs index 46b3c92..cde931d 100644 --- a/src/loader.rs +++ b/src/loader.rs @@ -10,7 +10,7 @@ use futures_retry::{RetryPolicy, StreamRetryExt}; use std::fs::File; -use std::io::{Cursor}; +use std::io::Cursor; use anyhow::{Context, Error, Result}; use aws_sdk_s3::config::Region; use aws_sdk_s3::primitives::ByteStream;