tribuchet: building on jamie structuredAttrs is enabled Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/ba5axvkmx53pidlpjc5j3a91xvqyqyc7-django-compression-middleware-0.5.0.tar.gz source root is django-compression-middleware-0.5.0 setting SOURCE_DATE_EPOCH to timestamp 1679598990 of file "django-compression-middleware-0.5.0/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'LICENSE.txt' did not match any files. By 2027-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing django_compression_middleware.egg-info/PKG-INFO writing dependency_links to django_compression_middleware.egg-info/dependency_links.txt writing requirements to django_compression_middleware.egg-info/requires.txt writing top-level names to django_compression_middleware.egg-info/top_level.txt reading manifest file 'django_compression_middleware.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.html' under directory 'compression_middleware' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'django_compression_middleware.egg-info/SOURCES.txt' * Building wheel... /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'LICENSE.txt' did not match any files. By 2027-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/compression_middleware copying compression_middleware/br.py -> build/lib/compression_middleware copying compression_middleware/middleware.py -> build/lib/compression_middleware copying compression_middleware/__init__.py -> build/lib/compression_middleware copying compression_middleware/decorators.py -> build/lib/compression_middleware copying compression_middleware/zstd.py -> build/lib/compression_middleware running egg_info writing django_compression_middleware.egg-info/PKG-INFO writing dependency_links to django_compression_middleware.egg-info/dependency_links.txt writing requirements to django_compression_middleware.egg-info/requires.txt writing top-level names to django_compression_middleware.egg-info/top_level.txt reading manifest file 'django_compression_middleware.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.html' under directory 'compression_middleware' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'django_compression_middleware.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/compression_middleware copying build/lib/compression_middleware/middleware.py -> build/bdist.linux-x86_64/wheel/./compression_middleware copying build/lib/compression_middleware/zstd.py -> build/bdist.linux-x86_64/wheel/./compression_middleware copying build/lib/compression_middleware/__init__.py -> build/bdist.linux-x86_64/wheel/./compression_middleware copying build/lib/compression_middleware/br.py -> build/bdist.linux-x86_64/wheel/./compression_middleware copying build/lib/compression_middleware/decorators.py -> build/bdist.linux-x86_64/wheel/./compression_middleware running install_egg_info Copying django_compression_middleware.egg-info to build/bdist.linux-x86_64/wheel/./django_compression_middleware-0.5.0-py3.14.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/django_compression_middleware-0.5.0.dist-info/WHEEL creating '/build/django-compression-middleware-0.5.0/dist/.tmp-z7l8ntsr/django_compression_middleware-0.5.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'compression_middleware/__init__.py' adding 'compression_middleware/br.py' adding 'compression_middleware/decorators.py' adding 'compression_middleware/middleware.py' adding 'compression_middleware/zstd.py' adding 'django_compression_middleware-0.5.0.dist-info/METADATA' adding 'django_compression_middleware-0.5.0.dist-info/WHEEL' adding 'django_compression_middleware-0.5.0.dist-info/top_level.txt' adding 'django_compression_middleware-0.5.0.dist-info/zip-safe' adding 'django_compression_middleware-0.5.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built django_compression_middleware-0.5.0-py2.py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for django_compression_middleware-0.5.0-py2.py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed django_compression_middleware-0.5.0-py2.py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/lhdh00cwb99ic57ii5cq8vx9qbkgc5nq-python3.14-django-compression-middleware-0.5.0-dist checking for references to /build/ in /nix/store/lhdh00cwb99ic57ii5cq8vx9qbkgc5nq-python3.14-django-compression-middleware-0.5.0-dist... patching script interpreter paths in /nix/store/lhdh00cwb99ic57ii5cq8vx9qbkgc5nq-python3.14-django-compression-middleware-0.5.0-dist shrinking RPATHs of ELF executables and libraries in /nix/store/z77h0aly6jbckbm78drvvmwwn2zxlgss-python3.14-django-compression-middleware-0.5.0 checking for references to /build/ in /nix/store/z77h0aly6jbckbm78drvvmwwn2zxlgss-python3.14-django-compression-middleware-0.5.0... patching script interpreter paths in /nix/store/z77h0aly6jbckbm78drvvmwwn2zxlgss-python3.14-django-compression-middleware-0.5.0 stripping (with command strip and flags -S -p) in /nix/store/z77h0aly6jbckbm78drvvmwwn2zxlgss-python3.14-django-compression-middleware-0.5.0/lib Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 -- /nix/store/xahxrjs30p3mw0a42bqg9ikgkikskw8m-python3-3.14.8/bin/python3.14 cachedir: .pytest_cache rootdir: /build/django-compression-middleware-0.5.0 configfile: pytest.ini plugins: django-4.14.0 collecting ... collected 25 items tests/test_decorator.py::CompressPageDecoratorTest::test_normal_page PASSED [ 4%] tests/test_decorator.py::CompressPageDecoratorTest::test_small_page PASSED [ 8%] tests/test_decorator.py::CompressPageDecoratorTest::test_streaming_page PASSED [ 12%] tests/test_interactions.py::GZipMiddlewareTest::test_compress_deterministic PASSED [ 16%] tests/test_interactions.py::GZipMiddlewareTest::test_compress_file_response PASSED [ 20%] tests/test_interactions.py::GZipMiddlewareTest::test_compress_non_200_response PASSED [ 24%] tests/test_interactions.py::GZipMiddlewareTest::test_compress_response PASSED [ 28%] tests/test_interactions.py::GZipMiddlewareTest::test_compress_streaming_response PASSED [ 32%] tests/test_interactions.py::GZipMiddlewareTest::test_compress_streaming_response_unicode PASSED [ 36%] tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_compressed_response PASSED [ 40%] tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_incompressible_response PASSED [ 44%] tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_short_response PASSED [ 48%] tests/test_interactions.py::ETagGZipMiddlewareTest::test_etag_match PASSED [ 52%] tests/test_interactions.py::ETagGZipMiddlewareTest::test_strong_etag_modified PASSED [ 56%] tests/test_interactions.py::ETagGZipMiddlewareTest::test_weak_etag_not_modified PASSED [ 60%] tests/test_middleware.py::MiddlewareTestCase::test_content_encoding_parsing PASSED [ 64%] tests/test_middleware.py::MiddlewareTestCase::test_etag_is_updated_if_present PASSED [ 68%] tests/test_middleware.py::MiddlewareTestCase::test_middleware_compress_response PASSED [ 72%] tests/test_middleware.py::MiddlewareTestCase::test_middleware_compress_response_zstd PASSED [ 76%] tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_client_not_accept PASSED [ 80%] tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_invalid_header PASSED [ 84%] tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_response_is_already_compressed PASSED [ 88%] tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_response_if_response_is_small PASSED [ 92%] tests/test_middleware.py::StreamingTest::test_compress_streaming_response PASSED [ 96%] tests/test_middleware.py::StreamingTest::test_compress_streaming_response_unicode PASSED [100%] ============================== 25 passed in 0.27s ============================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase