Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setenv is not honored during wheel building for version 4 #2784

Closed
jonathanunderwood opened this issue Dec 28, 2022 · 8 comments
Closed

setenv is not honored during wheel building for version 4 #2784

jonathanunderwood opened this issue Dec 28, 2022 · 8 comments

Comments

@jonathanunderwood
Copy link

Issue

I use setenv to pass an environment variable into the tox virtual env, and this environment variable is consumed by setup.py to determine what extension modules are built. Today, this works fine on tox 3.28, but not 4.0.18. With 4.0.18 the environment variable is not set during the wheel building phase of the tox environment set up.

Specifics:

  • tox.ini - see the docs test environment where I am setting the environment variable PYLZ4_EXPERIMENTAL environment variable.
  • setup.py where this environment variable is consumed
  • 'setup.py' where this environment variable determines whether or not the "stream" extension module is built.

What I see with tox 3.28:

  • The wheel that is installed into the docs tox environment includes the "stream" extension module, as expected.

What I see with tox 4.0.18:

  • The wheel that is installed into the docs tox environment does not include the "stream" extension module, which is incorrect.

Environment

Provide at least:

  • OS: Fedora 37
  • pip list of the host Python where tox is installed:
$ pip list
Package       Version
------------- -------
attrs         22.2.0
cachetools    5.2.0
chardet       5.1.0
colorama      0.4.6
coverage      7.0.1
distlib       0.3.6
filelock      3.8.2
iniconfig     1.1.1
lz4           4.0.2
nodeenv       1.7.0
packaging     22.0
pip           22.2.2
platformdirs  2.6.0
pluggy        1.0.0
psutil        5.9.4
py            1.11.0
pyproject_api 1.2.1
pyright       1.1.286
pytest        7.2.0
pytest-cov    4.0.0
setuptools    62.6.0
six           1.16.0
tox           3.28.0 / 4.0.18
virtualenv    20.17.1
wheel         0.37.1

Output of running tox

Provide the output of tox -rvv:

With tox 3.28.0

$ tox -rvv -e docs
using tox.ini: /home/jgu/Projects/python-lz4/tox.ini (pid 16588)
  removing /home/jgu/Projects/python-lz4/.tox/log
using tox-3.28.0 from /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/tox/__init__.py (pid 16588)
skipping sdist step
/home/jgu/.virtualenvs/python-lz4/bin/python (/home/jgu/.virtualenvs/python-lz4/bin/python) is {'executable': '/home/jgu/.virtualenvs/python-lz4/bin/python', 'implementation': 'CPython', 'version_info': [3, 11, 1, 'final', 0], 'version': '3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', 'is_64': True, 'sysplatform': 'linux', 'os_sep': '/', 'extra_version_info': None}
docs uses /home/jgu/.virtualenvs/python-lz4/bin/python
docs start: getenv /home/jgu/Projects/python-lz4/.tox/docs
docs cannot reuse: -r flag
docs recreate: /home/jgu/Projects/python-lz4/.tox/docs
  removing /home/jgu/Projects/python-lz4/.tox/docs
setting PATH=/home/jgu/Projects/python-lz4/.tox/docs/bin:/home/jgu/.virtualenvs/python-lz4/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/jgu/.local/bin:/home/jgu/bin
[16594] /home/jgu/Projects/python-lz4/.tox$ /home/jgu/.virtualenvs/python-lz4/bin/python -m virtualenv --no-download --python /home/jgu/.virtualenvs/python-lz4/bin/python docs
created virtual environment CPython3.11.1.final.0-64 in 136ms
  creator CPython3Posix(dest=/home/jgu/Projects/python-lz4/.tox/docs, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/jgu/.local/share/virtualenv)
    added seed packages: pip==22.3.1, setuptools==65.6.3, wheel==0.38.4
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
docs finish: getenv /home/jgu/Projects/python-lz4/.tox/docs after 0.43 seconds
docs start: developpkg /home/jgu/Projects/python-lz4
docs develop-inst: /home/jgu/Projects/python-lz4
write config to /home/jgu/Projects/python-lz4/.tox/docs/.tox-config1 as '48d243df7efe5e0d40be72e61c432be0f79098bdad0b84d9d349ae50439c9b62 /home/jgu/.virtualenvs/python-lz4/bin/python\n3.28.0 0 1 0'
setting PATH=/home/jgu/Projects/python-lz4/.tox/docs/bin:/home/jgu/.virtualenvs/python-lz4/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/jgu/.local/bin:/home/jgu/bin
[16602] /home/jgu/Projects/python-lz4$ /home/jgu/Projects/python-lz4/.tox/docs/bin/python -m pip install --exists-action w -e '/home/jgu/Projects/python-lz4[docs]'
Obtaining file:///home/jgu/Projects/python-lz4
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting sphinx>=1.6.0
  Using cached sphinx-5.3.0-py3-none-any.whl (3.2 MB)
Collecting sphinx-bootstrap-theme
  Using cached sphinx_bootstrap_theme-0.8.1-py2.py3-none-any.whl (1.2 MB)
Collecting sphinxcontrib-applehelp
  Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-devhelp
  Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting sphinxcontrib-jsmath
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
  Using cached sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.5
  Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting sphinxcontrib-qthelp
  Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting Jinja2>=3.0
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting Pygments>=2.12
  Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting docutils<0.20,>=0.14
  Using cached docutils-0.19-py3-none-any.whl (570 kB)
Collecting snowballstemmer>=2.0
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting babel>=2.9
  Using cached Babel-2.11.0-py3-none-any.whl (9.5 MB)
Collecting alabaster<0.8,>=0.7
  Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting imagesize>=1.3
  Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Collecting requests>=2.5.0
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting packaging>=21.0
  Using cached packaging-22.0-py3-none-any.whl (42 kB)
