From 338d81d77eea93b1bb5e3f7715875dc1cb9f8921 Mon Sep 17 00:00:00 2001 From: Kajetan Ramsza Date: Wed, 10 Dec 2025 18:11:09 +0100 Subject: [PATCH 1/4] feat: upgrade gunicorn to 23.0.0 --- filetracker/servers/run.py | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/filetracker/servers/run.py b/filetracker/servers/run.py index 5ca8d61..35872d8 100755 --- a/filetracker/servers/run.py +++ b/filetracker/servers/run.py @@ -174,6 +174,10 @@ def main(args=None): log_config['loggers']['gunicorn.error']['level'] = options.log_level log_config['loggers']['gunicorn.access']['level'] = options.log_level log_config['loggers']['']['level'] = options.log_level + log_config['root'] = { + 'level': "WARNING", + 'handlers': [], + } logging.config.dictConfig(log_config) diff --git a/pyproject.toml b/pyproject.toml index c89591f..0a5d7ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "bsddb3==6.2.7", "flup6", - "gunicorn==19.9.0", + "gunicorn==23.0.0", "progressbar2", "requests", "six", From 8fea70cd742097257b735867b601eae2a527b868 Mon Sep 17 00:00:00 2001 From: Kajetan Ramsza Date: Wed, 10 Dec 2025 18:22:43 +0100 Subject: [PATCH 2/4] feat: upgrade gevent and python --- pyproject.toml | 5 ++--- tox.ini | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0a5d7ce..d43bd2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ authors = [ ] description = "Filetracker caching file storage" readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.9" license = {text = "GPL"} classifiers = [ "Framework :: Django", @@ -36,8 +36,7 @@ version = "2.2.0" [project.optional-dependencies] server = [ - "gevent==22.10.2", - "greenlet==2.0.2", + "gevent==25.9.1" ] tests = [ "pytest", diff --git a/tox.ini b/tox.ini index 6b54760..b51cf0a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39 +envlist = py313 [testenv] extras = server From 24d3b9941e00ad5e119532e00cbe2fdc214c9a81 Mon Sep 17 00:00:00 2001 From: Kajetan Ramsza Date: Wed, 10 Dec 2025 18:23:56 +0100 Subject: [PATCH 3/4] fix: migrate github action to python 3.13 --- .github/workflows/pytest.yml | 37 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e93f434..92fdf67 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -13,28 +13,27 @@ jobs: fail-fast: false matrix: include: - - python-version: "3.8" - - python-version: "3.9" + - python-version: "3.13" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - - name: Install apt dependencies - run: | - sudo apt-get update - sudo apt-get install -y libdb-dev + - name: Install apt dependencies + run: | + sudo apt-get update + sudo apt-get install -y libdb-dev - - name: Install pip dependencies - run: | - python -m pip install --upgrade pip wheel setuptools - pip install -e .[server] - pip install pytest + - name: Install pip dependencies + run: | + python -m pip install --upgrade pip wheel setuptools + pip install -e .[server] + pip install pytest - - name: Run tests - run: | - pytest -vv filetracker/tests + - name: Run tests + run: | + pytest -vv filetracker/tests From 5a45637d4ebc10cabb010a0b8b1df314416d21b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Burzy=C5=84ski?= Date: Wed, 10 Dec 2025 21:02:36 +0100 Subject: [PATCH 4/4] fix: update python version to 3.13 in release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11dc9ee..1cff507 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.13 - name: Install build run: | python3 -m pip install build