home.social

#setuptools — Public Fediverse posts

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

  1. Es ist unfassbar, wie viele compatibility layers man installieren muss, um #Keras in #R zum laufen zu bringen.

    Ich weiß schon, dass manche #Quants #Python nicht mögen, aber c'mon, ich habe gerade ein #JavaSDK installiert, um die #setuptools für den r-Keras-Wrapper aufsetzen zu können. Reeeeeaaaaaly?! 🧐

  2. Es ist unfassbar, wie viele compatibility layers man installieren muss, um #Keras in #R zum laufen zu bringen.

    Ich weiß schon, dass manche #Quants #Python nicht mögen, aber c'mon, ich habe gerade ein #JavaSDK installiert, um die #setuptools für den r-Keras-Wrapper aufsetzen zu können. Reeeeeaaaaaly?! 🧐

  3. Es ist unfassbar, wie viele compatibility layers man installieren muss, um #Keras in #R zum laufen zu bringen.

    Ich weiß schon, dass manche #Quants #Python nicht mögen, aber c'mon, ich habe gerade ein #JavaSDK installiert, um die #setuptools für den r-Keras-Wrapper aufsetzen zu können. Reeeeeaaaaaly?! 🧐

  4. Es ist unfassbar, wie viele compatibility layers man installieren muss, um #Keras in #R zum laufen zu bringen.

    Ich weiß schon, dass manche #Quants #Python nicht mögen, aber c'mon, ich habe gerade ein #JavaSDK installiert, um die #setuptools für den r-Keras-Wrapper aufsetzen zu können. Reeeeeaaaaaly?! 🧐

  5. #Python is just doing great. We're not having impossible constraints, as some projects need old #setuptools for pkg_resources, and other projects are starting to require newer setuptools for some fancy new features. And ofc after promising to release pkg_resources standalone over a month ago, setuptools upstream didn't deliver.

    github.com/pypa/setuptools/iss

    #Gentoo

  6. Aaand we're seeing the first '#setuptools < 82' runtime dependencies in random packages because they are trying hard to workaround breakage due to pkg_resources removal.

    #Python

  7. El mismo síntoma, pero meses después. Ahora es una actualización de setuptools la que genera el error del módulo pkg_resource no encontrado. Si presentas este problema, debes fijar la versión de setuptools en 81 o anterior.

    cosmoscalibur.com/es/blog/2025

    #python #setuptools #pkg_resource

  8. El mismo síntoma, pero meses después. Ahora es una actualización de setuptools la que genera el error del módulo pkg_resource no encontrado. Si presentas este problema, debes fijar la versión de setuptools en 81 o anterior.

    cosmoscalibur.com/es/blog/2025

    #python #setuptools #pkg_resource

  9. El mismo síntoma, pero meses después. Ahora es una actualización de setuptools la que genera el error del módulo pkg_resource no encontrado. Si presentas este problema, debes fijar la versión de setuptools en 81 o anterior.

    cosmoscalibur.com/es/blog/2025

    #python #setuptools #pkg_resource

  10. El mismo síntoma, pero meses después. Ahora es una actualización de setuptools la que genera el error del módulo pkg_resource no encontrado. Si presentas este problema, debes fijar la versión de setuptools en 81 o anterior.

    cosmoscalibur.com/es/blog/2025

    #python #setuptools #pkg_resource

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

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

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

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

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

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

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

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

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

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

  21. Accessing github from work is annoying.

    I hope someone else in the world files a bug soon on flake8 not being compatible with a fresh python 3.12+ virtualenv, now that setuptools 82 is out and flake8 is still using the deprecated (now removed) pkg_resources.

    #flake8 #python #setuptools

  22. happy `ModuleNotFoundError: No module named 'pkg_resources’` day to all who celebrate #setuptools

  23. I hear that #Python folk are going to enjoy their Monday.

    setuptools.pypa.io/en/stable/h

    Yep, #setuptools removed pkg_resources.

    Thanks to Eli Schwartz for the advance warning. We're going to mask it in #Gentoo.

    EDIT: I've started a DPO thread for this: discuss.python.org/t/pkg-resou

  24. I need some help packaging a python module that I built. It references a few different python files, and .csv within the folder structure, and searching leads me to examples/tutorials that are either too simple, or way too complex. I can't find anything bridging the gap.

    Any blogs, courses, tutorial, or even as a last resort youtube videos, that may help me out? #python #packaging #flit #setuptools #hatchling

    The project that I'm trying to package is here - git.jmkengineering.com/JMK_Eng

  25. I need some help packaging a python module that I built. It references a few different python files, and .csv within the folder structure, and searching leads me to examples/tutorials that are either too simple, or way too complex. I can't find anything bridging the gap.

    Any blogs, courses, tutorial, or even as a last resort youtube videos, that may help me out? #python #packaging #flit #setuptools #hatchling

    The project that I'm trying to package is here - git.jmkengineering.com/JMK_Eng

  26. I need some help packaging a python module that I built. It references a few different python files, and .csv within the folder structure, and searching leads me to examples/tutorials that are either too simple, or way too complex. I can't find anything bridging the gap.

    Any blogs, courses, tutorial, or even as a last resort youtube videos, that may help me out? #python #packaging #flit #setuptools #hatchling

    The project that I'm trying to package is here - git.jmkengineering.com/JMK_Eng

  27. I need some help packaging a python module that I built. It references a few different python files, and .csv within the folder structure, and searching leads me to examples/tutorials that are either too simple, or way too complex. I can't find anything bridging the gap.

    Any blogs, courses, tutorial, or even as a last resort youtube videos, that may help me out? #python #packaging #flit #setuptools #hatchling

    The project that I'm trying to package is here - git.jmkengineering.com/JMK_Eng

  28. I need some help packaging a python module that I built. It references a few different python files, and .csv within the folder structure, and searching leads me to examples/tutorials that are either too simple, or way too complex. I can't find anything bridging the gap.

    Any blogs, courses, tutorial, or even as a last resort youtube videos, that may help me out? #python #packaging #flit #setuptools #hatchling

    The project that I'm trying to package is here - git.jmkengineering.com/JMK_Eng

  29. Last week I was a little annoyed about missing Microsoft C++ Build Tools #MSVC on a system without admin rights. I needed a compiler for building the #python C++ extension I developed a while ago. Annoyed not because I could not ask someone to install it for me, but annoyed because of the lack of compiler choices in this particular case. I have to use the MSVC instead of let's say #g++ which I could easily install via the #MinGW-w64 #conda package myself.

    I found out that I can tell #setuptools (the backend build system) via #pip config settings to use a different compiler during build:

  30. @stfn @cofiem @bkim If versioning via `pyproject.toml`is a concern then you might want to take a look at `setuptools_scm` which takes care of that via Git tags.

    Workflow then becomes quite simple...

    1. tag a commit
    2. tag triggers CI to build and publish package (conditional on format of tag matching a pattern e.g. `v*`)

    setuptools-scm.readthedocs.io/

    GitHub example (should be adaptable to Woodpecker)

    github.com/AFM-SPM/TopoStats/b

    (check `pyproject.toml` in that repo too).

    #python #setuptools

  31. Some users reported that the #Dirsearch installer in bashcore-injector failed on #Debian 13.1.

    The issue was a mix of packages: #pip from #APT vs #setuptools installed via pip, causing uninstall-no-record-file errors when pip tried to upgrade.

    Fixed the script to handle this properly.

    Updated bashcore-injector.tar.gz is now available at bashcore.org

    #Linux #BashCore

  32. Some users reported that the #Dirsearch installer in bashcore-injector failed on #Debian 13.1.

    The issue was a mix of packages: #pip from #APT vs #setuptools installed via pip, causing uninstall-no-record-file errors when pip tried to upgrade.

    Fixed the script to handle this properly.

    Updated bashcore-injector.tar.gz is now available at bashcore.org

    #Linux #BashCore

  33. Some users reported that the #Dirsearch installer in bashcore-injector failed on #Debian 13.1.

    The issue was a mix of packages: #pip from #APT vs #setuptools installed via pip, causing uninstall-no-record-file errors when pip tried to upgrade.

    Fixed the script to handle this properly.

    Updated bashcore-injector.tar.gz is now available at bashcore.org

    #Linux #BashCore

  34. Some users reported that the #Dirsearch installer in bashcore-injector failed on #Debian 13.1.

    The issue was a mix of packages: #pip from #APT vs #setuptools installed via pip, causing uninstall-no-record-file errors when pip tried to upgrade.

    Fixed the script to handle this properly.

    Updated bashcore-injector.tar.gz is now available at bashcore.org

    #Linux #BashCore

  35. Some users reported that the #Dirsearch installer in bashcore-injector failed on #Debian 13.1.

    The issue was a mix of packages: #pip from #APT vs #setuptools installed via pip, causing uninstall-no-record-file errors when pip tried to upgrade.

    Fixed the script to handle this properly.

    Updated bashcore-injector.tar.gz is now available at bashcore.org

    #Linux #BashCore

  36. Our August 2025 Debian Contributions report is out! We have updates on preparing for the setup.py install deprecation in setuptools, Salsa CI, the Debian 13 “trixie” release and more.

    Full report here: freexian.com/blog/debian-contr

    We thank the organizations subscribing to our Long Term Support contracts (freexian.com/lts/) and consulting services (freexian.com/services/) for making this possible.

    #freexian #debian #trixie #setuptools #salsaci

  37. Our August 2025 Debian Contributions report is out! We have updates on preparing for the setup.py install deprecation in setuptools, Salsa CI, the Debian 13 “trixie” release and more.

    Full report here: freexian.com/blog/debian-contr

    We thank the organizations subscribing to our Long Term Support contracts (freexian.com/lts/) and consulting services (freexian.com/services/) for making this possible.

    #freexian #debian #trixie #setuptools #salsaci

  38. Our August 2025 Debian Contributions report is out! We have updates on preparing for the setup.py install deprecation in setuptools, Salsa CI, the Debian 13 “trixie” release and more.

    Full report here: freexian.com/blog/debian-contr

    We thank the organizations subscribing to our Long Term Support contracts (freexian.com/lts/) and consulting services (freexian.com/services/) for making this possible.

  39. Our August 2025 Debian Contributions report is out! We have updates on preparing for the setup.py install deprecation in setuptools, Salsa CI, the Debian 13 “trixie” release and more.

    Full report here: freexian.com/blog/debian-contr

    We thank the organizations subscribing to our Long Term Support contracts (freexian.com/lts/) and consulting services (freexian.com/services/) for making this possible.

    #freexian #debian #trixie #setuptools #salsaci

  40. Our August 2025 Debian Contributions report is out! We have updates on preparing for the setup.py install deprecation in setuptools, Salsa CI, the Debian 13 “trixie” release and more.

    Full report here: freexian.com/blog/debian-contr

    We thank the organizations subscribing to our Long Term Support contracts (freexian.com/lts/) and consulting services (freexian.com/services/) for making this possible.

    #freexian #debian #trixie #setuptools #salsaci

  41. [Перевод] Что с Python? Меньше производительности, никакого сахара и больше багов

    Python продолжает меняться, но не всегда так, как ждёт сообщество. Новый синтаксический сахар отклоняют, прирост производительности оказывается скромнее обещанного, а очередные депрекации в setuptools ломают проекты. При этом экосистема получает долгожданный стандартный lock-файл и поддержку uv в Dependabot. В статье разбираем, что это значит на практике и почему начинающим Python-разработчикам важно следить за этими изменениями.

    habr.com/ru/companies/otus/art

    #python #Python_314 #производительность_Python #pep #синтаксический_сахар #зависимости #setuptools #Dependabot

  42. Dziś ktoś pytał w temacie walki z ostrzeżeniami o "przestarzałej" funkcjonalności w #setuptools (w #Gentoo zbieramy je i wypisujemy ponownie, więc ludzie faktycznie mogą je zauważyć). Myślę, że moją najlepszą podpowiedzią było: użyj innego systemu budowania.

    #Python #PEP517

  43. Dziś ktoś pytał w temacie walki z ostrzeżeniami o "przestarzałej" funkcjonalności w #setuptools (w #Gentoo zbieramy je i wypisujemy ponownie, więc ludzie faktycznie mogą je zauważyć). Myślę, że moją najlepszą podpowiedzią było: użyj innego systemu budowania.

    #Python #PEP517

  44. Dziś ktoś pytał w temacie walki z ostrzeżeniami o "przestarzałej" funkcjonalności w #setuptools (w #Gentoo zbieramy je i wypisujemy ponownie, więc ludzie faktycznie mogą je zauważyć). Myślę, że moją najlepszą podpowiedzią było: użyj innego systemu budowania.

    #Python #PEP517

  45. Dziś ktoś pytał w temacie walki z ostrzeżeniami o "przestarzałej" funkcjonalności w #setuptools (w #Gentoo zbieramy je i wypisujemy ponownie, więc ludzie faktycznie mogą je zauważyć). Myślę, że moją najlepszą podpowiedzią było: użyj innego systemu budowania.

    #Python #PEP517

  46. Dziś ktoś pytał w temacie walki z ostrzeżeniami o "przestarzałej" funkcjonalności w #setuptools (w #Gentoo zbieramy je i wypisujemy ponownie, więc ludzie faktycznie mogą je zauważyć). Myślę, że moją najlepszą podpowiedzią było: użyj innego systemu budowania.

    #Python #PEP517

  47. Someone asked about fixing #setuptools deprecation warnings today (#Gentoo collects and reprints them, so people actually notice). I think my best hint is: use another build system.

    #Python #PEP517

  48. Someone asked about fixing #setuptools deprecation warnings today (#Gentoo collects and reprints them, so people actually notice). I think my best hint is: use another build system.

    #Python #PEP517

  49. Someone asked about fixing #setuptools deprecation warnings today (#Gentoo collects and reprints them, so people actually notice). I think my best hint is: use another build system.

    #Python #PEP517

  50. Someone asked about fixing #setuptools deprecation warnings today (#Gentoo collects and reprints them, so people actually notice). I think my best hint is: use another build system.

    #Python #PEP517