Skip to content

Commit 06e363d

Browse files
authored
Merge branch 'astanin:master' into master
2 parents f974945 + 537d7b0 commit 06e363d

File tree

17 files changed

+733
-198
lines changed

17 files changed

+733
-198
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies

.github/workflows/tabulate.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
name: python-tabulate
1+
name: pytest
22

33
on:
44
- push
55
- pull_request
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
109
strategy:
1110
matrix:
12-
python-version: ['3.9', '3.10', '3.11', '3.12']
11+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
12+
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
13+
runs-on: ${{ matrix.os }}
1314

1415
steps:
1516
- uses: actions/checkout@v4
1617
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1819
with:
1920
python-version: ${{ matrix.python-version }}
21+
allow-prereleases: true
2022
- name: Install dependencies
2123
run: |
2224
python -m pip install --upgrade pip
2325
python -m pip install pytest numpy pandas
2426
- name: Run tests
2527
run: |
26-
pytest -v --doctest-modules --ignore benchmark.py
28+
pytest -v --doctest-modules --ignore benchmark/benchmark.py

CHANGELOG

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
- 0.9.1: Future version.
1+
- 0.10.0: Add support for Python 3.11, 3.12, 3.13.
2+
Drop support for Python 3.7, 3.8.
3+
PRESERVE_STERILITY global is replaced with preserve_sterility function argument.
4+
New formatting options: headersglobalalign, headersalign, colglobalalign.
5+
New output format: ``colon_grid`` (Pandoc grid_tables with alignment)
6+
Various bug fixes.
7+
Improved error messages.
28
- 0.9.0: Drop support for Python 2.7, 3.5, 3.6.
39
Migrate to pyproject.toml project layout (PEP 621).
410
New output formats: `asciidoc`, various `*grid` and `*outline` formats.

HOWTOPUBLISH

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# update contributors and CHANGELOG in README
2+
python -m pre_commit run -a # and then commit changes
3+
tox -e py39-extra,py310-extra,py311-extra,py312-extra,py313-extra
24
# tag version release
3-
python3 benchmark.py # then update README
4-
tox -e py38-extra,py39-extra,py310-extra,py311-extra,py312-extra
5-
python3 -m build -nswx .
5+
python -m build -s # this will update tabulate/version.py
6+
python -m pip install . # install tabulate in the current venv
7+
python -m pip install -r benchmark/requirements.txt
8+
python benchmark/benchmark.py # then update README
9+
# move tag to the last commit
10+
python -m build -s # update tabulate/version.py
11+
python -m build -nswx .
12+
git push # wait for all CI builds to succeed
13+
git push --tags # if CI builds succeed
614
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
715
twine upload dist/*

0 commit comments

Comments
 (0)