Skip to content

Commit bf3c2ef

Browse files
authored
Merge branch 'master' into master
2 parents ecbd67c + 4042e61 commit bf3c2ef

21 files changed

+1174
-335
lines changed

.circleci/config.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.circleci/requirements.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: lint
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ['3.12']
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
python -m pip install tox tox-gh
24+
- name: Run linters
25+
run: |
26+
tox -e lint

.github/workflows/tabulate.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: pytest
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
strategy:
10+
matrix:
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 }}
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
allow-prereleases: true
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install pytest numpy pandas
26+
- name: Run tests
27+
run: |
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 py37-extra,py38-extra,py39-extra,py310-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)