Skip to content

Commit 706ba2f

Browse files
Merge pull request #263 from robbievanleeuwen/py310
Add python 3.10 support, drop python 3.7
2 parents 5dcead8 + 89df0e8 commit 706ba2f

File tree

8 files changed

+14
-12
lines changed

8 files changed

+14
-12
lines changed

.github/workflows/build_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v2
2222

23-
- name: Set up Python 3.9
23+
- name: Set up Python 3.10
2424
uses: actions/setup-python@v2
2525
with:
26-
python-version: '3.9'
26+
python-version: '3.10'
2727

2828
- name: Install dependencies
2929
run: |

.github/workflows/code_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [ '3.8' ]
14+
python-version: [ '3.10' ]
1515

1616
name: Code coverage with python ${{ matrix.python-version }}
1717
steps:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: ['3.7', '3.8', '3.9']
16+
python-version: ['3.8', '3.9', '3.10']
1717

1818
name: Runs tests with python ${{ matrix.python-version }} using ${{ matrix.os }}
1919
steps:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
/dist/
66
/build/
77

8-
# Commont virtual environments
8+
# Common virtual environments
99
.venv/
1010
.env/
11+
.python-version
1112

1213
# doc generated
1314
/docs/build

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ version: 2
55
build:
66
os: ubuntu-20.04
77
tools:
8-
python: "3.8"
8+
python: "3.9"
99

1010
# Build documentation in the docs/ directory with Sphinx
1111
sphinx:
1212
configuration: docs/source/conf.py
1313

14-
# # Default is HTML
14+
# Default is HTML
1515
formats: all
1616

1717
# Optionally declare the Python requirements required to build your docs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
![Logo Light](docs/source/images/logo.png#gh-light-mode-only)
33

44
[![Run Tests](https://github.com/robbievanleeuwen/section-properties/actions/workflows/tests.yml/badge.svg)](https://github.com/robbievanleeuwen/section-properties/actions/workflows/tests.yml) [![Lint with Black](https://github.com/robbievanleeuwen/section-properties/actions/workflows/black.yml/badge.svg)](https://github.com/robbievanleeuwen/section-properties/actions/workflows/black.yml) [![Documentation Status](https://readthedocs.org/projects/sectionproperties/badge/?version=latest)](https://sectionproperties.readthedocs.io/en/latest/?badge=latest)
5-
[![codecov](https://codecov.io/gh/robbievanleeuwen/section-properties/branch/master/graph/badge.svg?token=QCH9J4SG6P)](https://codecov.io/gh/robbievanleeuwen/section-properties) [![PyPI version](https://badge.fury.io/py/sectionproperties.svg)](https://badge.fury.io/py/sectionproperties) [![Python versions](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9-blue?style=flat&logo=python)](https://badge.fury.io/py/sectionproperties) [![GitHub license](https://img.shields.io/github/license/robbievanleeuwen/section-properties)](https://github.com/robbievanleeuwen/section-properties/blob/master/LICENSE.md)
5+
[![codecov](https://codecov.io/gh/robbievanleeuwen/section-properties/branch/master/graph/badge.svg?token=QCH9J4SG6P)](https://codecov.io/gh/robbievanleeuwen/section-properties) [![PyPI version](https://badge.fury.io/py/sectionproperties.svg)](https://badge.fury.io/py/sectionproperties) [![Python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10-blue?style=flat&logo=python)](https://badge.fury.io/py/sectionproperties) [![GitHub license](https://img.shields.io/github/license/robbievanleeuwen/section-properties)](https://github.com/robbievanleeuwen/section-properties/blob/master/LICENSE.md)
66

77
A python package for the analysis of arbitrary cross-sections using the finite element method. *sectionproperties* can be used to determine section properties to be used in structural design and visualise cross-sectional stresses resulting from combinations of applied forces and bending moments.
88

docs/source/rst/installation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ Installation
22
============
33

44
These instructions will get you a copy of *sectionproperties* up and running on
5-
your local machine. You will need a working copy of python 3.7, 3.8 or 3.9 on your machine.
5+
your local machine. You will need a working copy of python 3.8, 3.9 or 3.10 on your
6+
machine.
67

78
Installing *sectionproperties*
89
------------------------------

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ classifiers =
2020
Operating System :: POSIX :: Linux
2121
Operating System :: MacOS :: MacOS X
2222
Operating System :: Microsoft :: Windows
23-
Programming Language :: Python :: 3.7
2423
Programming Language :: Python :: 3.8
2524
Programming Language :: Python :: 3.9
25+
Programming Language :: Python :: 3.10
2626
project_urls =
2727
Documentation = https://sectionproperties.readthedocs.io/
2828
Source = https://github.com/robbievanleeuwen/section-properties
@@ -32,7 +32,7 @@ project_urls =
3232
packages = find:
3333
platforms = any
3434
include_package_data = True
35-
python_requires = >=3.7,<3.10
35+
python_requires = >=3.8,<3.11
3636
setup_requires =
3737
setuptools
3838
install_requires =
@@ -42,7 +42,7 @@ install_requires =
4242
matplotlib>=3.4
4343
shapely>=2.0
4444
triangle
45-
cad_to_shapely>=0.3
45+
cad_to_shapely>=0.3.1
4646
rich
4747

4848
[options.extras_require]

0 commit comments

Comments
 (0)