diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e38b3b..6b58547 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 197c559..14ef32d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,6 @@ jobs: strategy: matrix: python-version: - - "3.6" - "3.7" - "3.8" - "3.9" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aef7bef..66138dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/README.md b/README.md index 9642d08..6b071d7 100644 --- a/README.md +++ b/README.md @@ -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`: @@ -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 ./ diff --git a/setup.py b/setup.py index 26f0a4d..57113c1 100755 --- a/setup.py +++ b/setup.py @@ -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, @@ -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", diff --git a/tox.ini b/tox.ini index 2e9d5aa..854daf0 100644 --- a/tox.ini +++ b/tox.ini @@ -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