Repository: atmtools/typhon (language: python)

Issue:
Make numba optional
Numba takes a long time to be updated for newer numpy and Python versions. It does neither support [numpy 1.24](https://github.com/numba/numba/issues/8464) nor [Python 3.11](https://github.com/numba/numba/issues/8304) yet and thus prevents typhon from being installed in environments that require these versions.

This PR changes numba to be used if available, but not have a hard dependency on it.


Discussion / hints:

Fix patch:
diff --git a/environment.yml b/environment.yml
index 983d0992..00131d6d 100644
--- a/environment.yml
+++ b/environment.yml
@@ -1,6 +1,6 @@
 name: typhon
 dependencies:
-        - python>=3.8
+        - python>=3.9
         - cartopy
         - cython
         - fsspec
@@ -25,5 +25,4 @@ dependencies:
         - sphinx_rtd_theme
         - xarray>=0.10.2
 channels:
-        - defaults
         - conda-forge
diff --git a/setup.py b/setup.py
index fda4033c..3d2449b3 100644
--- a/setup.py
+++ b/setup.py
@@ -71,11 +71,11 @@
         "Intended Audience :: Science/Research",
         "Topic :: Scientific/Engineering :: Atmospheric Science",
         "License :: OSI Approved :: MIT License",
-        "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
     ],
-    python_requires="~=3.8",
+    python_requires="~=3.9",
     include_package_data=True,
     install_requires=[
         "docutils",


Test patch:
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index d6b3a7d3..30b2bce9 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -11,7 +11,7 @@ jobs:
       fail-fast: false
       matrix:
         name: [ubuntu, windows, macos]
-        python-version: ["3.8", "3.9", "3.10"]
+        python-version: ["3.9", "3.10", "3.11"]
 
         include:
           - name: ubuntu