Skip to content

Commit f80fa0a

Browse files
committed
Drop Python 3.6 support
As dictionary order is now preserved, the base class no longer needs to be based on OrderedDict
1 parent 0cc1eab commit f80fa0a

File tree

5 files changed

+6
-15
lines changed

5 files changed

+6
-15
lines changed

.circleci/config.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ workflows:
33
version: 2
44
test:
55
jobs:
6-
- test-36
76
- test-37
87
- test-38
98
- test-39
@@ -12,9 +11,9 @@ workflows:
1211
jobs:
1312
- docs
1413
jobs:
15-
test-36: &test-template
14+
test-37: &test-template
1615
docker:
17-
- image: cimg/python:3.6
16+
- image: cimg/python:3.7
1817
steps:
1918
- checkout
2019
- restore_cache:
@@ -47,10 +46,6 @@ jobs:
4746
-f test-reports/coverage.xml \
4847
-F unittests \
4948
-n ${CIRCLE_BUILD_NUM}
50-
test-37:
51-
<<: *test-template
52-
docker:
53-
- image: cimg/python:3.7
5449
test-38:
5550
<<: *test-template
5651
docker:

.codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ coverage:
55
threshold: 0.1%
66
codecov:
77
notify:
8-
after_n_builds: 6
8+
after_n_builds: 5
99
comment:
10-
after_n_builds: 6
10+
after_n_builds: 5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Stone Soup uses the following dependencies:
3131

3232
| Name | License |
3333
| ---- | ------- |
34-
| [Python](https://www.python.org/) (v3.6+) | PSFL |
34+
| [Python](https://www.python.org/) (v3.7+) | PSFL |
3535
| [numpy](https://numpy.org/) | BSD |
3636
| [SciPy](https://www.scipy.org/) | BSD |
3737
| [matplotlib](https://matplotlib.org/) | [PSF/BSD-compatible](https://matplotlib.org/users/license.html) |

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'Topic :: Scientific/Engineering',
2323
],
2424
packages=find_packages(exclude=('docs', '*.tests')),
25-
python_requires='>=3.6',
25+
python_requires='>=3.7',
2626
setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'],
2727
use_scm_version=True,
2828
install_requires=[

stonesoup/base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,6 @@ class BaseMeta(ABCMeta):
229229

230230
_repr = BaseRepr()
231231

232-
@classmethod
233-
def __prepare__(mcls, name, bases, **kwargs):
234-
return OrderedDict()
235-
236232
def __new__(mcls, name, bases, namespace):
237233
if '__init__' not in namespace:
238234
# Must replace init so we don't overwrite parent class's

0 commit comments

Comments
 (0)