Skip to content

Commit 435b2c7

Browse files
authored
Test/release against Python 3.12 (#339)
Signed-off-by: Chad Wilson <[email protected]>
1 parent af9c992 commit 435b2c7

File tree

5 files changed

+17
-19
lines changed

5 files changed

+17
-19
lines changed

.github/workflows/release_on_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Set up Python 3.8
16+
- name: Set up Python 3.12
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.8'
19+
python-version: '3.12'
2020
cache: 'pip' # caching pip dependencies
2121

2222
- name: Setup git

.github/workflows/tests.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest, macos-latest]
18-
python-version: [3.8, 3.11]
18+
python-version: [3.8, 3.12]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -37,18 +37,19 @@ jobs:
3737
3838
functional-tests:
3939
needs: test
40-
name: FTs ${{ matrix.os }}
40+
name: FTs ${{ matrix.os }} ${{ matrix.python-version }}
4141
runs-on: ${{ matrix.os }}
4242
strategy:
4343
matrix:
4444
os: [windows-latest, ubuntu-latest]
45+
python-version: [3.8, 3.12]
4546
steps:
4647
- uses: actions/checkout@v4
4748

48-
- name: Set up Python 3.8
49+
- name: Set up Python
4950
uses: actions/setup-python@v5
5051
with:
51-
python-version: '3.8'
52+
python-version: '${{ matrix.python-version }}'
5253
cache: 'pip' # caching pip dependencies
5354

5455
- name: Set up Go
@@ -92,18 +93,19 @@ jobs:
9293
9394
lsp-tests:
9495
needs: test
95-
name: LSP Tests ${{ matrix.os }}
96+
name: LSP Tests ${{ matrix.os }} ${{ matrix.python-version }}
9697
runs-on: ${{ matrix.os }}
9798
strategy:
9899
matrix:
99100
os: [windows-latest, ubuntu-latest]
101+
python-version: [3.8, 3.12]
100102
steps:
101103
- uses: actions/checkout@v4
102104

103-
- name: Set up Python 3.8
105+
- name: Set up Python
104106
uses: actions/setup-python@v5
105107
with:
106-
python-version: '3.8'
108+
python-version: '${{ matrix.python-version }}'
107109
cache: 'pip' # caching pip dependencies
108110

109111
- name: Set up Nodejs

python.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "python",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "Python support for gauge",
55
"run": {
66
"windows": [

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ requests-toolbelt==1.0.0
2525
rfc3986==2.0.0
2626
rich==13.7.1
2727
rply==0.7.8
28+
setuptools==69.2.0
2829
six==1.16.0
2930
twine==5.0.0
3031
urllib3==2.2.1

setup.tmpl

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1-
from distutils.core import setup
1+
from setuptools import setup
22

33
setup(
44
name='getgauge',
55
packages=['getgauge', 'getgauge/messages'],
66
version='{0}',
77
description='Enables Python support for Gauge',
88
author='Gauge Team',
9-
author_email='getgauge@outlook.com',
9+
author_email='getgauge@googlegroups.com',
1010
url='https://github.com/getgauge/gauge-python',
1111
download_url='https://github.com/getgauge/gauge-python/archive/v{0}.zip',
1212
keywords=['testing', 'gauge', 'gauge-python', 'getgauge', 'automation'],
1313
license='MIT',
1414
classifiers=[
15-
'Development Status :: 3 - Alpha',
15+
'Development Status :: 4 - Beta',
1616
'License :: OSI Approved :: MIT License',
17-
'Programming Language :: Python :: 2.7',
1817
'Programming Language :: Python :: 3',
19-
'Programming Language :: Python :: 3.3',
20-
'Programming Language :: Python :: 3.4',
21-
'Programming Language :: Python :: 3.5',
22-
'Programming Language :: Python :: 3.6',
23-
'Programming Language :: Python :: 3.7',
18+
'Programming Language :: Python :: 3 :: Only',
2419
],
2520
install_requires=['redBaron', 'debugpy', 'grpcio>=1.39.0', 'protobuf>=3.5.2'],
2621
extras_require={1},

0 commit comments

Comments
 (0)