Skip to content

Commit eeec6ef

Browse files
committed
Merge branch 'dev' into master
2 parents 8997ca7 + 003e68a commit eeec6ef

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test:
2727
script:
2828
- pip install tox
2929
- tox -e py27
30-
- tox -e py38 -- --with-coverage --cover-erase --cover-package=cgroupspy
30+
- tox -e py38 -- --with-coverage
3131

3232
trigger_build:
3333
stage: deploy

cgroupspy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2525
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
"""
27-
__version__ = "0.2.1"
27+
__version__ = "0.2.2"

cgroupspy/interfaces.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2525
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
"""
27-
from collections import Iterable
27+
try:
28+
from collections.abc import Iterable
29+
except ImportError:
30+
from collections import Iterable
2831
from cgroupspy.contenttypes import BaseContentType
2932

3033

setup.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
name='cgroupspy',
1414
version=cgroupspy.__version__,
1515
packages=['cgroupspy'],
16-
tests_require=['mock', 'nose>=1.3'],
16+
tests_require=['mock', 'nose2'],
1717
author='CloudSigma AG',
1818
author_email='dev-support@cloudsigma.com',
1919
maintainer='Miguel Trujillo',
@@ -23,7 +23,13 @@
2323
'cgroups',
2424
],
2525
classifiers=[
26-
"Programming Language :: Python",
26+
'Programming Language :: Python :: 2.7',
27+
'Programming Language :: Python :: 3',
28+
'Programming Language :: Python :: 3.6',
29+
'Programming Language :: Python :: 3.7',
30+
'Programming Language :: Python :: 3.8',
31+
'Programming Language :: Python :: 3.9',
32+
'Programming Language :: Python :: 3.10',
2733
"Development Status :: 4 - Beta",
2834
"Intended Audience :: System Administrators",
2935
"Intended Audience :: Developers",
@@ -33,4 +39,5 @@
3339
description="Python library for managing cgroups",
3440
long_description=long_description,
3541
long_description_content_type='text/markdown',
42+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
3643
)

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
2-
envlist = py27,py38
2+
envlist = py27,py38,py39,py310
33

44
[testenv]
55
deps =
66
coverage
77
mock
8-
nose
9-
commands = nosetests {posargs}
8+
nose2
9+
commands = nose2 {posargs}

0 commit comments

Comments
 (0)