Skip to content

Commit b82c8a9

Browse files
authored
Merge pull request #45 from octue/update-python-range
DEP: Update to allow python 3.11
2 parents 863a6e3 + 05f753e commit b82c8a9

File tree

7 files changed

+22
-106
lines changed

7 files changed

+22
-106
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,14 @@ on:
1313

1414
jobs:
1515
check-semantic-version:
16-
if: "!contains(github.event.head_commit.message, 'skipci')"
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout Repository
20-
uses: actions/checkout@v2
21-
with:
22-
# Set fetch-depth to 0 to fetch all tags (necessary for git-mkver to determine the correct semantic version).
23-
fetch-depth: 0
24-
25-
- name: Setup Python
26-
uses: actions/setup-python@v2
27-
28-
- name: Install git-mkver
29-
run: |
30-
curl -L https://github.com/idc101/git-mkver/releases/download/v1.2.1/git-mkver-linux-amd64-1.2.1.tar.gz \
31-
| tar xvz \
32-
&& sudo mv git-mkver /usr/local/bin
33-
34-
- name: Install semantic version checker
35-
run: pip install git+https://github.com/octue/conventional-commits
36-
37-
- name: Check version
38-
run: check-semantic-version pyproject.toml
16+
uses: octue/.github/.github/workflows/reusable-check-semantic-version.yml@main
3917

4018
run-tests:
4119
if: "!contains(github.event.head_commit.message, 'skipci')"
4220
strategy:
4321
fail-fast: true
4422
matrix:
45-
python: ['3.9', '3.10']
23+
python: ['3.9', '3.10', '3.11']
4624
os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest] for full coverage but this gets expensive quickly
4725
runs-on: ${{ matrix.os }}
4826

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: update-pull-request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update-pull-request:
10+
uses: octue/.github/.github/workflows/reusable-update-pull-request.yml@main
11+
secrets:
12+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update_pr.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
django_gcp is Copyright (c) 2022 Octue Ltd
3+
django_gcp is Copyright (c) 2022-2023 Octue Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

mkver.conf

Lines changed: 0 additions & 41 deletions
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
[tool.poetry]
22
name = "django-gcp"
3-
version = "0.10.3"
3+
version = "0.10.4"
44
description = "Utilities to run Django on Google Cloud Platform"
55
authors = ["Tom Clark"]
66
license = "MIT"
77
readme = "README.md"
88
classifiers = [
9-
"Development Status :: 4 - Beta",
9+
"Development Status :: 5 - Production/Stable",
1010
"Intended Audience :: Developers",
1111
"Topic :: Software Development :: Libraries :: Python Modules",
1212
"License :: OSI Approved :: MIT License",
1313
"Programming Language :: Python :: 3.9",
1414
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
1516
"Operating System :: OS Independent",
1617
]
1718
repository = "https://github.com/octue/django-gcp"
18-
keywords = ["django", "google", "cloud", "gcloud", "gcp"]
19+
keywords = ["django", "google", "cloud", "run", "gcloud", "gcp", "storage", "tasks", "events", "pubsub"]
1920
packages = [{ include = "django_gcp" },]
2021

2122

2223
[tool.poetry.dependencies]
2324
Django = ">=3.0,<5"
24-
python = ">=3.9,<3.11"
25+
python = ">=3.9,<=3.11"
2526
google-cloud-storage = "^2.7.0"
2627
google-auth = "^2.6.0"
2728
django-app-settings = "^0.7.1"

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py39,py310}-dj{32,41}-{sqlite,postgres}
2+
envlist = {py39,py310,py311}-dj{32,41}-{sqlite,postgres}
33
isolated_build = True
44

55
[testenv]
@@ -22,3 +22,4 @@ deps =
2222
python =
2323
3.9: py39
2424
3.10: py310
25+
3.11: py311

0 commit comments

Comments
 (0)