Skip to content

Commit

Permalink
chore: upgrade to Python 3.13 and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Nov 15, 2024
1 parent 4a3fb23 commit 1b326c1
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 30 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ jobs:
PYTHON_VERSION: "3.10"
PUBLISH_RELEASE: false
- os: macos-13 # X86
PYTHON_VERSION: "3.12.6"
PYTHON_VERSION: "3.13.0"
PUBLISH_RELEASE: true
- os: macos-latest # ARM
PYTHON_VERSION: "3.12.6"
PYTHON_VERSION: "3.13.0"
PUBLISH_RELEASE: true
- os: ubuntu-latest
PYTHON_VERSION: "3.12.6"
PYTHON_VERSION: "3.13.0"
PUBLISH_RELEASE: true
- os: windows-latest
PYTHON_VERSION: "3.12.6"
PYTHON_VERSION: "3.13.0"
PUBLISH_RELEASE: true

runs-on: ${{ matrix.os }} # https://github.com/actions/runner-images#available-images
Expand Down
2 changes: 1 addition & 1 deletion docker/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ EOF
######################

# https://hub.docker.com/_/python/tags?name=3-slim
FROM python:3.12-slim AS build-image
FROM python:3.13-slim AS build-image

ARG DEBIAN_FRONTEND=noninteractive
ARG LC_ALL=C
Expand Down
51 changes: 28 additions & 23 deletions pdm.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [ # https://pypi.org/classifiers/
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3.10"
]
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
dependencies = [
"colorama",
"coloredlogs",
Expand Down
3 changes: 2 additions & 1 deletion src/kleinanzeigen_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/
"""
import asyncio, atexit, copy, getopt, importlib.metadata, json, logging, os, re, signal, shutil, sys, textwrap, time
import asyncio, atexit, copy, importlib.metadata, json, logging, os, re, signal, shutil, sys, textwrap, time
import getopt # pylint: disable=deprecated-module
import urllib.parse as urllib_parse
import urllib.request as urllib_request
from collections.abc import Iterable
Expand Down

0 comments on commit 1b326c1

Please sign in to comment.