Skip to content

deprecations in "sync the docs" workflow #337

@tdyas

Description

@tdyas

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions