Skip to content

Commit b996ae1

Browse files
committed
Bump python version
Signed-off-by: Herklos <herklos@drakkar.software>
1 parent 0c0491b commit b996ae1

7 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
uses: Drakkar-Software/.github/.github/workflows/python3_lint_workflow.yml@master
1313
with:
1414
project_main_package: octobot_script
15+
python_version: 3.13.x
1516

1617
tests:
1718
name: ${{ matrix.os }} - Python - ${{ matrix.type }} - tests
@@ -23,10 +24,10 @@ jobs:
2324

2425
steps:
2526
- uses: actions/checkout@v5
26-
- name: Set up Python 3.10
27+
- name: Set up Python
2728
uses: actions/setup-python@v5
2829
with:
29-
python-version: 3.10.x
30+
python-version: 3.13.x
3031
architecture: x64
3132

3233
- uses: actions/setup-node@v6
@@ -61,7 +62,7 @@ jobs:
6162
- name: Set up Python
6263
uses: actions/setup-python@v5
6364
with:
64-
python-version: 3.10.x
65+
python-version: 3.13.x
6566
architecture: x64
6667

6768
- name: Install dependencies

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [0.1.1] - 2026-03-22
88
### Updated
99
- OctoBot to 2.1.0
10+
- Added python 3.13 support
1011

1112
## [0.1.0] - 2026-02-27
1213
### Added

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
FROM python:3.10-slim-buster AS base
1+
FROM python:3.13-slim-buster AS base
22

33
WORKDIR /app
44

55
# requires git to install requirements with git+https
6-
# Update to debian archive from https://gist.github.com/ishad0w/6ce1eb569c734880200c47923577426a
7-
RUN echo "deb http://archive.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \
8-
&& echo "deb http://archive.debian.org/debian-security buster/updates main contrib non-free" >> /etc/apt/sources.list \
9-
&& echo "deb http://archive.debian.org/debian buster-backports main contrib non-free" >> /etc/apt/sources.list \
10-
&& apt-get update \
6+
RUN apt-get update \
117
&& apt-get install -y --no-install-recommends build-essential git gcc binutils
128

139
COPY . .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Documentation available at [octobot.cloud/en/guides/octobot-script](https://www.
1919

2020
## Install OctoBot Script from pip
2121

22-
> OctoBot Script requires **Python 3.10**
22+
> OctoBot Script requires **Python 3.13**
2323
2424
``` {.sourceCode .bash}
2525
python3 -m pip install OctoBot wheel appdirs==1.4.4

octobot_script/internal/logging_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def load_logging_config(config_file="logging_config.ini"):
3131
os.mkdir(logs_folder)
3232
try:
3333
config.fileConfig(config_file)
34-
except KeyError:
34+
except (KeyError, FileNotFoundError):
3535
logging_config = os.path.join(octobot_mocks.get_module_install_path(), "config", config_file)
3636
config.fileConfig(logging_config)
3737
octobot.logger.init_bot_channel_logger()

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OctoBot[full]==2.1.0
55
appdirs==1.4.4
66

77
# CLI
8-
click==8.1.3
8+
click==8.3.1
99

1010
# versions managed by OctoBot's dependencies
1111
jinja2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ def run(self):
114114
'Operating System :: MacOS :: MacOS X',
115115
'Operating System :: Microsoft :: Windows',
116116
'Operating System :: POSIX',
117-
'Programming Language :: Python :: 3.10',
117+
'Programming Language :: Python :: 3.13',
118118
],
119119
)

0 commit comments

Comments
 (0)