-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Description
System Info
===> Testing for py311-peft-0.17.1
===> py311-peft-0.17.1 depends on package: py311-datasets>0 - found
===> py311-peft-0.17.1 depends on package: py311-diffusers>0 - found
===> py311-peft-0.17.1 depends on package: py311-parameterized>0 - found
===> py311-peft-0.17.1 depends on package: py311-protobuf>0 - found
===> py311-peft-0.17.1 depends on package: py311-pytest-cov>0 - found
===> py311-peft-0.17.1 depends on package: py311-pytest-xdist>0 - found
===> py311-peft-0.17.1 depends on package: py311-scipy>0 - found
===> py311-peft-0.17.1 depends on package: py311-sentencepiece>0 - found
===> py311-peft-0.17.1 depends on package: py311-pytest>=7,1 - found
===> py311-peft-0.17.1 depends on file: /usr/local/bin/python3.11 - found
cd /usr/ports/misc/py-peft/work-py311/peft-0.17.1 && /usr/bin/env -i HOME=/usr/ports/misc/py-peft/work-py311 MACHINE_ARCH=amd64 PWD="${PWD}" GIT_CEILING_DIRECTORIES=/usr/ports/misc/py-peft/work-py311 __MAKE_CONF=/nonexistent OSVERSION=1403505 PATH=/usr/local/libexec/ccache:/usr/ports/misc/py-peft/work-py311/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color XDG_DATA_HOME=/usr/ports/misc/py-peft/work-py311 XDG_CONFIG_HOME=/usr/ports/misc/py-peft/work-py311 XDG_CACHE_HOME=/usr/ports/misc/py-peft/work-py311/.cache HOME=/usr/ports/misc/py-peft/work-py311 PATH=/usr/local/libexec/ccache:/usr/ports/misc/py-peft/work-py311/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/misc/py-peft/work-py311/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/var/ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" PYTHONPATH=/usr/ports/misc/py-peft/work-py311/stage/usr/local/lib/python3.11/site-packages /usr/local/bin/python3.11 -m pytest -k '' -rs -v -o addopts=
/usr/local/lib/python3.11/site-packages/pytest_benchmark/logger.py:39: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.
warner(PytestBenchmarkWarning(text))
initialized: 4/4 workers========================================================================= test session starts =========================================================================
platform freebsd14 -- Python 3.11.13, pytest-8.4.2, pluggy-1.6.0 -- /usr/local/bin/python3.11
codspeed: 4.0.0 (disabled, mode: walltime, callgraph: not supported, timer_resolution: 1.0ns)
cachedir: .pytest_cache
Using --randomly-seed=3046401647
hypothesis profile 'default'
benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /usr/ports/misc/py-peft/work-py311/peft-0.17.1
configfile: pyproject.toml
plugins: anyio-4.9.0, aspectlib-2.0.0, flaky-3.8.1, asyncio-1.1.0, cov-5.0.0, forked-1.6.0, mock-3.10.0, rerunfailures-11.1.2, timeout-2.4.0, xdist-3.6.1, time-machine-2.13.0, randomly-3.12.0, hypothesis-6.138.8, benchmark-5.1.0, checkdocs-2.13.0, codspeed-4.0.0, datadir-1.8.0, flake8-1.1.1, pytest_httpserver-1.0.12, relaxed-2.0.2, ruff-0.4.1, subprocess-1.5.2, requests-mock-1.12.1, respx-0.22.0, black-0.3.12, enabler-3.1.1
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting: 1/4 workersmainloop: caught unexpected SystemExit!
INTERNALERROR> def worker_internal_error(
INTERNALERROR> self, node: WorkerController, formatted_error: str
INTERNALERROR> ) -> None:
INTERNALERROR> """
INTERNALERROR> pytest_internalerror() was called on the worker.
INTERNALERROR>
INTERNALERROR> pytest_internalerror() arguments are an excinfo and an excrepr, which can't
INTERNALERROR> be serialized, so we go with a poor man's solution of raising an exception
INTERNALERROR> here ourselves using the formatted message.
INTERNALERROR> """
INTERNALERROR> self._active_nodes.remove(node)
INTERNALERROR> try:
INTERNALERROR> > assert False, formatted_error
INTERNALERROR> E AssertionError: Traceback (most recent call last):
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 173, in setup
INTERNALERROR> E ok = dist.parse_command_line()
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 520, in parse_command_line
INTERNALERROR> E raise DistutilsArgError("no commands supplied")
INTERNALERROR> E distutils.errors.DistutilsArgError: no commands supplied
INTERNALERROR> E
INTERNALERROR> E During handling of the above exception, another exception occurred:
INTERNALERROR> E
INTERNALERROR> E Traceback (most recent call last):
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 289, in wrap_session
INTERNALERROR> E session.exitstatus = doit(config, session) or 0
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 342, in _main
INTERNALERROR> E config.hook.pytest_collection(session=session)
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> E return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> E raise exception
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> E teardown.throw(exception)
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/logging.py", line 788, in pytest_collection
INTERNALERROR> E return (yield)
INTERNALERROR> E ^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> E teardown.throw(exception)
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/warnings.py", line 99, in pytest_collection
INTERNALERROR> E return (yield)
INTERNALERROR> E ^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> E teardown.throw(exception)
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1450, in pytest_collection
INTERNALERROR> E return (yield)
INTERNALERROR> E ^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> E res = hook_impl.function(*args)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 353, in pytest_collection
INTERNALERROR> E session.perform_collect()
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 813, in perform_collect
INTERNALERROR> E self.items.extend(self.genitems(node))
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 979, in genitems
INTERNALERROR> E yield from self.genitems(subnode)
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 974, in genitems
INTERNALERROR> E rep, duplicate = self._collect_one_node(node, handle_dupes)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 839, in _collect_one_node
INTERNALERROR> E rep = collect_one_node(node)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/runner.py", line 567, in collect_one_node
INTERNALERROR> E rep: CollectReport = ihook.pytest_make_collect_report(collector=collector)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> E return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> E raise exception
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> E teardown.throw(exception)
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/capture.py", line 880, in pytest_make_collect_report
INTERNALERROR> E rep = yield
INTERNALERROR> E ^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> E res = hook_impl.function(*args)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/runner.py", line 391, in pytest_make_collect_report
INTERNALERROR> E call = CallInfo.from_call(
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/runner.py", line 344, in from_call
INTERNALERROR> E result: TResult | None = func()
INTERNALERROR> E ^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/runner.py", line 389, in collect
INTERNALERROR> E return list(collector.collect())
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/pytest_relaxed/classes.py", line 82, in collect
INTERNALERROR> E items = super().collect()
INTERNALERROR> E ^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/python.py", line 554, in collect
INTERNALERROR> E self._register_setup_module_fixture()
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/python.py", line 567, in _register_setup_module_fixture
INTERNALERROR> E self.obj, ("setUpModule", "setup_module")
INTERNALERROR> E ^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/python.py", line 280, in obj
INTERNALERROR> E self._obj = obj = self._getobj()
INTERNALERROR> E ^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/python.py", line 551, in _getobj
INTERNALERROR> E return importtestmodule(self.path, self.config)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/python.py", line 498, in importtestmodule
INTERNALERROR> E mod = import_path(
INTERNALERROR> E ^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/_pytest/pathlib.py", line 587, in import_path
INTERNALERROR> E importlib.import_module(module_name)
INTERNALERROR> E File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
INTERNALERROR> E return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
INTERNALERROR> E File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
INTERNALERROR> E File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
INTERNALERROR> E File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
INTERNALERROR> E File "<frozen importlib._bootstrap_external>", line 940, in exec_module
INTERNALERROR> E File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
INTERNALERROR> E File "/usr/ports/misc/py-peft/work-py311/peft-0.17.1/setup.py", line 43, in <module>
INTERNALERROR> E setup(
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 115, in setup
INTERNALERROR> E return distutils.core.setup(**attrs)
INTERNALERROR> E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> E File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 175, in setup
INTERNALERROR> E raise SystemExit(gen_usage(dist.script_name) + f"\nerror: {msg}")
INTERNALERROR> E SystemExit: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
INTERNALERROR> E or: -c --help [cmd1 cmd2 ...]
INTERNALERROR> E or: -c --help-commands
INTERNALERROR> E or: -c cmd --help
INTERNALERROR> E
INTERNALERROR> E error: no commands supplied
INTERNALERROR> E assert False
INTERNALERROR>
INTERNALERROR> /usr/local/lib/python3.11/site-packages/xdist/dsession.py:232: AssertionError
WARNING: Failed to generate report: No data to report.
/usr/local/lib/python3.11/site-packages/pytest_cov/plugin.py:352: CovReportWarning: Failed to generate report: No data to report.
warnings.warn(CovReportWarning(message), stacklevel=1)
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 289, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/_pytest/main.py", line 343, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> raise exception
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/_pytest/terminal.py", line 688, in pytest_runtestloop
INTERNALERROR> result = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/_pytest/logging.py", line 801, in pytest_runtestloop
INTERNALERROR> return (yield) # Run all the tests.
INTERNALERROR> ^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
INTERNALERROR> return result.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_result.py", line 103, in get_result
INTERNALERROR> raise exc.with_traceback(tb)
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
INTERNALERROR> res = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/xdist/dsession.py", line 138, in pytest_runtestloop
INTERNALERROR> self.loop_once()
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/xdist/dsession.py", line 163, in loop_once
INTERNALERROR> call(**kwargs)
INTERNALERROR> File "/usr/local/lib/python3.11/site-packages/xdist/dsession.py", line 218, in worker_workerfinished
INTERNALERROR> self._active_nodes.remove(node)
INTERNALERROR> KeyError: <WorkerController gw0>
mainloop: caught unexpected SystemExit!
mainloop: caught unexpected SystemExit!
mainloop: caught unexpected SystemExit!
================================================================= 254 warnings, 125 errors in 41.11s ==================================================================
Version: 0.17.1
Puython-3.11
FreeBSD 14.3
Who can help?
No response
Reproduction
see above
Expected behavior
n/a
Metadata
Metadata
Assignees
Labels
No labels