Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecations in "sync the docs" workflow #337

Open
tdyas opened this issue Mar 4, 2025 · 0 comments
Open

deprecations in "sync the docs" workflow #337

tdyas opened this issue Mar 4, 2025 · 0 comments

Comments

@tdyas
Copy link
Contributor

tdyas commented Mar 4, 2025

https://github.com/pantsbuild/pantsbuild.org/actions/runs/13659591213/job/38187362969#step:3:12

From "General help JSON" step:

Bootstrapping Pants 2.26.0.dev7
Installing pantsbuild.pants==2.26.0.dev7 into a virtual environment at /home/runner/.cache/nce/6d61748cea187199dc28418157b2121ccbbb44e4af2ee6fddf8c04bbed73f76d/bindings/venvs/2.26.0.dev7
New virtual environment successfully created at /home/runner/.cache/nce/6d61748cea187199dc28418157b2121ccbbb44e4af2ee6fddf8c04bbed73f76d/bindings/venvs/2.26.0.dev7
17:38:43.15 [INFO] Initializing scheduler...
17:38:43.26 [INFO] Scheduler initialized.
17:38:45.86 [WARN] /home/runner/.cache/nce/6d61748cea187199dc28418157b2121ccbbb44e4af2ee6fddf8c04bbed73f76d/bindings/venvs/2.26.0.dev7/lib/python3.11/site-packages/pants/backend/openapi/sample/resources.py:8: DeprecationWarning: read_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
  PETSTORE_SAMPLE_SPEC = pkg_resources.read_text(sample.__name__, "petstore_spec.yaml")
17:38:45.86 [WARN] /home/runner/.cache/nce/78b1c16a9fd032997ba92a60f46a64f795cd18ff335659dfdf6096df277b24d5/cpython-3.11.9+20240415-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.11/importlib/resources/_legacy.py:80: DeprecationWarning: open_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
  with open_text(package, resource, encoding, errors) as fp:
17:38:46.09 [WARN] DEPRECATED: The autoflake plugin has moved to `pants.backend.python.lint.autoflake` (and from the `fmt` goal to the `fix` goal).
17:38:46.10 [WARN] DEPRECATED: The pyupgrade plugin has moved to `pants.backend.python.lint.pyupgrade` (and from the `fmt` goal to the `fix` goal).
17:38:46.92 [INFO] Initialization options changed: reinitializing scheduler...
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

No branches or pull requests

1 participant