Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.7 #403

Merged
merged 2 commits into from
Apr 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 git@github.com:<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