Skip to content

Commit fd8c3c3

Browse files
author
Andrew Johnson
authored
Merge pull request #384 from drewejohnson/r0.9.2
REL Release 0.9.2
2 parents 35d7b85 + ee5b1c4 commit fd8c3c3

File tree

9 files changed

+8
-29
lines changed

9 files changed

+8
-29
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# |version| and |release|, also used in various other places throughout the
5353
# built documents.
5454

55-
version = "0.9.1"
55+
version = "0.9.2"
5656

5757
# General information about the project.
5858
project = 'serpentTools'

serpentTools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
from serpentTools.seed import *
88
from serpentTools.xs import *
99

10-
__version__ = "0.9.1"
10+
__version__ = "0.9.2"

serpentTools/__main__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import argparse
1111
from os.path import splitext
1212

13-
import six
14-
1513
import serpentTools
1614
from serpentTools import settings
1715
from serpentTools.messages import info, error
@@ -21,10 +19,10 @@
2119
_VERB_MAP = {'v': {1: 'info', 2: 'debug'},
2220
'q': {1: 'error', 2: 'critical'}}
2321
_VERB_MSG = {}
24-
for key, items in six.iteritems(_VERB_MAP):
22+
for key, items in _VERB_MAP.items():
2523
_VERB_MSG[key] = ', '.join(
2624
['{}: {}'.format(key * num, value)
27-
for num, value in six.iteritems(items)])
25+
for num, value in items.items()])
2826

2927

3028
def __buildParser():

serpentTools/parsers/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"""
44
import re
55

6-
import six
7-
86
from serpentTools.messages import SerpentToolsException, debug, deprecated
97
from serpentTools.parsers.depletion import DepletionReader
108
from serpentTools.parsers.branching import BranchingReader
@@ -75,7 +73,7 @@ def inferReader(filePath):
7573
SerpentToolsException
7674
If a reader cannot be inferred
7775
"""
78-
for reg, reader in six.iteritems(REGEXES):
76+
for reg, reader in REGEXES.items():
7977
match = re.match(reg, filePath)
8078
if match and match.group() == filePath:
8179
debug('Inferred reader for {}: {}'

setup.cfg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
[versioneer]
2-
VCS = git
3-
style = pep440
4-
versionfile_source = serpentTools/_version.py
5-
versionfile_build = serpentTools/_version.py
6-
tag_prefix =
7-
81
[flake8]
92
exclude =
103
.tox,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def getDataFiles():
4343

4444
pythonRequires = ">=3.5,<3.9"
4545

46-
version = "0.9.1"
46+
version = "0.9.2"
4747

4848
setupArgs = {
4949
'name': 'serpentTools',

tests/test_meta.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
"""
22
Test the abstract base class approach upon
33
which our objects are built.
4-
5-
Most of this is trivial for a set python build,
6-
but since we support flavors of 2 and 3,
7-
we take advantage of :func:`six.add_metaclass`
8-
to properly create the abstract
9-
base classes.
10-
114
"""
125

136
from unittest import TestCase

tests/test_parserLevelRead.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
"""Class to test the read commands from serpentTools.parsers"""
22
import unittest
33

4-
import six
5-
64
from serpentTools.messages import SerpentToolsException
75
from serpentTools.parsers import inferReader, read
86

@@ -34,7 +32,7 @@ def test_inferReader(self):
3432
'test_res.m': ResultsReader, 'test_fmtx99.m': FissionMatrixReader,
3533
'test_res': None, 'test.coe_dep.m': DepletionReader
3634
}
37-
for fileP, expectedReader in six.iteritems(expectedClasses):
35+
for fileP, expectedReader in expectedClasses.items():
3836
if expectedReader is None:
3937
with self.assertRaises(SerpentToolsException):
4038
inferReader(fileP)

tests/test_settings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from unittest import TestCase
44

55
import yaml
6-
import six
76
from serpentTools import settings
87

98
from tests import TestCaseWithLogCapture
@@ -139,7 +138,7 @@ def _writeTestRemoveConfFile(self, settings, filePath, expected, strict):
139138
yaml.dump(settings, out)
140139
with self.rc:
141140
self.rc.loadYaml(filePath, strict)
142-
for key, value in six.iteritems(expected):
141+
for key, value in expected.items():
143142
if isinstance(value, list):
144143
self.assertListEqual(value, self.rc[key])
145144
else:

0 commit comments

Comments
 (0)