Skip to content

Commit

Permalink
remove 3.9 support (#38)
Browse files Browse the repository at this point in the history
* remove 3.9 support

* relock

* limit Prefect to v2, v2

* bumps version
  • Loading branch information
xmachak authored Nov 4, 2024
1 parent 5f58dea commit 06db6fe
Show file tree
Hide file tree
Showing 5 changed files with 2,256 additions and 2,160 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 2 additions & 4 deletions block_cascade/executors/databricks/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@
from block_cascade.executors.databricks.resource import DatabricksResource
from block_cascade.prefect import get_prefect_logger

if sys.version_info.major >= 3 and sys.version_info.minor >= 9:
from importlib.resources import files
else: # python <3.9
from importlib_resources import files
from importlib.resources import files


lock = threading.Lock()

Expand Down
1 change: 1 addition & 0 deletions block_cascade/prefect/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from prefect.client import get_client

try:

from prefect import get_run_logger
except: # noqa: E722
from prefect.logging import get_run_logger
Expand Down
Loading

0 comments on commit 06db6fe

Please sign in to comment.