Skip to content

Commit 3cd9d90

Browse files
Lock dependency versions (magpylib#141)
* Remove Python 3.5 from tests * Lock dependency versions * Adjust version disclaimer for Python3 * Fix minimum Python version to 3.6
1 parent 7461561 commit 3cd9d90

29 files changed

+30
-40
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<p align="center"><img align="center" src=https://i.imgur.com/xXMmGG8.png><p>
3-
<p align="center"><i>magpylib - A simple and user friendly magnetic toolbox for Python 3.5+</i><p>
3+
<p align="center"><i>magpylib - A simple and user friendly magnetic toolbox for Python 3</i><p>
44

55

66

@@ -42,7 +42,7 @@
4242

4343

4444
### Dependencies:
45-
_Python3.5+_, _Numpy_, _Matplotlib_
45+
_Python3.6+_, _Numpy_, _Matplotlib_
4646

4747
---
4848

appveyor.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ environment:
1414
- PYTHON: "C:\\Python36-x64"
1515
PYTHON_VERSION: "3.6.x" # currently 3.6.5
1616
PYTHON_ARCH: "64"
17-
18-
- PYTHON: "C:\\Python35"
19-
PYTHON_VERSION: "3.5.0"
20-
PYTHON_ARCH: "32"
21-
22-
- PYTHON: "C:\\Python35-x64"
23-
PYTHON_VERSION: "3.5.0"
24-
PYTHON_ARCH: "64"
2517

2618
- PYTHON: "C:\\Python37"
2719
PYTHON_VERSION: "3.7.0"

azure-pipelines.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ pool:
1212
vmImage: 'vs2017-win2016'
1313
strategy:
1414
matrix:
15-
Python35:
16-
python.version: '3.5'
1715
Python36:
1816
python.version: '3.6'
1917
Python37:

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
recommonmark
2-
sphinx_rtd_theme
1+
recommonmark>=0.5
2+
sphinx_rtd_theme>=0.4
33
sphinx>=1.8.2

magpylib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/currents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/fieldsampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/magnets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for calculating magnetic fields from
2+
# magpylib -- A Python 3 toolbox for calculating magnetic fields from
33
# permanent magnets and current distributions.
44
# Copyright (C) 2019 Michael Ortner <[email protected]>
55
#

magpylib/_lib/classes/moments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/Current_CircularLoop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/Current_Line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/Moment_Dipole.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/PM_Box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/PM_Cylinder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/PM_Sphere.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/fields/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/mathLibPrivate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/mathLibPublic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/_lib/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/math/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/source/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/source/current/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/source/magnet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

magpylib/source/moment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -------------------------------------------------------------------------------
2-
# magpylib -- A Python 3.5+ toolbox for working with magnetic fields.
2+
# magpylib -- A Python 3 toolbox for working with magnetic fields.
33
# Copyright (C) Silicon Austria Labs, https://silicon-austria-labs.com/,
44
# Michael Ortner <[email protected]>
55
#

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
packages=setuptools.find_packages(),
4545
zip_safe = False, ## Gives the environment files so we can access docs, enables tooltips but may decrease performance
4646
install_requires=[
47-
'numpy',
48-
'matplotlib',
47+
'numpy>=1.16',
48+
'matplotlib>=3.1',
4949
],
5050
classifiers=[
5151
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)