Collecting pytz>=2015.7
  Using cached pytz-2022.7-py2.py3-none-any.whl (499 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp311-cp311-linux_x86_64.whl
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Building wheels for collected packages: lz4
  Building editable for lz4 (pyproject.toml) ... done
  Created wheel for lz4: filename=lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl size=4952 sha256=06059a6e4a6ad79d4db7dfa6e6f0b280c90bd61ba3e6ddff5d04e54b483db979
  Stored in directory: /tmp/pip-ephem-wheel-cache-gxefyj_l/wheels/e1/2d/21/c072ccd0225a0c61c2627eaefa5e36b16092246951fc9d47c2
Successfully built lz4
Installing collected packages: sphinx-bootstrap-theme, snowballstemmer, pytz, alabaster, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, Pygments, packaging, MarkupSafe, lz4, imagesize, idna, docutils, charset-normalizer, certifi, babel, requests, Jinja2, sphinx
Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.1 Pygments-2.13.0 alabaster-0.7.12 babel-2.11.0 certifi-2022.12.7 charset-normalizer-2.1.1 docutils-0.19 idna-3.4 imagesize-1.4.1 lz4-4.0.3.dev0+g7937098.d20221228 packaging-22.0 pytz-2022.7 requests-2.28.1 snowballstemmer-2.2.0 sphinx-5.3.0 sphinx-bootstrap-theme-0.8.1 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.13
docs finish: developpkg /home/jgu/Projects/python-lz4 after 40.92 seconds
docs start: envreport 
setting PATH=/home/jgu/Projects/python-lz4/.tox/docs/bin:/home/jgu/.virtualenvs/python-lz4/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/jgu/.local/bin:/home/jgu/bin
[16708] /home/jgu/Projects/python-lz4$ /home/jgu/Projects/python-lz4/.tox/docs/bin/python -m pip freeze >.tox/docs/log/docs-0.log
docs finish: envreport  after 0.38 seconds
docs installed: alabaster==0.7.12,Babel==2.11.0,certifi==2022.12.7,charset-normalizer==2.1.1,docutils==0.19,idna==3.4,imagesize==1.4.1,Jinja2==3.1.2,-e git+https://github.com/python-lz4/python-lz4.git@79370987909663d4e6ef743762768ebf970a2383#egg=lz4,MarkupSafe==2.1.1,packaging==22.0,Pygments==2.13.0,pytz==2022.7,requests==2.28.1,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,urllib3==1.26.13
docs start: run-test-pre 
docs run-test-pre: PYTHONHASHSEED='4155373031'
docs finish: run-test-pre  after 0.00 seconds
docs start: run-test 
docs run-test: commands[0] | make -C docs doctest html
setting PATH=/home/jgu/Projects/python-lz4/.tox/docs/bin:/home/jgu/.virtualenvs/python-lz4/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/jgu/.local/bin:/home/jgu/bin
[16713] /home/jgu/Projects/python-lz4$ /usr/bin/make -C docs doctest html
make: Entering directory '/home/jgu/Projects/python-lz4/docs'
sphinx-build -b doctest -d _build/doctrees   . _build/doctest
Running Sphinx v5.3.0
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 11 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...

Document: lz4.block
-------------------
1 items passed all tests:
  23 tests in default
23 tests in 1 items.
23 passed and 0 failed.
Test passed.

Document: lz4.stream
--------------------
1 items passed all tests:
  20 tests in default
20 tests in 1 items.
20 passed and 0 failed.
Test passed.

Document: quickstart
--------------------
1 items passed all tests:
  30 tests in default
30 tests in 1 items.
30 passed and 0 failed.
Test passed.

Doctest summary
===============
   73 tests
    0 failures in tests
    0 failures in setup code
    0 failures in cleanup code
build succeeded.

Testing of doctests in the sources finished, look at the results in _build/doctest/output.txt.
Testing of doctests in the sources finished, look at the  results in _build/doctest/output.txt.
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v5.3.0
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 11 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
writing output... [100%] userguide                                                                                                                            
generating indices... genindex py-modindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in _build/html.

Build finished. The HTML pages are in _build/html.
make: Leaving directory '/home/jgu/Projects/python-lz4/docs'
docs finish: run-test  after 1.73 seconds
docs start: run-test-post 
docs finish: run-test-post  after 0.00 seconds
___________________________________________________________________________ summary ___________________________________________________________________________
  docs: commands succeeded
  congratulations :)
@jonathanunderwood
Copy link
Author

With tox 4.0.18

