Skip to content

Commit

Permalink
fix: relax PyYaml specification to work around 'mach vendor' issue in…
Browse files Browse the repository at this point in the history
… Gecko

I don't understand the details, but somehow the recent Cython 3.0
release broke the ability to build PyYaml. There's currently no fix
other than to downgrade to PyYaml 5.3.1.

Unfortunately, Taskgraph is causing a conflict as it has PyYaml >=
5.4.0. Tracing back through history, there wasn't any particular reason
for this, other than me wanting to be able to make some assertions
about our dependencies and taking advantage of the fact that Taskgraph
was a new package.

The Gecko bug is:
https://bugzilla.mozilla.org/show_bug.cgi?id=1843902

The upstream PyYaml issue is:
yaml/pyyaml#601
  • Loading branch information
ahal committed Jul 17, 2023
1 parent 0863c6d commit ef51405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ appdirs>=1.4
cookiecutter~=2.1
json-e>=2.7
mozilla-repo-urls
PyYAML>=5.4
PyYAML>=5.3.1
redo>=2.0
requests>=2.25
requests_unixsocket>=0.2
Expand Down

0 comments on commit ef51405

Please sign in to comment.