Skip to content

Commit

Permalink
Drop Python 3.6 and 3.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Aug 11, 2022
1 parent 33834a5 commit a3e999d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/pyscal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ jobs:
strategy:
matrix:
include:
- os: 'ubuntu-latest'
python-version: '3.6'
- os: 'ubuntu-latest'
python-version: '3.7'
- os: 'ubuntu-latest'
python-version: '3.8'
- os: 'ubuntu-latest'
Expand Down Expand Up @@ -73,10 +69,9 @@ jobs:
rstcheck -r docs
- name: Install font (xkcd) for documentation
if: matrix.python-version == '3.6'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
run: |
sudo apt-get install -y fonts-humor-sans
python -c "import matplotlib.font_manager; matplotlib.font_manager._rebuild()"
- name: Build documentation
if: matrix.os == 'ubuntu-latest'
Expand All @@ -86,7 +81,7 @@ jobs:
python setup.py build_sphinx
- name: Build python package and publish to pypi
if: github.event_name == 'release' && matrix.python-version == '3.6' && matrix.os == 'ubuntu-latest'
if: github.event_name == 'release' && matrix.python-version == '3.8' && matrix.os == 'ubuntu-latest'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pyscal_pypi_token }}
Expand All @@ -97,7 +92,7 @@ jobs:
twine upload dist/*
- name: Update GitHub pages
if: github.event_name == 'release' && matrix.python-version == '3.6' && matrix.os == 'ubuntu-latest'
if: github.event_name == 'release' && matrix.python-version == '3.8' && matrix.os == 'ubuntu-latest'
run: |
cp -R ./build/sphinx/html ../html
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Build Status](https://img.shields.io/github/workflow/status/equinor/pyscal/pyscal)](https://github.com/equinor/pyscal/actions?query=workflow%3Apyscal)
![Build Status](https://img.shields.io/github/workflow/status/equinor/pyscal/pyscal)](https://github.com/equinor/pyscal/actions?query=workflow%3Apyscal)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/equinor/pyscal.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/equinor/pyscal/context:python)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/equinor/pyscal.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/equinor/pyscal/alerts/)
[![codecov](https://codecov.io/gh/equinor/pyscal/branch/master/graph/badge.svg)](https://codecov.io/gh/equinor/pyscal)
[![Python 3.6-3.9](https://img.shields.io/badge/python-3.6%20|%203.7%20|%203.8%20|%203.9-blue.svg)](https://www.python.org)
[![Python 3.8-3.9](https://img.shields.io/badge/python-3.8%20|%203.9-blue.svg)](https://www.python.org)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://black.readthedocs.io/)
[![PyPI version](https://badge.fury.io/py/pyscal.svg)](https://badge.fury.io/py/pyscal)
[![Downloads](https://pepy.tech/badge/pyscal)](https://pepy.tech/project/pyscal)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"openpyxl",
"pandas",
"scipy",
"typing-extensions>=3.7; python_version<'3.8'",
"xlrd",
]

Expand Down

0 comments on commit a3e999d

Please sign in to comment.