$ tox -rvv -e docs
.pkg: 152 I find interpreter for spec PythonSpec(path=/home/jgu/.virtualenvs/python-lz4/bin/python) [virtualenv/discovery/builtin.py:56]
.pkg: 152 D got python info of /usr/bin/python3.11 from /home/jgu/.local/share/virtualenv/py_info/1/ca3ed784184f1b3bb7c3539bfb45e71710cd27667424f92c2d5bb4df9c107c23.json [virtualenv/app_data/via_disk_folder.py:129]
.pkg: 153 I proposed PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:63]
.pkg: 153 D accepted PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
.pkg: 154 D filesystem is case-sensitive [virtualenv/info.py:24]
.pkg: 178 I find interpreter for spec PythonSpec(path=/home/jgu/.virtualenvs/python-lz4/bin/python) [virtualenv/discovery/builtin.py:56]
.pkg: 179 I proposed PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:63]
.pkg: 179 D accepted PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
.pkg: 183 I find interpreter for spec PythonSpec() [virtualenv/discovery/builtin.py:56]
.pkg: 183 I proposed PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:63]
.pkg: 183 D accepted PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
.pkg: 186 I find interpreter for spec PythonSpec(path=/home/jgu/.virtualenvs/python-lz4/bin/python) [virtualenv/discovery/builtin.py:56]
.pkg: 186 I proposed PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:63]
.pkg: 186 D accepted PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
.pkg: 189 I find interpreter for spec PythonSpec(path=/home/jgu/.virtualenvs/python-lz4/bin/python) [virtualenv/discovery/builtin.py:56]
.pkg: 189 I proposed PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:63]
.pkg: 190 D accepted PythonInfo(spec=CPython3.11.1.final.0-64, system=/usr/bin/python3.11, exe=/home/jgu/.virtualenvs/python-lz4/bin/python, platform=linux, version='3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:65]
.pkg: 192 W remove tox env folder /home/jgu/Projects/python-lz4/.tox/.pkg [tox/tox_env/api.py:311]
docs: 193 I create virtual environment via CPython3Posix(dest=/home/jgu/Projects/python-lz4/.tox/docs, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:48]
docs: 193 D create folder /home/jgu/Projects/python-lz4/.tox/docs/bin [virtualenv/util/path/_sync.py:9]
docs: 193 D create folder /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:9]
docs: 193 D create folder /home/jgu/Projects/python-lz4/.tox/docs/lib64/python3.11/site-packages [virtualenv/util/path/_sync.py:9]
docs: 193 D write /home/jgu/Projects/python-lz4/.tox/docs/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:30]
docs: 193 D 	home = /usr/bin [virtualenv/create/pyenv_cfg.py:34]
docs: 193 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D 	version_info = 3.11.1.final.0 [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D 	virtualenv = 20.17.1 [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D 	base-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D 	base-exec-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D 	base-executable = /usr/bin/python3.11 [virtualenv/create/pyenv_cfg.py:34]
docs: 194 D symlink /usr/bin/python3.11 to /home/jgu/Projects/python-lz4/.tox/docs/bin/python [virtualenv/util/path/_sync.py:28]
docs: 194 D create virtualenv import hook file /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:89]
docs: 194 D create /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:92]
docs: 194 D ============================== target debug ============================== [virtualenv/run/session.py:50]
docs: 195 D debug via /home/jgu/Projects/python-lz4/.tox/docs/bin/python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:197]
docs: 194 D {
  "sys": {
    "executable": "/home/jgu/Projects/python-lz4/.tox/docs/bin/python",
    "_base_executable": "/usr/bin/python3.11",
    "prefix": "/home/jgu/Projects/python-lz4/.tox/docs",
    "base_prefix": "/usr",
    "real_prefix": null,
    "exec_prefix": "/home/jgu/Projects/python-lz4/.tox/docs",
    "base_exec_prefix": "/usr",
    "path": [
      "/usr/lib64/python311.zip",
      "/usr/lib64/python3.11",
      "/usr/lib64/python3.11/lib-dynload",
      "/home/jgu/Projects/python-lz4/.tox/docs/lib64/python3.11/site-packages",
      "/home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages"
    ],
    "meta_path": [
      "<class '_virtualenv._Finder'>",
      "<class '_frozen_importlib.BuiltinImporter'>",
      "<class '_frozen_importlib.FrozenImporter'>",
      "<class '_frozen_importlib_external.PathFinder'>"
    ],
    "fs_encoding": "utf-8",
    "io_encoding": "utf-8"
  },
  "version": "3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]",
  "makefile_filename": "/usr/lib64/python3.11/config-3.11-x86_64-linux-gnu/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/usr/lib64/python3.11/datetime.py'>",
  "math": "<module 'math' from '/usr/lib64/python3.11/lib-dynload/math.cpython-311-x86_64-linux-gnu.so'>",
  "json": "<module 'json' from '/usr/lib64/python3.11/json/__init__.py'>"
} [virtualenv/run/session.py:51]
docs: 222 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/jgu/.local/share/virtualenv) [virtualenv/run/session.py:55]
docs: 225 D got embed update of distribution wheel from /home/jgu/.local/share/virtualenv/wheel/3.11/embed/3/wheel.json [virtualenv/app_data/via_disk_folder.py:129]
docs: 225 D got embed update of distribution setuptools from /home/jgu/.local/share/virtualenv/wheel/3.11/embed/3/setuptools.json [virtualenv/app_data/via_disk_folder.py:129]
docs: 225 D got embed update of distribution pip from /home/jgu/.local/share/virtualenv/wheel/3.11/embed/3/pip.json [virtualenv/app_data/via_disk_folder.py:129]
docs: 227 D install wheel from wheel /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/wheel-0.38.4-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:47]
docs: 227 D install setuptools from wheel /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/setuptools-65.6.3-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:47]
docs: 228 D install pip from wheel /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/pip-22.3.1-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:47]
docs: 229 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-22.3.1-py3-none-any/pip to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:36]
docs: 229 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/distutils-precedence.pth to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:36]
docs: 229 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.38.4-py3-none-any/wheel to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:36]
docs: 230 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/_distutils_hack to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:36]
docs: 231 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/pkg_resources to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:36]
docs: 236 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.38.4-py3-none-any/wheel-0.38.4.dist-info to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/wheel-0.38.4.dist-info [virtualenv/util/path/_sync.py:36]
docs: 239 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.38.4-py3-none-any/wheel-0.38.4.virtualenv to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/wheel-0.38.4.virtualenv [virtualenv/util/path/_sync.py:36]
docs: 241 D generated console scripts wheel-3.11 wheel3.11 wheel wheel3 [virtualenv/seed/embed/via_app_data/pip_install/base.py:41]
docs: 246 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/setuptools to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:36]
docs: 286 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/setuptools-65.6.3.dist-info to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/setuptools-65.6.3.dist-info [virtualenv/util/path/_sync.py:36]
docs: 288 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/setuptools-65.6.3.virtualenv to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/setuptools-65.6.3.virtualenv [virtualenv/util/path/_sync.py:36]
docs: 289 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:41]
docs: 317 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-22.3.1-py3-none-any/pip-22.3.1.dist-info to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/pip-22.3.1.dist-info [virtualenv/util/path/_sync.py:36]
docs: 318 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-22.3.1-py3-none-any/pip-22.3.1.virtualenv to /home/jgu/Projects/python-lz4/.tox/docs/lib/python3.11/site-packages/pip-22.3.1.virtualenv [virtualenv/util/path/_sync.py:36]
docs: 318 D generated console scripts pip pip3 pip3.11 pip-3.11 [virtualenv/seed/embed/via_app_data/pip_install/base.py:41]
docs: 319 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:61]
docs: 321 D write /home/jgu/Projects/python-lz4/.tox/docs/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:30]
docs: 321 D 	home = /usr/bin [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	version_info = 3.11.1.final.0 [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	virtualenv = 20.17.1 [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	base-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	base-exec-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
docs: 321 D 	base-executable = /usr/bin/python3.11 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 322 I create virtual environment via CPython3Posix(dest=/home/jgu/Projects/python-lz4/.tox/.pkg, clear=False, no_vcs_ignore=False, global=False) [virtualenv/run/session.py:48]
.pkg: 322 D create folder /home/jgu/Projects/python-lz4/.tox/.pkg/bin [virtualenv/util/path/_sync.py:9]
.pkg: 323 D create folder /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages [virtualenv/util/path/_sync.py:9]
.pkg: 323 D create folder /home/jgu/Projects/python-lz4/.tox/.pkg/lib64/python3.11/site-packages [virtualenv/util/path/_sync.py:9]
.pkg: 323 D write /home/jgu/Projects/python-lz4/.tox/.pkg/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:30]
.pkg: 323 D 	home = /usr/bin [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	version_info = 3.11.1.final.0 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	virtualenv = 20.17.1 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	base-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	base-exec-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D 	base-executable = /usr/bin/python3.11 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 323 D symlink /usr/bin/python3.11 to /home/jgu/Projects/python-lz4/.tox/.pkg/bin/python [virtualenv/util/path/_sync.py:28]
.pkg: 324 D create virtualenv import hook file /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/_virtualenv.pth [virtualenv/create/via_global_ref/api.py:89]
.pkg: 324 D create /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/_virtualenv.py [virtualenv/create/via_global_ref/api.py:92]
.pkg: 324 D ============================== target debug ============================== [virtualenv/run/session.py:50]
.pkg: 324 D debug via /home/jgu/Projects/python-lz4/.tox/.pkg/bin/python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/create/debug.py [virtualenv/create/creator.py:197]
.pkg: 324 D {
  "sys": {
    "executable": "/home/jgu/Projects/python-lz4/.tox/.pkg/bin/python",
    "_base_executable": "/usr/bin/python3.11",
    "prefix": "/home/jgu/Projects/python-lz4/.tox/.pkg",
    "base_prefix": "/usr",
    "real_prefix": null,
    "exec_prefix": "/home/jgu/Projects/python-lz4/.tox/.pkg",
    "base_exec_prefix": "/usr",
    "path": [
      "/usr/lib64/python311.zip",
      "/usr/lib64/python3.11",
      "/usr/lib64/python3.11/lib-dynload",
      "/home/jgu/Projects/python-lz4/.tox/.pkg/lib64/python3.11/site-packages",
      "/home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages"
    ],
    "meta_path": [
      "<class '_virtualenv._Finder'>",
      "<class '_frozen_importlib.BuiltinImporter'>",
      "<class '_frozen_importlib.FrozenImporter'>",
      "<class '_frozen_importlib_external.PathFinder'>"
    ],
    "fs_encoding": "utf-8",
    "io_encoding": "utf-8"
  },
  "version": "3.11.1 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]",
  "makefile_filename": "/usr/lib64/python3.11/config-3.11-x86_64-linux-gnu/Makefile",
  "os": "<module 'os' (frozen)>",
  "site": "<module 'site' (frozen)>",
  "datetime": "<module 'datetime' from '/usr/lib64/python3.11/datetime.py'>",
  "math": "<module 'math' from '/usr/lib64/python3.11/lib-dynload/math.cpython-311-x86_64-linux-gnu.so'>",
  "json": "<module 'json' from '/usr/lib64/python3.11/json/__init__.py'>"
} [virtualenv/run/session.py:51]
.pkg: 355 I add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/jgu/.local/share/virtualenv) [virtualenv/run/session.py:55]
.pkg: 356 D got embed update of distribution setuptools from /home/jgu/.local/share/virtualenv/wheel/3.11/embed/3/setuptools.json [virtualenv/app_data/via_disk_folder.py:129]
.pkg: 357 D got embed update of distribution wheel from /home/jgu/.local/share/virtualenv/wheel/3.11/embed/3/wheel.json [virtualenv/app_data/via_disk_folder.py:129]
.pkg: 357 D got embed update of distribution pip from /home/jgu/.local/share/virtualenv/wheel/3.11/embed/3/pip.json [virtualenv/app_data/via_disk_folder.py:129]
.pkg: 357 D install setuptools from wheel /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/setuptools-65.6.3-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:47]
.pkg: 357 D install wheel from wheel /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/wheel-0.38.4-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:47]
.pkg: 358 D install pip from wheel /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/virtualenv/seed/wheels/embed/pip-22.3.1-py3-none-any.whl via CopyPipInstall [virtualenv/seed/embed/via_app_data/via_app_data.py:47]
.pkg: 359 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-22.3.1-py3-none-any/pip to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/pip [virtualenv/util/path/_sync.py:36]
.pkg: 359 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/distutils-precedence.pth to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/distutils-precedence.pth [virtualenv/util/path/_sync.py:36]
.pkg: 359 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.38.4-py3-none-any/wheel to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/wheel [virtualenv/util/path/_sync.py:36]
.pkg: 360 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/_distutils_hack to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/_distutils_hack [virtualenv/util/path/_sync.py:36]
.pkg: 361 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/pkg_resources to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/pkg_resources [virtualenv/util/path/_sync.py:36]
.pkg: 366 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.38.4-py3-none-any/wheel-0.38.4.dist-info to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/wheel-0.38.4.dist-info [virtualenv/util/path/_sync.py:36]
.pkg: 369 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/wheel-0.38.4-py3-none-any/wheel-0.38.4.virtualenv to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/wheel-0.38.4.virtualenv [virtualenv/util/path/_sync.py:36]
.pkg: 371 D generated console scripts wheel-3.11 wheel3.11 wheel wheel3 [virtualenv/seed/embed/via_app_data/pip_install/base.py:41]
.pkg: 375 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/setuptools to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/setuptools [virtualenv/util/path/_sync.py:36]
.pkg: 414 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/setuptools-65.6.3.dist-info to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/setuptools-65.6.3.dist-info [virtualenv/util/path/_sync.py:36]
.pkg: 415 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/setuptools-65.6.3-py3-none-any/setuptools-65.6.3.virtualenv to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/setuptools-65.6.3.virtualenv [virtualenv/util/path/_sync.py:36]
.pkg: 416 D generated console scripts  [virtualenv/seed/embed/via_app_data/pip_install/base.py:41]
.pkg: 444 D copy directory /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-22.3.1-py3-none-any/pip-22.3.1.dist-info to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/pip-22.3.1.dist-info [virtualenv/util/path/_sync.py:36]
.pkg: 445 D copy /home/jgu/.local/share/virtualenv/wheel/3.11/image/1/CopyPipInstall/pip-22.3.1-py3-none-any/pip-22.3.1.virtualenv to /home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/pip-22.3.1.virtualenv [virtualenv/util/path/_sync.py:36]
.pkg: 446 D generated console scripts pip pip3 pip3.11 pip-3.11 [virtualenv/seed/embed/via_app_data/pip_install/base.py:41]
.pkg: 446 I add activators for Bash, CShell, Fish, Nushell, PowerShell, Python [virtualenv/run/session.py:61]
.pkg: 447 D write /home/jgu/Projects/python-lz4/.tox/.pkg/pyvenv.cfg [virtualenv/create/pyenv_cfg.py:30]
.pkg: 447 D 	home = /usr/bin [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	implementation = CPython [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	version_info = 3.11.1.final.0 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	virtualenv = 20.17.1 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	include-system-site-packages = false [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	base-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	base-exec-prefix = /usr [virtualenv/create/pyenv_cfg.py:34]
.pkg: 448 D 	base-executable = /usr/bin/python3.11 [virtualenv/create/pyenv_cfg.py:34]
.pkg: 449 W install_requires> python -I -m pip install pkgconfig 'setuptools>=45' 'setuptools_scm[toml]>=6.2' wheel [tox/tox_env/api.py:417]
Collecting pkgconfig
  Using cached pkgconfig-1.5.5-py3-none-any.whl (6.7 kB)
Requirement already satisfied: setuptools>=45 in ./.tox/.pkg/lib/python3.11/site-packages (65.6.3)
Collecting setuptools_scm[toml]>=6.2
  Using cached setuptools_scm-7.1.0-py3-none-any.whl (43 kB)
Requirement already satisfied: wheel in ./.tox/.pkg/lib/python3.11/site-packages (0.38.4)
Collecting packaging>=20.0
  Using cached packaging-22.0-py3-none-any.whl (42 kB)
Collecting typing-extensions
  Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Installing collected packages: typing-extensions, pkgconfig, packaging, setuptools_scm
Successfully installed packaging-22.0 pkgconfig-1.5.5 setuptools_scm-7.1.0 typing-extensions-4.4.0
.pkg: 1875 I exit 0 (1.43 seconds) /home/jgu/Projects/python-lz4> python -I -m pip install pkgconfig 'setuptools>=45' 'setuptools_scm[toml]>=6.2' wheel pid=17949 [tox/execute/api.py:275]
.pkg: 1875 W _optional_hooks> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta [tox/tox_env/api.py:417]
Backend: run command _optional_hooks with args {}
Backend: Wrote response {'return': {'get_requires_for_build_sdist': True, 'prepare_metadata_for_build_wheel': True, 'get_requires_for_build_wheel': True, 'build_editable': True, 'get_requires_for_build_editable': True, 'prepare_metadata_for_build_editable': True}} to /tmp/pep517__optional_hooks-a5rsg5lt.json
.pkg: 2271 I exit None (0.40 seconds) /home/jgu/Projects/python-lz4> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=17968 [tox/execute/api.py:275]
.pkg: 2271 W get_requires_for_build_editable> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta [tox/tox_env/api.py:417]
Backend: run command get_requires_for_build_editable with args {'config_settings': None}
experimental: False
Backend: Wrote response {'return': ['wheel', 'setuptools_scm', 'pkgconfig']} to /tmp/pep517_get_requires_for_build_editable-4e8v_lpb.json
.pkg: 2294 I exit None (0.02 seconds) /home/jgu/Projects/python-lz4> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=17968 [tox/execute/api.py:275]
.pkg: 2295 W install_requires_for_build_editable> python -I -m pip install pkgconfig setuptools_scm wheel [tox/tox_env/api.py:417]
Requirement already satisfied: pkgconfig in ./.tox/.pkg/lib/python3.11/site-packages (1.5.5)
Requirement already satisfied: setuptools_scm in ./.tox/.pkg/lib/python3.11/site-packages (7.1.0)
Requirement already satisfied: wheel in ./.tox/.pkg/lib/python3.11/site-packages (0.38.4)
Requirement already satisfied: packaging>=20.0 in ./.tox/.pkg/lib/python3.11/site-packages (from setuptools_scm) (22.0)
Requirement already satisfied: setuptools in ./.tox/.pkg/lib/python3.11/site-packages (from setuptools_scm) (65.6.3)
Requirement already satisfied: typing-extensions in ./.tox/.pkg/lib/python3.11/site-packages (from setuptools_scm) (4.4.0)
.pkg: 2802 I exit 0 (0.51 seconds) /home/jgu/Projects/python-lz4> python -I -m pip install pkgconfig setuptools_scm wheel pid=17982 [tox/execute/api.py:275]
.pkg: 2802 W build_editable> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta [tox/tox_env/api.py:417]
Backend: run command build_editable with args {'wheel_directory': '/home/jgu/Projects/python-lz4/.tox/.pkg/dist', 'config_settings': {'--build-option': []}, 'metadata_directory': '/home/jgu/Projects/python-lz4/.tox/.pkg/.meta'}
experimental: False
running editable_wheel
creating /home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info
writing /home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info/PKG-INFO
writing dependency_links to /home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info/dependency_links.txt
writing requirements to /home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info/requires.txt
writing top-level names to /home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info/top_level.txt
writing manifest file '/home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4.egg-info/SOURCES.txt'
creating '/home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4-4.0.3.dev0+g7937098.d20221228.dist-info'
creating /home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4-4.0.3.dev0+g7937098.d20221228.dist-info/WHEEL
running build_py
running build_ext
building 'lz4._version' extension
creating /tmp/tmpkk3hwt3b.build-temp/lz4
creating /tmp/tmpkk3hwt3b.build-temp/lz4libs
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4/_version.c -o /tmp/tmpkk3hwt3b.build-temp/lz4/_version.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/lz4.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4.o -O3 -Wall -Wundef
creating /tmp/tmpc_3dai1q.build-lib/lz4
gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g /tmp/tmpkk3hwt3b.build-temp/lz4/_version.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4.o -L/usr/lib64 -o /tmp/tmpc_3dai1q.build-lib/lz4/_version.cpython-311-x86_64-linux-gnu.so
building 'lz4.block._block' extension
creating /tmp/tmpkk3hwt3b.build-temp/lz4/block
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4/block/_block.c -o /tmp/tmpkk3hwt3b.build-temp/lz4/block/_block.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/lz4.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/lz4hc.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4hc.o -O3 -Wall -Wundef
creating /tmp/tmpc_3dai1q.build-lib/lz4/block
gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g /tmp/tmpkk3hwt3b.build-temp/lz4/block/_block.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4hc.o -L/usr/lib64 -o /tmp/tmpc_3dai1q.build-lib/lz4/block/_block.cpython-311-x86_64-linux-gnu.so
building 'lz4.frame._frame' extension
creating /tmp/tmpkk3hwt3b.build-temp/lz4/frame
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4/frame/_frame.c -o /tmp/tmpkk3hwt3b.build-temp/lz4/frame/_frame.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/lz4.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/lz4frame.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4frame.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/lz4hc.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4hc.o -O3 -Wall -Wundef
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilz4libs -I/home/jgu/Projects/python-lz4/.tox/.pkg/include -I/usr/include/python3.11 -c lz4libs/xxhash.c -o /tmp/tmpkk3hwt3b.build-temp/lz4libs/xxhash.o -O3 -Wall -Wundef
creating /tmp/tmpc_3dai1q.build-lib/lz4/frame
gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g /tmp/tmpkk3hwt3b.build-temp/lz4/frame/_frame.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4frame.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/lz4hc.o /tmp/tmpkk3hwt3b.build-temp/lz4libs/xxhash.o -L/usr/lib64 -o /tmp/tmpc_3dai1q.build-lib/lz4/frame/_frame.cpython-311-x86_64-linux-gnu.so
copying /tmp/tmpc_3dai1q.build-lib/lz4/_version.cpython-311-x86_64-linux-gnu.so -> lz4
copying /tmp/tmpc_3dai1q.build-lib/lz4/block/_block.cpython-311-x86_64-linux-gnu.so -> lz4/block
copying /tmp/tmpc_3dai1q.build-lib/lz4/frame/_frame.cpython-311-x86_64-linux-gnu.so -> lz4/frame
Editable install will be performed using a meta path finder.

Options like `package-data`, `include/exclude-package-data` or
`packages.find.exclude/include` may have no effect.

adding '__editable___lz4_4_0_3_dev0_g7937098_d20221228_finder.py'
adding '__editable__.lz4-4.0.3.dev0+g7937098.d20221228.pth'
creating '/home/jgu/Projects/python-lz4/.tox/.pkg/dist/.tmp-cnqe2ood/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl' and adding '/tmp/tmp5r3npyrclz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl' to it
adding 'lz4-4.0.3.dev0+g7937098.d20221228.dist-info/LICENSE'
adding 'lz4-4.0.3.dev0+g7937098.d20221228.dist-info/METADATA'
adding 'lz4-4.0.3.dev0+g7937098.d20221228.dist-info/WHEEL'
adding 'lz4-4.0.3.dev0+g7937098.d20221228.dist-info/top_level.txt'
adding 'lz4-4.0.3.dev0+g7937098.d20221228.dist-info/RECORD'
/home/jgu/Projects/python-lz4/.tox/.pkg/lib/python3.11/site-packages/setuptools/command/editable_wheel.py:510: InformationOnly: 

        Please be careful with folders in your working directory with the same
        name as your package as they may take precedence during imports.
        
  warnings.warn(msg, InformationOnly)
Backend: Wrote response {'return': 'lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl'} to /tmp/pep517_build_editable-cq04bk1i.json
.pkg: 27065 I exit None (24.26 seconds) /home/jgu/Projects/python-lz4> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=17968 [tox/execute/api.py:275]
.pkg: 27068 D package .tmp/package/1/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl links to .pkg/dist/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl (/home/jgu/Projects/python-lz4/.tox) [tox/util/file_view.py:36]
docs: 27069 W install_package_deps> python -I -m pip install sphinx-bootstrap-theme 'sphinx>=1.6.0' [tox/tox_env/api.py:417]
Collecting sphinx-bootstrap-theme
  Using cached sphinx_bootstrap_theme-0.8.1-py2.py3-none-any.whl (1.2 MB)
Collecting sphinx>=1.6.0
  Using cached sphinx-5.3.0-py3-none-any.whl (3.2 MB)
Collecting sphinxcontrib-applehelp
  Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-devhelp
  Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting sphinxcontrib-jsmath
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
  Using cached sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.5
  Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting sphinxcontrib-qthelp
  Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting Jinja2>=3.0
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting Pygments>=2.12
  Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting docutils<0.20,>=0.14
  Using cached docutils-0.19-py3-none-any.whl (570 kB)
Collecting snowballstemmer>=2.0
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting babel>=2.9
  Using cached Babel-2.11.0-py3-none-any.whl (9.5 MB)
Collecting alabaster<0.8,>=0.7
  Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting imagesize>=1.3
  Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Collecting requests>=2.5.0
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting packaging>=21.0
  Using cached packaging-22.0-py3-none-any.whl (42 kB)
Collecting pytz>=2015.7
  Using cached pytz-2022.7-py2.py3-none-any.whl (499 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp311-cp311-linux_x86_64.whl
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Installing collected packages: sphinx-bootstrap-theme, snowballstemmer, pytz, alabaster, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, Pygments, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, requests, Jinja2, sphinx
Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.1 Pygments-2.13.0 alabaster-0.7.12 babel-2.11.0 certifi-2022.12.7 charset-normalizer-2.1.1 docutils-0.19 idna-3.4 imagesize-1.4.1 packaging-22.0 pytz-2022.7 requests-2.28.1 snowballstemmer-2.2.0 sphinx-5.3.0 sphinx-bootstrap-theme-0.8.1 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.13
docs: 32173 I exit 0 (5.10 seconds) /home/jgu/Projects/python-lz4> python -I -m pip install sphinx-bootstrap-theme 'sphinx>=1.6.0' pid=18118 [tox/execute/api.py:275]
docs: 32174 W install_package> python -I -m pip install --force-reinstall --no-deps /home/jgu/Projects/python-lz4/.tox/.tmp/package/1/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl [tox/tox_env/api.py:417]
Processing ./.tox/.tmp/package/1/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl
Installing collected packages: lz4
Successfully installed lz4-4.0.3.dev0+g7937098.d20221228
docs: 32602 I exit 0 (0.43 seconds) /home/jgu/Projects/python-lz4> python -I -m pip install --force-reinstall --no-deps /home/jgu/Projects/python-lz4/.tox/.tmp/package/1/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl pid=18173 [tox/execute/api.py:275]
docs: 32602 W commands[0]> make -C docs doctest html [tox/tox_env/api.py:417]
make: Entering directory '/home/jgu/Projects/python-lz4/docs'
sphinx-build -b doctest -d _build/doctrees   . _build/doctest
Running Sphinx v5.3.0
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 11 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...

Document: lz4.stream
--------------------
**********************************************************************
File "lz4.stream.rst", line 38, in default
Failed example:
    from lz4.stream import LZ4StreamCompressor, LZ4StreamDecompressor
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.11/doctest.py", line 1350, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest default[0]>", line 1, in <module>
        from lz4.stream import LZ4StreamCompressor, LZ4StreamDecompressor
      File "/home/jgu/Projects/python-lz4/lz4/stream/__init__.py", line 1, in <module>
        from ._stream import _create_context, _compress, _decompress, _get_block
    ModuleNotFoundError: No module named 'lz4.stream._stream'
**********************************************************************
File "lz4.stream.rst", line 45, in default
Failed example:
    with LZ4StreamCompressor("double_buffer", page_size, store_comp_size=block_size_length) as proc:
        offset = 0
        while offset < len(origin_stream):
            chunk = origin_stream[offset:offset + page_size]
            block = proc.compress(chunk)
            compressed_stream.extend(block)
            offset += page_size
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.11/doctest.py", line 1350, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest default[6]>", line 1, in <module>
        with LZ4StreamCompressor("double_buffer", page_size, store_comp_size=block_size_length) as proc:
             ^^^^^^^^^^^^^^^^^^^
    NameError: name 'LZ4StreamCompressor' is not defined
**********************************************************************
File "lz4.stream.rst", line 54, in default
Failed example:
    with LZ4StreamDecompressor("double_buffer", page_size, store_comp_size=block_size_length) as proc:
        offset = 0
        while offset < len(compressed_stream):
            block = proc.get_block(compressed_stream[offset:])
            chunk = proc.decompress(block)
            decompressed_stream.extend(chunk)
            offset += block_size_length + len(block)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.11/doctest.py", line 1350, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest default[8]>", line 1, in <module>
        with LZ4StreamDecompressor("double_buffer", page_size, store_comp_size=block_size_length) as proc:
             ^^^^^^^^^^^^^^^^^^^^^
    NameError: name 'LZ4StreamDecompressor' is not defined
**********************************************************************
File "lz4.stream.rst", line 61, in default
Failed example:
    decompressed_stream == origin_stream
Expected:
    True
Got:
    False
**********************************************************************
File "lz4.stream.rst", line 68, in default
Failed example:
    from lz4.stream import LZ4StreamCompressor, LZ4StreamDecompressor
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.11/doctest.py", line 1350, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest default[0]>", line 1, in <module>
        from lz4.stream import LZ4StreamCompressor, LZ4StreamDecompressor
      File "/home/jgu/Projects/python-lz4/lz4/stream/__init__.py", line 1, in <module>
        from ._stream import _create_context, _compress, _decompress, _get_block
    ModuleNotFoundError: No module named 'lz4.stream._stream'
**********************************************************************
File "lz4.stream.rst", line 75, in default
Failed example:
    with LZ4StreamCompressor("double_buffer", page_size, store_comp_size=0) as proc:
        offset = 0
        while offset < len(origin_stream):
            chunk = origin_stream[offset:offset + page_size]
            block = proc.compress(chunk)
            out_of_band_block_sizes.append(len(block))
            compressed_stream.extend(block)
            offset += page_size
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.11/doctest.py", line 1350, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest default[6]>", line 1, in <module>
        with LZ4StreamCompressor("double_buffer", page_size, store_comp_size=0) as proc:
             ^^^^^^^^^^^^^^^^^^^
    NameError: name 'LZ4StreamCompressor' is not defined
**********************************************************************
File "lz4.stream.rst", line 85, in default
Failed example:
    with LZ4StreamDecompressor("double_buffer", page_size, store_comp_size=0) as proc:
        offset = 0
        for block_len in out_of_band_block_sizes:
            # Sanity check:
            if offset >= len(compressed_stream):
                raise LZ4StreamError("Truncated stream")
            block = compressed_stream[offset:offset + block_len]
            chunk = proc.decompress(block)
            decompressed_stream.extend(chunk)
            offset += block_len
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.11/doctest.py", line 1350, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest default[8]>", line 1, in <module>
        with LZ4StreamDecompressor("double_buffer", page_size, store_comp_size=0) as proc:
             ^^^^^^^^^^^^^^^^^^^^^
    NameError: name 'LZ4StreamDecompressor' is not defined
**********************************************************************
File "lz4.stream.rst", line 95, in default
Failed example:
    decompressed_stream == origin_stream
Expected:
    True
Got:
    False
**********************************************************************
1 items had failures:
   8 of  20 in default
20 tests in 1 items.
12 passed and 8 failed.
***Test Failed*** 8 failures.

Document: quickstart
--------------------
1 items passed all tests:
  30 tests in default
30 tests in 1 items.
30 passed and 0 failed.
Test passed.

Document: lz4.block
-------------------
1 items passed all tests:
  23 tests in default
23 tests in 1 items.
23 passed and 0 failed.
Test passed.

Doctest summary
===============
   73 tests
    8 failures in tests
    0 failures in setup code
    0 failures in cleanup code
build finished with problems.
make: Leaving directory '/home/jgu/Projects/python-lz4/docs'
make: *** [Makefile:165: doctest] Error 1
docs: 33287 C exit 2 (0.68 seconds) /home/jgu/Projects/python-lz4> make -C docs doctest html pid=18183 [tox/execute/api.py:275]
.pkg: 33287 W _exit> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta [tox/tox_env/api.py:417]
Backend: run command _exit with args {}
Backend: Wrote response {'return': 0} to /tmp/pep517__exit-pdjl8iju.json
.pkg: 33289 I exit None (0.00 seconds) /home/jgu/Projects/python-lz4> python /home/jgu/.virtualenvs/python-lz4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=17968 [tox/execute/api.py:275]
.pkg: 33362 D delete package /home/jgu/Projects/python-lz4/.tox/.tmp/package/1/lz4-4.0.3.dev0+g7937098.d20221228-0.editable-cp311-cp311-linux_x86_64.whl [tox/tox_env/python/virtual_env/package/pyproject.py:171]
  docs: FAIL code 2 (33.17=setup[32.49]+cmd[0.68] seconds)
  evaluation failed :( (33.26 seconds)

Minimal example

Don't have one just yet.

@gaborbernat
Copy link
Member

Duplicate of #2543, see #2543 (comment) for details

@jonathanunderwood
Copy link
Author

@gaborbernat thanks for the quick response. However, I am not sure the .pkg test environment actually solves this use case: I want to set the env variable for package build only for the package for the docs test environment, and not the other environments I define. Am I missing something?

@gaborbernat
Copy link
Member

Can you share your project? tox file and packaging file? You can define a different package environment for different tox environments.

@jonathanunderwood
Copy link
Author

@gaborbernat See the links in the original report above - everything is there.

@jonathanunderwood
Copy link
Author

jonathanunderwood commented Dec 28, 2022

Oh, so perhaps I can do something like...

[testenv:docs:.pkg]
setenv =
    PYLZ4_EXPERIMENTAL = 1

Right?

Update: that doesn't work (but would be a really nice syntax if it did!)

jonathanunderwood added a commit to python-lz4/python-lz4 that referenced this issue Dec 28, 2022
Starting with Tox 4.0 environment variables for test environments
are not passed to the tox package building environment. To work
around this issue we leverage the .pkg environment, which is used
for package builds.

tox-dev/tox#2784
@gaborbernat
Copy link
Member

Per https://tox.wiki/en/latest/config.html#package_env-env

[testenv:docs]
package_env = .pkg-docs

[testenv:.pkg-docs]
setenv =
    PYLZ4_EXPERIMENTAL = 1

@jonathanunderwood
Copy link
Author

@gaborbernat - perfect, many thanks for this response, have implemented your suggestion, and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants