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

Remove Python 3.7 Support #207

Merged
merged 5 commits into from
Apr 16, 2024
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
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