Skip to content

Commit

Permalink
Merge pull request #244 from pavdmyt/version-3.1.0
Browse files Browse the repository at this point in the history
Version 3.1.0

#244
  • Loading branch information
pavdmyt authored Sep 22, 2024
2 parents 78ab30f + eaae593 commit 080a48a
Show file tree
Hide file tree
Showing 7 changed files with 1,414 additions and 900 deletions.
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

0 comments on commit 080a48a

Please sign in to comment.