Skip to content

Commit c4f64ba

Browse files
committed
bumped minimum Python version to 3.9 and bumped version to 0.20.0
1 parent abc8435 commit c4f64ba

4 files changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/run_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12" ]
11+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
1212

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

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pip install scadnano
6565
Read below for troubleshooting suggestions if that didn't work.
6666

6767
### Getting Python
68-
The scadnano Python package requires Python version 3.7 or later.
68+
The scadnano Python package requires Python version 3.9 or later.
6969

7070
To check your current version of Python, open a command line and type
7171

@@ -79,7 +79,7 @@ If it is version 2.7 or below, type
7979
python3 --version
8080
```
8181

82-
If that fails, or reports Python version 3.6 or below, you will have to install a later version of Python. Follow [this link](https://www.python.org/downloads/) to install Python. You may also use an alternative Python distribution, such as [Anaconda](https://www.anaconda.com/products/individual#Downloads).
82+
If that fails, or reports Python version 3.8 or below, you will have to install a later version of Python. Follow [this link](https://www.python.org/downloads/) to install Python. You may also use an alternative Python distribution, such as [Anaconda](https://www.anaconda.com/products/individual#Downloads).
8383

8484

8585

@@ -123,17 +123,11 @@ Once Python is installed, there are two ways you can install the scadnano Python
123123
```
124124
pip 19.3.1 from ...lib\site-packages\pip (python 3.8)
125125
```
126-
If the version of Python at the end is Python 3.7 or higher, you are good. If it is version 2.7 or lower, type
126+
If the version of Python at the end is Python 3.9 or higher, you are good. If it is version 2.7 or lower, type
127127
```
128128
pip3 --version
129129
```
130-
If that works and shows Python 3.7 or higher, you are good, but you should type `pip3` in the subsequent instructions instead of `pip`.
131-
132-
If it shows Python 3.6, install the [dataclasses backport module](https://pypi.org/project/dataclasses/) via
133-
```
134-
pip install dataclasses
135-
```
136-
If it shows Python 3.5 or lower, then you will need to upgrade your Python version (recommended Python 3.7 or higher).
130+
If that works and shows Python 3.9 or higher, you are good, but you should type `pip3` in the subsequent instructions instead of `pip`.
137131

138132
139133
2. download

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: scadnano-test
33
channels:
44
- defaults
55
dependencies:
6-
- python=3.7
6+
- python=3.9
77
- pip
88
- pip:
99
- sphinx

scadnano/scadnano.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# needed to use forward annotations: https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep563
5555
from __future__ import annotations
5656

57-
__version__ = "0.19.5" # version line; WARNING: do not remove or change this line or comment
57+
__version__ = "0.20.0" # version line; WARNING: do not remove or change this line or comment
5858

5959
import collections
6060
import dataclasses
@@ -2950,7 +2950,7 @@ class StrandBuilder:
29502950
29512951
This is also useful if you create strands in a loop and want to call some of the methods conditionally.
29522952
For example to create many strands where only the first has a particular modification:
2953-
2953+
29542954
.. code-block:: Python
29552955
29562956
for i in range(n):

0 commit comments

Comments
 (0)