We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce the behavior:
tests/test_cli_query.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ inputdata = "Bugzilla 1165434: \nATTRIBUTE[actual_time]: 0.0\nATTRIBUTE[alias]: []\nATTRIBUTE[assigned_to]: lvm-team@redhat.com\nA...nATTRIBUTE[version]: ['5.8']\nATTRIBUTE[weburl]: https:TESTSUITEMOCK\nATTRIB UTE[whiteboard]: genericwhiteboard\n\n\n\n" filename = '/private/tmp/nix-build-python3.12-bugzilla-3.2.0.drv-2/python-bugzilla-3.2.0/tests/data/clioutput/test_query2.txt' expect_out = "Bugzilla 1165434: \nATTRIBUTE[actual_time]: 0.0\nATTRIBUTE[alias]: []\nATTRIBUTE[assigned_to]: lvm-team@redhat.com\nA...TRIBUTE[version]: ['5.8']\nATTRIBUTE[weburl]: https:///TESTSUITEMOCK\nATTRI BUTE[whiteboard]: genericwhiteboard\n\n\n\n" def diff_compare(inputdata, filename, expect_out=None): """Compare passed string output to contents of filename""" def _process(data): if isinstance(data, tuple) and len(data) == 1: data = data[0] if isinstance(data, (dict, tuple)): out = pprint.pformat(data, width=81) else: out = str(data) if not out.endswith("\n"): out += "\n" return out actual_out = _process(inputdata) if filename: filename = tests_path(filename) if not os.path.exists(filename) or tests.CLICONFIG.REGENERATE_OUTPUT: open(filename, "w").write(actual_out) expect_out = open(filename).read() else: expect_out = _process(expect_out) diff = "".join(difflib.unified_diff(expect_out.splitlines(1), actual_out.splitlines(1), fromfile=filename or "Manual input", tofile="Generated Output")) if diff: > raise AssertionError("Conversion outputs did not match.\n%s" % diff) E AssertionError: Conversion outputs did not match. E --- /private/tmp/nix-build-python3.12-bugzilla-3.2.0.drv-2/python-bugzilla-3.2.0/tests/data/clioutput/test_query2.txt E +++ Generated Output E @@ -57,7 +57,7 @@ E ATTRIBUTE[target_release]: ['---'] E ATTRIBUTE[url]: E ATTRIBUTE[version]: ['5.8'] E -ATTRIBUTE[weburl]: https:///TESTSUITEMOCK E +ATTRIBUTE[weburl]: https:TESTSUITEMOCK E ATTRIBUTE[whiteboard]: genericwhiteboard tests/utils.py:81: AssertionError =============================== warnings summary =============================== tests/conftest.py:41 /private/tmp/nix-build-python3.12-bugzilla-3.2.0.drv-2/python-bugzilla-3.2.0/tests/conftest.py:41: PytestRemovedIn9Warning: The (path: py.path.local) argument is deprecated, please use (collection_path: path lib.Path) see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path def pytest_ignore_collect(path, config): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_cli_misc.py::testManualURL - assert 'No host supplied' in 'Command failed with 2\ncmd=bugzilla --bztype ... FAILED tests/test_cli_query.py::test_query - AssertionError: Conversion outputs did not match. =================== 2 failed, 51 passed, 1 warning in 0.52s ====================
Not happening with 3.3.0 version bump.
@pierron
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
$ nix-shell -p nix-info --run "nix-info -m" - system: `"aarch64-darwin"` - host os: `Darwin 23.6.0, macOS 14.7` - multi-user?: `yes` - sandbox: `no` - version: `nix-env (Nix) 2.18.8` - channels(root): `"nixpkgs"` - nixpkgs: `/nix/store/mln6wr5z539qgldmsm4j1k8k0dm19yvz-source`
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
Python312Packages.bugzilla: 3.2.0 -> 3.3.0
6b54176
Closes: NixOS#349139
d230336
Successfully merging a pull request may close this issue.
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
Not happening with 3.3.0 version bump.
Notify maintainers
@pierron
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: