Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.1.0 #244

Merged
merged 6 commits into from
Sep 22, 2024
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
40 changes: 21 additions & 19 deletions .github/workflows/lint_test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- name: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: prepare-python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: install-poetry
uses: snok/install-poetry@v1
with:
version: 1.8.2
version: 1.8.3

- name: install-dependencies
run: |
Expand All @@ -51,21 +51,22 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- name: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: prepare-python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: install-poetry
uses: snok/install-poetry@v1
with:
version: 1.8.2
version: 1.8.3

- name: install-dependencies
run: |
Expand All @@ -80,46 +81,47 @@ jobs:
runs-on: ubuntu-22.04
env:
PYTHONHASHSEED: 0
USING_COVERAGE: '3.11'
USING_COVERAGE: '3.12'
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy-3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]

steps:
- name: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: prepare-python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

# Normal Python
- name: install-poetry
if: "!contains(matrix.python-version, 'pypy-3.9')"
if: "!contains(matrix.python-version, 'pypy-3.10')"
uses: snok/install-poetry@v1
with:
version: 1.8.2
version: 1.8.3

- name: install-dependencies
if: "!contains(matrix.python-version, 'pypy-3.9')"
if: "!contains(matrix.python-version, 'pypy-3.10')"
run: |
poetry install

- name: run-tests
if: "!contains(matrix.python-version, 'pypy-3.9')"
if: "!contains(matrix.python-version, 'pypy-3.10')"
run: |
make test

# PyPy
- name: install-dependencies
if: "contains(matrix.python-version, 'pypy-3.9')"
if: "contains(matrix.python-version, 'pypy-3.10')"
run: |
pip install termcolor==2.3.0 pytest==8.1.1 pytest-xdist==3.5.0
pip install termcolor==2.3.0 pytest==8.1.2 pytest-xdist==3.6.1

- name: run-tests
if: "contains(matrix.python-version, 'pypy-3.9')"
if: "contains(matrix.python-version, 'pypy-3.10')"
run: |
py.test -n auto -v

Expand Down
9 changes: 9 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Release History
===============

3.1.0 / 2024-09-22
------------------

* Fix long messages behavior by truncating them via custom ellipsis (#240)
* Add Python 3.13 support
* Update cli-spinners to ``v3.2.0``
* Update dependencies


3.0.2 / 2024-04-08
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ or as a function `decorator`_:
Features
--------

- Runs at all major **CPython** versions (*3.9*, *3.10*, *3.11*, *3.12*), **PyPy**
- Runs at all major **CPython** versions (*3.9*, *3.10*, *3.11*, *3.12*, *3.13*), **PyPy**
- Supports all (70+) spinners from `cli-spinners`_
- Supports all *colors*, *highlights*, *attributes* and their mixes from `termcolor`_ library
- Easy to combine with other command-line libraries, e.g. `prompt-toolkit`_
Expand Down
Loading