Skip to content

Commit

Permalink
Merge pull request #207 from CSSFrancis/remove37
Browse files Browse the repository at this point in the history
Remove Python 3.7 Support
  • Loading branch information
hakonanes authored Apr 16, 2024
2 parents 07a25d3 + e638c6a commit bb359b9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches:
- '*'
workflow_dispatch:
workflow: '*'

env:
MPLBACKEND: agg
Expand All @@ -19,9 +18,11 @@ jobs:
name: check manifest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies
run: |
Expand All @@ -43,15 +44,15 @@ jobs:
include:
# Oldest supported version of main dependencies
- os: ubuntu-latest
python-version: 3.7
python-version: 3.8
OLDEST_SUPPORTED_VERSION: true
DEPENDENCIES: diffpy.structure==3.0.0 matplotlib==3.3 numpy==1.17 orix==0.9.0 scipy==1.1 tqdm==4.9
DEPENDENCIES: diffpy.structure==3.0.2 matplotlib==3.5 numpy==1.17.3 orix==0.9.0 scipy==1.8 tqdm==4.9
LABEL: -oldest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Deprecated

Removed
-------
- Removed support for Python 3.6, leaving 3.7 as the oldest supported version.
- Removed support for Python 3.6 and Python 3.7, leaving 3.8 as the oldest supported
version.

Fixed
-----
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
long_description=open("README.rst").read(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -75,13 +74,13 @@
packages=find_packages(),
extras_require=extra_feature_requirements,
install_requires=[
"diffpy.structure >= 3.0.0", # First Python 3 support
"diffpy.structure >= 3.0.2",
"matplotlib >= 3.3",
"numba",
"numpy >= 1.17",
"numpy >= 1.17.3",
"orix >= 0.9",
"psutil",
"scipy >= 1.1",
"scipy >= 1.8",
"tqdm >= 4.9",
"transforms3d",
],
Expand Down

0 comments on commit bb359b9

Please sign in to comment.