Skip to content

[BUG] 58.0.0: TOMLDecodeError when run in select environments #2771

@kloczek

Description

@kloczek

setuptools version

56.0.0

Python version

3.8.12

OS

Linux/x86_64

Additional environment information

Full list of installed modules in build env

[tkloczko@barrel SPECS]$ pip freeze
aiofiles==0.6.0
aiohttp==3.7.4.post0
aiohttp-cors==0.7.0
aioredis==2.0.0
aioresponses==0.7.2
alabaster==0.7.12
amqp==5.0.6
ansi==0.2.0
anyio==3.3.0
anytree==2.8.0
apipkg==1.5
appdirs==1.4.4
argcomplete==1.12.3
argon2-cffi==21.1.0
Arpeggio==1.10.2
arrow==1.1.1
asgiref==3.4.1
asn1crypto==1.4.0
aspectlib==1.5.2
astor==0.8.1
astroid==2.6.6
async-generator==1.10
async-timeout==3.0.1
atomicwrites==1.4.0
attrs==21.2.0
autoapi==2.0.1
autodocsumm==0.2.6
autoflake==1.4
Automat==20.2.0
Babel==2.9.1
backcall==0.2.0
backports.entry-points-selectable==1.1.0
bcrypt==3.2.0
Beaker==1.11.0
beautifulsoup4==4.9.3
betamax==0.8.1
billiard==3.6.4.0
black==21.8b0
bleach==4.0.0
blinker==1.4
blivet==3.4.1
boto3==1.18.36
botocore==1.21.36
bottle==0.12.19
breathe==4.30.0
Brlapi==0.8.0
Brotli==1.0.7
build==0.6.0
cachetools==4.2.2
cairocffi==1.2.0
CairoSVG==2.5.2
cbor2==5.4.1
CCColUtils==1.5
certifi==2021.5.30
cffi==1.14.6
cfgv==3.3.1
chai==1.1.2
changelog==0.5.5
characteristic==14.3.0
chardet==4.0.0
charset-normalizer==2.0.4
cheroot==8.5.2
CherryPy==18.6.1
click==8.0.1
click-completion==0.5.2
click-default-group==1.2.2
click-didyoumean==0.0.3
click-log==0.3.2
cloudpickle==1.6.0
codespell==2.1.0
colorama==0.4.4
colorlog==6.4.1
colorspacious==1.1.2
commonmark==0.9.1
constantly==15.1.0
contextlib2==21.6.0
contextvars==2.4
convertdate==2.3.2
cov-core==1.15.0
coverage==5.6b1
coveralls==3.2.0
cppy==1.1.0
cram==0.7
cryptography==3.3.1
cryptography-vectors==3.4.8
cssselect==1.1.0
cssselect2==0.4.1
curio==1.5
cycler==0.10.0
Cython==0.29.24
dateparser==0.7.4
dateutils==0.6.12
dbus-python==1.2.16
ddt==1.4.2
decopatch==1.4.8
decorator==5.0.9
defusedxml==0.7.1
dictdiffer==0.9.0
distlib==0.3.2
distro==1.5.0
Django==3.2.2
dnspython==2.1.0
docopt==0.6.2
docutils==0.17.1
docutils-stubs==0.0.21
dogtail==0.9.11
dpcontracts==0.6.0
dpkt==1.9.7.2
dulwich==0.20.24
editdistance==0.5.3
editdistance-s==1.0.0
elasticsearch==7.14.1
elementpath==2.3.0
entrypoints==0.3
evdev==1.4.0
eventlet==0.31.1
exam==0.10.6
execnet==1.9.0
extras==1.0.0
factory-boy==3.2.0
Faker==8.12.1
fakeredis==1.6.0
fido2==0.9.1
fields==5.0.0
filelock==3.0.12
fixtures==3.0.0
flake8==3.9.2
flake8-bugbear==21.4.3
flake8-pie==0.14.0
flaky==3.7.0
Flask==2.0.1
Flask-SQLAlchemy==2.5.1
flit==3.3.0
flit_core==3.3.0
fluidity-sm==0.2.0
fonttools==4.26.2
freezegun==1.0.0
func-timeout==4.4.0
future==0.18.2
fuzzywuzzy==0.18.0
gcovr==5.0
Genshi==0.7.5
genty==1.3.2
gevent==21.8.0
geventhttpclient==1.5.1
gi-docgen==2021.7
gitdb==4.0.7
GitPython==3.1.20
google==3.0.0
gpg===1.16.0-unknown
gprof2dot==2021.2.21
graphviz==0.17
greenlet==1.1.1
guzzle-sphinx-theme==0.7.11
h11==0.12.0
h2==4.1.0+dev
hacking==4.0.0
hidapi==0.10.1
hpack==4.0.0
html2text==2020.1.16
html5lib==1.1
httmock==1.4.0
httpcore==0.13.3
httplib2==0.19.1
humanize==3.11.0
Hypercorn==0.11.2
hyperframe==6.0.1
hyperlink==21.0.0
hypothesis==6.14.6
hypothesmith==0.1.8
identify==2.2.13
idna==3.2
ifaddr==0.1.7
imagesize==1.2.0
immutables==0.16
importlib-metadata==4.8.1
incremental==21.3.0
inflect==5.3.0
iniconfig==1.1.1
invoke==1.5.0
iocapture==0.1.2
ipykernel==6.0.3
ipyparallel==6.3.0
ipython==7.26.0
ipython_genutils==0.2.0
ipywidgets==7.6.3
iso8601==0.1.16
isodate==0.6.0
isort==5.9.3
itsdangerous==2.0.1
jaraco.classes==3.2.1
jaraco.collections==3.4.0
jaraco.envs==2.1.1
jaraco.functools==3.3.0
jaraco.itertools==6.0.1
jaraco.packaging==8.2.1
jaraco.path==3.3.1
jaraco.text==3.5.1
javapackages==5.3.0
jedi==0.18.0
Jinja2==3.0.1
jinja2-pluralize==0.3.0
jmespath==0.10.0
joblib==1.0.1
Js2Py==0.71
jsonschema==3.2.0
jupyter-client==6.2.0
jupyter-core==4.7.1
jupyter-sphinx==0.3.2
jupyterlab-pygments==0.1.2
jupytext==1.11.5
kiwisolver==1.3.2
kombu==5.1.0
lark-parser==0.12.0
latexcodec==2.0.1
lazy-object-proxy==1.6.0
lexicon==1.0.0
libcomps==0.1.17
libcst==0.3.20
libevdev==0.9
linecache2==1.0.0
linkify-it-py==1.0.1
lit==12.0.1.dev0
lockfile==0.12.2
louis==3.19.0
lupa==1.9
lxml==4.6.3
# Editable install with no version control (lz4==3.1.3)
-e /usr/lib64/python3.8/site-packages
m2r==0.2.1
makefun==1.11.3
Mako==1.1.5.dev0
mallard-ducktype==1.0.2
Markdown==3.3.4
markdown-it-py==1.1.0
MarkupSafe==2.0.1
matplotlib-inline==0.1.2
mccabe==0.6.1
mdit-py-plugins==0.2.8
meson==0.59.1
metaextract==1.0.7
mistune==0.8.4
mock==4.0.3
more-itertools==8.9.0
mpi4py==3.1.1
msgpack==1.0.2
mujson==1.4
multidict==5.1.0
multipledispatch==0.6.0
mypy==0.910
mypy-extensions==0.4.3
myst-parser==0.15.2
nbclient==0.5.3
nbconvert==6.1.0
nbformat==5.1.3
nbsphinx==0.8.7
nest-asyncio==1.5.1
netaddr==0.8.0
nftables==0.1
nocasedict==1.0.2
nocaselist==1.0.4
nodeenv==1.6.0
nose2==0.10.0
nose2pytest==1.0.8
notebook==6.4.2
ntplib==0.4.0
numpy==1.18.2
numpydoc==1.1.0
objproxies==0.9.4
olefile==0.46
openidc-client==0.6.0
openstackdocstheme==2.3.0
ordered-set==4.0.2
outcome==1.1.0
packaging==21.0
Pallets-Sphinx-Themes==2.0.1
pandas==1.3.1
pandocfilters==1.4.3
parameterized==0.8.1
paramiko==2.7.2
parso==0.8.0
parver==0.3.1
Paste==3.5.0
PasteDeploy==2.1.1
path==16.2.0
pathspec==0.9.0
pbr==5.6.0
pcapy==0.11.4
pep517==0.11.0
pexpect==4.8.0
pickleshare==0.7.5
pid==3.0.4
Pillow==8.3.2
pkgconfig==1.5.2
platformdirs==2.3.0
pluggy==0.13.1
ply==3.11
pocketlint==0.21
poetry-core==1.0.3
polib==1.1.1
portend==2.7.1
pproxy==2.7.8
pre-commit==2.14.0
pretend==1.0.9
prettytable==0.7.2
priority==2.0.0
process-tests==2.1.1
productmd==1.33
prometheus-client==0.11.0
prompt-toolkit==3.0.19
psutil==5.8.0
ptyprocess==0.7.0
purl==1.5
pwquality==1.4.4
py==1.10.0
py-cpuinfo==8.0.0
py2pack==0.8.7
pyasn1==0.4.8
pyasn1-modules==0.2.8
pybind11==2.7.1
pybtex==0.24.0
pybtex-docutils==1.0.1
pycairo==1.18.2
pycodestyle==2.7.0
pycparser==2.20
pycrypto==2.6.1
pycurl==7.43.0.5
pydantic==1.8.2
pydocstyle==6.1.1
pyenchant==3.2.1
pyfakefs==4.5.1
pyflakes==2.3.1
pyftpdlib==1.5.6
pygal==3.0.0.dev1
Pygments==2.10.0.dev20210815
pygments-ansi-color==0.0.6
pygments-pytest==2.2.0
PyGObject==3.40.1
PyHamcrest==2.0.2
pyinotify==0.9.6
pyjsparser==2.7.1
pykickstart==3.34
pylama==7.7.1
pylast==3.3.0
pylint==2.9.6
pylons-sphinx-themes==1.0.13
PyMeeus==0.5.11
PyNaCl==1.4.0
pyOpenSSL==20.0.1
pyparsing==2.4.6
pyparted==3.11.5
pypi-search==1.2.1
PyQt5==5.14.2
PyQt5_sip==4.19.22
pyquery==1.4.4.dev0
pyrad==2.4
pyrsistent==0.18.0
pyscard==2.0.1
pyScss==1.3.7
pyserial==3.4
PySocks==1.7.1
pytest==6.2.5
pytest-asyncio==0.15.1
pytest-benchmark==3.4.1
pytest-black==0.3.12
pytest-cases==3.6.3
pytest-cov==2.12.1
pytest-datadir==1.3.1
pytest-expect==1.1.0
pytest-fixture-config==1.7.0
pytest-flake8==1.0.7
pytest-forked==1.3.0
pytest-freezegun==0.4.2
pytest-isort==2.0.0
pytest-mock==3.6.1
pytest-profiling==1.7.0
pytest-randomly==3.8.0
pytest-regressions==2.2.0
pytest-rerunfailures==9.1.1
pytest-runner==5.3.2
pytest-shutil==1.7.0
pytest-subtests==0.5.0
pytest-timeout==1.4.2
pytest-toolbox==0.5
pytest-tornado==0.8.1
pytest-tornasync==0.6.0.post2
pytest-trio==0.7.0
pytest-twisted==1.13.3
pytest-virtualenv==1.7.0
pytest-xdist==2.3.0
pytest-xprocess==0.18.1
pytest_check==1.0.1
python-augeas==1.1.0
python-dateutil==2.8.2
python-dbusmock==0.24.0
python-mimeparse==1.6.0
python-socks==1.2.4
python-xlib==0.31
pytz==2021.1
pyu2f==0.1.5
pyudev==0.22.0
pyusb==1.2.1
pywbem==1.1.3
pyxattr==0.7.2
pyxdg==0.27
PyYAML==5.4.1
pyzmq==22.2.1
raven==6.10.0
rdflib==6.0.0
re-assert==1.1.0
readthedocs-sphinx-ext==2.1.4
recommonmark==0.7.1
redis==3.5.3
regex==2021.8.28
releases==1.6.3
reno==3.2.0
repoze.sphinx.autointerface==0.8
requests==2.26.0
requests-file==1.5.1
requests-ftp==0.3.1
requests-mock==1.9.3
requests-toolbelt==0.9.1
requests-unixsocket==0.2.0
requests_download==0.1.2
responses==0.13.3
rfc3986==1.5.0
rich==10.9.0
rpm==4.16.1.3
rsa==4.7.2
rst.linker==2.2.0
s3transfer==0.5.0
SCons==4.2.0
scour==0.38.2
scripttest==1.3
selenium==4.0.0a1
selinux==3.2
semantic-version==2.8.5
Send2Trash==1.8.0
service-identity==21.1.0
setuptools-git==1.2
setuptools-scm==6.3.0
setuptools-scm-git-archive==1.1
sh==1.14.2
shellingham==1.4.0
should-dsl==2.1.2
simplejson==3.17.5
simpleline==1.8.2
six==1.16.0
slip==0.6.5
slip.dbus==0.6.5
smartypants==2.0.1
smbus==1.1
smmap==4.0.0
sniffio==1.2.0
snowballstemmer==2.1.0
solaar==1.0.6
sortedcontainers==2.1.0
sos==4.2
soupsieve==2.2.1
spec==1.4.1
Sphinx==4.1.2
sphinx-argparse==0.2.5
sphinx-argparse-cli==1.7.0
sphinx-autodoc-typehints==1.12.0
sphinx-celery==2.0.0
sphinx-click==3.0.1
sphinx-copybutton==0.4.0
sphinx-gallery==0.9.0
sphinx-hoverxref==0.7b1
sphinx-issues==1.2.0
sphinx-last-updated-by-git==0.3.0
sphinx-lv2-theme==1.0.0
sphinx-markdown-tables==0.0.15
sphinx-paramlinks==0.5.1
sphinx-prompt==1.4.0
sphinx-py3doc-enhanced-theme==2.4.0
sphinx-readable-theme==1.3.0
sphinx-removed-in==0.2.1
sphinx-rst-builder==0.0.3
sphinx-rtd-theme==0.5.2
sphinx-selective-exclude==1.0.3
sphinx-tabs==3.2.0
sphinx-typlog-theme==0.8.0
sphinx_inline_tabs @ file:///home/tkloczko/rpmbuild/BUILD/sphinx-inline-tabs-2021.04.11.beta9/dist/sphinx_inline_tabs-2021.4.11b9-py3-none-any.whl
sphinxcontrib-apidoc==0.3.0
sphinxcontrib-applehelp==1.0.2.dev20210802
sphinxcontrib-asyncio==0.3.0
sphinxcontrib-autoprogram==0.1.7
sphinxcontrib-bibtex==2.3.0
sphinxcontrib-devhelp==1.0.2.dev20210801
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-httpdomain==1.7.0
sphinxcontrib-jsmath==1.0.1.dev20210801
sphinxcontrib-log-cabinet==1.0.1
sphinxcontrib-programoutput==0.17
sphinxcontrib-qthelp==1.0.3.dev20210824
sphinxcontrib-restbuilder==0.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-spelling==7.2.1
sphinxcontrib-svg2pdfconverter==1.1.1
sphinxcontrib-towncrier==0.2.0a0
sphinxcontrib-trio==1.1.2
sphinxcontrib-websupport==1.2.4
sphinxcontrib_github_alt==1.2
sphinxext-opengraph==0.4.2
sphobjinv==2.1
SQLAlchemy==1.4.23.dev0
sqlparse==0.4.2.dev0
stdio-mgr==1.0.1
stdlib-list==0.8.0
stem==1.8.0
stone==3.2.1
strategies==0.2.3
sure==2.0.0
sybil==2.0.1
systemd-python==234
tabulate==0.8.9
Tempita==0.5.2
tempora==4.1.1
termcolor==1.1.0
terminado==0.11.1
test-server==0.0.31
testpath==0.5.0
testresources==2.0.1
testscenarios==0.5.0
testtools==2.5.0
text-unidecode==1.3
texttable==1.6.4
threadpoolctl==2.2.0
tinycss2==1.1.0
toml==0.10.2
tomli==1.1.0
tomlkit==0.7.2
toolz==0.11.1
tornado==6.1
towncrier==21.3.0
tox==3.24.3
tox-current-env==0.0.6
tqdm==4.62.2
traceback2==1.4.0
traitlets==5.0.5
transaction==3.0.1
trio==0.19.0
trustme==0.8.0
Twisted==21.2.0
typed-ast==1.4.3
typing-extensions==3.10.0.2
typing-inspect==0.7.1
typogrify==2.0.7
tzlocal==2.1
u-msgpack-python==2.7.1
uc-micro-py==1.0.1
ujson==4.1.0
Unidecode==1.2.0
unittest-mixins==1.6
uritemplate==3.0.1
urllib3==1.26.6
userpath==1.7.0
uTidylib==0.7
uvicorn==0.13.4
uvloop==0.15.3
validators==0.18.1
vine==5.0.0
virtualenv==20.6.0
waitress==1.4.4
watchgod==0.7
wcwidth==0.2.5
webcolors==1.11.1
webencodings==0.5.1
WebOb==1.8.7
websocket-client==1.2.1
websockets==9.1
WebTest==3.0.0
Werkzeug==2.0.1
Whoosh==2.7.4
widgetsnbextension==3.5.1
wrapt==1.12.1
WSGIProxy2==0.5.0
wsproto==1.0.0
xcffib==0.11.1
xmlschema==1.7.1
xmltodict==0.12.0
yamlloader==1.0.0
yarl==1.6.3
youtube-dl==2021.6.6
zc.lockfile==2.0
zeroconf==0.36.2
zerorpc==0.6.3
zipp==3.5.0
zope.event==4.5.0
zope.interface==5.4.0
zope.testing==4.9
zzzeeksphinx==1.2.3

