From 6012d9e2bfeb53c740c4e4188492f0668f891b92 Mon Sep 17 00:00:00 2001 From: Paul Schifferer Date: Sat, 5 Oct 2024 08:20:54 -0700 Subject: [PATCH] Version updates --- .github/workflows/debug.yml | 7 +++---- .github/workflows/docker-build.yml | 2 +- .github/workflows/python-ci.yml | 12 ++++++------ .github/workflows/python-pr.yml | 6 +++--- .github/workflows/python-update-reqs.yml | 4 ++-- .python-version | 2 +- Dockerfile | 2 +- LICENSE | 2 +- Makefile | 2 +- setup.cfg | 2 +- tox.ini | 6 +++--- 11 files changed, 23 insertions(+), 24 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index b7f1ebf..b6ad107 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -1,9 +1,6 @@ name: Debug on: - create: - tags: - - '*' release: types: - published @@ -11,13 +8,15 @@ on: push: branches: - '*' + tags: + - '*' jobs: debug: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5ed5329..d2a3188 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Get Previous tag" id: previoustag uses: actions-ecosystem/action-get-latest-tag@v1 diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index d31554c..3a83534 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -29,19 +29,19 @@ jobs: include: - { name: Linux, - python: "3.10", + python: "3.11", os: ubuntu-latest, - tox: py310, + tox: py311, } # - { # name: Windows, - # python: "3.10", + # python: "3.11", # os: windows-latest, - # tox: py310, + # tox: py311, # } - # - { name: Mac, python: "3.10", os: macos-latest, tox: py310 } + # - { name: Mac, python: "3.11", os: macos-latest, tox: py311 } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/python-pr.yml b/.github/workflows/python-pr.yml index 413a6eb..557a4fe 100644 --- a/.github/workflows/python-pr.yml +++ b/.github/workflows/python-pr.yml @@ -24,12 +24,12 @@ jobs: include: - { name: Linux, - python: "3.10", + python: "3.11", os: ubuntu-latest, - tox: py310, + tox: py311, } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/python-update-reqs.yml b/.github/workflows/python-update-reqs.yml index 8adacba..61e0241 100644 --- a/.github/workflows/python-update-reqs.yml +++ b/.github/workflows/python-update-reqs.yml @@ -21,10 +21,10 @@ jobs: update-reqs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: update-reqs run: | pip install -U wheel setuptools pip-tools diff --git a/.python-version b/.python-version index 9919bf8..3e72aa6 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.10.13 +3.11.10 diff --git a/Dockerfile b/Dockerfile index 7deb9e0..6f02e9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. #------------------------------------------------------------------------------------------------------------- -FROM python:3.10 +FROM python:3.11 # Avoid warnings by switching to noninteractive ENV DEBIAN_FRONTEND=noninteractive diff --git a/LICENSE b/LICENSE index 68f3cc3..7a92ff6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 SweetRPG +Copyright (c) 2023,4 SweetRPG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 0d2df41..c33cff9 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ coverage: pytest --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=sweetrpg_catalog_api tests publish: - pip install 'twine>=1.5.0' + pip install 'twine>=5.1.0' python setup.py sdist bdist_wheel twine upload dist/* rm -fr build dist .egg sweetrpg_catalog_api.egg-info diff --git a/setup.cfg b/setup.cfg index 988fb74..57a7b8c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,7 +25,7 @@ classifiers = packages = find: package_dir = =src include_package_data = true -python_required = >= 3.10 +python_required = >= 3.11 [options.packages.find] where = src diff --git a/tox.ini b/tox.ini index af0daa2..2391b81 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = clean - py{310}-{default} + py{311}-{default} docs report skip_missing_interpreters = true @@ -12,8 +12,8 @@ extras = commands = pytest --cov --cov-append --cov-report=term-missing -v tests --tb=short --basetemp={envtmpdir} {posargs:tests} depends = - {py310}: clean - report: py310 + {py311}: clean + report: py311 [testenv:default]