From c63fce3c787cbb0132db70d92b32b6e10f3f1513 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Feb 2025 15:39:17 -0300
Subject: [PATCH] python3-filelock: update to 3.17.0.

---
 srcpkgs/python3-filelock/template | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-filelock/template b/srcpkgs/python3-filelock/template
index bdc4742e22c..dd83869a846 100644
--- a/srcpkgs/python3-filelock/template
+++ b/srcpkgs/python3-filelock/template
@@ -1,16 +1,24 @@
 # Template file for 'python3-filelock'
 pkgname=python3-filelock
-version=3.15.4
-revision=2
+version=3.17.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
 depends="python3"
 checkdepends="python3-pytest python3-pytest-mock python3-pytest-timeout
- python3-pytest-asyncio python3-virtualenv"
+ python3-pytest-asyncio"
 short_desc="Platform independent file lock"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="Unlicense"
 homepage="https://py-filelock.readthedocs.io/en/latest/"
 changelog="https://raw.githubusercontent.com/tox-dev/py-filelock/main/docs/changelog.rst"
 distfiles="${PYPI_SITE}/f/filelock/filelock-${version}.tar.gz"
-checksum=2207938cbc1844345cb01a5a95524dae30f0ce089eba5b00378295a17e3e90cb
+checksum=ee4e77401ef576ebb38cd7f13b9b28893194acc20a8e68e18730ba9c0e54660e
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# this would cause a build-time circular dependency
+	checkdepends+=" python3-virtualenv"
+else
+	# These tests requires virtualenv
+	make_check_args="--ignore tests/test_virtualenv.py"
+fi