Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 6 changed files with 214 additions and 769 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.9']
python-version: ['3.11']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# did not reduce runtime of `pipenv install` (still approx. 1 min)
#cache: pipenv
- run: pip install --upgrade pipenv==2023.6.18
- run: pip install --upgrade pipenv==2024.1.0
- run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
env:
PYTHON_VERSION: ${{ matrix.python-version }}
Expand All @@ -34,7 +34,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
Expand All @@ -59,7 +58,9 @@ jobs:
env:
PYTHON_VERSION: ${{ matrix.python-version }}
- run: pipenv graph
- run: pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)" --cov-report=term-missing --cov-fail-under=100
- run: >-
pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)"
--cov-report=term-missing --cov-fail-under=100
- run: pipenv run pylint "$(cat *.egg-info/top_level.txt)"
# workaround pylint reporting:
# > E0401: Unable to import 'ical2vdir' (import-error)
Expand Down Expand Up @@ -92,7 +93,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade pipenv==2023.6.18
- run: pip install --upgrade pipenv==2024.1.0
- run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
env:
PYTHON_VERSION: ${{ matrix.python-version }}
Expand Down
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load-plugins=pylint.extensions.check_elif,
pylint.extensions.comparison_placement,
pylint.extensions.confusing_elif,
pylint.extensions.consider_ternary_expression,
pylint.extensions.emptystring,
pylint.extensions.eq_without_hash,
pylint.extensions.for_any_all,
pylint.extensions.mccabe,
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- declare compatibility with `python3.11`

### Removed
- compatibility with `python3.7`
- compatibility with `python3.7` & `python3.8`

## [1.0.0] - 2022-08-01
### Added
Expand Down
9 changes: 0 additions & 9 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ pylint = "*"
pytest = "*"
pytest-cov = "*"

# python3.10 compatibility
# > File "[...]/lib/python3.10/site-packages/mypy/main.py", line 11, in <module>
# > from typing_extensions import Final, NoReturn
# > ModuleNotFoundError: No module named 'typing_extensions'
typing-extensions = {markers = ""}
# python<3.11 compatibility
# > File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
# > from exceptiongroup import BaseExceptionGroup
Expand All @@ -29,10 +24,6 @@ exceptiongroup = {markers = "python_version < '3.11'"}
# > import tomli as tomllib
# > ModuleNotFoundError: No module named 'tomli'
tomli = {markers = "python_version < '3.11'"}
# > File "[...]/lib/python3.10/site-packages/astroid/decorators.py", line 16, in <module>
# > import wrapt
# > ModuleNotFoundError: No module named 'wrapt'
wrapt = "*"
# remove `"markers": "python_version >= '3.11'"` to workaround:
# > File "[...]/lib/python3.7/site-packages/pylint/lint/parallel.py", line 13, in <module>
# > import dill
Expand Down
Loading

0 comments on commit d0f9d26

Please sign in to comment.