Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make everything 3.12-happy #139

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -87,7 +89,7 @@ jobs:
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v2
with:
python-version: "3.11"
python-version: "3.12"
upload: false

pypi:
Expand All @@ -114,4 +116,4 @@ jobs:
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v2
with:
python-version: "3.11"
python-version: "3.12"
2 changes: 1 addition & 1 deletion giftless/storage/google_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from typing import Any, BinaryIO, cast

import google.auth
import google.cloud
import google.cloud.storage
from google.auth import impersonated_credentials
from google.oauth2 import service_account

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ ignore = [
"ISC002",
]
select = ["ALL"]
target-version = "py310"
target-version = "py310" # Leave at the lowest supported version.

[tool.ruff.per-file-ignores]
"tests/**" = [
Expand Down
2 changes: 0 additions & 2 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ pytest-env
pytest-cov
pytest-vcr

cloud-storage-mocker

pytz
types-pytz
types-jwt
Expand Down
41 changes: 1 addition & 40 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --no-emit-index-url --output-file=requirements/dev.txt requirements/dev.in
Expand Down Expand Up @@ -39,8 +39,6 @@ click==8.1.7
# via
# -c requirements/main.txt
# pip-tools
cloud-storage-mocker==0.3.1
# via -r requirements/dev.in
colorama==0.4.6
# via tox
commonmark==0.9.1
Expand All @@ -64,41 +62,12 @@ flake8==7.0.0
# via -r requirements/dev.in
furo==2023.9.10
# via -r requirements/dev.in
google-api-core==2.15.0
# via
# -c requirements/main.txt
# google-cloud-core
# google-cloud-storage
google-auth==2.26.2
# via
# -c requirements/main.txt
# google-api-core
# google-auth-stubs
# google-cloud-core
# google-cloud-storage
google-auth-stubs==0.2.0
# via -r requirements/dev.in
google-cloud-core==2.4.1
# via
# -c requirements/main.txt
# google-cloud-storage
google-cloud-storage==2.14.0
# via
# -c requirements/main.txt
# cloud-storage-mocker
google-crc32c==1.5.0
# via
# -c requirements/main.txt
# google-cloud-storage
# google-resumable-media
google-resumable-media==2.7.0
# via
# -c requirements/main.txt
# google-cloud-storage
googleapis-common-protos==1.62.0
# via
# -c requirements/main.txt
# google-api-core
grpc-stubs==1.53.0.5
# via google-auth-stubs
grpcio==1.60.0
Expand Down Expand Up @@ -148,11 +117,6 @@ pluggy==1.3.0
# via
# pytest
# tox
protobuf==4.25.2
# via
# -c requirements/main.txt
# google-api-core
# googleapis-common-protos
pyasn1==0.5.1
# via
# -c requirements/main.txt
Expand Down Expand Up @@ -203,8 +167,6 @@ recommonmark==0.7.1
requests==2.31.0
# via
# -c requirements/main.txt
# google-api-core
# google-cloud-storage
# sphinx
rsa==4.9
# via
Expand Down Expand Up @@ -258,7 +220,6 @@ types-s3transfer==0.10.0
typing-extensions==4.9.0
# via
# -c requirements/main.txt
# boto3-stubs
# mypy
urllib3==2.0.7
# via
Expand Down
Loading