diff --git a/pyproject.toml b/pyproject.toml index f886063..147e7ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ classifiers = [ ] dependencies = [ "Django>=3.2", + "globber", "watchfiles", ] urls = {Changelog = "https://github.com/adamchainz/django-watchfiles/blob/main/CHANGELOG.rst",Funding = "https://adamj.eu/books/",Repository = "https://github.com/adamchainz/django-watchfiles"} diff --git a/requirements/py310-django32.txt b/requirements/py310-django32.txt index 83aa2c2..220640c 100644 --- a/requirements/py310-django32.txt +++ b/requirements/py310-django32.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.10 --output-file py310-django32.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py310-django40.txt b/requirements/py310-django40.txt index 343e2b6..b76627a 100644 --- a/requirements/py310-django40.txt +++ b/requirements/py310-django40.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.10 --output-file py310-django40.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py310-django41.txt b/requirements/py310-django41.txt index 9f320d9..b1ded58 100644 --- a/requirements/py310-django41.txt +++ b/requirements/py310-django41.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.10 --output-file py310-django41.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py310-django42.txt b/requirements/py310-django42.txt index ef9b962..fd100cb 100644 --- a/requirements/py310-django42.txt +++ b/requirements/py310-django42.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.10 --output-file py310-django42.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py310-django50.txt b/requirements/py310-django50.txt index 1452e5e..65f91d8 100644 --- a/requirements/py310-django50.txt +++ b/requirements/py310-django50.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.10 --output-file py310-django50.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py311-django41.txt b/requirements/py311-django41.txt index 2b9dda7..c5f865a 100644 --- a/requirements/py311-django41.txt +++ b/requirements/py311-django41.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.11 --output-file py311-django41.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -66,6 +62,10 @@ django==4.1.13 \ --hash=sha256:04ab3f6f46d084a0bba5a2c9a93a3a2eb3fe81589512367a75f79ee8acf790ce \ --hash=sha256:94a3f471e833c8f124ee7a2de11e92f633991d975e3fa5bdd91e8abd66426318 # via -r requirements.in +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py311-django42.txt b/requirements/py311-django42.txt index a175ee5..70cf99d 100644 --- a/requirements/py311-django42.txt +++ b/requirements/py311-django42.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.11 --output-file py311-django42.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -66,6 +62,10 @@ django==4.2.11 \ --hash=sha256:6e6ff3db2d8dd0c986b4eec8554c8e4f919b5c1ff62a5b4390c17aff2ed6e5c4 \ --hash=sha256:ddc24a0a8280a0430baa37aff11f28574720af05888c62b7cfe71d219f4599d3 # via -r requirements.in +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py311-django50.txt b/requirements/py311-django50.txt index 1ad8690..dd630f8 100644 --- a/requirements/py311-django50.txt +++ b/requirements/py311-django50.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.11 --output-file py311-django50.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -66,6 +62,10 @@ django==5.0.4 \ --hash=sha256:4bd01a8c830bb77a8a3b0e7d8b25b887e536ad17a81ba2dce5476135c73312bd \ --hash=sha256:916423499d75d62da7aa038d19aef23d23498d8df229775eb0a6309ee1013775 # via -r requirements.in +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py312-django42.txt b/requirements/py312-django42.txt index b3c632d..0b1f5ef 100644 --- a/requirements/py312-django42.txt +++ b/requirements/py312-django42.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.12 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.12 --output-file py312-django42.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -66,6 +62,10 @@ django==4.2.11 \ --hash=sha256:6e6ff3db2d8dd0c986b4eec8554c8e4f919b5c1ff62a5b4390c17aff2ed6e5c4 \ --hash=sha256:ddc24a0a8280a0430baa37aff11f28574720af05888c62b7cfe71d219f4599d3 # via -r requirements.in +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py312-django50.txt b/requirements/py312-django50.txt index e917185..5feace2 100644 --- a/requirements/py312-django50.txt +++ b/requirements/py312-django50.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.12 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.12 --output-file py312-django50.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -66,6 +62,10 @@ django==5.0.4 \ --hash=sha256:4bd01a8c830bb77a8a3b0e7d8b25b887e536ad17a81ba2dce5476135c73312bd \ --hash=sha256:916423499d75d62da7aa038d19aef23d23498d8df229775eb0a6309ee1013775 # via -r requirements.in +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in iniconfig==2.0.0 \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 diff --git a/requirements/py38-django32.txt b/requirements/py38-django32.txt index 2703488..9eaff40 100644 --- a/requirements/py38-django32.txt +++ b/requirements/py38-django32.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.8 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.8 --output-file py38-django32.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py38-django40.txt b/requirements/py38-django40.txt index 9bf82d4..f91e55b 100644 --- a/requirements/py38-django40.txt +++ b/requirements/py38-django40.txt @@ -1,9 +1,5 @@ -# -# This file is autogenerated by pip-compile with Python 3.8 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.8 --output-file py38-django40.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 @@ -26,7 +22,7 @@ backports-zoneinfo==0.2.1 \ --hash=sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac \ --hash=sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -88,6 +84,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py38-django41.txt b/requirements/py38-django41.txt index ce26515..32b0029 100644 --- a/requirements/py38-django41.txt +++ b/requirements/py38-django41.txt @@ -1,9 +1,5 @@ -# -# This file is autogenerated by pip-compile with Python 3.8 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.8 --output-file py38-django41.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 @@ -26,7 +22,7 @@ backports-zoneinfo==0.2.1 \ --hash=sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac \ --hash=sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -88,6 +84,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py38-django42.txt b/requirements/py38-django42.txt index 071d102..d372c95 100644 --- a/requirements/py38-django42.txt +++ b/requirements/py38-django42.txt @@ -1,9 +1,5 @@ -# -# This file is autogenerated by pip-compile with Python 3.8 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.8 --output-file py38-django42.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 @@ -26,7 +22,7 @@ backports-zoneinfo==0.2.1 \ --hash=sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac \ --hash=sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -88,6 +84,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py39-django32.txt b/requirements/py39-django32.txt index 822f31c..16be0bd 100644 --- a/requirements/py39-django32.txt +++ b/requirements/py39-django32.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.9 --output-file py39-django32.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py39-django40.txt b/requirements/py39-django40.txt index c5cc353..7accdd8 100644 --- a/requirements/py39-django40.txt +++ b/requirements/py39-django40.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.9 --output-file py39-django40.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py39-django41.txt b/requirements/py39-django41.txt index 6153cc0..291227a 100644 --- a/requirements/py39-django41.txt +++ b/requirements/py39-django41.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.9 --output-file py39-django41.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/py39-django42.txt b/requirements/py39-django42.txt index cbe6b53..9b07798 100644 --- a/requirements/py39-django42.txt +++ b/requirements/py39-django42.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# requirements/compile.py -# +# This file was autogenerated by uv via the following command: +# uv pip compile --generate-hashes --constraint - requirements.in --python 3.9 --output-file py39-django42.txt asgiref==3.8.1 \ --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 # via django -coverage[toml]==7.4.4 \ +coverage==7.4.4 \ --hash=sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c \ --hash=sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63 \ --hash=sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7 \ @@ -70,6 +66,10 @@ exceptiongroup==1.2.1 \ --hash=sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad \ --hash=sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16 # via pytest +globber==0.2.1 \ + --hash=sha256:2d17220096bf50f34134eed81c068d343fe7bd96ed8306fb2a5ac6315070cbe9 \ + --hash=sha256:99720aab0939283d5919405b170f07990e47333c9481faa0a14926e62e56ef70 + # via -r requirements.in importlib-metadata==7.1.0 \ --hash=sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570 \ --hash=sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2 diff --git a/requirements/requirements.in b/requirements/requirements.in index 443911a..ca33dc7 100644 --- a/requirements/requirements.in +++ b/requirements/requirements.in @@ -3,3 +3,4 @@ django pytest pytest-django pytest-randomly +globber diff --git a/src/django_watchfiles/__init__.py b/src/django_watchfiles/__init__.py index 2c05d6e..1b91508 100644 --- a/src/django_watchfiles/__init__.py +++ b/src/django_watchfiles/__init__.py @@ -1,12 +1,12 @@ from __future__ import annotations -import fnmatch import threading from pathlib import Path from typing import Any from typing import Callable from typing import Generator +import globber import watchfiles from django.utils import autoreload @@ -69,7 +69,7 @@ def file_filter(self, change: watchfiles.Change, filename: str) -> bool: else: # print("Path is sub dir") for glob in globs: - if fnmatch.fnmatch(str(relative_path), glob): + if globber.match(glob, str(relative_path)): # print("Path is glob match") return True # print("file filter", change, path)