Skip to content

Commit 775cd8e

Browse files
authored
update Python versions (#66)
1 parent 1de5ddc commit 775cd8e

File tree

9 files changed

+36
-12
lines changed

9 files changed

+36
-12
lines changed

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: '3.7'
18+
python-version: '3.10'
1919
- name: Setup Linux Environment
2020
run: |
2121
sudo apt-get install libglu1

.github/workflows/python_package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8]
12+
python-version: [3.8, 3.9, '3.10']
1313

1414
steps:
1515
- uses: actions/checkout@v2

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77
formats: all
88

99
python:
10-
version: 3.7
10+
version: '3.8'
1111
install:
1212
- requirements: docs/requirements.txt
1313
- method: pip

CHANGELOG.rst

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ All notable changes to this project will be documented in this file.
66
The format is based on `Keep a Changelog`_,
77
and this project adheres to `Semantic Versioning`_.
88

9+
`1.5.4`_ - 2022-04-16
10+
--------------------------
11+
Added
12+
'''''
13+
- Support for Python 3.9 and 3.10.
14+
15+
Changed
16+
'''''''
17+
- Dependent versions of NumPy, SciPy, and matplotlib.
18+
19+
Removed
20+
'''''''
21+
- Support for Python 3.7 and below.
22+
23+
Security
24+
''''''''
25+
- Upgraded to NumPy v1.22.0 to address overflow vulnerability.
26+
927
`1.5.3`_ - 2022-03-30
1028
--------------------------
1129
Fixed
@@ -262,8 +280,9 @@ Added
262280

263281
.. LINKS
264282
265-
.. _`Unreleased`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.3...HEAD
266-
.. _`1.5.3`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.1...v1.5.3
283+
.. _`Unreleased`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.4...HEAD
284+
.. _`1.5.4`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.3...v1.5.4
285+
.. _`1.5.3`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.2...v1.5.3
267286
.. _`1.5.2`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.1...v1.5.2
268287
.. _`1.5.1`: https://github.com/kip-hart/MicroStructPy/compare/v1.5.0...v1.5.1
269288
.. _`1.5.0`: https://github.com/kip-hart/MicroStructPy/compare/v1.4.10...v1.5.0

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ MicroStructPy - Microstructure Mesh Generation in Python
33

44
|s-ci|
55
|s-license|
6+
|s-versions|
67

78
|s-doi1|
89
|s-doi2|
@@ -200,6 +201,10 @@ advised by Prof. Julian Rimoli.
200201
:target: https://github.com/kip-hart/MicroStructPy/blob/master/LICENSE.rst
201202
:alt: License
202203

204+
.. |s-versions| image:: https://img.shields.io/pypi/pyversions/microstructpy
205+
:target: https://pypi.org/project/microstructpy/
206+
:alt: Python Versions
207+
203208
.. |s-doi1| image:: https://img.shields.io/badge/DOI-10.1016%2Fj.cma.2020.113242-blue
204209
:target: https://doi.org/10.1016/j.cma.2020.113242
205210
:alt: CMAME DOI

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gmsh==4.6.0.post2
2-
matplotlib==3.2.1
3-
numpy==1.17.3
2+
matplotlib==3.5.1
3+
numpy==1.22.0
44
pybind11==2.4.3
55
sphinx==4.2.0
66
sphinx-gallery==0.8.1

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ matplotlib==3.3.4
33
pybind11==2.4.3
44
pygmsh==7.0.2
55
MeshPy==2018.2.1
6-
numpy==1.19.3
6+
numpy==1.22.0
77
pyquaternion==0.9.5
88
pyvoro-mmalahe==1.3.3
9-
scipy==1.5.4
9+
scipy==1.7.2
1010
xmltodict==0.12.0
1111
tox==3.14.0
1212
lsq-ellipse==2.0.1

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def find_version(*fname):
5757
'Operating System :: MacOS :: MacOS X',
5858
'Operating System :: Microsoft :: Windows',
5959
'Operating System :: POSIX :: Linux',
60-
'Programming Language :: Python :: 3.6',
61-
'Programming Language :: Python :: 3.7',
6260
'Programming Language :: Python :: 3.8',
61+
'Programming Language :: Python :: 3.9',
62+
'Programming Language :: Python :: 3.10',
6363
'Topic :: Scientific/Engineering',
6464
'Topic :: Scientific/Engineering :: Mathematics',
6565
'Topic :: Scientific/Engineering :: Physics'

src/microstructpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
import microstructpy.seeding
55
import microstructpy.verification
66

7-
__version__ = '1.5.3'
7+
__version__ = '1.5.4'

0 commit comments

Comments
 (0)