text:
2020.12.3: pytest is failing on tests/test_tox_to_nox.py

$ /usr/bin/python3 -Bm pytest -ra tests/test_tox_to_nox.py
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/nox-2020.12.31
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, flaky-3.7.0, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0, aspectlib-1.5.2
collected 7 items

tests/test_tox_to_nox.py FFFFFFF                                                                                [100%]

================================================================================= FAILURES =================================================================================
_______________________________________________________________________________ test_trivial _______________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff9271f3dc0>

    def test_trivial(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = py27
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def py27(session):
            session.install('.')
        """
            ).lstrip()
        )
E       assert "#!/usr/bin/p...nstall('.')\n" == "import nox\n...nstall('.')\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def py27(session):
E               session.install('.')

tests/test_tox_to_nox.py:47: AssertionError
_____________________________________________________________________________ test_skipinstall _____________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff9274f8280>

    def test_skipinstall(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = py27

        [testenv]
        skip_install = True
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def py27(session):
        """
            ).lstrip()
        )
E       AssertionError: assert '#!/usr/bin/p...7(session):\n' == 'import nox\n...7(session):\n'
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def py27(session):

tests/test_tox_to_nox.py:75: AssertionError
_____________________________________________________________________________ test_usedevelop ______________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff926928700>

    def test_usedevelop(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = py27

        [testenv]
        usedevelop = True
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def py27(session):
            session.install('-e', '.')
        """
            ).lstrip()
        )
E       assert "#!/usr/bin/p...('-e', '.')\n" == "import nox\n...('-e', '.')\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def py27(session):
E               session.install('-e', '.')

tests/test_tox_to_nox.py:102: AssertionError
______________________________________________________________________________ test_commands _______________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff9269289d0>

    def test_commands(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        commands =
            python setup.py check --metadata --restructuredtext --strict
            flake8 \\
                --import-order-style=google \\
                google tests
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.install('.')
            session.run('python', 'setup.py', 'check', '--metadata', \
    '--restructuredtext', '--strict')
            session.run('flake8', '--import-order-style=google', 'google', 'tests')
        """
            ).lstrip()
        )
E       assert "#!/usr/bin/p...', 'tests')\n" == "import nox\n...', 'tests')\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.install('.')...
E
E         ...Full output truncated (3 lines hidden), use '-vv' to show

tests/test_tox_to_nox.py:135: AssertionError
________________________________________________________________________________ test_deps _________________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff926928c10>

    def test_deps(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        deps =
          flake8
          gcp-devrel-py-tools>=0.0.3
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.install('flake8', 'gcp-devrel-py-tools>=0.0.3')
            session.install('.')
        """
            ).lstrip()
        )
E       assert "#!/usr/bin/p...nstall('.')\n" == "import nox\n...nstall('.')\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.install('flake8', 'gcp-devrel-py-tools>=0.0.3')...
E
E         ...Full output truncated (2 lines hidden), use '-vv' to show

tests/test_tox_to_nox.py:169: AssertionError
_________________________________________________________________________________ test_env _________________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff92690b0d0>

    def test_env(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        setenv =
            SPHINX_APIDOC_OPTIONS=members,inherited-members,show-inheritance
            TEST=meep
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.env['SPHINX_APIDOC_OPTIONS'] = \
    'members,inherited-members,show-inheritance'
            session.env['TEST'] = 'meep'
            session.install('.')
        """
            ).lstrip()
        )
E       assert "#!/usr/bin/p...nstall('.')\n" == "import nox\n...nstall('.')\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.env['SPHINX_APIDOC_OPTIONS'] = 'members,inherited-members,show-inheritance'...
E
E         ...Full output truncated (3 lines hidden), use '-vv' to show

