Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6c918ef23c3744808d64f4afa3f69e9e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665187200 Wrote: /builddir/build/SRPMS/python-flask-compress-1.13-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f1447222435a4d2aae1ada40ed5356e8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665187200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RIac69 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flask-compress-1.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flask-compress-1.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flask-compress-1.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-setuptools.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf flask-compress.egg-info + sed -i 's|{version}|1.13|' pyproject.toml + sed -i 's|{version}|1.13|' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fwq9ra + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir -r Handling setuptools>=42 from build-system.requires Requirement not satisfied: setuptools>=42 Handling wheel from build-system.requires Requirement not satisfied: wheel Handling setuptools_scm[toml]>=3.4 from build-system.requires Requirement not satisfied: setuptools_scm[toml]>=3.4 Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flask-compress-1.13-3.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6f301544d8f14386a870c60512722afa', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665187200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BP5vCK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flask-compress-1.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flask-compress-1.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flask-compress-1.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-setuptools.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf flask-compress.egg-info + sed -i 's|{version}|1.13|' pyproject.toml + sed -i 's|{version}|1.13|' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.6HkFVJ + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 65.5.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.1) Handling setuptools_scm[toml]>=3.4 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4 (installed: setuptools_scm 7.0.5) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) Handling setuptools from get_requires_for_build_wheel Requirement satisfied: setuptools (installed: setuptools 65.5.0) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'readme' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `readme = '# Flask-Compress\n\n[![Build](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml/badge.svg)](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml)\n[![Version](https://img.shields.io/pypi/v/flask-compress.svg)](https://pypi.python.org/pypi/Flask-Compress)\n[![Downloads](https://static.pepy.tech/badge/flask-compress)](https://pypi.python.org/pypi/Flask-Compress)\n\nFlask-Compress allows you to easily compress your [Flask](http://flask.pocoo.org/) application\'s responses with gzip, deflate or brotli. It originally started as a fork of [Flask-gzip](https://github.com/closeio/Flask-gzip).\n\nThe preferred solution is to have a server (like [Nginx](http://wiki.nginx.org/Main)) automatically compress the static files for you. If you don\'t have that option Flask-Compress will solve the problem for you.\n\n\n## How it works\n\nFlask-Compress both adds the various headers required for a compressed response and compresses the response data. \nThis makes serving compressed static files extremely easy.\n\nInternally, every time a request is made the extension will check if it matches one of the compressible MIME types\nand whether the client and the server use some common compression algorithm, and will automatically attach the \nappropriate headers.\n\nTo determine the compression algorithm, the `Accept-Encoding` request header is inspected, respecting the\nquality factor as described in [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding). \nIf no requested compression algorithm is supported by the server, we don\'t compress the response. If, on the other\nhand, multiple suitable algorithms are found and are requested with the same quality factor, we choose the first one\ndefined in the `COMPRESS_ALGORITHM` option (see below). \n\n\n## Installation\n\nIf you use pip then installation is simply:\n\n```shell\n$ pip install --user flask-compress\n```\n\nor, if you want the latest github version:\n\n```shell\n$ pip install --user git+git://github.com/colour-science/flask-compress.git\n```\n\nYou can also install Flask-Compress via Easy Install:\n\n```shell\n$ easy_install flask-compress\n```\n\n\n## Using Flask-Compress\n\n### Globally\n\nFlask-Compress is incredibly simple to use. In order to start compressing your Flask application\'s assets, the first thing to do is let Flask-Compress know about your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) application object.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\nCompress(app)\n```\n\nIn many cases, however, one cannot expect a Flask instance to be ready at import time, and a common pattern is to return a Flask instance from within a function only after other configuration details have been taken care of. In these cases, Flask-Compress provides a simple function, `flask_compress.Compress.init_app`, which takes your application as an argument.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\ncompress = Compress()\n\ndef start_app():\n app = Flask(__name__)\n compress.init_app(app)\n return app\n```\n\nIn terms of automatically compressing your assets, passing your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) object to the `flask_compress.Compress` object is all that needs to be done.\n\n### Per-view compression\n\nCompression is possible per view using the `@compress.compressed()` decorator. Make sure to disable global compression first.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\napp.config["COMPRESS_REGISTER"] = False # disable default compression of all eligible requests\ncompress = Compress()\ncompress.init_app(app)\n\n# Compress this view specifically\n@app.route("/test")\n@compress.compressed()\ndef view():\n pass\n```\n\n## Options\n\nWithin your Flask application\'s settings you can provide the following settings to control the behavior of Flask-Compress. None of the settings are required.\n\n| Option | Description | Default |\n| ------ | ----------- | ------- |\n| `COMPRESS_MIMETYPES` | Set the list of mimetypes to compress here. | `[`
`\'text/html\',`
`\'text/css\',`
`\'text/xml\',`
`\'application/json\',`
`\'application/javascript\'`
`]` |\n| `COMPRESS_LEVEL` | Specifies the gzip compression level. | `6` |\n| `COMPRESS_BR_LEVEL` | Specifies the Brotli compression level. Ranges from 0 to 11. | `4` |\n| `COMPRESS_BR_MODE` | For Brotli, the compression mode. The options are 0, 1, or 2. These correspond to "generic", "text" (for UTF-8 input), and "font" (for WOFF 2.0). | `0` |\n| `COMPRESS_BR_WINDOW` | For Brotli, this specifies the base-2 logarithm of the sliding window size. Ranges from 10 to 24. | `22` |\n| `COMPRESS_BR_BLOCK` | For Brotli, this provides the base-2 logarithm of the maximum input block size. If zero is provided, value will be determined based on the quality. Ranges from 16 to 24. | `0` |\n| `COMPRESS_DEFLATE_LEVEL` | Specifies the deflate compression level. | `-1` |\n| `COMPRESS_MIN_SIZE` | Specifies the minimum file size threshold for compressing files. | `500` |\n| `COMPRESS_CACHE_KEY` | Specifies the cache key method for lookup/storage of response data. | `None` |\n| `COMPRESS_CACHE_BACKEND` | Specified the backend for storing the cached response data. | `None` |\n| `COMPRESS_REGISTER` | Specifies if compression should be automatically registered. | `True` |\n| `COMPRESS_ALGORITHM` | Supported compression algorithms. | `[\'br\', \'gzip\', \'deflate\']` |\n| `COMPRESS_STREAMS` | Compress content streams. | `True` |\n'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'readme' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'readme' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'license' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `license = 'MIT'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'license' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'license' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'authors' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `authors = 'Thomas Mansencal'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'authors' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'authors' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'classifiers' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'classifiers' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'classifiers' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'dependencies' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `dependencies = ['flask', 'brotli']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'dependencies' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'dependencies' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) HOOK STDOUT: running dist_info HOOK STDOUT: creating flask_compress.egg-info HOOK STDOUT: writing flask_compress.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flask_compress.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to flask_compress.egg-info/requires.txt HOOK STDOUT: writing top-level names to flask_compress.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flask-compress-1.13/flask_compress-1.13.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Handling flask from hook generated metadata: Requires-Dist Requirement not satisfied: flask Handling brotli from hook generated metadata: Requires-Dist Requirement not satisfied: brotli + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flask-compress-1.13-3.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c3869128bed8468085ce315541fc70f8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665187200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PoSucd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flask-compress-1.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flask-compress-1.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flask-compress-1.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-setuptools.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf flask-compress.egg-info + sed -i 's|{version}|1.13|' pyproject.toml + sed -i 's|{version}|1.13|' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4kqL9O + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 65.5.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.1) Handling setuptools_scm[toml]>=3.4 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4 (installed: setuptools_scm 7.0.5) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) Handling setuptools from get_requires_for_build_wheel Requirement satisfied: setuptools (installed: setuptools 65.5.0) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'readme' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `readme = '# Flask-Compress\n\n[![Build](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml/badge.svg)](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml)\n[![Version](https://img.shields.io/pypi/v/flask-compress.svg)](https://pypi.python.org/pypi/Flask-Compress)\n[![Downloads](https://static.pepy.tech/badge/flask-compress)](https://pypi.python.org/pypi/Flask-Compress)\n\nFlask-Compress allows you to easily compress your [Flask](http://flask.pocoo.org/) application\'s responses with gzip, deflate or brotli. It originally started as a fork of [Flask-gzip](https://github.com/closeio/Flask-gzip).\n\nThe preferred solution is to have a server (like [Nginx](http://wiki.nginx.org/Main)) automatically compress the static files for you. If you don\'t have that option Flask-Compress will solve the problem for you.\n\n\n## How it works\n\nFlask-Compress both adds the various headers required for a compressed response and compresses the response data. \nThis makes serving compressed static files extremely easy.\n\nInternally, every time a request is made the extension will check if it matches one of the compressible MIME types\nand whether the client and the server use some common compression algorithm, and will automatically attach the \nappropriate headers.\n\nTo determine the compression algorithm, the `Accept-Encoding` request header is inspected, respecting the\nquality factor as described in [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding). \nIf no requested compression algorithm is supported by the server, we don\'t compress the response. If, on the other\nhand, multiple suitable algorithms are found and are requested with the same quality factor, we choose the first one\ndefined in the `COMPRESS_ALGORITHM` option (see below). \n\n\n## Installation\n\nIf you use pip then installation is simply:\n\n```shell\n$ pip install --user flask-compress\n```\n\nor, if you want the latest github version:\n\n```shell\n$ pip install --user git+git://github.com/colour-science/flask-compress.git\n```\n\nYou can also install Flask-Compress via Easy Install:\n\n```shell\n$ easy_install flask-compress\n```\n\n\n## Using Flask-Compress\n\n### Globally\n\nFlask-Compress is incredibly simple to use. In order to start compressing your Flask application\'s assets, the first thing to do is let Flask-Compress know about your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) application object.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\nCompress(app)\n```\n\nIn many cases, however, one cannot expect a Flask instance to be ready at import time, and a common pattern is to return a Flask instance from within a function only after other configuration details have been taken care of. In these cases, Flask-Compress provides a simple function, `flask_compress.Compress.init_app`, which takes your application as an argument.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\ncompress = Compress()\n\ndef start_app():\n app = Flask(__name__)\n compress.init_app(app)\n return app\n```\n\nIn terms of automatically compressing your assets, passing your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) object to the `flask_compress.Compress` object is all that needs to be done.\n\n### Per-view compression\n\nCompression is possible per view using the `@compress.compressed()` decorator. Make sure to disable global compression first.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\napp.config["COMPRESS_REGISTER"] = False # disable default compression of all eligible requests\ncompress = Compress()\ncompress.init_app(app)\n\n# Compress this view specifically\n@app.route("/test")\n@compress.compressed()\ndef view():\n pass\n```\n\n## Options\n\nWithin your Flask application\'s settings you can provide the following settings to control the behavior of Flask-Compress. None of the settings are required.\n\n| Option | Description | Default |\n| ------ | ----------- | ------- |\n| `COMPRESS_MIMETYPES` | Set the list of mimetypes to compress here. | `[`
`\'text/html\',`
`\'text/css\',`
`\'text/xml\',`
`\'application/json\',`
`\'application/javascript\'`
`]` |\n| `COMPRESS_LEVEL` | Specifies the gzip compression level. | `6` |\n| `COMPRESS_BR_LEVEL` | Specifies the Brotli compression level. Ranges from 0 to 11. | `4` |\n| `COMPRESS_BR_MODE` | For Brotli, the compression mode. The options are 0, 1, or 2. These correspond to "generic", "text" (for UTF-8 input), and "font" (for WOFF 2.0). | `0` |\n| `COMPRESS_BR_WINDOW` | For Brotli, this specifies the base-2 logarithm of the sliding window size. Ranges from 10 to 24. | `22` |\n| `COMPRESS_BR_BLOCK` | For Brotli, this provides the base-2 logarithm of the maximum input block size. If zero is provided, value will be determined based on the quality. Ranges from 16 to 24. | `0` |\n| `COMPRESS_DEFLATE_LEVEL` | Specifies the deflate compression level. | `-1` |\n| `COMPRESS_MIN_SIZE` | Specifies the minimum file size threshold for compressing files. | `500` |\n| `COMPRESS_CACHE_KEY` | Specifies the cache key method for lookup/storage of response data. | `None` |\n| `COMPRESS_CACHE_BACKEND` | Specified the backend for storing the cached response data. | `None` |\n| `COMPRESS_REGISTER` | Specifies if compression should be automatically registered. | `True` |\n| `COMPRESS_ALGORITHM` | Supported compression algorithms. | `[\'br\', \'gzip\', \'deflate\']` |\n| `COMPRESS_STREAMS` | Compress content streams. | `True` |\n'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'readme' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'readme' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'license' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `license = 'MIT'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'license' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'license' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'authors' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `authors = 'Thomas Mansencal'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'authors' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'authors' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'classifiers' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'classifiers' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'classifiers' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'dependencies' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `dependencies = ['flask', 'brotli']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'dependencies' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'dependencies' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) HOOK STDOUT: running dist_info HOOK STDOUT: creating flask_compress.egg-info HOOK STDOUT: writing flask_compress.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flask_compress.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to flask_compress.egg-info/requires.txt HOOK STDOUT: writing top-level names to flask_compress.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flask-compress-1.13/flask_compress-1.13.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Handling flask from hook generated metadata: Requires-Dist Requirement satisfied: flask (installed: flask 2.2.2) Handling brotli from hook generated metadata: Requires-Dist Requirement satisfied: brotli (installed: brotli 1.0.9) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flask-compress-1.13-3.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '902916d1633149269f12304cbb2e90e7', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667517975.972335/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4rz5yi4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-flask-compress.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665187200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Eny7O1 + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv flask_compress-1.13.dist-info/ removed 'flask_compress-1.13.dist-info/LICENSE.txt' removed 'flask_compress-1.13.dist-info/METADATA' removed 'flask_compress-1.13.dist-info/top_level.txt' removed directory 'flask_compress-1.13.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 65.5.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.1) Handling setuptools_scm[toml]>=3.4 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4 (installed: setuptools_scm 7.0.5) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) Handling setuptools from get_requires_for_build_wheel Requirement satisfied: setuptools (installed: setuptools 65.5.0) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'readme' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `readme = '# Flask-Compress\n\n[![Build](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml/badge.svg)](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml)\n[![Version](https://img.shields.io/pypi/v/flask-compress.svg)](https://pypi.python.org/pypi/Flask-Compress)\n[![Downloads](https://static.pepy.tech/badge/flask-compress)](https://pypi.python.org/pypi/Flask-Compress)\n\nFlask-Compress allows you to easily compress your [Flask](http://flask.pocoo.org/) application\'s responses with gzip, deflate or brotli. It originally started as a fork of [Flask-gzip](https://github.com/closeio/Flask-gzip).\n\nThe preferred solution is to have a server (like [Nginx](http://wiki.nginx.org/Main)) automatically compress the static files for you. If you don\'t have that option Flask-Compress will solve the problem for you.\n\n\n## How it works\n\nFlask-Compress both adds the various headers required for a compressed response and compresses the response data. \nThis makes serving compressed static files extremely easy.\n\nInternally, every time a request is made the extension will check if it matches one of the compressible MIME types\nand whether the client and the server use some common compression algorithm, and will automatically attach the \nappropriate headers.\n\nTo determine the compression algorithm, the `Accept-Encoding` request header is inspected, respecting the\nquality factor as described in [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding). \nIf no requested compression algorithm is supported by the server, we don\'t compress the response. If, on the other\nhand, multiple suitable algorithms are found and are requested with the same quality factor, we choose the first one\ndefined in the `COMPRESS_ALGORITHM` option (see below). \n\n\n## Installation\n\nIf you use pip then installation is simply:\n\n```shell\n$ pip install --user flask-compress\n```\n\nor, if you want the latest github version:\n\n```shell\n$ pip install --user git+git://github.com/colour-science/flask-compress.git\n```\n\nYou can also install Flask-Compress via Easy Install:\n\n```shell\n$ easy_install flask-compress\n```\n\n\n## Using Flask-Compress\n\n### Globally\n\nFlask-Compress is incredibly simple to use. In order to start compressing your Flask application\'s assets, the first thing to do is let Flask-Compress know about your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) application object.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\nCompress(app)\n```\n\nIn many cases, however, one cannot expect a Flask instance to be ready at import time, and a common pattern is to return a Flask instance from within a function only after other configuration details have been taken care of. In these cases, Flask-Compress provides a simple function, `flask_compress.Compress.init_app`, which takes your application as an argument.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\ncompress = Compress()\n\ndef start_app():\n app = Flask(__name__)\n compress.init_app(app)\n return app\n```\n\nIn terms of automatically compressing your assets, passing your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) object to the `flask_compress.Compress` object is all that needs to be done.\n\n### Per-view compression\n\nCompression is possible per view using the `@compress.compressed()` decorator. Make sure to disable global compression first.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\napp.config["COMPRESS_REGISTER"] = False # disable default compression of all eligible requests\ncompress = Compress()\ncompress.init_app(app)\n\n# Compress this view specifically\n@app.route("/test")\n@compress.compressed()\ndef view():\n pass\n```\n\n## Options\n\nWithin your Flask application\'s settings you can provide the following settings to control the behavior of Flask-Compress. None of the settings are required.\n\n| Option | Description | Default |\n| ------ | ----------- | ------- |\n| `COMPRESS_MIMETYPES` | Set the list of mimetypes to compress here. | `[`
`\'text/html\',`
`\'text/css\',`
`\'text/xml\',`
`\'application/json\',`
`\'application/javascript\'`
`]` |\n| `COMPRESS_LEVEL` | Specifies the gzip compression level. | `6` |\n| `COMPRESS_BR_LEVEL` | Specifies the Brotli compression level. Ranges from 0 to 11. | `4` |\n| `COMPRESS_BR_MODE` | For Brotli, the compression mode. The options are 0, 1, or 2. These correspond to "generic", "text" (for UTF-8 input), and "font" (for WOFF 2.0). | `0` |\n| `COMPRESS_BR_WINDOW` | For Brotli, this specifies the base-2 logarithm of the sliding window size. Ranges from 10 to 24. | `22` |\n| `COMPRESS_BR_BLOCK` | For Brotli, this provides the base-2 logarithm of the maximum input block size. If zero is provided, value will be determined based on the quality. Ranges from 16 to 24. | `0` |\n| `COMPRESS_DEFLATE_LEVEL` | Specifies the deflate compression level. | `-1` |\n| `COMPRESS_MIN_SIZE` | Specifies the minimum file size threshold for compressing files. | `500` |\n| `COMPRESS_CACHE_KEY` | Specifies the cache key method for lookup/storage of response data. | `None` |\n| `COMPRESS_CACHE_BACKEND` | Specified the backend for storing the cached response data. | `None` |\n| `COMPRESS_REGISTER` | Specifies if compression should be automatically registered. | `True` |\n| `COMPRESS_ALGORITHM` | Supported compression algorithms. | `[\'br\', \'gzip\', \'deflate\']` |\n| `COMPRESS_STREAMS` | Compress content streams. | `True` |\n'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'readme' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'readme' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'license' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `license = 'MIT'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'license' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'license' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'authors' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `authors = 'Thomas Mansencal'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'authors' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'authors' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'classifiers' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'classifiers' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'classifiers' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'dependencies' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `dependencies = ['flask', 'brotli']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'dependencies' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'dependencies' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) HOOK STDOUT: running dist_info HOOK STDOUT: writing flask_compress.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flask_compress.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to flask_compress.egg-info/requires.txt HOOK STDOUT: writing top-level names to flask_compress.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'flask_compress.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flask-compress-1.13/flask_compress-1.13.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Handling flask from hook generated metadata: Requires-Dist Requirement satisfied: flask (installed: flask 2.2.2) Handling brotli from hook generated metadata: Requires-Dist Requirement satisfied: brotli (installed: brotli 1.0.9) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6PVqHT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flask-compress-1.13 + mkdir -p /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + TMPDIR=/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir Processing /builddir/build/BUILD/flask-compress-1.13 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'readme' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `readme = '# Flask-Compress\n\n[![Build](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml/badge.svg)](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml)\n[![Version](https://img.shields.io/pypi/v/flask-compress.svg)](https://pypi.python.org/pypi/Flask-Compress)\n[![Downloads](https://static.pepy.tech/badge/flask-compress)](https://pypi.python.org/pypi/Flask-Compress)\n\nFlask-Compress allows you to easily compress your [Flask](http://flask.pocoo.org/) application\'s responses with gzip, deflate or brotli. It originally started as a fork of [Flask-gzip](https://github.com/closeio/Flask-gzip).\n\nThe preferred solution is to have a server (like [Nginx](http://wiki.nginx.org/Main)) automatically compress the static files for you. If you don\'t have that option Flask-Compress will solve the problem for you.\n\n\n## How it works\n\nFlask-Compress both adds the various headers required for a compressed response and compresses the response data. \nThis makes serving compressed static files extremely easy.\n\nInternally, every time a request is made the extension will check if it matches one of the compressible MIME types\nand whether the client and the server use some common compression algorithm, and will automatically attach the \nappropriate headers.\n\nTo determine the compression algorithm, the `Accept-Encoding` request header is inspected, respecting the\nquality factor as described in [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding). \nIf no requested compression algorithm is supported by the server, we don\'t compress the response. If, on the other\nhand, multiple suitable algorithms are found and are requested with the same quality factor, we choose the first one\ndefined in the `COMPRESS_ALGORITHM` option (see below). \n\n\n## Installation\n\nIf you use pip then installation is simply:\n\n```shell\n$ pip install --user flask-compress\n```\n\nor, if you want the latest github version:\n\n```shell\n$ pip install --user git+git://github.com/colour-science/flask-compress.git\n```\n\nYou can also install Flask-Compress via Easy Install:\n\n```shell\n$ easy_install flask-compress\n```\n\n\n## Using Flask-Compress\n\n### Globally\n\nFlask-Compress is incredibly simple to use. In order to start compressing your Flask application\'s assets, the first thing to do is let Flask-Compress know about your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) application object.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\nCompress(app)\n```\n\nIn many cases, however, one cannot expect a Flask instance to be ready at import time, and a common pattern is to return a Flask instance from within a function only after other configuration details have been taken care of. In these cases, Flask-Compress provides a simple function, `flask_compress.Compress.init_app`, which takes your application as an argument.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\ncompress = Compress()\n\ndef start_app():\n app = Flask(__name__)\n compress.init_app(app)\n return app\n```\n\nIn terms of automatically compressing your assets, passing your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) object to the `flask_compress.Compress` object is all that needs to be done.\n\n### Per-view compression\n\nCompression is possible per view using the `@compress.compressed()` decorator. Make sure to disable global compression first.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\napp.config["COMPRESS_REGISTER"] = False # disable default compression of all eligible requests\ncompress = Compress()\ncompress.init_app(app)\n\n# Compress this view specifically\n@app.route("/test")\n@compress.compressed()\ndef view():\n pass\n```\n\n## Options\n\nWithin your Flask application\'s settings you can provide the following settings to control the behavior of Flask-Compress. None of the settings are required.\n\n| Option | Description | Default |\n| ------ | ----------- | ------- |\n| `COMPRESS_MIMETYPES` | Set the list of mimetypes to compress here. | `[`
`\'text/html\',`
`\'text/css\',`
`\'text/xml\',`
`\'application/json\',`
`\'application/javascript\'`
`]` |\n| `COMPRESS_LEVEL` | Specifies the gzip compression level. | `6` |\n| `COMPRESS_BR_LEVEL` | Specifies the Brotli compression level. Ranges from 0 to 11. | `4` |\n| `COMPRESS_BR_MODE` | For Brotli, the compression mode. The options are 0, 1, or 2. These correspond to "generic", "text" (for UTF-8 input), and "font" (for WOFF 2.0). | `0` |\n| `COMPRESS_BR_WINDOW` | For Brotli, this specifies the base-2 logarithm of the sliding window size. Ranges from 10 to 24. | `22` |\n| `COMPRESS_BR_BLOCK` | For Brotli, this provides the base-2 logarithm of the maximum input block size. If zero is provided, value will be determined based on the quality. Ranges from 16 to 24. | `0` |\n| `COMPRESS_DEFLATE_LEVEL` | Specifies the deflate compression level. | `-1` |\n| `COMPRESS_MIN_SIZE` | Specifies the minimum file size threshold for compressing files. | `500` |\n| `COMPRESS_CACHE_KEY` | Specifies the cache key method for lookup/storage of response data. | `None` |\n| `COMPRESS_CACHE_BACKEND` | Specified the backend for storing the cached response data. | `None` |\n| `COMPRESS_REGISTER` | Specifies if compression should be automatically registered. | `True` |\n| `COMPRESS_ALGORITHM` | Supported compression algorithms. | `[\'br\', \'gzip\', \'deflate\']` |\n| `COMPRESS_STREAMS` | Compress content streams. | `True` |\n'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'readme' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'readme' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'license' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `license = 'MIT'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'license' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'license' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'authors' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `authors = 'Thomas Mansencal'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'authors' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'authors' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'classifiers' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'classifiers' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'classifiers' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'dependencies' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `dependencies = ['flask', 'brotli']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'dependencies' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'dependencies' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) running dist_info creating /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info writing /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-modern-metadata-7owdbygq/flask_compress-1.13.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: flask-compress Building wheel for flask-compress (pyproject.toml): started Running command Building wheel for flask-compress (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'readme' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `readme = '# Flask-Compress\n\n[![Build](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml/badge.svg)](https://github.com/colour-science/flask-compress/actions/workflows/ci.yaml)\n[![Version](https://img.shields.io/pypi/v/flask-compress.svg)](https://pypi.python.org/pypi/Flask-Compress)\n[![Downloads](https://static.pepy.tech/badge/flask-compress)](https://pypi.python.org/pypi/Flask-Compress)\n\nFlask-Compress allows you to easily compress your [Flask](http://flask.pocoo.org/) application\'s responses with gzip, deflate or brotli. It originally started as a fork of [Flask-gzip](https://github.com/closeio/Flask-gzip).\n\nThe preferred solution is to have a server (like [Nginx](http://wiki.nginx.org/Main)) automatically compress the static files for you. If you don\'t have that option Flask-Compress will solve the problem for you.\n\n\n## How it works\n\nFlask-Compress both adds the various headers required for a compressed response and compresses the response data. \nThis makes serving compressed static files extremely easy.\n\nInternally, every time a request is made the extension will check if it matches one of the compressible MIME types\nand whether the client and the server use some common compression algorithm, and will automatically attach the \nappropriate headers.\n\nTo determine the compression algorithm, the `Accept-Encoding` request header is inspected, respecting the\nquality factor as described in [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding). \nIf no requested compression algorithm is supported by the server, we don\'t compress the response. If, on the other\nhand, multiple suitable algorithms are found and are requested with the same quality factor, we choose the first one\ndefined in the `COMPRESS_ALGORITHM` option (see below). \n\n\n## Installation\n\nIf you use pip then installation is simply:\n\n```shell\n$ pip install --user flask-compress\n```\n\nor, if you want the latest github version:\n\n```shell\n$ pip install --user git+git://github.com/colour-science/flask-compress.git\n```\n\nYou can also install Flask-Compress via Easy Install:\n\n```shell\n$ easy_install flask-compress\n```\n\n\n## Using Flask-Compress\n\n### Globally\n\nFlask-Compress is incredibly simple to use. In order to start compressing your Flask application\'s assets, the first thing to do is let Flask-Compress know about your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) application object.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\nCompress(app)\n```\n\nIn many cases, however, one cannot expect a Flask instance to be ready at import time, and a common pattern is to return a Flask instance from within a function only after other configuration details have been taken care of. In these cases, Flask-Compress provides a simple function, `flask_compress.Compress.init_app`, which takes your application as an argument.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\ncompress = Compress()\n\ndef start_app():\n app = Flask(__name__)\n compress.init_app(app)\n return app\n```\n\nIn terms of automatically compressing your assets, passing your [`flask.Flask`](http://flask.pocoo.org/docs/latest/api/#flask.Flask) object to the `flask_compress.Compress` object is all that needs to be done.\n\n### Per-view compression\n\nCompression is possible per view using the `@compress.compressed()` decorator. Make sure to disable global compression first.\n\n```python\nfrom flask import Flask\nfrom flask_compress import Compress\n\napp = Flask(__name__)\napp.config["COMPRESS_REGISTER"] = False # disable default compression of all eligible requests\ncompress = Compress()\ncompress.init_app(app)\n\n# Compress this view specifically\n@app.route("/test")\n@compress.compressed()\ndef view():\n pass\n```\n\n## Options\n\nWithin your Flask application\'s settings you can provide the following settings to control the behavior of Flask-Compress. None of the settings are required.\n\n| Option | Description | Default |\n| ------ | ----------- | ------- |\n| `COMPRESS_MIMETYPES` | Set the list of mimetypes to compress here. | `[`
`\'text/html\',`
`\'text/css\',`
`\'text/xml\',`
`\'application/json\',`
`\'application/javascript\'`
`]` |\n| `COMPRESS_LEVEL` | Specifies the gzip compression level. | `6` |\n| `COMPRESS_BR_LEVEL` | Specifies the Brotli compression level. Ranges from 0 to 11. | `4` |\n| `COMPRESS_BR_MODE` | For Brotli, the compression mode. The options are 0, 1, or 2. These correspond to "generic", "text" (for UTF-8 input), and "font" (for WOFF 2.0). | `0` |\n| `COMPRESS_BR_WINDOW` | For Brotli, this specifies the base-2 logarithm of the sliding window size. Ranges from 10 to 24. | `22` |\n| `COMPRESS_BR_BLOCK` | For Brotli, this provides the base-2 logarithm of the maximum input block size. If zero is provided, value will be determined based on the quality. Ranges from 16 to 24. | `0` |\n| `COMPRESS_DEFLATE_LEVEL` | Specifies the deflate compression level. | `-1` |\n| `COMPRESS_MIN_SIZE` | Specifies the minimum file size threshold for compressing files. | `500` |\n| `COMPRESS_CACHE_KEY` | Specifies the cache key method for lookup/storage of response data. | `None` |\n| `COMPRESS_CACHE_BACKEND` | Specified the backend for storing the cached response data. | `None` |\n| `COMPRESS_REGISTER` | Specifies if compression should be automatically registered. | `True` |\n| `COMPRESS_ALGORITHM` | Supported compression algorithms. | `[\'br\', \'gzip\', \'deflate\']` |\n| `COMPRESS_STREAMS` | Compress content streams. | `True` |\n'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'readme' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'readme' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'license' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `license = 'MIT'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'license' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'license' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'authors' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `authors = 'Thomas Mansencal'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'authors' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'authors' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'classifiers' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'classifiers' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'classifiers' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) /usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:103: _WouldIgnoreField: 'dependencies' defined outside of `pyproject.toml` would be ignored. !! ########################################################################## # configuration would be ignored/result in error due to `pyproject.toml` # ########################################################################## The following seems to be defined outside of `pyproject.toml`: `dependencies = ['flask', 'brotli']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless 'dependencies' is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ For the time being, `setuptools` will still consider the given value (as a **transitional** measure), but please note that future releases of setuptools will follow strictly the standard. To prevent this warning, you can list 'dependencies' under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. !! warnings.warn(msg, _WouldIgnoreField) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/flask_compress copying flask_compress/flask_compress.py -> build/lib/flask_compress copying flask_compress/__init__.py -> build/lib/flask_compress running egg_info writing flask_compress.egg-info/PKG-INFO writing dependency_links to flask_compress.egg-info/dependency_links.txt writing requirements to flask_compress.egg-info/requires.txt writing top-level names to flask_compress.egg-info/top_level.txt reading manifest file 'flask_compress.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'flask_compress.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/flask_compress copying build/lib/flask_compress/__init__.py -> build/bdist.linux-x86_64/wheel/flask_compress copying build/lib/flask_compress/flask_compress.py -> build/bdist.linux-x86_64/wheel/flask_compress running install_egg_info Copying flask_compress.egg-info to build/bdist.linux-x86_64/wheel/flask_compress-1.13-py3.11.egg-info running install_scripts adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/flask_compress-1.13.dist-info/WHEEL creating '/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir/pip-wheel-yu0fkq2_/tmpkcpy6x6p/flask_compress-1.13-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'flask_compress/__init__.py' adding 'flask_compress/flask_compress.py' adding 'flask_compress-1.13.dist-info/LICENSE.txt' adding 'flask_compress-1.13.dist-info/METADATA' adding 'flask_compress-1.13.dist-info/WHEEL' adding 'flask_compress-1.13.dist-info/top_level.txt' adding 'flask_compress-1.13.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for flask-compress (pyproject.toml): finished with status 'done' Created wheel for flask-compress: filename=flask_compress-1.13-py3-none-any.whl size=7731 sha256=87c8bed353407a9e1bf06361a47138cca47b02c18c896cc554014be9b5e67a2e Stored in directory: /builddir/.cache/pip/wheels/76/34/ff/5cbecd8ec3191734d723f01fea465a2e111eab43d29176d48f Successfully built flask-compress + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4sgN9v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flask-compress-1.13 ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ ls /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir/flask_compress-1.13-py3-none-any.whl + specifier=flask_compress==1.13 + TMPDIR=/builddir/build/BUILD/flask-compress-1.13/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir flask_compress==1.13 Using pip 22.2.2 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/flask-compress-1.13/pyproject-wheeldir Processing ./pyproject-wheeldir/flask_compress-1.13-py3-none-any.whl Installing collected packages: flask_compress Successfully installed flask_compress-1.13 + '[' -d /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/bin ']' + rm -f /builddir/build/BUILD/python-flask-compress-1.13-3.fc38.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 --record /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info/RECORD --output /builddir/build/BUILD/python-flask-compress-1.13-3.fc38.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11/site-packages/flask_compress-1.13.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-flask-compress-1.13-3.fc38.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-flask-compress-1.13-3.fc38.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-flask-compress-1.13-3.fc38.x86_64-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/python-flask-compress-1.13-3.fc38.x86_64-pyproject-record --prefix /usr flask_compress + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.13-3.fc38 --unique-debug-suffix -1.13-3.fc38.x86_64 --unique-debug-src-base python-flask-compress-1.13-3.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/flask-compress-1.13 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8cqgwY + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flask-compress-1.13 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-flask-compress-1.13-3.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2gfB9f + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + DOCDIR=/builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/share/doc/python3-flask-compress + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/share/doc/python3-flask-compress + cp -pr README.md /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/share/doc/python3-flask-compress + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sSAhTP + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + LICENSEDIR=/builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/share/licenses/python3-flask-compress + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/share/licenses/python3-flask-compress + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64/usr/share/licenses/python3-flask-compress + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-flask-compress = 1.13-3.fc38 python3-flask-compress = 1.13-3.fc38 python3.11-flask-compress = 1.13-3.fc38 python3.11dist(flask-compress) = 1.13 python3dist(flask-compress) = 1.13 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(brotli) python3.11dist(flask) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 Wrote: /builddir/build/SRPMS/python-flask-compress-1.13-3.fc38.src.rpm Wrote: /builddir/build/RPMS/python3-flask-compress-1.13-3.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ufy3IJ + umask 022 + cd /builddir/build/BUILD + cd flask-compress-1.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-flask-compress-1.13-3.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.qSqUPo + umask 022 + cd /builddir/build/BUILD + rm -rf flask-compress-1.13 flask-compress-1.13.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0