Skip to content

docs: update python packages to work with Python 3.10#2286

Merged
jpsim merged 1 commit intomainfrom
docs-update-python-packages-to-work-with-python-3.10
May 17, 2022
Merged

docs: update python packages to work with Python 3.10#2286
jpsim merged 1 commit intomainfrom
docs-update-python-packages-to-work-with-python-3.10

Conversation

@jpsim
Copy link
Contributor

@jpsim jpsim commented May 17, 2022

Using the script from https://www.peterdebelak.com/blog/generating-a-fully-qualified-and-hashed-requirements-file/ to generate hashes.

docker run -it -v `pwd`:`pwd` -w `pwd` envoyproxy/envoy-build-ubuntu:0a02a76af5951bf7f4c7029c0ea6d29d96c0f682 bash
cd docs
virtualenv --python=/usr/bin/python3.10 venv
. venv/bin/activate
curl -O https://gitlab.com/pdebelak/dotfiles/-/raw/83082cd567f5edd4da90d2297246af9c42b98397/scripts/pip-hash-freeze
chmod +x pip-hash-freeze
pip3 install -U sphinx sphinx_rtd_theme sphinxcontrib-httpdomain
pip3 freeze > requirements.txt
./pip-hash-freeze requirements.txt >frozen-requirements.txt
mv frozen-requirements.txt requirements.txt
rm pip-hash-freeze

Using the script from
https://www.peterdebelak.com/blog/generating-a-fully-qualified-and-hashed-requirements-file/
to generate hashes.

```
docker run -it -v `pwd`:`pwd` -w `pwd` envoyproxy/envoy-build-ubuntu:0a02a76af5951bf7f4c7029c0ea6d29d96c0f682 bash
cd docs
virtualenv --python=/usr/bin/python3.10 venv
. venv/bin/activate
curl -O https://gitlab.com/pdebelak/dotfiles/-/raw/83082cd567f5edd4da90d2297246af9c42b98397/scripts/pip-hash-freeze
chmod +x pip-hash-freeze
pip3 install -U sphinx sphinx_rtd_theme sphinxcontrib-httpdomain
pip3 freeze > requirements.txt
./pip-hash-freeze requirements.txt >frozen-requirements.txt
mv frozen-requirements.txt requirements.txt
rm pip-hash-freeze
```

Signed-off-by: JP Simard <jp@jpsim.com>
Copy link
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ci willing :-)

@jpsim jpsim marked this pull request as ready for review May 17, 2022 15:08
@jpsim jpsim merged commit 0d69177 into main May 17, 2022
@jpsim jpsim deleted the docs-update-python-packages-to-work-with-python-3.10 branch May 17, 2022 15:08
@jpsim
Copy link
Contributor Author

jpsim commented May 17, 2022

jpsim added a commit that referenced this pull request May 17, 2022
* origin/main: (97 commits)
  docs: update python packages to work with Python 3.10 (#2286)
  test: adding a cancel test, cleaning up copy-paste code (#2283)
  envoy: update to d88f31b (#2279)
  api: disallow setting 'host' header directly (#2275)
  android: add support for registering a platform KV store (#2134)
  Bump Lyft Support Rotation (#2278)
  tools: Enable the VSCode completion db to use bazelisk if available (#2277)
  Release v0.4.6.20220513-4
  Fix android_release_deploy
  Release v0.4.6.20220513-3
  Release v0.4.6.20220513-2
  net: enable happy eyeballs by default (#2272)
  git: avoid merge conflicts when adding changelog entries (#2273)
  docs: fix sphinx reference mismatch warning (#2274)
  tests: add -Xcheck:jni to kotlin integration tests by default (#2269)
  configuration: enable h2 ping by default (#2270)
  Add version history entries for user-facing changes (#2271)
  configuration: filter unroutable addresses on Android by default (#2267)
  Integrate rules_xcodeproj (#2263)
  Add assert when failing to get_env (#2253)
  ...

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request May 17, 2022
…rash-in-provisionaldispatcher-again

* origin/main:
  tools: use `bazelw` bazel wrapper in `vscode_compdb.sh` (#2284)
  ci: add scheduled job to update Envoy weekly (#2282)
  docs: update python packages to work with Python 3.10 (#2286)
  test: adding a cancel test, cleaning up copy-paste code (#2283)

Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants