Commit Graph
11 Commits
Author SHA1 Message Date
ahochheiden e30a941da8 Bug 1843902 - Vendor PyYAML at version 6.0.1 r=ahal
There's a `Cython` issue (https://github.com/yaml/pyyaml/issues/601) with `PyYAML` that breaks our `./mach vendor python` in versions of PyYAML `>5.3.1` and `=<6.0`. This issue has been resolved with `PyYAML` version `6.0.1`, and we can just safely upgrade to it (rather than downgrading to `5.3.1` (which has other issues).

Differential Revision: https://phabricator.services.mozilla.com/D183818
2023-07-18 15:09:10 +00:00
Cristina Horotan d4b7740034 Backed out 2 changesets (bug 1843902, bug 1839891) for causing pyton related build bustages CLOSED TREE
Backed out changeset bafc35ec5ecd (bug 1843902)
Backed out changeset 7a0483c6c4c0 (bug 1839891)
2023-07-17 22:56:42 +03:00
Andrew Halberstadt e14934d5a8 Bug 1843902 - Downgrade PyYAML to version 5.3.1, r=ahochheiden
This also upgrades to Taskgraph 5.6.2 which relaxes its PyYAML constraint to
>=5.3.1 to avoid conflicts.

Depends on D181899

Differential Revision: https://phabricator.services.mozilla.com/D183777
2023-07-17 19:25:08 +00:00
Mitchell Hentges 0578ee419f Bug 1698616: Bump python dependencies r=firefox-build-system-reviewers,glandium
Did you know that our version of requests was from 2015? Phwoar!
This bumps `jinja2`, `py`, `pyyaml`, `requests` and `urllib3`.
There's significant risk for regressions due to breaking changes,
though due to the dynamic nature of Python, they're tricky to track
down.

The potential breaking changes I'm expecting to potentially affect
us are:

* `[email protected].0`: No longer accepts non-strings as header values.
* `[email protected].0`: `requests.packages` namespace was removed due to
  packages no longer being vendored. The namespace has been
  incrementally restored over future releases, but it's unclear to
  what degree.
* `[email protected].0`: Redirect resolution now only happens when
  `allow_redirects` is `True`.
* `requests` version of `urllib3` was bumped from `1.13.1` to `1.26`,
  unsure what repercussions that will have.

This also added dependencies to `flake8_requirements`. This is because
the vendored `importlib-metadata` update (and the new
`typing-extensions` dependency) is found by `pip`, but the
vendored `typing-extensions` is _not_ discovered (perhaps due to
details around "eggs" and the way we add vendored code to the sys.path).
So, `pip` tries to install it manually and fails when it finds no hash.
By re-compiling `flake8_requirements`, the necessary hashes are made
available.

Differential Revision: https://phabricator.services.mozilla.com/D108526
2021-05-04 20:43:26 +00:00
imoraru c2ca854f48 Backed out changeset b413fce77522 (bug 1698616) for breaking mach commands (bug 1706456). a=backout 2021-04-21 14:16:08 +03:00
Mitchell Hentges f4dc13ec6a Bug 1698616: Bump python dependencies r=firefox-build-system-reviewers,glandium
Did you know that our version of requests was from 2015? Phwoar!
This bumps `jinja2`, `py`, `pyyaml`, `requests` and `urllib3`.
There's significant risk for regressions due to breaking changes,
though due to the dynamic nature of Python, they're tricky to track
down.

The potential breaking changes I'm expecting to potentially affect
us are:

* `[email protected].0`: No longer accepts non-strings as header values.
* `[email protected].0`: `requests.packages` namespace was removed due to
  packages no longer being vendored. The namespace has been
  incrementally restored over future releases, but it's unclear to
  what degree.
* `[email protected].0`: Redirect resolution now only happens when
  `allow_redirects` is `True`.
* `requests` version of `urllib3` was bumped from `1.13.1` to `1.26`,
  unsure what repercussions that will have.

This also added dependencies to `flake8_requirements`. This is because
the vendored `importlib-metadata` update (and the new
`typing-extensions` dependency) is found by `pip`, but the
vendored `typing-extensions` is _not_ discovered (perhaps due to
details around "eggs" and the way we add vendored code to the sys.path).
So, `pip` tries to install it manually and fails when it finds no hash.
By re-compiling `flake8_requirements`, the necessary hashes are made
available.

Differential Revision: https://phabricator.services.mozilla.com/D108526
2021-04-20 13:57:47 +00:00
Dorel Luca 0b64416a95 Backed out changeset e1081a34e85c (bug 1698616) for Gecko Decision task failure. CLOSED TREE 2021-04-20 04:07:47 +03:00
Mitchell Hentges 0293ab22c3 Bug 1698616: Bump python dependencies r=firefox-build-system-reviewers,glandium
Did you know that our version of requests was from 2015? Phwoar!
This bumps `jinja2`, `py`, `pyyaml`, `requests` and `urllib3`.
There's significant risk for regressions due to breaking changes,
though due to the dynamic nature of Python, they're tricky to track
down.

The potential breaking changes I'm expecting to potentially affect
us are:

* `[email protected].0`: No longer accepts non-strings as header values.
* `[email protected].0`: `requests.packages` namespace was removed due to
  packages no longer being vendored. The namespace has been
  incrementally restored over future releases, but it's unclear to
  what degree.
* `[email protected].0`: Redirect resolution now only happens when
  `allow_redirects` is `True`.
* `requests` version of `urllib3` was bumped from `1.13.1` to `1.26`,
  unsure what repercussions that will have.

Differential Revision: https://phabricator.services.mozilla.com/D108526
2021-04-19 23:17:01 +00:00
Bogdan Tara 766d9d42af Backed out changeset 0de04343f5c5 (bug 1698616) for gecko decision failure CLOSED TREE 2021-04-14 19:49:22 +03:00
Mitchell Hentges ae51995541 Bug 1698616: Bump python dependencies r=firefox-build-system-reviewers,glandium
Did you know that our version of requests was from 2015? Phwoar!
This bumps `jinja2`, `py`, `pyyaml`, `requests` and `urllib3`.
There's significant risk for regressions due to breaking changes,
though due to the dynamic nature of Python, they're tricky to track
down.

The potential breaking changes I'm expecting to potentially affect
us are:

* `[email protected].0`: No longer accepts non-strings as header values.
* `[email protected].0`: `requests.packages` namespace was removed due to
  packages no longer being vendored. The namespace has been
  incrementally restored over future releases, but it's unclear to
  what degree.
* `[email protected].0`: Redirect resolution now only happens when
  `allow_redirects` is `True`.
* `requests` version of `urllib3` was bumped from `1.13.1` to `1.26`,
  unsure what repercussions that will have.

Differential Revision: https://phabricator.services.mozilla.com/D108526
2021-04-14 15:36:11 +00:00
Sylvestre Ledru bee2f4cf76 Bug 1646405 - Rename pyyaml to PyYAML for vendering r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D80022
2020-06-18 19:40:13 +00:00