Skip to content

Commit

Permalink
Merge pull request #76 from melexis/python
Browse files Browse the repository at this point in the history
Remove support for Python 3.7 and test 3.12
  • Loading branch information
JasperCraeghs authored Aug 16, 2024
2 parents a07da7c + a3a56c8 commit 1b54c6f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Documentation',
'Topic :: Documentation :: Sphinx',
'Topic :: Utilities',
Expand All @@ -42,6 +42,7 @@
packages=find_packages(exclude=['tests', 'example']),
include_package_data=True,
install_requires=requires,
python_requires='>=3.8',
namespace_packages=['mlx'],
keywords=[
'coverity',
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[tox]
envlist =
py37, py38, py39, py310, py311
py38, py39, py310, py311, py312
clean,
check,

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
basepython =
py: python3
pypy: {env:TOXPYTHON:pypy}
py37: {env:TOXPYTHON:python3.7}
py38: {env:TOXPYTHON:python3.8}
py39: {env:TOXPYTHON:python3.9}
py310: {env:TOXPYTHON:python3.10}
py311: {env:TOXPYTHON:python3.11}
py312: {env:TOXPYTHON:python3.12}
{clean,test,html,latexpdf,check,report,coverage}: python3
setenv =
PYTHONPATH={toxinidir}/tests
Expand Down
3 changes: 2 additions & 1 deletion warnings_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"exclude": [
"WARNING: Connection failed: <urlopen error \\[Errno -2\\] Name or service not known>",
"WARNING: Connection failed: <urlopen error \\[Errno -3\\] Temporary failure in name resolution>",
"CRITICAL:root:No such Coverity Configuration Service"
"CRITICAL:root:No such Coverity Configuration Service",
"WARNING: cannot cache unpickable configuration value: 'traceability_attributes_sort' \\(because it contains a function, class, or module object\\)"
]
}
}

0 comments on commit 1b54c6f

Please sign in to comment.