Skip to content

Commit

Permalink
Drop support for Python 3.7 (#403)
Browse files Browse the repository at this point in the history
* Remove python 3.7 support

* Update docs
  • Loading branch information
bwohlberg authored Apr 19, 2023
1 parent f88e6f2 commit 9fa167f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 32 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Version 0.0.4 (unreleased)
for `flax`.
• New methods and a function for computing Jacobian-vector products for
`Operator` objects.
• Drop support for Python 3.7.



Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. image:: https://img.shields.io/badge/python-3.7+-green.svg
.. image:: https://img.shields.io/badge/python-3.8+-green.svg
:target: https://www.python.org/
:alt: Python >= 3.7
:alt: Python >= 3.8

.. image:: https://img.shields.io/github/license/lanl/scico.svg
:target: https://github.com/lanl/scico/blob/main/LICENSE
Expand Down
4 changes: 2 additions & 2 deletions docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Installing a Development Version
1. Fork both the ``scico`` and ``scico-data`` repositories, creating
copies of these repositories in your own git account.

2. Make sure that you have Python 3.7 or later installed in order to
2. Make sure that you have Python 3.8 or later installed in order to
create a conda virtual environment.

3. Clone your fork from the source repo.
Expand All @@ -54,7 +54,7 @@ Installing a Development Version

git clone --recurse-submodules [email protected]:<username>/scico.git

4. Create a conda environment using Python 3.7 or later, e.g.:
4. Create a conda environment using Python 3.8 or later, e.g.:

::

Expand Down
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Installing SCICO
================

SCICO requires Python version 3.7 or later. (Version 3.9 is
SCICO requires Python version 3.8 or later. (Version 3.9 is
recommended as it is the version under which SCICO has been most
thoroughly tested.) It is supported on both Linux and macOS, but is
not currently supported on Windows due to the limited support for
Expand Down
2 changes: 0 additions & 2 deletions scico/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import logging
import sys

from . import _python37 # python 3.7 compatibility

# isort: off
from ._autograd import grad, jacrev, linear_adjoint, value_and_grad, cvjp

Expand Down
24 changes: 0 additions & 24 deletions scico/_python37.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
lines = f.readlines()
install_requires = [line.strip() for line in lines]

python_requires = ">=3.7"
python_requires = ">=3.8"
tests_require = ["pytest", "pytest-runner"]

extra_require_files = [
Expand Down

0 comments on commit 9fa167f

Please sign in to comment.