Description

Few new units are failing. Build setuptools 57.5.0 in the same env still is OK.

Expected behavior

No fails or errors.

How to Reproduce

Part of my spec file:

%build
SETUPTOOLS_SCM_PRETEND_VERSION=%{version} \
%__python3 -m build --wheel
%py3_build_sphinx_man

%install
%py3_install_wheel *.whl

%__install build/sphinx/man/*.3 -Dt %{buildroot}%{_mandir}/man3

%check
PYTHONPATH=$PWD \
%pytest -p no:randomly \
        --deselect pkg_resources/tests/test_pkg_resources.py::TestDeepVersionLookupDistutils::test_version_resolved_from_egg_info \
        --ignore=pavement.py \
        --ignore=setuptools/tests/test_integration.py \
        %{!?with_failing_tests: \
        --deselect setuptools/tests/test_develop.py::TestNamespaces::test_editable_prefix \
        --deselect setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts}

Ive been deselecting or ignoring some of the units which have been failing in 57.5.0

generally procedure is:

  • %__python3 -m build --wheel
  • install whl file in some </install/prefix>
  • run pytest w PYTHONPATH pointing current directory (some test modules are only in source tree) + python sitelib in </install/prefix>

Output

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0
+ /usr/bin/pytest -ra -p no:randomly --deselect pkg_resources/tests/test_pkg_resources.py::TestDeepVersionLookupDistutils::test_version_resolved_from_egg_info --ignore=pavement.py --ignore=setuptools/tests/test_integration.py
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0, configfile: pytest.ini
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, flaky-3.7.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, anyio-3.3.0, asyncio-0.15.1, trio-0.7.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0, Faker-8.12.1, nose2pytest-1.0.8, pyfakefs-4.5.1, tornado-0.8.1, twisted-1.13.3
collected 721 items / 1 deselected / 2 skipped / 718 selected

pkg_resources/__init__.py ...                                                                                                                                        [  0%]
pkg_resources/api_tests.txt .                                                                                                                                        [  0%]
pkg_resources/tests/test_find_distributions.py ....                                                                                                                  [  1%]
pkg_resources/tests/test_markers.py .                                                                                                                                [  1%]
pkg_resources/tests/test_pkg_resources.py ...............ssss                                                                                                        [  3%]
pkg_resources/tests/test_resources.py ..................................................................................                                             [ 15%]
pkg_resources/tests/test_working_set.py ..................................                                                                                           [ 20%]
setuptools/dist.py .                                                                                                                                                 [ 20%]
setuptools/namespaces.py .                                                                                                                                           [ 20%]
setuptools/package_index.py ..                                                                                                                                       [ 20%]
setuptools/sandbox.py .                                                                                                                                              [ 20%]
setuptools/command/develop.py .                                                                                                                                      [ 20%]
setuptools/command/install_lib.py .                                                                                                                                  [ 20%]
setuptools/tests/test_archive_util.py X                                                                                                                              [ 21%]
setuptools/tests/test_bdist_egg.py .x                                                                                                                                [ 21%]
setuptools/tests/test_build_clib.py .                                                                                                                                [ 21%]
setuptools/tests/test_build_ext.py ....                                                                                                                              [ 22%]
setuptools/tests/test_build_meta.py ............FF................F................................................FF................F.............................. [ 39%]
......                                                                                                                                                               [ 40%]
setuptools/tests/test_build_py.py ...                                                                                                                                [ 41%]
setuptools/tests/test_config.py .............................................                                                                                        [ 47%]
setuptools/tests/test_dep_util.py .                                                                                                                                  [ 47%]
setuptools/tests/test_depends.py .                                                                                                                                   [ 47%]
setuptools/tests/test_develop.py s....F                                                                                                                              [ 48%]
setuptools/tests/test_dist.py .......x...x..........................                                                                                                 [ 53%]
setuptools/tests/test_dist_info.py ..                                                                                                                                [ 54%]
setuptools/tests/test_distutils_adoption.py ...                                                                                                                      [ 54%]
setuptools/tests/test_easy_install.py ..................................F.............                                                                               [ 61%]
setuptools/tests/test_egg_info.py .........................x...............................................                                                          [ 71%]
setuptools/tests/test_extern.py ...                                                                                                                                  [ 71%]
setuptools/tests/test_find_packages.py ............                                                                                                                  [ 73%]
setuptools/tests/test_glob.py ....                                                                                                                                   [ 73%]
setuptools/tests/test_install_scripts.py .s.s                                                                                                                        [ 74%]
setuptools/tests/test_manifest.py ...................................................................                                                                [ 83%]
setuptools/tests/test_msvc14.py ssss                                                                                                                                 [ 84%]
setuptools/tests/test_namespaces.py ....                                                                                                                             [ 84%]
setuptools/tests/test_packageindex.py ....................                                                                                                           [ 87%]
setuptools/tests/test_register.py .                                                                                                                                  [ 87%]
setuptools/tests/test_sandbox.py ..........                                                                                                                          [ 89%]
setuptools/tests/test_sdist.py ...............                                                                                                                       [ 91%]
setuptools/tests/test_setopt.py .                                                                                                                                    [ 91%]
setuptools/tests/test_setuptools.py .....................                                                                                                            [ 94%]
setuptools/tests/test_sphinx_upload_docs.py .                                                                                                                        [ 94%]
setuptools/tests/test_test.py .                                                                                                                                      [ 94%]
setuptools/tests/test_unicode_utils.py .                                                                                                                             [ 94%]
setuptools/tests/test_upload.py .                                                                                                                                    [ 94%]
setuptools/tests/test_upload_docs.py ..                                                                                                                              [ 95%]
setuptools/tests/test_virtualenv.py .....x....                                                                                                                       [ 96%]
setuptools/tests/test_wheel.py ......................                                                                                                                [ 99%]
setuptools/tests/test_windows_wrappers.py sss                                                                                                                        [100%]

================================================================================= FAILURES =================================================================================
____________________________________________________ TestBuildMetaBackend.test_build_with_existing_file_present[wheel] _____________________________________________________
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py", line 57, in __call__
    return getattr(backend, name)(*args, **kw)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 221, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 207, in _build_with_temp_dir
    self.run_setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 150, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 2, in <module>
    setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 446, in __init__
    _Distribution.__init__(
  File "/usr/lib64/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 822, in finalize_options
    ep(self)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/integration.py", line 90, in infer_version
    config = Configuration.from_file(dist_name=dist_name)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 181, in from_file
    defn = _load_toml(data)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 55, in _lazy_tomli_load
    return loads(data)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 104, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 331, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 366, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 595, in parse_value
    return parse_one_line_basic_str(src, pos)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 406, in parse_one_line_basic_str
    return parse_basic_str(src, pos, multiline=False)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 579, in parse_basic_str
    raise suffixed_err(src, pos, f'Illegal character "{char!r}"')
tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)
"""

The above exception was the direct cause of the following exception:

self = <setuptools.tests.test_build_meta.TestBuildMetaBackend object at 0x7f21ca4affa0>, build_type = 'wheel'
tmpdir_cwd = local('/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0')

    @pytest.mark.parametrize('build_type', ('wheel', 'sdist'))
    def test_build_with_existing_file_present(self, build_type, tmpdir_cwd):
        # Building a sdist/wheel should still succeed if there's
        # already a sdist/wheel in the destination directory.
        files = {
            'setup.py': "from setuptools import setup\nsetup()",
            'VERSION': "0.0.1",
            'setup.cfg': DALS("""
                [metadata]
                name = foo
                version = file: VERSION
            """),
            'pyproject.toml': DALS("""
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta
            """),
        }

        path.build(files)

        dist_dir = os.path.abspath('preexisting-' + build_type)

        build_backend = self.get_build_backend()
        build_method = getattr(build_backend, 'build_' + build_type)

        # Build a first sdist/wheel.
        # Note: this also check the destination directory is
        # successfully created if it does not exist already.
>       first_result = build_method(dist_dir)

/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:34: in method
    return self.pool.submit(caller, name, *args, **kw).result()
/usr/lib64/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = None

    def __get_result(self):
        if self._exception:
            try:
>               raise self._exception
E               tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)

/usr/lib64/python3.8/concurrent/futures/_base.py:389: TOMLDecodeError
____________________________________________________ TestBuildMetaBackend.test_build_with_existing_file_present[sdist] _____________________________________________________
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py", line 57, in __call__
    return getattr(backend, name)(*args, **kw)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 225, in build_sdist
    return self._build_with_temp_dir(['sdist', '--formats', 'gztar'],
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 207, in _build_with_temp_dir
    self.run_setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 150, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 2, in <module>
    setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 446, in __init__
    _Distribution.__init__(
  File "/usr/lib64/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 822, in finalize_options
    ep(self)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/integration.py", line 90, in infer_version
    config = Configuration.from_file(dist_name=dist_name)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 181, in from_file
    defn = _load_toml(data)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 55, in _lazy_tomli_load
    return loads(data)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 104, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 331, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 366, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 595, in parse_value
    return parse_one_line_basic_str(src, pos)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 406, in parse_one_line_basic_str
    return parse_basic_str(src, pos, multiline=False)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 579, in parse_basic_str
    raise suffixed_err(src, pos, f'Illegal character "{char!r}"')
tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)
"""

The above exception was the direct cause of the following exception:

self = <setuptools.tests.test_build_meta.TestBuildMetaBackend object at 0x7f21ca46a760>, build_type = 'sdist'
tmpdir_cwd = local('/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0')

    @pytest.mark.parametrize('build_type', ('wheel', 'sdist'))
    def test_build_with_existing_file_present(self, build_type, tmpdir_cwd):
        # Building a sdist/wheel should still succeed if there's
        # already a sdist/wheel in the destination directory.
        files = {
            'setup.py': "from setuptools import setup\nsetup()",
            'VERSION': "0.0.1",
            'setup.cfg': DALS("""
                [metadata]
                name = foo
                version = file: VERSION
            """),
            'pyproject.toml': DALS("""
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta
            """),
        }

        path.build(files)

        dist_dir = os.path.abspath('preexisting-' + build_type)

        build_backend = self.get_build_backend()
        build_method = getattr(build_backend, 'build_' + build_type)

        # Build a first sdist/wheel.
        # Note: this also check the destination directory is
        # successfully created if it does not exist already.
>       first_result = build_method(dist_dir)

/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:34: in method
    return self.pool.submit(caller, name, *args, **kw).result()
/usr/lib64/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = None

    def __get_result(self):
        if self._exception:
            try:
>               raise self._exception
E               tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)

/usr/lib64/python3.8/concurrent/futures/_base.py:389: TOMLDecodeError
_______________________________________________________ TestBuildMetaBackend.test_build_sdist_pyproject_toml_exists ________________________________________________________
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py", line 57, in __call__
    return getattr(backend, name)(*args, **kw)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 225, in build_sdist
    return self._build_with_temp_dir(['sdist', '--formats', 'gztar'],
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 207, in _build_with_temp_dir
    self.run_setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 150, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 1, in <module>
    __import__('setuptools').setup(
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 446, in __init__
    _Distribution.__init__(
  File "/usr/lib64/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 822, in finalize_options
    ep(self)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/integration.py", line 90, in infer_version
    config = Configuration.from_file(dist_name=dist_name)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 181, in from_file
    defn = _load_toml(data)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 55, in _lazy_tomli_load
    return loads(data)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 104, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 331, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 366, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 595, in parse_value
    return parse_one_line_basic_str(src, pos)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 406, in parse_one_line_basic_str
    return parse_basic_str(src, pos, multiline=False)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 579, in parse_basic_str
    raise suffixed_err(src, pos, f'Illegal character "{char!r}"')
tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)
"""

The above exception was the direct cause of the following exception:

self = <setuptools.tests.test_build_meta.TestBuildMetaBackend object at 0x7f21ca42ab20>, tmpdir_cwd = local('/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0')

    def test_build_sdist_pyproject_toml_exists(self, tmpdir_cwd):
        files = {
            'setup.py': DALS("""
                __import__('setuptools').setup(
                    name='foo',
                    version='0.0.0',
                    py_modules=['hello']
                )"""),
            'hello.py': '',
            'pyproject.toml': DALS("""
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta
                """),
        }
        path.build(files)
        build_backend = self.get_build_backend()
>       targz_path = build_backend.build_sdist("temp")

/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:268:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:34: in method
    return self.pool.submit(caller, name, *args, **kw).result()
/usr/lib64/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = None

    def __get_result(self):
        if self._exception:
            try:
>               raise self._exception
E               tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)

/usr/lib64/python3.8/concurrent/futures/_base.py:389: TOMLDecodeError
_________________________________________________ TestBuildMetaLegacyBackend.test_build_with_existing_file_present[wheel] __________________________________________________
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py", line 57, in __call__
    return getattr(backend, name)(*args, **kw)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 221, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 207, in _build_with_temp_dir
    self.run_setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 258, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 150, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 2, in <module>
    setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 446, in __init__
    _Distribution.__init__(
  File "/usr/lib64/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 822, in finalize_options
    ep(self)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/integration.py", line 90, in infer_version
    config = Configuration.from_file(dist_name=dist_name)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 181, in from_file
    defn = _load_toml(data)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 55, in _lazy_tomli_load
    return loads(data)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 104, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 331, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 366, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 595, in parse_value
    return parse_one_line_basic_str(src, pos)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 406, in parse_one_line_basic_str
    return parse_basic_str(src, pos, multiline=False)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 579, in parse_basic_str
    raise suffixed_err(src, pos, f'Illegal character "{char!r}"')
tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)
"""

The above exception was the direct cause of the following exception:

self = <setuptools.tests.test_build_meta.TestBuildMetaLegacyBackend object at 0x7f21ca439370>, build_type = 'wheel'
tmpdir_cwd = local('/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0')

    @pytest.mark.parametrize('build_type', ('wheel', 'sdist'))
    def test_build_with_existing_file_present(self, build_type, tmpdir_cwd):
        # Building a sdist/wheel should still succeed if there's
        # already a sdist/wheel in the destination directory.
        files = {
            'setup.py': "from setuptools import setup\nsetup()",
            'VERSION': "0.0.1",
            'setup.cfg': DALS("""
                [metadata]
                name = foo
                version = file: VERSION
            """),
            'pyproject.toml': DALS("""
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta
            """),
        }

        path.build(files)

        dist_dir = os.path.abspath('preexisting-' + build_type)

        build_backend = self.get_build_backend()
        build_method = getattr(build_backend, 'build_' + build_type)

        # Build a first sdist/wheel.
        # Note: this also check the destination directory is
        # successfully created if it does not exist already.
>       first_result = build_method(dist_dir)

/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:34: in method
    return self.pool.submit(caller, name, *args, **kw).result()
/usr/lib64/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = None

    def __get_result(self):
        if self._exception:
            try:
>               raise self._exception
E               tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)

/usr/lib64/python3.8/concurrent/futures/_base.py:389: TOMLDecodeError
_________________________________________________ TestBuildMetaLegacyBackend.test_build_with_existing_file_present[sdist] __________________________________________________
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py", line 57, in __call__
    return getattr(backend, name)(*args, **kw)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 225, in build_sdist
    return self._build_with_temp_dir(['sdist', '--formats', 'gztar'],
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 207, in _build_with_temp_dir
    self.run_setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 258, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 150, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 2, in <module>
    setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 446, in __init__
    _Distribution.__init__(
  File "/usr/lib64/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 822, in finalize_options
    ep(self)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/integration.py", line 90, in infer_version
    config = Configuration.from_file(dist_name=dist_name)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 181, in from_file
    defn = _load_toml(data)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 55, in _lazy_tomli_load
    return loads(data)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 104, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 331, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 366, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 595, in parse_value
    return parse_one_line_basic_str(src, pos)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 406, in parse_one_line_basic_str
    return parse_basic_str(src, pos, multiline=False)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 579, in parse_basic_str
    raise suffixed_err(src, pos, f'Illegal character "{char!r}"')
tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)
"""

The above exception was the direct cause of the following exception:

self = <setuptools.tests.test_build_meta.TestBuildMetaLegacyBackend object at 0x7f21ca35f040>, build_type = 'sdist'
tmpdir_cwd = local('/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0')

    @pytest.mark.parametrize('build_type', ('wheel', 'sdist'))
    def test_build_with_existing_file_present(self, build_type, tmpdir_cwd):
        # Building a sdist/wheel should still succeed if there's
        # already a sdist/wheel in the destination directory.
        files = {
            'setup.py': "from setuptools import setup\nsetup()",
            'VERSION': "0.0.1",
            'setup.cfg': DALS("""
                [metadata]
                name = foo
                version = file: VERSION
            """),
            'pyproject.toml': DALS("""
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta
            """),
        }

        path.build(files)

        dist_dir = os.path.abspath('preexisting-' + build_type)

        build_backend = self.get_build_backend()
        build_method = getattr(build_backend, 'build_' + build_type)

        # Build a first sdist/wheel.
        # Note: this also check the destination directory is
        # successfully created if it does not exist already.
>       first_result = build_method(dist_dir)

/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:34: in method
    return self.pool.submit(caller, name, *args, **kw).result()
/usr/lib64/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = None

    def __get_result(self):
        if self._exception:
            try:
>               raise self._exception
E               tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)

/usr/lib64/python3.8/concurrent/futures/_base.py:389: TOMLDecodeError
____________________________________________________ TestBuildMetaLegacyBackend.test_build_sdist_pyproject_toml_exists _____________________________________________________
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py", line 57, in __call__
    return getattr(backend, name)(*args, **kw)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 225, in build_sdist
    return self._build_with_temp_dir(['sdist', '--formats', 'gztar'],
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 207, in _build_with_temp_dir
    self.run_setup()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 258, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/build_meta.py", line 150, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 1, in <module>
    __import__('setuptools').setup(
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 446, in __init__
    _Distribution.__init__(
  File "/usr/lib64/python3.8/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/dist.py", line 822, in finalize_options
    ep(self)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/integration.py", line 90, in infer_version
    config = Configuration.from_file(dist_name=dist_name)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 181, in from_file
    defn = _load_toml(data)
  File "/usr/lib/python3.8/site-packages/setuptools_scm/config.py", line 55, in _lazy_tomli_load
    return loads(data)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 104, in loads
    pos = key_value_rule(src, pos, out, header, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 331, in key_value_rule
    pos, key, value = parse_key_value_pair(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 366, in parse_key_value_pair
    pos, value = parse_value(src, pos, parse_float)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 595, in parse_value
    return parse_one_line_basic_str(src, pos)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 406, in parse_one_line_basic_str
    return parse_basic_str(src, pos, multiline=False)
  File "/usr/lib/python3.8/site-packages/tomli/_parser.py", line 579, in parse_basic_str
    raise suffixed_err(src, pos, f'Illegal character "{char!r}"')
tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)
"""

The above exception was the direct cause of the following exception:

self = <setuptools.tests.test_build_meta.TestBuildMetaLegacyBackend object at 0x7f21ca48e2e0>, tmpdir_cwd = local('/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0')

    def test_build_sdist_pyproject_toml_exists(self, tmpdir_cwd):
        files = {
            'setup.py': DALS("""
                __import__('setuptools').setup(
                    name='foo',
                    version='0.0.0',
                    py_modules=['hello']
                )"""),
            'hello.py': '',
            'pyproject.toml': DALS("""
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta
                """),
        }
        path.build(files)
        build_backend = self.get_build_backend()
>       targz_path = build_backend.build_sdist("temp")

/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:268:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/tkloczko/rpmbuild/BUILD/setuptools-58.0.0/setuptools/tests/test_build_meta.py:34: in method
    return self.pool.submit(caller, name, *args, **kw).result()
/usr/lib64/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = None

    def __get_result(self):
        if self._exception:
            try:
>               raise self._exception
E               tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at line 3, column 39)

/usr/lib64/python3.8/concurrent/futures/_base.py:389: TOMLDecodeError
___________________________________________________________________ TestNamespaces.test_editable_prefix ____________________________________________________________________

self = <setuptools.tests.test_develop.TestNamespaces object at 0x7f21af9f1b80>, tmp_path = PosixPath('/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0')
sample_project = PosixPath('/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/sampleproject')

    @pytest.mark.xfail(
        platform.python_implementation() == 'PyPy',
        reason="Workaround fails on PyPy (why?)",
    )
    def test_editable_prefix(self, tmp_path, sample_project):
        """
        Editable install to a prefix should be discoverable.
        """
        prefix = tmp_path / 'prefix'
        prefix.mkdir()

        # figure out where pip will likely install the package
        site_packages = prefix / next(
            pathlib.Path(path).relative_to(sys.prefix)
            for path in sys.path
            if 'site-packages' in path and path.startswith(sys.prefix)
        )

        # install the workaround
        self.install_workaround(site_packages)

        env = dict(os.environ, PYTHONPATH=str(site_packages))
        cmd = [
            sys.executable,
            '-m',
            'pip',
            'install',
            '--editable',
            str(sample_project),
            '--prefix',
            str(prefix),
            '--no-build-isolation',
        ]
        subprocess.check_call(cmd, env=env)

        # now run 'sample' with the prefix on the PYTHONPATH
        bin = 'Scripts' if platform.system() == 'Windows' else 'bin'
        exe = prefix / bin / 'sample'
        if sys.version_info < (3, 7) and platform.system() == 'Windows':
            exe = str(exe)
>       subprocess.check_call([exe], env=env)

setuptools/tests/test_develop.py:224:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

popenargs = ([PosixPath('/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/prefix/bin/sample')],)
kwargs = {'env': {'AR': '/usr/bin/gcc-ar', 'BASH_FUNC_which%%': '() {  ( alias;\n eval ${which_declare} ) | /usr/bin/which --tt...es -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', ...}}
retcode = 1, cmd = [PosixPath('/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/prefix/bin/sample')]

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.

        The arguments are the same as for the call function.  Example:

        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '[PosixPath('/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/prefix/bin/sample')]' returned non-zero exit status 1.

/usr/lib64/python3.8/subprocess.py:364: CalledProcessError
-------------------------------------------------------------------------- Captured stderr setup ---------------------------------------------------------------------------
Cloning into 'sampleproject'...
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
Obtaining file:///tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/sampleproject
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting peppercorn
  Using cached peppercorn-0.6-py3-none-any.whl (4.8 kB)
Installing collected packages: peppercorn, sampleproject
  Running setup.py develop for sampleproject
Successfully installed peppercorn-0.6 sampleproject-2.0.0
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/prefix/bin/sample", line 33, in <module>
    sys.exit(load_entry_point('sampleproject', 'console_scripts', 'sample')())
  File "/tmp/pytest-of-tkloczko/pytest-59/test_editable_prefix0/prefix/bin/sample", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib64/python3.8/importlib/metadata.py", line 503, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib64/python3.8/importlib/metadata.py", line 177, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: sampleproject
__________________________________________________________ TestSetupRequires.test_setup_requires_with_allow_hosts __________________________________________________________

self = <setuptools.tests.test_easy_install.TestSetupRequires object at 0x7f2130e96580>, mock_index = <MockServer(Thread-4, started daemon 139780391347776)>

    def test_setup_requires_with_allow_hosts(self, mock_index):
        ''' The `allow-hosts` option in not supported anymore. '''
        with contexts.save_pkg_resources_state():
            with contexts.tempdir() as temp_dir:
                test_pkg = os.path.join(temp_dir, 'test_pkg')
                test_setup_py = os.path.join(test_pkg, 'setup.py')
                test_setup_cfg = os.path.join(test_pkg, 'setup.cfg')
                os.mkdir(test_pkg)
                with open(test_setup_py, 'w') as fp:
                    fp.write(DALS(
                        '''
                        from setuptools import setup
                        setup(setup_requires='python-xlib')
                        '''))
                with open(test_setup_cfg, 'w') as fp:
                    fp.write(DALS(
                        '''
                        [easy_install]
                        allow_hosts = *
                        '''))
                with pytest.raises(distutils.errors.DistutilsError):
>                   run_setup(test_setup_py, [str('--version')])
E                   Failed: DID NOT RAISE <class 'distutils.errors.DistutilsError'>

setuptools/tests/test_easy_install.py:691: Failed
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
0.0.0
========================================================================= short test summary info ==========================================================================
SKIPPED [2] setuptools/tests/test_msvc.py:17: could not import 'distutils.msvc9compiler': No module named 'winreg'
SKIPPED [1] pkg_resources/tests/test_pkg_resources.py:382: Testing case-insensitive filesystems.
SKIPPED [3] pkg_resources/tests/test_pkg_resources.py:399: Testing systems using backslashes as path separators.
SKIPPED [1] setuptools/tests/test_develop.py:66: TODO: needs a fixture to cause 'develop' to be invoked without mutating environment.
SKIPPED [1] setuptools/tests/test_install_scripts.py:50: Windows only
SKIPPED [1] setuptools/tests/test_install_scripts.py:78: Windows only
SKIPPED [1] setuptools/tests/test_msvc14.py:16: These tests are only for win32
SKIPPED [1] setuptools/tests/test_msvc14.py:34: These tests are only for win32
SKIPPED [1] setuptools/tests/test_msvc14.py:52: These tests are only for win32
SKIPPED [1] setuptools/tests/test_msvc14.py:68: These tests are only for win32
SKIPPED [1] setuptools/tests/test_windows_wrappers.py:69: Windows only
SKIPPED [1] setuptools/tests/test_windows_wrappers.py:110: Windows only
SKIPPED [1] setuptools/tests/test_windows_wrappers.py:169: Windows only
XFAIL setuptools/tests/test_bdist_egg.py::Test::test_exclude_source_files
  Byte code disabled
XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 1.2: Project-Url-attrs5]
  Issue #1578: project_urls not read
XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 2.1: Provides Extra-attrs9]
  provides_extras not read
XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[extras_require_with_marker_in_setup_cfg]
XFAIL setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[pip==19.3.1]
  pypa/pip#6599
XPASS setuptools/tests/test_archive_util.py::test_unicode_files #710 and #712
FAILED setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_existing_file_present[wheel] - tomli._parser.TOMLDecodeError: Illegal character "'\n'" ...
FAILED setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_existing_file_present[sdist] - tomli._parser.TOMLDecodeError: Illegal character "'\n'" ...
FAILED setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_sdist_pyproject_toml_exists - tomli._parser.TOMLDecodeError: Illegal character "'\n'" (at li...
FAILED setuptools/tests/test_build_meta.py::TestBuildMetaLegacyBackend::test_build_with_existing_file_present[wheel] - tomli._parser.TOMLDecodeError: Illegal character "...
FAILED setuptools/tests/test_build_meta.py::TestBuildMetaLegacyBackend::test_build_with_existing_file_present[sdist] - tomli._parser.TOMLDecodeError: Illegal character "...
FAILED setuptools/tests/test_build_meta.py::TestBuildMetaLegacyBackend::test_build_sdist_pyproject_toml_exists - tomli._parser.TOMLDecodeError: Illegal character "'\n'" ...
FAILED setuptools/tests/test_develop.py::TestNamespaces::test_editable_prefix - subprocess.CalledProcessError: Command '[PosixPath('/tmp/pytest-of-tkloczko/pytest-59/tes...
FAILED setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - Failed: DID NOT RAISE <class 'distutils.errors.DistutilsError'>
======================================== 8 failed, 692 passed, 16 skipped, 1 deselected, 5 xfailed, 1 xpassed in 438.35s (0:07:18) =========================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54/test_rmtree_errorhandler_reado0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_reado0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54/test_rmtree_errorhandler_rerai0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_rerai0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54/test_safe_set_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_set_no_perms0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54/test_safe_delete_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_delete_no_perms0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54/test_safe_get_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_get_no_perms0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54
<class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-tkloczko/garbage-f1f3071b-83c8-46de-8bca-692999f05c54'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20/test_rmtree_errorhandler_reado0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_reado0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20/test_rmtree_errorhandler_rerai0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_rerai0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20/test_safe_get_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_get_no_perms0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20/test_safe_set_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_set_no_perms0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20/test_safe_delete_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_delete_no_perms0'
  warnings.warn(
/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20
<class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-tkloczko/garbage-cd6ec115-8e81-4461-858b-fb9d8e212f20'
  warnings.warn(

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions