Closed Bug 1822672 Opened 2 years ago Closed 1 year ago

Running mach raptor --browsertime with python 3.11.1 leads to a cryptic error

Categories

(Testing :: Raptor, enhancement, P3)

Default
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1822903

People

(Reporter: acreskey, Unassigned)

References

Details

(Whiteboard: [fxp])

On my new Macbook I have Python 3.1.1 installed as the global.
(I'm not 100% if this is the factory default).

When I run mach raptor --browsertime I am given a cryptic error:

Setting up node for browsertime...
Node v16+ found at: /Users/acreskey/.mozbuild/node/bin/node
Using browsertime version 17.0.0 from https://github.com/sitespeedio/browsertime/tarball/3ef84e66c55306f47d08690b89ca3875fcf797dd
error('global flags not at the start of the expression at position 27')

To solve this I changed the global version of Python to 3.10

Not sure the best solution, maybe a test for supported version and an error could be added.

Severity: -- → S3
Priority: -- → P3
Whiteboard: [fxp]

also linux with 3.11.2, not a surprise...

just a quick note, cryptic message aside (but could be related) even if we got past that error, we don't (yet) have all the py311 whls in our moz pypi https://pypi.pub.build.mozilla.org/pub/

i've filed Bug 1822903 to address that as well as other things

See Also: → 1822903

3.11 error messages are being displayed, closing this as duplicate of 1822903

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1822903
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.