Repository: cemsbv/pygef (language: python)

Issue:
missing dependency typing_extensions
When trying to run pygef 0.8.1 on python3.10, a `ModuleNotFoundError` is thrown for missing dependency: typing-extensions.
On python3.9 this doesn't seem to be the case.

typing-extensions should be added to the dependencies in pyproject.toml


Discussion / hints:

Fix patch:
diff --git a/README.md b/README.md
index 971c759e..b125a7e2 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
 [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
 [![PyPi Version](https://img.shields.io/pypi/v/pygef.svg)](https://pypi.org/project/pygef)
 [![GitHub stars](https://img.shields.io/github/stars/ritchie46/pygef.svg?logo=github&label=Stars&logoColor=white)](https://github.com/ritchie46/pygef)
-[![Coverage Status](https://coveralls.io/repos/github/ritchie46/pygef/badge.svg?branch=master)](https://coveralls.io/github/ritchie46/pygef?branch=code-coverage)
+[![Coverage Status](https://coveralls.io/repos/github/cemsbv/pygef/badge.svg?branch=master)](https://coveralls.io/github/cemsbv/pygef?branch=master)
 
 Simple parser for \*.gef files. These are ASCII based files used for soil properties measurements.
 Compatible with Python 3.9.
diff --git a/src/pygef/shim.py b/src/pygef/shim.py
index 140baeef..2525b26b 100644
--- a/src/pygef/shim.py
+++ b/src/pygef/shim.py
@@ -3,9 +3,7 @@
 import io
 import os
 from pathlib import Path
-from typing import Any
-
-from typing_extensions import Literal
+from typing import Any, Literal
 
 from pygef.bore import BoreData
 from pygef.broxml.parse_bore import read_bore as read_bore_xml


Test patch:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 108485c0..086a3a46 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -14,19 +14,25 @@ jobs:
   test:
     name: Unit test
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version:
+          - '3.9'
+          - '3.10'
+          - '3.11'
     steps:
       - uses: actions/checkout@v3
 
-      - name: Install python 3.9
+      - name: Install python ${{ matrix.python-version }}
         uses: actions/setup-python@v4
         with:
-          python-version: 3.9
+          python-version: ${{ matrix.python-version }}
 
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip setuptools
-          pip install -r requirements.txt
-          pip install .
+          # shellcheck disable=SC2102
+          pip install .[test] .[map]
 
       - name: Test
         run: coverage run -m pytest