home.social

#pkg_resources — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pkg_resources, aggregated by home.social.

  1. Lessons from this week's removal of the #pkg_resources module:

    - If you don't use the `--no-build-isolation` argument of `pip install`, then `--require-hashes` is only partly effective and your builds may break whenever incompatible changes are made to #setuptools or other build dependencies.

    - If you use `--no-build-isolation`, you need multiple `pip install` calls: first for all the needed build dependencies (a.k.a. `setup_requires`), then for the packages you actually want.

    #Python #pip

  2. Lessons from this week's removal of the #pkg_resources module:

    - If you don't use the `--no-build-isolation` argument of `pip install`, then `--require-hashes` is only partly effective and your builds may break whenever incompatible changes are made to #setuptools or other build dependencies.

    - If you use `--no-build-isolation`, you need multiple `pip install` calls: first for all the needed build dependencies (a.k.a. `setup_requires`), then for the packages you actually want.

    #Python #pip

  3. Lessons from this week's removal of the #pkg_resources module:

    - If you don't use the `--no-build-isolation` argument of `pip install`, then `--require-hashes` is only partly effective and your builds may break whenever incompatible changes are made to #setuptools or other build dependencies.

    - If you use `--no-build-isolation`, you need multiple `pip install` calls: first for all the needed build dependencies (a.k.a. `setup_requires`), then for the packages you actually want.

    #Python #pip

  4. Lessons from this week's removal of the #pkg_resources module:

    - If you don't use the `--no-build-isolation` argument of `pip install`, then `--require-hashes` is only partly effective and your builds may break whenever incompatible changes are made to #setuptools or other build dependencies.

    - If you use `--no-build-isolation`, you need multiple `pip install` calls: first for all the needed build dependencies (a.k.a. `setup_requires`), then for the packages you actually want.

    #Python #pip

  5. Lessons from this week's removal of the #pkg_resources module:

    - If you don't use the `--no-build-isolation` argument of `pip install`, then `--require-hashes` is only partly effective and your builds may break whenever incompatible changes are made to #setuptools or other build dependencies.

    - If you use `--no-build-isolation`, you need multiple `pip install` calls: first for all the needed build dependencies (a.k.a. `setup_requires`), then for the packages you actually want.

    #Python #pip

  6. Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.

    2021-04: Deprecate in docs (v56.0.0)
    github.com/pypa/setuptools/com

    2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
    github.com/pypa/setuptools/pul

    2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
    github.com/pypa/setuptools/pul

    2026-02: Remove (v82.0.0)
    github.com/pypa/setuptools/pul

    #Python #setuptools #pkg_resources

  7. Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.

    2021-04: Deprecate in docs (v56.0.0)
    github.com/pypa/setuptools/com

    2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
    github.com/pypa/setuptools/pul

    2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
    github.com/pypa/setuptools/pul

    2026-02: Remove (v82.0.0)
    github.com/pypa/setuptools/pul

    #Python #setuptools #pkg_resources

  8. Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.

    2021-04: Deprecate in docs (v56.0.0)
    github.com/pypa/setuptools/com

    2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
    github.com/pypa/setuptools/pul

    2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
    github.com/pypa/setuptools/pul

    2026-02: Remove (v82.0.0)
    github.com/pypa/setuptools/pul

    #Python #setuptools #pkg_resources

  9. Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.

    2021-04: Deprecate in docs (v56.0.0)
    github.com/pypa/setuptools/com

    2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
    github.com/pypa/setuptools/pul

    2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
    github.com/pypa/setuptools/pul

    2026-02: Remove (v82.0.0)
    github.com/pypa/setuptools/pul

    #Python #setuptools #pkg_resources

  10. Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.

    2021-04: Deprecate in docs (v56.0.0)
    github.com/pypa/setuptools/com

    2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
    github.com/pypa/setuptools/pul

    2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
    github.com/pypa/setuptools/pul

    2026-02: Remove (v82.0.0)
    github.com/pypa/setuptools/pul

    #Python #setuptools #pkg_resources

  11. A simple use case of pkg_resources.extern.packaging.tags and mac_platforms is to identify the platform (e.g., macOS) in a Python package.

    #python #pkg_resources #extern #packaging #tags

  12. A simple use case of pkg_resources.extern.packaging.tags and mac_platforms is to identify the platform (e.g., macOS) in a Python package.

    #python #pkg_resources #extern #packaging #tags

  13. A simple use case of pkg_resources.extern.packaging.tags and mac_platforms is to identify the platform (e.g., macOS) in a Python package.

    #python #pkg_resources #extern #packaging #tags

  14. A simple use case of pkg_resources.extern.packaging.tags and mac_platforms is to identify the platform (e.g., macOS) in a Python package.

    #python #pkg_resources #extern #packaging #tags

  15. A simple use case of pkg_resources.extern.packaging.tags and mac_platforms is to identify the platform (e.g., macOS) in a Python package.

    #python #pkg_resources #extern #packaging #tags