Closed Bug 1782696 Opened 3 years ago Closed 3 years ago

Update to pylint v2.14.5

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox106 fixed)

RESOLVED FIXED
Tracking Status
firefox106 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

No description provided.
Summary: Update to pylint v2.14.1 → Update to pylint v2.14.5
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aac498e445a2 Update dependency pylint to v2.14.5 r=linter-reviewers,andi DONTBUILD
See Also: → 1783824
Regressions: 1783824
See Also: 1783824

Backed out for causing py3 mozlint failures.

Push with failures

Failure log

Backout link

[task 2022-08-09T10:22:56.666Z] Collecting colorama==0.4.4
[task 2022-08-09T10:22:56.666Z]   Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
[task 2022-08-09T10:22:56.666Z] INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
[task 2022-08-09T10:22:56.666Z] INFO: pip is looking at multiple versions of astroid to determine which version is compatible with other requirements. This could take a while.
[task 2022-08-09T10:22:56.666Z] ERROR: Cannot install -r Z:/task_166003613936402/build/src\tools/lint/python/pylint_requirements.txt (line 74) and colorama==0.4.4 because these package versions have conflicting dependencies.
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] The conflict is caused by:
[task 2022-08-09T10:22:56.666Z]     The user requested colorama==0.4.4
[task 2022-08-09T10:22:56.666Z]     pylint 2.14.5 depends on colorama>=0.4.5; sys_platform == "win32"
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] To fix this you could try to:
[task 2022-08-09T10:22:56.666Z] 1. loosen the range of package versions you've specified
[task 2022-08-09T10:22:56.666Z] 2. remove package versions to allow pip attempt to solve the dependency conflict
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] Error running mach:
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z]     ['python-test', '--subsuite', 'mozlint', '--run-slow']
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] The error occurred in code that was called by the mach command. This is either
[task 2022-08-09T10:22:56.666Z] a bug in the called code itself or in the way that mach is calling it.
[task 2022-08-09T10:22:56.666Z] You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2022-08-09T10:22:56.666Z] isn't, please use |./mach busted file python-test| to report it. If |./mach busted| is
[task 2022-08-09T10:22:56.666Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] If filing a bug, please include the full output of mach, including this error
[task 2022-08-09T10:22:56.666Z] message.
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] The details of the failure are as follows:
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z] mach.site.InstallPipRequirementsException: Failed to install "Z:/task_166003613936402/build/src\tools/lint/python/pylint_requirements.txt" into the "python-test" site.
[task 2022-08-09T10:22:56.666Z] 
[task 2022-08-09T10:22:56.666Z]   File "Z:\task_166003613936402\build\src\python\mach_commands.py", line 146, in python_test
[task 2022-08-09T10:22:56.666Z]     return run_python_tests(command_context, *args, **kwargs)
[task 2022-08-09T10:22:56.666Z]   File "Z:\task_166003613936402\build\src\python\mach_commands.py", line 209, in run_python_tests
[task 2022-08-09T10:22:56.666Z]     command_context.virtualenv_manager.install_pip_requirements(
[task 2022-08-09T10:22:56.666Z]   File "Z:\task_166003613936402\build\src\python\mach\mach\site.py", line 647, in install_pip_requirements
[task 2022-08-09T10:22:56.667Z]     raise InstallPipRequirementsException(
[taskcluster 2022-08-09T10:22:56.818Z]    Exit Code: 1
[taskcluster 2022-08-09T10:22:56.818Z]    User Time: 0s
[taskcluster 2022-08-09T10:22:56.818Z]  Kernel Time: 15.625ms
[taskcluster 2022-08-09T10:22:56.818Z]    Wall Time: 48m48.3801254s
[taskcluster 2022-08-09T10:22:56.818Z]       Result: FAILED
[taskcluster 2022-08-09T10:22:56.818Z] === Task Finished ===
[taskcluster 2022-08-09T10:22:56.818Z] Task Duration: 48m48.3863074s
[taskcluster 2022-08-09T10:22:56.819Z] [mounts] Preserving cache: Moving "Z:\\task_166003613936402\\build" to "Z:\\caches\\DRcJTAocR42OWnq7DG5B-A"
[taskcluster 2022-08-09T10:22:57.397Z] [mounts] Denying task_166003613936402 access to 'Z:\caches\DRcJTAocR42OWnq7DG5B-A'
[taskcluster 2022-08-09T10:24:43.197Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2023-08-09T09:31:17.379Z
[taskcluster:error] exit status 1
Flags: needinfo?(sledru)

ok, thanks

Flags: needinfo?(sledru)
Product: Firefox Build System → Developer Infrastructure
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3c6302f1d80 Update colorama 0.4.5 in-tree r=linter-reviewers,andi DONTBUILD https://hg.mozilla.org/integration/autoland/rev/d69952c59e04 Update dependency pylint to v2.14.5 r=linter-reviewers,andi DONTBUILD
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Blocks: pylint
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: