forked from truemped/supercell
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable building and testing for python 3.10 to 3.12. * The imp module is deprecated in 3.12. * The version is moved into a designated module that can be imported by setup.py without importing the whole module. * Make use of the extends syntax in gitlab-ci. * Restrict pytest < 8.2 because of issues with async tests. (pytest-dev/pytest#12263) * Replace deprecated unittest assertEquals with assertEqual.
- Loading branch information
Showing
9 changed files
with
110 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mock == 2.0.0 | ||
pytest | ||
pytest < 8.2 | ||
pytest-cov < 2.6.0 | ||
pylint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# vim: set fileencoding=utf-8 : | ||
# | ||
# Copyright (c) 2012 Daniel Truemper <truemped at googlemail.com> | ||
# | ||
|
@@ -15,14 +14,11 @@ | |
# limitations under the License. | ||
# | ||
# | ||
from imp import load_source | ||
import os | ||
from setuptools import setup | ||
import sys | ||
|
||
|
||
init = load_source('init', os.path.join('supercell', '__init__.py')) | ||
PY2 = sys.version_info[0] == 2 | ||
from supercell.version import __version__ | ||
|
||
|
||
tests_require = [ | ||
|
@@ -35,8 +31,6 @@ | |
extras_require = {} | ||
extras_require['test'] = tests_require | ||
extras_require['futures'] = '' | ||
if PY2: | ||
extras_require['futures'] = 'futures == 2.2.0' | ||
|
||
|
||
def readme(): | ||
|
@@ -46,7 +40,7 @@ def readme(): | |
|
||
setup( | ||
name='supercell', | ||
version=init.__version__, | ||
version=__version__, | ||
|
||
author='Daniel Truemper', | ||
author_email='[email protected]', | ||
|
@@ -69,12 +63,12 @@ def readme(): | |
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python :: 3.12', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: Implementation :: PyPy', | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# Copyright (c) 2013 Daniel Truemper <truemped at googlemail.com> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# | ||
|
||
__version__ = "0.12.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters