GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:05:22 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️

    Critically this works because uv itself doesn't depend on Python, effectively short-circuiting the circular dependency of needing Python to manage Python.

    That in turn is made easier because uv is written in Rust, which is really nice for making platform-neutral CLIs with very few dynamic library dependencies.

    https://mastodon.social/@tintvrtkovic/113624029759144252

    In conversation about 6 months ago from wandering.shop permalink

    Attachments


    1. https://stockroom.wandering.shop/media_attachments/files/113/630/786/034/651/623/original/ec9199808d730e23.png
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:05:42 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      So Rust makes it easier to install Python, which makes it easier to install Rust. What a world.

      In conversation about 6 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:12:53 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      By comparison, libmambapy, has 37 dynamic dependencies, including stuff like libyaml-cpp, libssh2, libxml2, and so forth. All great once you have everything up and running, but does make it harder to have a very minimal point to start your bootstrapping.

      ```

      $ docker run -it --rm condaforge/miniforge3:latest bash -c "ldd /opt/conda/lib/python3.12/site-packages/libmambapy/bindings.cpython-312-x86_64-linux-gnu.so | wc"
      37 144 3933
      ```

      In conversation about 6 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:16:11 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      Between nix-shell and uv, I don't have a user-local Python on my PATH at *all* now, and everything is just perfectly fine. I haven't even noticed in over a year that all I have on my path is /usr/bin/python3.

      In conversation about 6 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:17:13 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      Anyway, my advice to Python newcomers no longer starts with "install Python," which is cool.

      In conversation about 6 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:20:59 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to

      The above thread can also be read as a plea for Python library authors to stop making setup.py files and get on board with pyproject.toml instead. That is a correct reading.

      In conversation about 6 months ago permalink

      Attachments


    • Embed this notice
      Glyph (glyph@mastodon.social)'s status on Wednesday, 11-Dec-2024 07:36:20 JST Glyph Glyph
      in reply to

      @xgranade *cries in py2app*

      In conversation about 6 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:36:20 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to
      • Glyph

      @glyph Ooooof.

      In conversation about 6 months ago permalink
    • Embed this notice
      Glyph (glyph@mastodon.social)'s status on Wednesday, 11-Dec-2024 07:40:35 JST Glyph Glyph
      in reply to

      @xgranade never let it be said that I am not _ruthlessly_ committed to the bit, though: https://github.com/glyph/Pomodouroboros/blob/6af247c8e4a4d7700edcabbf7984af20d05a74fb/py2app_setup.py https://github.com/glyph/Pomodouroboros/blob/6af247c8e4a4d7700edcabbf7984af20d05a74fb/pyproject.toml

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: repository-images.githubusercontent.com
        Pomodouroboros/py2app_setup.py at 6af247c8e4a4d7700edcabbf7984af20d05a74fb · glyph/Pomodouroboros
        Pomodoro timer that acknowledges the inexorable, infinite passage of time - glyph/Pomodouroboros
      2. Domain not in remote thumbnail source whitelist: repository-images.githubusercontent.com
        Pomodouroboros/pyproject.toml at 6af247c8e4a4d7700edcabbf7984af20d05a74fb · glyph/Pomodouroboros
        Pomodoro timer that acknowledges the inexorable, infinite passage of time - glyph/Pomodouroboros
    • Embed this notice
      Glyph (glyph@mastodon.social)'s status on Wednesday, 11-Dec-2024 07:40:35 JST Glyph Glyph
      in reply to

      @xgranade (pretty sure that this _shouldn't_ work, and yet…)

      In conversation about 6 months ago permalink
    • Embed this notice
      Cassandra Granade 🏳️‍⚧️ (xgranade@wandering.shop)'s status on Wednesday, 11-Dec-2024 07:40:35 JST Cassandra Granade 🏳️‍⚧️ Cassandra Granade 🏳️‍⚧️
      in reply to
      • Glyph

      @glyph How in the.... wait... what?

      In conversation about 6 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.