Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop supporting Python 3.8, add Python 3.13 #31

Merged
merged 3 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Installation

Requires `Python>=3.8`
Requires `Python>=3.9`

```bash
pip install filesender-client
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixed

* Base URL was not being set correctly for download operations [[#29]](https://github.com/WEHI-ResearchComputing/FileSenderCli/pull/29).
* Drop support for Python 3.8 as it is now end-of-life, and add support for Python 3.13 [[#31]](https://github.com/WEHI-ResearchComputing/FileSenderCli/pull/31)

## Version 2.1.0

Expand Down
2 changes: 1 addition & 1 deletion filesender/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def prepare(self, client: AsyncClient):
if cookie.name.lower() == "csrfptoken":
self.csrf_token = cookie.value
if self.csrf_token is None:
logger.warn("No CSRF token could be found!")
logger.warning("No CSRF token could be found!")

def sign(self, request: SignType, client: AsyncClient) -> SignType:
request.url = request.url.copy_add_param("vid", self.guest_token)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "filesender-client"
description = "FileSender Python CLI and API client"
version = "2.1.1"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = {text = "BSD-3-Clause"}
classifiers = [
"Programming Language :: Python :: 3",
Expand Down
Loading