tests/test_tox_to_nox.py:201: AssertionError
________________________________________________________________________________ test_chdir ________________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7ff92690b5e0>

    def test_chdir(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        changedir = docs
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.install('.')
            session.chdir('docs')
        """
            ).lstrip()
        )
E       assert "#!/usr/bin/p...dir('docs')\n" == "import nox\n...dir('docs')\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.install('.')...
E
E         ...Full output truncated (2 lines hidden), use '-vv' to show

tests/test_tox_to_nox.py:233: AssertionError
========================================================================= short test summary info ==========================================================================
FAILED tests/test_tox_to_nox.py::test_trivial - assert "#!/usr/bin/p...nstall('.')\n" == "import nox\n...nstall('.')\n"
FAILED tests/test_tox_to_nox.py::test_skipinstall - AssertionError: assert '#!/usr/bin/p...7(session):\n' == 'import nox\n...7(session):\n'
FAILED tests/test_tox_to_nox.py::test_usedevelop - assert "#!/usr/bin/p...('-e', '.')\n" == "import nox\n...('-e', '.')\n"
FAILED tests/test_tox_to_nox.py::test_commands - assert "#!/usr/bin/p...', 'tests')\n" == "import nox\n...', 'tests')\n"
FAILED tests/test_tox_to_nox.py::test_deps - assert "#!/usr/bin/p...nstall('.')\n" == "import nox\n...nstall('.')\n"
FAILED tests/test_tox_to_nox.py::test_env - assert "#!/usr/bin/p...nstall('.')\n" == "import nox\n...nstall('.')\n"
FAILED tests/test_tox_to_nox.py::test_chdir - assert "#!/usr/bin/p...dir('docs')\n" == "import nox\n...dir('docs')\n"
============================================================================ 7 failed in 0.93s =============================================================================

Hi @kloczek I cannot reproduce this. Can you provide more information on the environment in which you are running this in?

No problem :)
[tkloczko@barrel SPECS]$ pip freeze
aiohttp==3.7.4.post0
alabaster==0.7.12
amqp==5.0.6
anytree==2.8.0
apipkg==1.5
appdirs==1.4.4
argcomplete==1.11.1
arrow==1.1.0
asgiref==3.3.0
asn1crypto==1.4.0
aspectlib==1.5.2
astor==0.8.1
astroid==2.5.6
async-generator==1.10
async-timeout==3.0.1
atomicwrites==1.3.0
attrs==20.3.0
autoapi==2.0.1
Automat==20.2.0
Babel==2.9.1
backcall==0.2.0
bcrypt==3.2.0
Beaker==1.10.0
beautifulsoup4==4.9.3
betamax==0.8.1
billiard==3.6.4.0
blinker==1.4
blivet==3.3.1
bottle==0.12.19
breathe==4.29.2
Brlapi==0.8.0
Brotli==1.0.7
build==0.3.1.post1
cachetools==4.2.2
cairocffi==1.2.0
CairoSVG==2.5.2
case==1.5.3
CCColUtils==1.5
certifi==2018.10.15
cffi==1.14.5
cfgv==3.2.0
chai==1.1.2
changelog==0.5.5
chardet==3.0.4
click==8.0.0a1
click-default-group==1.2.2
colorama==0.4.4
colorlog==4.8.0
commonmark==0.9.0
constantly==15.1.0
cov-core==1.15.0
coverage==5.6b1
cram==0.7
cryptography==3.3.1
cryptography-vectors==3.4.7
cssselect==1.1.0
cssselect2==0.4.1
curio==1.5
cycler==0.10.0
Cython==0.29.22
dateparser==0.7.4
dbus-python==1.2.16
ddt==1.4.2
decopatch==1.4.8
decorator==4.4.2
defusedxml==0.7.1
distro==1.5.0
Django==3.1.7
dnspython==2.1.0
docopt==0.6.2
docutils==0.16
docutils-stubs==0.0.21
dogtail==0.9.11
dpkt==1.9.5
dulwich==0.20.15
editdistance==0.5.3
editdistance-s==1.0.0
elasticsearch==7.11.0
elementpath==1.4.0
entrypoints==0.3
evdev==1.4.0
exam==0.10.6
execnet==1.7.1
extras==1.0.0
fido2==0.9.1
fields==5.0.0
filelock==3.0.12
fixtures==3.0.0
flake8==3.9.1
flaky==3.7.0
Flask==1.1.2
flit==3.2.0
flit-core==3.2.0
fonttools==4.22.1
freezegun==0.3.12
future==0.18.2
fuzzywuzzy==0.18.0
gcovr==4.2
Genshi==0.7.5
genty==1.3.2
gevent==21.1.2
geventhttpclient==1.4.5
gi-docgen==2021.1
gitdb==4.0.7
GitPython==3.1.14
gpg===1.15.1-unknown
greenlet==1.0.0
h11==0.12.0
h2==3.2.0
hacking==4.0.0
hidapi==0.10.1
hpack==3.0.0
html5lib==1.1
httmock==1.4.0
httpbin==0.7.0
humanize==0.5.1
hyperframe==5.2.0
hyperlink==21.0.0
hypothesis==6.10.1
identify==2.2.3
idna==3.1
imagesize==1.2.0
incremental==17.5.0
iniconfig==1.1.1
iso8601==0.1.12
isodate==0.6.0
isort==5.7.0
itsdangerous==1.1.0
jaraco.envs==0.0.0
jaraco.packaging==8.2.1
jaraco.path==0.0.0
javapackages==5.3.0
jedi==0.18.0
Jinja2==2.11.3
jsonschema==3.2.0
kiwisolver==1.2.0
lark-parser==0.11.2
lazy-object-proxy==1.6.0
lexicon==1.0.0
libcomps==0.1.15
libevdev==0.9
linecache2==1.0.0
lit==12.0.0.dev0
lockfile==0.12.2
louis==3.17.0
lxml==4.6.2
makefun==1.11.3
Mako==1.1.1.dev0
mallard-ducktype==1.0.2
marisa==0.0.0
Markdown==3.3.4
MarkupSafe==2.0.0rc2
mccabe==0.6.1
meson==0.58.0
metaextract==1.0.7
mistune==2.0.0a6
mock==4.0.3
more-itertools==7.2.0
msgpack==1.0.2
multidict==5.1.0
mypy-extensions==0.4.3
netaddr==0.8.0
nftables==0.1
nodeenv==1.4.0
nose==1.3.7
nose2==0.9.2
nox==2020.12.31
ntplib==0.3.4
numpy==1.18.2
olefile==0.46
openidc-client==0.6.0
openstackdocstheme==2.2.6
ordered-set==4.0.1
outcome==1.1.0
packaging==20.9
Pallets-Sphinx-Themes==1.2.3
pandas==1.2.4
parameterized==0.8.1
paramiko==2.7.2
parso==0.8.0
Paste==3.5.0
PasteDeploy==2.1.1
path==15.1.2
pathspec==0.8.1
pbr==5.4.3
pcapy==0.11.4
pep517==0.10.0
pexpect==4.8.0
pid==2.2.3
Pillow==7.1.1
pluggy==0.13.1
ply==3.11
pocketlint==0.20
poetry-core==1.0.3
polib==1.1.1
pretend==1.0.9
prettytable==0.7.2
priority==1.3.0
process-tests==2.1.1
productmd==1.31
psutil==5.6.7
ptyprocess==0.7.0
pwquality==1.4.4
py==1.10.0
py-cpuinfo==8.0.0
py2pack==0.8.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycairo==1.18.2
pycodestyle==2.7.0
pycparser==2.19
pycrypto==2.6.1
pycups==1.9.74
pycurl==7.43.0.5
pyenchant==3.2.0
pyfakefs==4.4.0
pyflakes==2.3.1
pygal==3.0.0.dev1
Pygments==2.8.1.dev20210311
pygments-github-lexers==0.0.5
pygments-pytest==2.2.0
PyGObject==3.40.1
PyHamcrest==2.0.2
pyinotify==0.9.6
pykickstart==3.32
pylast==3.3.0
pylint==2.7.4
pylons-sphinx-themes==1.0.13
PyNaCl==1.4.0
pyOpenSSL==20.0.1
pyparsing==2.4.6
pyparted==3.11.5
PyQt5==5.14.2
PyQt5-sip==4.19.22
pyquery==1.4.4.dev0
pyrad==2.4
pyrsistent==0.17.3
pyscard==2.0.0
pyScss==1.3.7
pyserial==3.4
PySocks==1.7.1
pytest==6.2.3
pytest-asyncio==0.14.0
pytest-cases==3.4.6
pytest-cov==2.11.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-httpbin==1.0.0
pytest-isort==1.3.0
pytest-mock==3.5.1
pytest-runner==0.0.0
pytest-shutil==1.7.0
pytest-timeout==1.4.2
pytest-virtualenv==1.7.0
pytest-xdist==2.2.1
python-augeas==0.5.0
python-dateutil==2.8.0
python-dbusmock==0.22.0
python-mimeparse==1.6.0
python-subunit==1.4.0
python-xlib==0.29
pytz==2021.1
pyudev==0.22.0
pyusb==1.1.1
PyUtilib==6.0.0
pywbem==0.17.4
pyxattr==0.7.1
pyxdg==0.26
PyYAML==5.4.1
raven==6.10.0
rdflib==5.0.0
re-assert==1.1.0
recommonmark==0.7.1
regex==2021.4.4
releases==1.6.3
reno==3.2.0
repoze.sphinx.autointerface==0.8
requests==2.25.1
requests-download==0.1.2
requests-file==1.5.1
requests-ftp==0.3.1
requests-toolbelt==0.9.1
responses==0.12.1
rpm==4.16.1.3
rst.linker==2.2.0
scons==3.1.2
selinux==3.2
semantic-version==2.8.5
service-identity==18.1.0
setools==4.3.0
setuptools-git==1.2
setuptools-scm==6.0.1
should-dsl==2.1.2
simplejson==3.17.2
simpleline==1.8
six==1.14.0
slip==0.6.5
slip.dbus==0.6.5
smartypants==2.0.1
smmap==3.0.4
sniffio==1.2.0
snowballstemmer==2.1.0
solaar==1.0.5
sortedcontainers==2.1.0
sos==4.1
soupsieve==2.2.1
spec==1.4.1
Sphinx==3.5.3
sphinx-autodoc-typehints==0.0.0
sphinx-celery==2.0.0
sphinx-gallery==0.8.2
sphinx-hoverxref==0.5b1
sphinx-issues==1.2.0
sphinx-lv2-theme==1.0.0
sphinx-markdown-tables==0.0.15
sphinx-paramlinks==0.5.0
sphinx-prompt==1.3.0
sphinx-py3doc-enhanced-theme==2.3.2
sphinx-removed-in==0.2.1
sphinx-rst-builder==0.0.3
sphinx-rtd-theme==0.4.3
sphinx-selective-exclude==1.0.3
sphinx-tabs==2.1.0
sphinx-typlog-theme==0.8.0
sphinxcontrib-apidoc==0.3.0
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-asyncio==0.3.0
sphinxcontrib-autoprogram==0.1.7
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-github-alt==1.2
sphinxcontrib-htmlhelp==1.0.1
sphinxcontrib-httpdomain==1.7.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-log-cabinet==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-restbuilder==0.3
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-spelling==4.3.0
sphinxcontrib-trio==1.1.2
sphinxcontrib-websupport==1.2.4
sphobjinv==2.0.1
SQLAlchemy==1.4.12
sqlparse==0.4.2.dev0
stdio-mgr==1.0.1
stdlib-list==0.6.0
stone==3.2.1
sure==1.4.11
systemd-python==234
Tempita==0.5.2
termcolor==1.1.0
testpath==0.4.4
testscenarios==0.5.0
testtools==2.4.0
texttable==1.6.3
tinycss2==1.1.0
toml==0.10.2
tomlkit==0.7.0
tornado==6.1
towncrier==19.9.0
tox==3.14.6
trio==0.18.0
trustme==0.7.0
Twisted==21.2.0
typed-ast==1.4.1
typing-extensions==3.7.4.2
typogrify==2.0.7
tzlocal==2.1
u-msgpack-python==2.5.2
unittest-mixins==1.6
unittest2==1.1.0
urllib3==1.26.4
userpath==1.4.2
uTidylib==0.6
vine==5.0.0
virtualenv==16.7.10
waitress==1.4.4
wcwidth==0.2.5
webencodings==0.5.1
WebOb==1.8.7
websocket-client==0.58.0
WebTest==2.0.35
Werkzeug==0.16.0
Whoosh==2.7.4
wikipedia==1.4.5
wrapt==1.12.1
WSGIProxy2==0.4.6
xcffib==0.11.1
xmlschema==1.0.18
xmltodict==0.12.0
yarl==1.6.3
youtube-dl==2021.4.26
zope.event==4.2.0
zope.interface==5.4.0
zope.testing==4.7
zzzeeksphinx==1.2.1

+ /usr/bin/python3 -Bm pytest -ra -vv
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/.hypothesis/examples')
rootdir: /home/tkloczko/rpmbuild/BUILD/nox-2020.12.31
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, flaky-3.7.0, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0, aspectlib-1.5.2
collected 283 items

tests/test__option_set.py::TestOptionSet::test_namespace PASSED                                                                                [  0%]
tests/test__option_set.py::TestOptionSet::test_namespace_values PASSED                                                                                [  0%]
tests/test__option_set.py::TestOptionSet::test_namespace_non_existant_options_with_values PASSED                                                                     [  1%]
tests/test__option_set.py::TestOptionSet::test_session_completer PASSED                                                                                [  1%]
tests/test__option_set.py::TestOptionSet::test_session_completer_invalid_sessions PASSED                                                                             [  1%]
tests/test__parametrize.py::test_param_eq[param0-other0-True] PASSED                                                                                [  2%]
tests/test__parametrize.py::test_param_eq[param1-other1-True] PASSED                                                                                [  2%]
tests/test__parametrize.py::test_param_eq[param2-other2-False] PASSED                                                                                [  2%]
tests/test__parametrize.py::test_param_eq[param3-other3-True] PASSED                                                                                [  3%]
tests/test__parametrize.py::test_param_eq_fail PASSED                                                                                [  3%]
tests/test__parametrize.py::test_parametrize_decorator_one PASSED                                                                                [  3%]
tests/test__parametrize.py::test_parametrize_decorator_one_param PASSED                                                                                [  4%]
tests/test__parametrize.py::test_parametrize_decorator_one_with_args PASSED                                                                                [  4%]
tests/test__parametrize.py::test_parametrize_decorator_param PASSED                                                                                [  4%]
tests/test__parametrize.py::test_parametrize_decorator_id_list PASSED                                                                                [  5%]
tests/test__parametrize.py::test_parametrize_decorator_multiple_args_as_list PASSED                                                                                [  5%]
tests/test__parametrize.py::test_parametrize_decorator_multiple_args_as_string PASSED                                                                                [  6%]
tests/test__parametrize.py::test_parametrize_decorator_mixed_params PASSED                                                                                [  6%]
tests/test__parametrize.py::test_parametrize_decorator_stack PASSED                                                                                [  6%]
tests/test__parametrize.py::test_parametrize_decorator_multiple_and_stack PASSED                                                                                [  7%]
tests/test__parametrize.py::test_generate_calls_simple PASSED                                                                                [  7%]
tests/test__parametrize.py::test_generate_calls_multiple_args PASSED                                                                                [  7%]
tests/test__parametrize.py::test_generate_calls_ids PASSED                                                                                [  8%]
tests/test_command.py::test_run_defaults PASSED                                                                                [  8%]
tests/test_command.py::test_run_silent PASSED                                                                                [  8%]
tests/test_command.py::test_run_verbosity PASSED                                                                                [  9%]
tests/test_command.py::test_run_verbosity_failed_command PASSED                                                                                [  9%]
tests/test_command.py::test_run_env_unicode PASSED                                                                                [  9%]
tests/test_command.py::test_run_env_systemroot PASSED                                                                                [ 10%]
tests/test_command.py::test_run_not_found PASSED                                                                                [ 10%]
tests/test_command.py::test_run_path_nonexistent PASSED                                                                                [ 10%]
tests/test_command.py::test_run_path_existent PASSED                                                                                [ 11%]
tests/test_command.py::test_run_external_warns PASSED                                                                                [ 11%]
tests/test_command.py::test_run_external_silences PASSED                                                                                [ 12%]
tests/test_command.py::test_run_external_raises PASSED                                                                                [ 12%]
tests/test_command.py::test_exit_codes PASSED                                                                                [ 12%]
tests/test_command.py::test_fail_with_silent PASSED                                                                                [ 13%]
tests/test_command.py::test_interrupt PASSED                                                                                [ 13%]
tests/test_command.py::test_custom_stdout PASSED                                                                                [ 13%]
tests/test_command.py::test_custom_stdout_silent_flag PASSED                                                                                [ 14%]
tests/test_command.py::test_custom_stdout_failed_command PASSED                                                                                [ 14%]
tests/test_command.py::test_custom_stderr PASSED                                                                                [ 14%]
tests/test_command.py::test_custom_stderr_failed_command PASSED                                                                                [ 15%]
tests/test_logger.py::test_success PASSED                                                                                [ 15%]
tests/test_logger.py::test_output PASSED                                                                                [ 15%]
tests/test_logger.py::test_formatter PASSED                                                                                [ 16%]
tests/test_logger.py::test_no_color_timestamp[color] XFAIL                                                                                [ 16%]
tests/test_logger.py::test_no_color_timestamp[no-color] PASSED                                                                                [ 16%]
tests/test_main.py::test_main_no_args PASSED                                                                                [ 17%]
tests/test_main.py::test_main_long_form_args PASSED                                                                                [ 17%]
tests/test_main.py::test_main_no_venv PASSED                                                                                [ 18%]
tests/test_main.py::test_main_no_venv_error PASSED                                                                                [ 18%]
tests/test_main.py::test_main_short_form_args PASSED                                                                                [ 18%]
tests/test_main.py::test_main_explicit_sessions PASSED                                                                                [ 19%]
tests/test_main.py::test_main_explicit_sessions_with_spaces_in_names PASSED                                                                                [ 19%]
tests/test_main.py::test_main_session_from_nox_env_var[foo-sessions0] PASSED                                                                                [ 19%]
tests/test_main.py::test_main_session_from_nox_env_var[foo,bar-sessions1] PASSED                                                                                [ 20%]
tests/test_main.py::test_main_positional_args PASSED                                                                                [ 20%]
tests/test_main.py::test_main_positional_with_double_hyphen PASSED                                                                                [ 20%]
tests/test_main.py::test_main_positional_flag_like_with_double_hyphen PASSED                                                                                [ 21%]
tests/test_main.py::test_main_version PASSED                                                                                [ 21%]
tests/test_main.py::test_main_help PASSED                                                                                [ 21%]
tests/test_main.py::test_main_failure PASSED                                                                                [ 22%]
tests/test_main.py::test_main_nested_config PASSED                                                                                [ 22%]
tests/test_main.py::test_main_session_with_names PASSED                                                                                [ 22%]
tests/test_main.py::test_main_noxfile_options PASSED                                                                                [ 23%]
tests/test_main.py::test_main_noxfile_options_disabled_by_flag PASSED                                                                                [ 23%]
tests/test_main.py::test_main_noxfile_options_sessions PASSED                                                                                [ 24%]
tests/test_main.py::test_main_noxfile_options_with_pythons_override PASSED                                                                                [ 24%]
tests/test_main.py::test_main_noxfile_options_with_sessions_override PASSED                                                                                [ 24%]
tests/test_main.py::test_main_color_from_isatty[True-True] PASSED                                                                                [ 25%]
tests/test_main.py::test_main_color_from_isatty[False-False] PASSED                                                                                [ 25%]
tests/test_main.py::test_main_color_options[--forcecolor-True] PASSED                                                                                [ 25%]
tests/test_main.py::test_main_color_options[--nocolor-False] PASSED                                                                                [ 26%]
tests/test_main.py::test_main_color_options[--force-color-True] PASSED                                                                                [ 26%]
tests/test_main.py::test_main_color_options[--no-color-False] PASSED                                                                                [ 26%]
tests/test_main.py::test_main_color_conflict PASSED                                                                                [ 27%]
tests/test_manifest.py::test_init PASSED                                                                                [ 27%]
tests/test_manifest.py::test_contains PASSED                                                                                [ 27%]
tests/test_manifest.py::test_getitem PASSED                                                                                [ 28%]
tests/test_manifest.py::test_iteration PASSED                                                                                [ 28%]
tests/test_manifest.py::test_len PASSED                                                                                [ 28%]
tests/test_manifest.py::test_filter_by_name PASSED                                                                                [ 29%]
tests/test_manifest.py::test_filter_by_name_maintains_order PASSED                                                                                [ 29%]
tests/test_manifest.py::test_filter_by_name_not_found PASSED                                                                                [ 30%]
tests/test_manifest.py::test_filter_by_python_interpreter PASSED                                                                                [ 30%]
tests/test_manifest.py::test_filter_by_keyword PASSED                                                                                [ 30%]
tests/test_manifest.py::test_list_all_sessions_with_filter PASSED                                                                                [ 31%]
tests/test_manifest.py::test_add_session_plain PASSED                                                                                [ 31%]
tests/test_manifest.py::test_add_session_multiple_pythons PASSED                                                                                [ 31%]
tests/test_manifest.py::test_extra_pythons[None-extra_pythons0-expected0] PASSED                                                                                [ 32%]
tests/test_manifest.py::test_extra_pythons[None-extra_pythons1-expected1] PASSED                                                                                [ 32%]
tests/test_manifest.py::test_extra_pythons[None-extra_pythons2-expected2] PASSED                                                                                [ 32%]
tests/test_manifest.py::test_extra_pythons[False-extra_pythons3-expected3] PASSED                                                                                [ 33%]
tests/test_manifest.py::test_extra_pythons[False-extra_pythons4-expected4] PASSED                                                                                [ 33%]
tests/test_manifest.py::test_extra_pythons[False-extra_pythons5-expected5] PASSED                                                                                [ 33%]
tests/test_manifest.py::test_extra_pythons[3.5-extra_pythons6-expected6] PASSED                                                                                [ 34%]
tests/test_manifest.py::test_extra_pythons[3.5-extra_pythons7-expected7] PASSED                                                                                [ 34%]
tests/test_manifest.py::test_extra_pythons[3.5-extra_pythons8-expected8] PASSED                                                                                [ 34%]
tests/test_manifest.py::test_extra_pythons[python9-extra_pythons9-expected9] PASSED                                                                                [ 35%]
tests/test_manifest.py::test_extra_pythons[python10-extra_pythons10-expected10] PASSED                                                                               [ 35%]
tests/test_manifest.py::test_extra_pythons[python11-extra_pythons11-expected11] PASSED                                                                               [ 36%]
tests/test_manifest.py::test_extra_pythons[python12-extra_pythons12-expected12] PASSED                                                                               [ 36%]
tests/test_manifest.py::test_add_session_parametrized PASSED                                                                                [ 36%]
tests/test_manifest.py::test_add_session_parametrized_multiple_pythons PASSED                                                                                [ 37%]
tests/test_manifest.py::test_add_session_parametrized_noop PASSED                                                                                [ 37%]
tests/test_manifest.py::test_notify PASSED                                                                                [ 37%]
tests/test_manifest.py::test_notify_noop PASSED                                                                                [ 38%]
tests/test_manifest.py::test_notify_error PASSED                                                                                [ 38%]
tests/test_manifest.py::test_add_session_idempotent PASSED                                                                                [ 38%]
tests/test_manifest.py::test_null_session_function PASSED                                                                                [ 39%]
tests/test_manifest.py::test_keyword_locals_length PASSED                                                                                [ 39%]
tests/test_manifest.py::test_keyword_locals_iter PASSED                                                                                [ 39%]
tests/test_manifest.py::test_no_venv_backend_but_some_pythons PASSED                                                                                [ 40%]
tests/test_registry.py::test_session_decorator PASSED                                                                                [ 40%]
tests/test_registry.py::test_session_decorator_single_python PASSED                                                                                [ 40%]
tests/test_registry.py::test_session_decorator_list_of_pythons PASSED                                                                                [ 41%]
tests/test_registry.py::test_session_decorator_py_alias PASSED                                                                                [ 41%]
tests/test_registry.py::test_session_decorator_py_alias_error PASSED                                                                                [ 42%]
tests/test_registry.py::test_session_decorator_reuse PASSED                                                                                [ 42%]
tests/test_registry.py::test_session_decorator_name[unit-tests] PASSED                                                                                [ 42%]
tests/test_registry.py::test_session_decorator_name[unit tests] PASSED                                                                                [ 43%]
tests/test_registry.py::test_session_decorator_name[the unit tests] PASSED                                                                                [ 43%]
tests/test_registry.py::test_get PASSED                                                                                [ 43%]
tests/test_sessions.py::test__normalize_path PASSED                                                                                [ 44%]
tests/test_sessions.py::test__normalize_path_hash PASSED                                                                                [ 44%]
tests/test_sessions.py::test__normalize_path_give_up PASSED                                                                                [ 44%]
tests/test_sessions.py::TestSession::test_create_tmp PASSED                                                                                [ 45%]
tests/test_sessions.py::TestSession::test_create_tmp_twice PASSED                                                                                [ 45%]
tests/test_sessions.py::TestSession::test_properties PASSED                                                                                [ 45%]
tests/test_sessions.py::TestSession::test_no_bin_paths PASSED                                                                                [ 46%]
tests/test_sessions.py::TestSession::test_virtualenv_as_none PASSED                                                                                [ 46%]
tests/test_sessions.py::TestSession::test_interactive PASSED                                                                                [ 46%]
tests/test_sessions.py::TestSession::test_explicit_non_interactive PASSED                                                                                [ 47%]
tests/test_sessions.py::TestSession::test_chdir PASSED                                                                                [ 47%]
tests/test_sessions.py::TestSession::test_run_bad_args PASSED                                                                                [ 48%]
tests/test_sessions.py::TestSession::test_run_with_func PASSED                                                                                [ 48%]
tests/test_sessions.py::TestSession::test_run_with_func_error PASSED                                                                                [ 48%]
tests/test_sessions.py::TestSession::test_run_install_only PASSED                                                                                [ 49%]
tests/test_sessions.py::TestSession::test_run_install_only_should_install PASSED                                                                                [ 49%]
tests/test_sessions.py::TestSession::test_run_success PASSED                                                                                [ 49%]
tests/test_sessions.py::TestSession::test_run_error PASSED                                                                                [ 50%]
tests/test_sessions.py::TestSession::test_run_overly_env PASSED                                                                                [ 50%]
tests/test_sessions.py::TestSession::test_run_external_not_a_virtualenv PASSED                                                                                [ 50%]
tests/test_sessions.py::TestSession::test_run_external_condaenv PASSED                                                                                [ 51%]
tests/test_sessions.py::TestSession::test_run_external_with_error_on_external_run PASSED                                                                             [ 51%]
tests/test_sessions.py::TestSession::test_run_external_with_error_on_external_run_condaenv PASSED                                                                    [ 51%]
tests/test_sessions.py::TestSession::test_run_always_bad_args PASSED                                                                                [ 52%]
tests/test_sessions.py::TestSession::test_run_always_success PASSED                                                                                [ 52%]
tests/test_sessions.py::TestSession::test_run_always_install_only PASSED                                                                                [ 53%]
tests/test_sessions.py::TestSession::test_conda_install_bad_args PASSED                                                                                [ 53%]
tests/test_sessions.py::TestSession::test_conda_install_bad_args_odd_nb_double_quotes PASSED                                                                         [ 53%]
tests/test_sessions.py::TestSession::test_conda_install_bad_args_cannot_escape PASSED                                                                                [ 54%]
tests/test_sessions.py::TestSession::test_conda_install_not_a_condaenv PASSED                                                                                [ 54%]
tests/test_sessions.py::TestSession::test_conda_install[offline=False-auto_offline=False] PASSED                                                                     [ 54%]
tests/test_sessions.py::TestSession::test_conda_install[offline=False-auto_offline=True] PASSED                                                                      [ 55%]
tests/test_sessions.py::TestSession::test_conda_install[offline=True-auto_offline=False] PASSED                                                                      [ 55%]
tests/test_sessions.py::TestSession::test_conda_install[offline=True-auto_offline=True] PASSED                                                                       [ 55%]
tests/test_sessions.py::TestSession::test_conda_install_non_default_kwargs[version_constraint=no] PASSED                                                             [ 56%]
tests/test_sessions.py::TestSession::test_conda_install_non_default_kwargs[version_constraint=yes] PASSED                                                            [ 56%]
tests/test_sessions.py::TestSession::test_conda_install_non_default_kwargs[version_constraint=already_dbl_quoted] PASSED                                             [ 56%]
tests/test_sessions.py::TestSession::test_install_bad_args_no_arg PASSED                                                                                [ 57%]
tests/test_sessions.py::TestSession::test_install_not_a_virtualenv PASSED                                                                                [ 57%]
tests/test_sessions.py::TestSession::test_install PASSED                                                                                [ 57%]
tests/test_sessions.py::TestSession::test_install_non_default_kwargs PASSED                                                                                [ 58%]
tests/test_sessions.py::TestSession::test_notify PASSED                                                                                [ 58%]
tests/test_sessions.py::TestSession::test_log PASSED                                                                                [ 59%]
tests/test_sessions.py::TestSession::test_error PASSED                                                                                [ 59%]
tests/test_sessions.py::TestSession::test_error_no_log PASSED                                                                                [ 59%]
tests/test_sessions.py::TestSession::test_skip_no_log PASSED                                                                                [ 60%]
tests/test_sessions.py::TestSession::test___slots__ PASSED                                                                                [ 60%]
tests/test_sessions.py::TestSession::test___dict__ PASSED                                                                                [ 60%]
tests/test_sessions.py::TestSessionRunner::test_properties PASSED                                                                                [ 61%]
tests/test_sessions.py::TestSessionRunner::test_str_and_friendly_name PASSED                                                                                [ 61%]
tests/test_sessions.py::TestSessionRunner::test_description_property_one_line PASSED                                                                                [ 61%]
tests/test_sessions.py::TestSessionRunner::test_description_property_multi_line PASSED                                                                               [ 62%]
tests/test_sessions.py::TestSessionRunner::test_description_property_no_doc PASSED                                                                                [ 62%]
tests/test_sessions.py::TestSessionRunner::test__create_venv_process_env PASSED                                                                                [ 62%]
tests/test_sessions.py::TestSessionRunner::test__create_venv PASSED                                                                                [ 63%]
tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.VirtualEnv.create-None-VirtualEnv] PASSED                                        [ 63%]
tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.VirtualEnv.create-virtualenv-VirtualEnv] PASSED                                  [ 63%]
tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.VirtualEnv.create-venv-VirtualEnv] PASSED                                        [ 64%]
tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.CondaEnv.create-conda-CondaEnv] PASSED                                           [ 64%]
tests/test_sessions.py::TestSessionRunner::test__create_venv_unexpected_venv_backend PASSED                                                                          [ 65%]
tests/test_sessions.py::TestSessionRunner::test_execute_noop_success PASSED                                                                                [ 65%]
tests/test_sessions.py::TestSessionRunner::test_execute_quit PASSED                                                                                [ 65%]
tests/test_sessions.py::TestSessionRunner::test_execute_skip PASSED                                                                                [ 66%]
tests/test_sessions.py::TestSessionRunner::test_execute_with_manifest_null_session_func PASSED                                                                       [ 66%]
tests/test_sessions.py::TestSessionRunner::test_execute_skip_missing_interpreter PASSED                                                                              [ 66%]
tests/test_sessions.py::TestSessionRunner::test_execute_error_missing_interpreter PASSED                                                                             [ 67%]
tests/test_sessions.py::TestSessionRunner::test_execute_failed PASSED                                                                                [ 67%]
tests/test_sessions.py::TestSessionRunner::test_execute_interrupted PASSED                                                                                [ 67%]
tests/test_sessions.py::TestSessionRunner::test_execute_exception PASSED                                                                                [ 68%]
tests/test_sessions.py::TestResult::test_init PASSED                                                                                [ 68%]
tests/test_sessions.py::TestResult::test__bool_true PASSED                                                                                [ 68%]
tests/test_sessions.py::TestResult::test__bool_false PASSED                                                                                [ 69%]
tests/test_sessions.py::TestResult::test__imperfect PASSED                                                                                [ 69%]
tests/test_sessions.py::TestResult::test__log_success PASSED                                                                                [ 69%]
tests/test_sessions.py::TestResult::test__log_warning PASSED                                                                                [ 70%]
tests/test_sessions.py::TestResult::test__log_error PASSED                                                                                [ 70%]
tests/test_sessions.py::TestResult::test__serialize PASSED                                                                                [ 71%]
tests/test_tasks.py::test_load_nox_module PASSED                                                                                [ 71%]
tests/test_tasks.py::test_load_nox_module_expandvars PASSED                                                                                [ 71%]
tests/test_tasks.py::test_load_nox_module_not_found PASSED                                                                                [ 72%]
tests/test_tasks.py::test_discover_session_functions_decorator PASSED                                                                                [ 72%]
tests/test_tasks.py::test_filter_manifest PASSED                                                                                [ 72%]
tests/test_tasks.py::test_filter_manifest_not_found PASSED                                                                                [ 73%]
tests/test_tasks.py::test_filter_manifest_pythons PASSED                                                                                [ 73%]
tests/test_tasks.py::test_filter_manifest_keywords PASSED                                                                                [ 73%]
tests/test_tasks.py::test_honor_list_request_noop PASSED                                                                                [ 74%]
tests/test_tasks.py::test_honor_list_request[None] PASSED                                                                                [ 74%]
tests/test_tasks.py::test_honor_list_request[bar] PASSED                                                                                [ 74%]
tests/test_tasks.py::test_honor_list_request_skip_and_selected PASSED                                                                                [ 75%]
tests/test_tasks.py::test_verify_manifest_empty PASSED                                                                                [ 75%]
tests/test_tasks.py::test_verify_manifest_nonempty PASSED                                                                                [ 75%]
tests/test_tasks.py::test_run_manifest[with_warnings=False] PASSED                                                                                [ 76%]
tests/test_tasks.py::test_run_manifest[with_warnings=True] PASSED                                                                                [ 76%]
tests/test_tasks.py::test_run_manifest_abort_on_first_failure PASSED                                                                                [ 77%]
tests/test_tasks.py::test_print_summary_one_result PASSED                                                                                [ 77%]
tests/test_tasks.py::test_print_summary PASSED                                                                                [ 77%]
tests/test_tasks.py::test_create_report_noop PASSED                                                                                [ 78%]
tests/test_tasks.py::test_create_report PASSED                                                                                [ 78%]
tests/test_tasks.py::test_final_reduce PASSED                                                                                [ 78%]
tests/test_tox_to_nox.py::test_trivial FAILED                                                                                [ 79%]
tests/test_tox_to_nox.py::test_skipinstall FAILED                                                                                [ 79%]
tests/test_tox_to_nox.py::test_usedevelop FAILED                                                                                [ 79%]
tests/test_tox_to_nox.py::test_commands FAILED                                                                                [ 80%]
tests/test_tox_to_nox.py::test_deps FAILED                                                                                [ 80%]
tests/test_tox_to_nox.py::test_env FAILED                                                                                [ 80%]
tests/test_tox_to_nox.py::test_chdir FAILED                                                                                [ 81%]
tests/test_virtualenv.py::test_process_env_constructor PASSED                                                                                [ 81%]
tests/test_virtualenv.py::test_process_env_create PASSED                                                                                [ 81%]
tests/test_virtualenv.py::test_condaenv_constructor_defaults PASSED                                                                                [ 82%]
tests/test_virtualenv.py::test_condaenv_constructor_explicit PASSED                                                                                [ 82%]
tests/test_virtualenv.py::test_condaenv_create SKIPPED (Missing conda command.)                                                                                [ 83%]
tests/test_virtualenv.py::test_condaenv_create_interpreter SKIPPED (Missing conda command.)                                                                          [ 83%]
tests/test_virtualenv.py::test_condaenv_bin_windows PASSED                                                                                [ 83%]
tests/test_virtualenv.py::test_condaenv_ PASSED                                                                                [ 84%]
tests/test_virtualenv.py::test_constructor_defaults PASSED                                                                                [ 84%]
tests/test_virtualenv.py::test_constructor_explicit PASSED                                                                                [ 84%]
tests/test_virtualenv.py::test_env PASSED                                                                                [ 85%]
tests/test_virtualenv.py::test_blacklisted_env PASSED                                                                                [ 85%]
tests/test_virtualenv.py::test__clean_location PASSED                                                                                [ 85%]
tests/test_virtualenv.py::test_bin_paths PASSED                                                                                [ 86%]
tests/test_virtualenv.py::test_bin_windows PASSED                                                                                [ 86%]
tests/test_virtualenv.py::test_create PASSED                                                                                [ 86%]
tests/test_virtualenv.py::test_create_venv_backend PASSED                                                                                [ 87%]
tests/test_virtualenv.py::test_create_interpreter PASSED                                                                                [ 87%]
tests/test_virtualenv.py::test__resolved_interpreter_none PASSED                                                                                [ 87%]
tests/test_virtualenv.py::test__resolved_interpreter_numerical_non_windows[3-python3] PASSED                                                                         [ 88%]
tests/test_virtualenv.py::test__resolved_interpreter_numerical_non_windows[3.6-python3.6] PASSED                                                                     [ 88%]
tests/test_virtualenv.py::test__resolved_interpreter_numerical_non_windows[3.6.2-python3.6] PASSED                                                                   [ 89%]
tests/test_virtualenv.py::test__resolved_interpreter_numerical_non_windows[3.10-python3.10] PASSED                                                                   [ 89%]
tests/test_virtualenv.py::test__resolved_interpreter_numerical_non_windows[2.7.15-python2.7] PASSED                                                                  [ 89%]
tests/test_virtualenv.py::test__resolved_interpreter_invalid_numerical_id[2.] PASSED                                                                                [ 90%]
tests/test_virtualenv.py::test__resolved_interpreter_invalid_numerical_id[2.7.] PASSED                                                                               [ 90%]
tests/test_virtualenv.py::test__resolved_interpreter_32_bit_non_windows PASSED                                                                                [ 90%]
tests/test_virtualenv.py::test__resolved_interpreter_non_windows PASSED                                                                                [ 91%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_full_path PASSED                                                                                [ 91%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_pyexe[3.7-c:\\python37-x64\\python.exe] PASSED                                                          [ 91%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_pyexe[python3.6-c:\\python36-x64\\python.exe] PASSED                                                    [ 92%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_pyexe[2.7-32-c:\\python27\\python.exe] PASSED                                                           [ 92%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_pyexe_fails PASSED                                                                                [ 92%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version PASSED                                                                                [ 93%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[3.7.3\\n-c:\\python37-x64\\python.exe-2.7] PASSED                                [ 93%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[3.7.3\\n-c:\\python37-x64\\python.exe-python3.7] PASSED                          [ 93%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[3.7.3\\n-c:\\python37-x64\\python.exe-goofy] PASSED                              [ 94%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[3.7.3\\n-None-2.7] PASSED                                                        [ 94%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[3.7.3\\n-None-python3.7] PASSED                                                  [ 95%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[3.7.3\\n-None-goofy] PASSED                                                      [ 95%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[RAISE_ERROR-c:\\python37-x64\\python.exe-2.7] PASSED                             [ 95%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[RAISE_ERROR-c:\\python37-x64\\python.exe-python3.7] PASSED                       [ 96%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[RAISE_ERROR-c:\\python37-x64\\python.exe-goofy] PASSED                           [ 96%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[RAISE_ERROR-None-2.7] PASSED                                                     [ 96%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[RAISE_ERROR-None-python3.7] PASSED                                               [ 97%]
tests/test_virtualenv.py::test__resolved_interpreter_windows_path_and_version_fails[RAISE_ERROR-None-goofy] PASSED                                                   [ 97%]
tests/test_virtualenv.py::test__resolved_interpreter_not_found PASSED                                                                                [ 97%]
tests/test_virtualenv.py::test__resolved_interpreter_nonstandard PASSED                                                                                [ 98%]
tests/test_virtualenv.py::test__resolved_interpreter_cache_result PASSED                                                                                [ 98%]
tests/test_virtualenv.py::test__resolved_interpreter_cache_failure PASSED                                                                                [ 98%]
tests/test_workflow.py::test_simple_workflow PASSED                                                                                [ 99%]
tests/test_workflow.py::test_workflow_int_cutoff PASSED                                                                                [ 99%]
tests/test_workflow.py::test_workflow_interrupted PASSED                                                                                [100%]

================================================================================= FAILURES =================================================================================
_______________________________________________________________________________ test_trivial _______________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa5c55120d0>

    def test_trivial(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = py27
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def py27(session):
            session.install('.')
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(session):\n'\n "    session.install('.')\n") == ('import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(session):\n'\n "    session.install('.')\n")
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def py27(session):
E               session.install('.')

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:47: AssertionError
_____________________________________________________________________________ test_skipinstall _____________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa433d40820>

    def test_skipinstall(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = py27

        [testenv]
        skip_install = True
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def py27(session):
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(session):\n') == "import nox\n\n\n@nox.session(python='python2.7')\ndef py27(session):\n"
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def py27(session):

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:75: AssertionError
_____________________________________________________________________________ test_usedevelop ______________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa5c552e9d0>

    def test_usedevelop(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = py27

        [testenv]
        usedevelop = True
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def py27(session):
            session.install('-e', '.')
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(session):\n'\n "    session.install('-e', '.')\n") == ('import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(session):\n'\n "    session.install('-e', '.')\n")
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def py27(session):
E               session.install('-e', '.')

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:102: AssertionError
______________________________________________________________________________ test_commands _______________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa433848280>

    def test_commands(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        commands =
            python setup.py check --metadata --restructuredtext --strict
            flake8 \\
                --import-order-style=google \\
                google tests
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.install('.')
            session.run('python', 'setup.py', 'check', '--metadata', \
    '--restructuredtext', '--strict')
            session.run('flake8', '--import-order-style=google', 'google', 'tests')
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.install('.')\n"\n "    session.run('python', 'setup.py', 'check', '--metadata', "\n "'--restructuredtext', '--strict')\n"\n "    session.run('flake8', '--import-order-style=google', 'google', "\n "'tests')\n") == ('import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.install('.')\n"\n "    session.run('python', 'setup.py', 'check', '--metadata', "\n "'--restructuredtext', '--strict')\n"\n "    session.run('flake8', '--import-order-style=google', 'google', "\n "'tests')\n")
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.install('.')
E               session.run('python', 'setup.py', 'check', '--metadata', '--restructuredtext', '--strict')
E               session.run('flake8', '--import-order-style=google', 'google', 'tests')

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:135: AssertionError
________________________________________________________________________________ test_deps _________________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa433d40790>

    def test_deps(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        deps =
          flake8
          gcp-devrel-py-tools>=0.0.3
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.install('flake8', 'gcp-devrel-py-tools>=0.0.3')
            session.install('.')
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.install('flake8', 'gcp-devrel-py-tools>=0.0.3')\n"\n "    session.install('.')\n") == ('import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.install('flake8', 'gcp-devrel-py-tools>=0.0.3')\n"\n "    session.install('.')\n")
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.install('flake8', 'gcp-devrel-py-tools>=0.0.3')
E               session.install('.')

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:169: AssertionError
_________________________________________________________________________________ test_env _________________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa5c5512550>

    def test_env(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        setenv =
            SPHINX_APIDOC_OPTIONS=members,inherited-members,show-inheritance
            TEST=meep
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.env['SPHINX_APIDOC_OPTIONS'] = \
    'members,inherited-members,show-inheritance'
            session.env['TEST'] = 'meep'
            session.install('.')
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.env['SPHINX_APIDOC_OPTIONS'] = "\n "'members,inherited-members,show-inheritance'\n"\n "    session.env['TEST'] = 'meep'\n"\n "    session.install('.')\n") == ('import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.env['SPHINX_APIDOC_OPTIONS'] = "\n "'members,inherited-members,show-inheritance'\n"\n "    session.env['TEST'] = 'meep'\n"\n "    session.install('.')\n")
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.env['SPHINX_APIDOC_OPTIONS'] = 'members,inherited-members,show-inheritance'
E               session.env['TEST'] = 'meep'
E               session.install('.')

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:201: AssertionError
________________________________________________________________________________ test_chdir ________________________________________________________________________________

makeconfig = <function makeconfig.<locals>.makeconfig at 0x7fa5c5512820>

    def test_chdir(makeconfig):
        result = makeconfig(
            textwrap.dedent(
                """
        [tox]
        envlist = lint

        [testenv:lint]
        basepython = python2.7
        changedir = docs
        """
            )
        )

>       assert (
            result
            == textwrap.dedent(
                """
        import nox

        @nox.session(python='python2.7')
        def lint(session):
            session.install('.')
            session.chdir('docs')
        """
            ).lstrip()
        )
E       assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.install('.')\n"\n "    session.chdir('docs')\n") == ('import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'\n "    session.install('.')\n"\n "    session.chdir('docs')\n")
E         + #!/usr/bin/python3
E           import nox
E
E
E           @nox.session(python='python2.7')
E           def lint(session):
E               session.install('.')
E               session.chdir('docs')

/home/tkloczko/rpmbuild/BUILD/nox-2020.12.31/tests/test_tox_to_nox.py:233: AssertionError
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_virtualenv.py:149: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:177: Missing conda command.
XFAIL tests/test_logger.py::test_no_color_timestamp[color]
FAILED tests/test_tox_to_nox.py::test_trivial - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(session)...
FAILED tests/test_tox_to_nox.py::test_skipinstall - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(sess...
FAILED tests/test_tox_to_nox.py::test_usedevelop - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def py27(sessi...
FAILED tests/test_tox_to_nox.py::test_commands - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session...
FAILED tests/test_tox_to_nox.py::test_deps - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n...
FAILED tests/test_tox_to_nox.py::test_env - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\n'...
FAILED tests/test_tox_to_nox.py::test_chdir - assert ('#!/usr/bin/python3\n'\n 'import nox\n'\n '\n'\n '\n'\n "@nox.session(python='python2.7')\n"\n 'def lint(session):\...
=========================================================== 7 failed, 273 passed, 2 skipped, 1 xfailed in 27.65s ===========================================================

[tkloczko@barrel SPECS]$ pip freeze

These are 398 packages.
Can you please provide a minimal reproducible example?

I'll try to explain something about context ..
I'm now packaging into rpm packages all python stuff for the distribution on which I'm working (only those which will be used during build processes or test suites in that distribution). Part of that process is checking what are reporting test suites of in build env where is installed Everything™.
So far I was able report many similar errors or warnings and many maintainers have been interested those results or have need able provide expertise like "those warmings are meaningless"
I have no idea which one pytest plugin reported above however pytest prints on the beginning list of used plugins/extensions.
I want only say that you know python probably way better than I and you know the best nox code as well.
At the moment I have no automation which could quickly provide answer on your question by trying to reproduce above in some minimal env however you just gave me idea that maybe I should invest some time to assemble such automation.
Really please understand that my python devel skills are probably way narrower than yours.
If you would like me to perform some tests or do some additional diagnostics I promise I'll do that ASP with pleasure.
If you are thinking that that error reported by one of the pytest extensions is negligible/ignorable feel free to close that ticket. I'll fully accept your expertise.😊

I understand, and thanks for reporting this, anyway.
You're encountering a case where the output of tox_to_nox contains an unexpected shebang line with your interpreter. tox_to_nox is a tool that generates a noxfile.py from a tox.ini for people wanting to migrate a project from tox to nox. While unexpected, this behavior is benign and the generated noxfile.py will work just fine.
Unfortunately, even when I install all the pytest plugins from your environment, I cannot reproduce this.
I also don't see anything in the codebase that would insert a shebang, and it's really just a few lines of code there.
This is just a guess, but... Could there be any process on your system that inserts shebangs into Python files? A likely culprit might be your editor or one of its plugins.

This is just a guess, but... Could there be any process on your system that inserts shebangs into Python files? A likely culprit might be your editor or one of its plugins.

Hmm .. maybe 🤔
Will try to have look on that issue one more time today evening.
Just checked strace output and I see only one time try to open (sucessfull) system DSO.

Could there be any process on your system that inserts shebangs into Python files?

Actually, I have another idea. Could you please check if the file tox_to_nox.jinja2 in your Nox installation has a shebang line? It shouldn't. The first line should be import nox.

[tkloczko@barrel SPECS]$ rpm -qal | grep tox_to_nox
/usr/lib/python3.8/site-packages/nox/__pycache__/tox_to_nox.cpython-38.opt-1.pyc
/usr/lib/python3.8/site-packages/nox/__pycache__/tox_to_nox.cpython-38.opt-2.pyc
/usr/lib/python3.8/site-packages/nox/__pycache__/tox_to_nox.cpython-38.pyc
/usr/lib/python3.8/site-packages/nox/tox_to_nox.jinja2
/usr/lib/python3.8/site-packages/nox/tox_to_nox.py
[tkloczko@barrel SPECS]$ head -1 /usr/lib/python3.8/site-packages/nox/tox_to_nox.jinja2
#!/usr/bin/python3

so .. try to patch that to remove that line?

Glad we found the cause. This line does not come from the Nox distribution, so I'm going to close this for now. (But do feel free to comment, I'm happy to assist.)

so .. try to patch that to remove that line?

The line does not exist in the upstream distribution. It must have been added at some point in the downstream packaging process. Instead of patching it out again, I'd take a look how it got there :wink:

You just gave me ide of some additional check which can try to add to my rpm macros.
Just made quick check across all my python modules
[tkloczko@barrel SPECS]$ find /usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages  -name \*.py| xargs head -1|grep \#.*/bin| sort | uniq -c
      4 #! /usr/bin/env python
     68 #!/usr/bin/env python
      2 #!/usr/bin/env python
      1 #!/usr/bin/env python2.7
      1 #! /usr/bin/env python3
      4 #!/usr/bin/env python3
     10 #!/usr/bin/python
      2 #! /usr/bin/python3
      8 #!/usr/bin/python3
      1 #!/usr/bin/python3 -u

That output does not look good and I think that I'll try to add rpm filter to at least warn about shebangs lines if *.py file has shebang line and is 644 and finish build with non-zero exit code.
Definitely on that output should not be python2.7😱
I think that it may be good even add automatic filter to remove shebang line from all *py files with 644.
Definitely it should not bi used /usr/bin/end because it is some security risk connected to use env command which I discovered some time ag and I call "Nobody expects the Spanish inquisition" effect
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AC4UKG43RRCGUAHKWDRS3LEADUO67ENC/
Thank you very much😊😎

authors: cjolowicz kloczek

repo: theacodes/nox


text:
🛑 wwwAlphaDevs is down

In 5af25ea, wwwAlphaDevs (https://www.alphadevs.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: wwwAlphaDevs is back up in 011c7aa.

source: gharchive/issue

repo: thealphadevs/uptimeTrack

license: MIT

license_type: permissive

license_source: github-api


text:
Copy/paste keyframes - level 1

Scope: Being able to copy/paste keyframes over a single track (i.e. won't be able to copy/paste over compound props, just primitive props).

Notes:

keyframes can be selected by ctrl+click+drag.
for level 1, only one track of keyframes will be copy+pastable at a time.
keyframes on one type of track can be pasted onto any other type of track, but the keyframe values will not be used, the default values for that type will be used instead until the keyframe value is changed.

e.g. if two connected boolean keyframes true and false are selected by the user, then copied by the user, then the user clicks on a track with number type keyframes and pastes, the boolean keyframes will be pasted but the keyframes will fall back to the default number value for the type of that track.
Falling back to the default value already occurs when a track has a type that does not match the keyframe.

for level 1, copying and pasting will be done via the context menu.

authors: AriaMinaei vezwork

repo: theatre-js/theatre


text:
怎么复制代码

没有键盘的话 怎么全选并复制代码

可以在右上角选择在Safari中预览并复制你想要的文字。

repo: thebaselab/codeapp


text:
Duplicate ucp commands

Downloaded the pre-compiled v0.3 binary and when running ./diver I can see duplicative entries for ucp:
./diver
This tool uses the native APIs to "dive" into Docker EE

Usage:
  diver [command]

Available Commands:
  dtr         Docker Trusted Registry
  help        Help about any command
  store       Docker Store
  ucp         Universal Control Plane
  ucp         Universal Control Plane             <---
  version     Version and Release information about the diver tool

Flags:
  -h, --help           help for diver
      --logLevel int   Set the logging level [0=panic, 3=warning, 5=debug] (default 4)

Use "diver [command] --help" for more information about a command.

asciinema link
Version:  0.3
Build:    09bdb07f0d66936e873a10d541d3d6d117d9958b

Whoops, fixed in #117

authors: stevenfollis thebsdbox

repo: thebsdbox/diver


text:
Uptime robot

Should probably use an up time robot
https://uptimerobot.com
Uptime Robot
Free Website Uptime Monitoring
uptimerobot.com
It would be really cool if the uptime robot auto restarted the service.

Up time robot looks like it has web hooks. So you can run a tiny Python
server there in charge of monitoring the services.
It could be the one that initially kicks everything up. And does regular
health checks of its own. And if it detects a problem, just bring
everything down and back up. Also expose a port outside to receive web hook
for uptime robot. Having both is useful if there's a problem outside the
server like cloudflare or if the monitor process itself fails.
Could be a cool intern project.
On Sun, Mar 5, 2017, 7:54 PM Emil Goldsmith Olesen notifications@github.com
wrote:

Should probably use an up time robot
https://uptimerobot.com
Uptime Robot
Free Website Uptime Monitoring
uptimerobot.com
It would be really cool if the uptime robot auto restarted the service.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thegazelle-ad/gazelle-server/issues/116, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADAFzZiv7OF-jl0SmwPATEgRLDDZ43Isks5rilwygaJpZM4MTVZH
.

Could also be a cool open source project if it doesn't already exist.
On Sun, Mar 5, 2017, 7:57 PM Ling Zhang lingliangz@gmail.com wrote:

Up time robot looks like it has web hooks. So you can run a tiny Python
server there in charge of monitoring the services.
It could be the one that initially kicks everything up. And does regular
health checks of its own. And if it detects a problem, just bring
everything down and back up. Also expose a port outside to receive web hook
for uptime robot. Having both is useful if there's a problem outside the
server like cloudflare or if the monitor process itself fails.
Could be a cool intern project.
On Sun, Mar 5, 2017, 7:54 PM Emil Goldsmith Olesen <
notifications@github.com> wrote:
Should probably use an up time robot
https://uptimerobot.com
Uptime Robot
Free Website Uptime Monitoring
uptimerobot.com
It would be really cool if the uptime robot auto restarted the service.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thegazelle-ad/gazelle-server/issues/116, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADAFzZiv7OF-jl0SmwPATEgRLDDZ43Isks5rilwygaJpZM4MTVZH
.

@lingz how would you make it a general purpose open source project? As in... wouldn't it be a very specific script to The Gazelle?

Yeah. Where you just specify in a config what the uptime commands are and
what the checking URL is. It's much more work to make it open source but
would be cool.
On Mon, Mar 6, 2017, 1:14 AM Emil Goldsmith Olesen notifications@github.com
wrote:

@lingz https://github.com/lingz how would you make it a general purpose
open source project? As in... wouldn't it be a very specific script to The
Gazelle?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thegazelle-ad/gazelle-server/issues/116#issuecomment-284223863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADAFzfRxUntBd-jC5dIkeVe3PUcTWEy1ks5riqcMgaJpZM4MTVZH
.

One option already made is here
https://github.com/kostya/eye

We currently have a simple cron job set up, but it could be better possibly like described above

authors: emilgoldsmith lingz

repo: thegazelle-ad/gazelle-server

license: mit

license_source: bigquery


text:
Setup Alarmo

Requirements

[ ] Install Alarmo integration.
[ ] Configurearmed_vacation.
[ ] Add condition to air purifier automation to not run if sensor.armed_vacation = true.
[ ] Add condition to vacuum schedule automation to not run if sensor.armed_vacation = true.
[ ] Add condition to climate automation to not run if sensor.armed_vacation = true.

Resources
Alarmo integration

The goal of this ticket was to create a vacation mode for Home Assistant in order to turn off some automations when away from home for extended periods of time.  Unfortunately, I don't think this is the best way to achieve this goal.

repo: theglus/Home-Assistant-Config


text:
Add support for bulk approvals of submitted IP addresses in the admin

Right now, approving sets of IP addresses is really tedious - you need to reload the page each time, so when you have 10 ip ranges to approve that's 10 page loads, like in this example.

We already have bulk delete  support with django admin. Adding supporting for a bulk reject, or a bulk approval would be the compassionate thing to do.

It turns out to be quite a faff to mess with inline model admins widgets, but one faster way around this might be to take advantage of the fact that django admins views allow you to filter based on arbitrary criteria, by passing GET params.
The screenshot below shows a view of a hosting provider who has submitted some IP ranges to be approved (the name has been redacted), but I've filtered the view using url parameters to only show the IP Ranges for that provider.

Because django already has bulk actions, what we can do, to save this tedious click/reload beheaviour is link to the this view of the IP ranges to be approved, and implement a new bulk action, that does largely what approve/reject options on the admin do already, but to all the selected IP ranges visible.
The docs for making a bulk action are below:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#ref-contrib-admin-actions

OK, the approve_ip and approve_asn methods  on HostingAdmin are the methods we'd need to adapt, so they can be called in a bulk editing context too.
Arguably, you might only really need the IPs to be done, as ASNs are so rarely changed.

def approve_ip(self, request, *args, **kwargs):
    # TODO it would be ideal if this was more re-usable
    pk = request.GET.get("approval_id")
    action = request.GET.get("action")

    obj = GreencheckIpApprove.objects.get(pk=pk)
    obj.status = action
    obj.save()

    if action == StatusApproval.APPROVED:
        GreencheckIp.objects.create(
            active=True,
            hostingprovider=obj.hostingprovider,
            ip_start=obj.ip_start,
            ip_end=obj.ip_end,
        )
    name = "admin:" + get_admin_name(self.model, "change")
    return redirect(name, obj.hostingprovider_id)

repo: thegreenwebfoundation/admin-portal


text:
Mitigation required for CVE-2020-12856

Herald acts as a GATT client and reads/writes characteristics and is therefore vunerable to CVE-2020-12856. This is high severity as it allows for permanent tracking of the target device, and can be chained with CVE-2020-0022 to allow RCE.
Google issued a fix for this in the Nov 2020 security bulletin, however it only applies to Android 8+.
Please see https://github.com/alwentiu/COVIDSafe-CVE-2020-12856 for more information on the CVE.
Note that this we originally discovered this in COVIDSafe (and the other derivatives from Singapore's TraceTogether, including ABTraceTogether). COVIDSafe and ABTraceTogether have implemented a workaround (see StreetPassPairingFix.kt) for older Android versions.
It's also worth noting that COVIDSafe's draft Herald integration has applied the same workaround in their modified copy of your code (rather than fixing/notifying upstream). See https://github.com/AU-COVIDSafe/mobile-android/blob/herald/app/src/main/java/au/gov/health/covidsafe/sensor/ble/ConcreteBLEReceiver.kt

Thanks for this issue. Accepted. We're in discussion with the Australian Government team about their fix for this. Once the licensing of their code is confirmed we will merge it in. We have placeholders already in ConcreteBLESensor.java.

Thanks
It's worth noting that as well as the code workaround to prevent the silent pairing, the non-silent version where you trick the user into clicking pair is very scary too. See the linked PDF for a screenshot from an iPhone.
COVIDSafe has a prominent warning about this on the home screen. Other Herald integrators should be aware of this.

Moving this issue to the next release as we have not received the donation of code required as of yet. On a practical basis we do advise adopters to implement the mitigation. A separate documentation issue has been opened on the herald repo to cover this.

On a practical basis we do advise adopters to implement the mitigation.

Please see https://github.com/abopengov/contact-tracing-Android/issues/11

We are confirming the StreetPass code license with the original authors (Australia DTO). Hopefully we'll be able to get this contributed as Apache-2.0 so we can just blend it into Herald and not have to worry about other projects.

Not received code donation in time for v2.0. Pushing back to v2.1.

This is unbelievable. Are the DTA just not responding to your request? Do you need contact details (this seems highly surprising though, I imagine you've worked closely with them).
But either way... it's not a complicated piece of code. Herald could easily re-implement the same logic. I cannot possibly imagine how you would consider releasing without this fix.

Hi Jimmo. Please be aware we are constantly evolving this repo and occasionally some features don't make it to release. It's worth remembering too that this is an Android security flaw remaining unpatched by Google.
As luck would have it, we've managed to squeeze in a fix for this written fresh, so we'll include it in our formal testing tonight, hence the change back to v2.0. This is thanks to the dedicated work of our projects volunteers.

authors: adamfowleruk jimmo

repo: theheraldproject/herald-for-android


text:
Add access to loompy.connect arguments.

There are some useful arguments in loompy.connect that we might want to access, like validate: bool = True,  spec_version: str = '2.0.1'.

Makes sense! Thanks!

source: gharchive/pull-request

authors: falexwolf gokceneraslan

repo: theislab/anndata


text:
Showing just a message for HarmonyOS

Hello
There is an issue with my phone Huawei Honor Magic 2 with HarmonyOS 3.0.0.165 installing successfully with kinginstaller but
carstream is showing up in android auto but not working fine it shows  "no new messages during this drive." I tried multiple solution without a result. The phone don't allow me to install any other package installer and i have as shown in the screenshot com.google.android.packageinstaller version 13.876831533
Could somone help me please it was working fine before an update of the phone?
Thanks

Same here with Xiaomi POCO X6 Pro

repo: thekirankumar/carstream-android-auto


text:
Location Alert

Hi,
I'm having an issue with the blips being displayed in the wrong location from the one where the crime was committed.
For example, below the crime was around Maze Bank area and it's going towards the top of the flats in the city

Any ideas?

Should be resolved in latest commit, let me know

Hi,
Still seems to be displaying it in the same area for each alert

It seems to only do it when you're not right next to the crime.

Onesync or infinity?

OneSync with Infinity.

Alright so I have it set to put the blip on the entity for a while then drop off, which won't work for infinity.
Try the latest commit and let me know if it works.

Still no luck unfortunately

What's the result from
print( ('netid: %s  entity: %s  coords: %s'):format(data.netId, NetworkGetEntityFromNetworkId(data.netId), data.coords) ) added into createBlip

Seems to be working perfectly now, thanks!


text:
Use moment to render dates everywhere

Also changes dates to be rendered like April 29, 2017.

"1 May, 2017" feels odd, I don't recall seeing this anywhere. "1 May 2017"
looks more balanced and is nicer when adding the time as we need only one
(or zero) separator.
Nitpick, granted, but I do think it's more standard-looking :)

authors: astorije xPaw

repo: thelounge/lounge


text:
Accordion Heading Accessibility

Describe the bug
The h2 that wraps the accordion buttons should either be made a configurable tag so that it can be changed to a div or an h3 for example. Or just changed to a div. They are not necessarily headings. Also they could quite possibly have FAQ as an h2 title above the accordion which would make the heading ranking invalid.
Reproduction

Flowbite version and System Info
All

@shinokada I think this can be closed.

repo: themesberg/flowbite-svelte


text:
Modal not working with Angular

Describe the bug
Hi, i'm using Flowbite with Angular. I have an error with the modals: Flowbite: Instance with ID offer does not exist. Modal with id offer has not been initialized. Please initialize it using the data-modal-target attribute. But I have already entered the data-modal-target attribute on my button.
this is the button code:
<button data-modal-target="card_modal" data-modal-toggle="card_modal"                     class="text-white bg-[#7E2BB5] font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">               Change             </button>
and this is the modal  code:
<div id="card_modal" data-modal-backdrop="static" tabindex="-1" aria-hidden="true"      class="hidden fixed top-0 left-0 right-0 z-50 w-full p-8 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
And the errors in the console is this:

Flowbite: Instance with ID card_modal does not exist.
Modal with id card_modal has not been initialized. Please initialize it using the data-modal-target attribute.

My issue is the same, but I am using Flask.

My solution is to ensure that the entire page is loaded before getting the modal instance:
window.addEventListener('load', () => {
  const modal = FlowbiteInstances.getInstance('Modal', 'modal-id')

  modal.show()
})

It works fine.

In my case, FlowbiteInstances is a global object imported to my code via CDN, that means it comes inside the window object after the DOM has rendered.
window.FlowbiteInstances

the docs.

repo: themesberg/flowbite


text:
[Request] Metrics for Cashier

It would be really awesome to have some pre-built metric cards that can be dropped into the application, initially i'm thinking like a Total subscriptions card, a daily card showing how many users subscribed and one showing how many didn't subscribe.
I will be working on something similar today so might end up making a PR.

That sounds like a great idea, I'd definitely merge a PR that adds this :)

authors: DanielSteadfast themsaid

repo: themsaid/nova-cashier-manager


text:
Landing page for docs violates a11y animation requirements

There is an accessibility issue in the main page of the docs - there's a a11y standard to make sure animation doesn't last more than 5 seconds or it can be paused by a button.
We had a similar animation in maplibre.org but were told we should remove it.
Just FYI :-)

Thanks for letting me know about that, gonna getting rid of the background animation as soon as possible.

authors: HarelM themustafaomar

repo: themustafaomar/libregl


text:
[Laptop Devices] Site is not responsive moves horizontally

Url : https://thenewboston.com/
http://recordit.co/Qv9dkNA7p7

Came here to report the issue xD

@itsnikhil mobile is part of this issue: https://github.com/thenewboston-developers/Website/issues/389

authors: angle943 itsnikhil webdeveloperswj

repo: thenewboston-developers/Website


text:
replaced singlequotes with double quotes in lint command

should fix #455

@moki298 let's use cross-env


text:
test mappings TL calibration hierarchy reversals

can't figure out why it's failing
I have written a test, I want the test to pass. This is the only test that is failing:
test_mappings_calibration_hierarchy_reversal_SemioBrainBeta within the Class TestDummyDataHierarchyReversal

there was a typo and a mistake in calling MEGA_ANALYSIS


text:
Getting pause event at the same time as complete

Just as the video title states, I'm seeing a pause event being fired at the same time as complete, anyone know what could be causing this?

I am seeing the same thing.

repo: theonion/videojs-vast-plugin


text:
CPO: Update go version 1.13.4

This commit updates go version to 1.13.4 as minimum version
required by k8s.

/assign @wangxiyuan

repo: theopenlab/openlab-zuul-jobs


text:
Modpack crashes whenever I try to open the bestiary

Whenever I go to inventory -> questbook icon thingy -> collected knowledge -> bestiary the game freezes for 4 seconds and then closes
crash-2024-11-09_13.34.19-client.txt
I read a bit through the crash report and I realised it's because of optifine. I tested it and without optifine it works fine, but I have no idea what to do to fix this without getting rid of optifine

Optifine is unsupported in pretty much every modpack for a reason. It's very invasive to vanilla Minecraft code and thus is almost guaranteed to break something in an environment with a lot of mods.

Damn, thanks anyway. Do you have any other performance mod that you recommend?

authors: AceFlameIII UmbralSurvivor

repo: thephoenixlodge/Heavens-of-Sorcery