Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
ignore deprecation in python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Dec 17, 2023
1 parent 9fc1f3d commit 776e8d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Install python packages
uses: ./.github/actions/install_requirements
with:
python_version: 3.10
requirements_file: requirements-dev-3.x.txt
install_options: -e .[dev]

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ addopts = """
# https://iscinumpy.gitlab.io/post/bound-version-constraints/#watch-for-warnings
filterwarnings = [
"error",
"ignore:.*socket.*:ResourceWarning"
"ignore:.*socket.*:ResourceWarning",
# this deprecation is rather serious for gphotos-sync as it relies on sqlite
# doing date conversion quite heavily - will ignore the deprection for now
"ignore:sqlite:DeprecationWarning: The default datetime adapter.*"
]
# Doctest python code in docs, python code in src docstrings, test functions in tests
testpaths = "docs src tests"
Expand Down

0 comments on commit 776e8d3

Please sign in to comment.