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.6 #218

Merged
merged 1 commit into from
Nov 13, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2.2.2
with:
python-version: "3.6"
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# See https://pre-commit.com/
# See https://github.com/psf/black#version-control-integration
# See https://black.readthedocs.io/en/stable/integrations/source_version_control.html
repos:
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
language_version: python3.6
language_version: python3
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Control Leica microscopes with python

## Installation

- **The latest version of leicacam requires Python 3.6+**
- **The latest version of leicacam requires Python 3.7+**
- If you need to keep using Python 2.7, pin your version of leicacam to 0.3.0.

Install using `pip`:
Expand Down Expand Up @@ -61,7 +61,6 @@ pip install -r requirements_dev.txt
### Code formatting

We use black code formatter to automatically format the code.
This requires Python 3.6 for development.

```bash
black ./
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
url="https://github.com/MartinHjelmare/leicacam",
packages=find_packages(exclude=["test", "test.*"]),
include_package_data=True,
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=["async_timeout", "pydebug"],
license="MIT",
zip_safe=False,
Expand All @@ -33,7 +33,6 @@
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[tox]
envlist = py36, py37, py38, py39, py310, lint
envlist = py37, py38, py39, py310, lint
skip_missing_interpreters = True

[gh-actions]
python =
3.6: py36, lint
3.7: py37
3.7: py37, lint
3.8: py38
3.9: py39
3.10: py310
Expand Down