Skip to content

Commit

Permalink
Remove Python 3.9 support
Browse files Browse the repository at this point in the history
Onwards with 3.10+ !!

Indirectly this got rid of importlib-metadata, importlib-resources,
some typing extensions and zipp, which is good.
  • Loading branch information
teutoburg committed Sep 26, 2024
1 parent ec82f78 commit 8f16e35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 68 deletions.
65 changes: 2 additions & 63 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers = [
]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
numpy = "^1.26.3"
scipy = "^1.11.4"
astropy = "^5.3.4"
Expand Down
6 changes: 2 additions & 4 deletions scopesim/server/download_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ def handle_download(
padlen: int = 0,
chunk_size: int = 128,
disable_bar: bool = False,
# params: dict | None = None, # TODOpy310
params=None,
params: dict | None = None,
) -> None:
"""
Perform a streamed download and write the content to disk.
Expand Down Expand Up @@ -159,8 +158,7 @@ def send_get(
client: httpx.Client,
sub_url: str,
stream: bool = False,
# params: dict | None = None, # TODOpy310
params=None,
params: dict | None = None,
) -> httpx.Response:
"""
Send a GET request (streamed or not) using an existing client.
Expand Down

0 comments on commit 8f16e35

Please sign in to comment.