diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e949cb..0d5c80a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,19 +1,20 @@ name: main -on: [push] +on: [push, pull_request, workflow_dispatch] jobs: main: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true cache: 'pip' cache-dependency-path: setup.py - name: Install dependencies diff --git a/alive_progress/core/progress.py b/alive_progress/core/progress.py index a0e266a..3cd6126 100644 --- a/alive_progress/core/progress.py +++ b/alive_progress/core/progress.py @@ -6,7 +6,8 @@ import threading import time from contextlib import contextmanager -from typing import Any, Callable, Collection, Iterable, Optional, TypeVar +from typing import Any, Callable, Optional, TypeVar +from collections.abc import Collection, Iterable from .calibration import calibrated_fps, custom_fps from .configuration import config_handler diff --git a/alive_progress/tools/demo.py b/alive_progress/tools/demo.py index 5953955..466c701 100644 --- a/alive_progress/tools/demo.py +++ b/alive_progress/tools/demo.py @@ -69,7 +69,7 @@ def demo(sleep=None): for i in range(1, case.count + 1): time.sleep(sleep or .003) if manual: - bar((float(i) / (total or case.count))) + bar(float(i) / (total or case.count)) else: bar() if case.hooks and i: diff --git a/setup.py b/setup.py index cedd35f..552a7ef 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ def get_readme(): 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', ], keywords='progress bar progress-bar progressbar spinner eta monitoring python terminal ' 'multi-threaded REPL alive animated visual feedback simple live efficient monitor '