Skip to content

Commit f6c7741

Browse files
Merge pull request #644 from tableau/python-version-compatibility
Add support for Python version 3.10, 3.11, and 3.12 (Remove support for 3.7, 3.8)
2 parents 3203ee6 + 63ef5fa commit f6c7741

12 files changed

+24
-25
lines changed

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: [3.7]
12+
python-version: [3.12]
1313
os: [ubuntu-latest]
1414

1515
steps:

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: [3.7]
12+
python-version: [3.12]
1313
os: [ubuntu-latest]
1414

1515
steps:

.github/workflows/pull_request.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
# TODO: Add 3.7 to python-versions after GitHub action regression is resolved.
13-
# https://github.com/actions/setup-python/issues/682
14-
# TODO: switch macos-13 to macos-latest@arm64
15-
python-version: ['3.8', '3.9', '3.10']
12+
python-version: ['3.9', '3.10', '3.11', '3.12']
13+
# TODO: switch macos-13 to macos-latest
1614
os: [ubuntu-latest, windows-latest, macos-13]
1715

1816
steps:

.github/workflows/push.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
# TODO: Add 3.7 to python-versions after GitHub action regression is resolved.
13-
# https://github.com/actions/setup-python/issues/682
14-
# TODO: switch macos-13 to macos-latest@arm64
15-
python-version: ['3.8', '3.9', '3.10']
12+
python-version: ['3.9', '3.10', '3.11', '3.12']
13+
# TODO: switch macos-13 to macos-latest
1614
os: [ubuntu-latest, windows-latest, macos-13]
1715

1816
steps:

.scrutinizer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build:
22
environment:
3-
python: 3.7.6
3+
python: 3.12.5
44
nodes:
55
coverage:
66
project_setup:

CHANGELOG

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v2.11.0
4+
5+
### Improvements
6+
7+
- Add support for Python 3.10, 3.11, and 3.12. End support Python for
8+
3.7 and 3.8.
9+
310
## v2.10.0
411

512
### Improvements

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ and run it locally.
3030
These are prerequisites for an environment required for a contributor to
3131
be able to work on TabPy changes:
3232

33-
- Python 3.7, 3.8 or 3.9:
34-
- To see which version of Python you have installed, run `python --version`.
33+
- Supported 64-bit Python version (see
34+
[README](https://github.com/tableau/TabPy) for a list of compatible versions).
3535
- git
3636
- Node.js for npm packages - install from <https://nodejs.org>.
3737
- NPM packages - install all with

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/tableau/tabpy/Test%20Run%20on%20Push)](https://github.com/tableau/TabPy/actions?query=workflow%3A%22Test+Run+on+Push%22)
77
[![Coverage Status](https://coveralls.io/repos/github/tableau/TabPy/badge.svg?branch=master)](https://coveralls.io/github/tableau/TabPy?branch=master)
88
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tableau/TabPy/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tableau/TabPy/?branch=master)
9-
[![Requirements Status](https://requires.io/github/tableau/TabPy/requirements.svg?branch=master)](https://requires.io/github/tableau/TabPy/requirements/?branch=master)
109

1110
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tabpy?label=PyPI%20Python%20versions)
1211
[![PyPI version](https://badge.fury.io/py/tabpy.svg)](https://pypi.python.org/pypi/tabpy/)

docs/server-install.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ These instructions explain how to install and start up TabPy Server.
1515

1616
## TabPy Installation
1717

18-
### Prerequisites
19-
20-
- TabPy only supports Python versions 3.7, 3.8, 3.9, and 3.10
21-
- TabPy 2.7.0 added support for data streaming via
22-
Apache Arrow Flight (`pyarrow`). When using TabPy >= 2.7.0, we
23-
recommend using a Python 64-bit installer to avoid incompatibility issues
24-
related to `pyarrow`.
18+
First, ensure that you are using a supported 64-bit Python version.
19+
Refer to the [README](https://github.com/tableau/TabPy) for a list
20+
of compatible versions.
2521

2622
### Installation
2723

docs/tabpy-virtualenv.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Linux and Mac run shell.
8686
3. Create the virtual Anaconda environment
8787

8888
```sh
89-
conda create --name my-tabpy-env python=3.7
89+
conda create --name my-tabpy-env python=3.12
9090
```
9191

9292
4. Activate your virtual environment

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ def read(fname):
3939
"Intended Audience :: Developers",
4040
"Intended Audience :: Science/Research",
4141
"License :: OSI Approved :: MIT License",
42-
"Programming Language :: Python :: 3.7",
43-
"Programming Language :: Python :: 3.8",
4442
"Programming Language :: Python :: 3.9",
43+
"Programming Language :: Python :: 3.10",
44+
"Programming Language :: Python :: 3.11",
45+
"Programming Language :: Python :: 3.12",
4546
"Topic :: Scientific/Engineering",
4647
"Topic :: Scientific/Engineering :: Information Analysis",
4748
"Operating System :: Microsoft :: Windows",

tabpy/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.10.0
1+
2.11.0

0 commit comments

Comments
 (0)