Skip to content

Commit 681d581

Browse files
Dropping support for py3.8 and py3.9. Adding support for py3.13 and py3.14
1 parent 44da814 commit 681d581

8 files changed

Lines changed: 27 additions & 12 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.11]
13+
python-version: [3.14]
1414

1515
steps:
1616
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
id-token: write
1919
steps:
2020
- uses: actions/checkout@v4
21-
- name: Set up Python 3.11
21+
- name: Set up Python 3.14
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: 3.11
24+
python-version: 3.14
2525
- name: Install pypa/build
2626
run: >-
2727
python -m

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.8,3.9,'3.10',3.11,3.12]
13+
python-version: ['3.10',3.11,3.12,3.13,3.14]
1414

1515
steps:
1616
- uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Python
3232
uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.12
34+
python-version: 3.14
3535
- name: Install dependencies
3636
run: |
3737
python -m pip install --upgrade pip
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Python
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: 3.12
48+
python-version: 3.14
4949
- name: Install dependencies
5050
run: |
5151
python -m pip install --upgrade pip

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ dist/*
1515
.cache
1616
.idea
1717
.pytest_cache/*
18+
.vscode/*
19+
20+
techbabble.xyz.crt
21+
techbabble.xyz.csr
22+
techbabble.xyz.icc
23+
techbabble.xyz.key

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name='SoftLayer',
18-
version='v6.2.9',
18+
version='v6.3.0',
1919
description=DESCRIPTION,
2020
long_description=LONG_DESCRIPTION,
2121
long_description_content_type='text/x-rst',
@@ -30,7 +30,7 @@
3030
'slcli = SoftLayer.CLI.core:main',
3131
],
3232
},
33-
python_requires='>=3.7',
33+
python_requires='>=3.10',
3434
install_requires=[
3535
'click >= 8.0.4',
3636
'requests >= 2.32.2',
@@ -48,12 +48,10 @@
4848
'License :: OSI Approved :: MIT License',
4949
'Operating System :: OS Independent',
5050
'Topic :: Software Development :: Libraries :: Python Modules',
51-
'Programming Language :: Python :: 3.7',
52-
'Programming Language :: Python :: 3.8',
53-
'Programming Language :: Python :: 3.9',
5451
'Programming Language :: Python :: 3.10',
5552
'Programming Language :: Python :: 3.11',
5653
'Programming Language :: Python :: 3.12',
54+
'Programming Language :: Python :: 3.14',
5755
'Programming Language :: Python :: Implementation :: CPython',
5856
'Programming Language :: Python :: Implementation :: PyPy',
5957
],

tests/CLI/environment_tests.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@
77

88
import click
99
from unittest import mock as mock
10+
import pytest
1011

1112
from SoftLayer.CLI import environment
1213
from SoftLayer.CLI import formatting
1314
from SoftLayer import testing
1415

16+
# Check if tkinter is available
17+
try:
18+
import tkinter
19+
TKINTER_AVAILABLE = True
20+
except ImportError:
21+
TKINTER_AVAILABLE = False
22+
1523

1624
@click.command()
1725
def fixture_command():
@@ -54,6 +62,7 @@ def test_getpass(self, prompt_mock):
5462
prompt_mock.assert_called_with('input', default=None, hide_input=True)
5563
self.assertEqual(prompt_mock(), r)
5664

65+
@pytest.mark.skipif(not TKINTER_AVAILABLE, reason="tkinter module not available")
5766
@mock.patch('click.prompt')
5867
@mock.patch('tkinter.Tk')
5968
def test_getpass_issues1436(self, tk, prompt_mock):

tests/api_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ def test_cf_call_large_dataset(self, _call):
555555
_call.side_effect = side_effects
556556

557557
result = self.client.cf_call('SERVICE', 'METHOD', limit=limit)
558+
# sort the results to ensure they are in order
559+
result = sorted(result)
558560

559561
self.assertEqual(_call.call_count, num_calls)
560562
self.assertEqual(len(result), total_items)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38,py39,py310,py311,py312,pypy3,analysis,coverage,docs
2+
envlist = py310,py311,py312,py313,314,pypy3,analysis,coverage,docs
33

44

55
[flake8]

0 commit comments

Comments
 (0)