Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion alive_progress/core/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion alive_progress/tools/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
Expand Down