Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    oprypin
    @oprypin:matrix.org
    [m]
    why cherry-pick again
    pawamoy
    @pawamoy:matrix.org
    [m]
    ok lets go
    pawamoy
    @pawamoy:matrix.org
    [m]
    done
    pawamoy
    @pawamoy:matrix.org
    [m]
    you want to add docs in this PR?
    in another is fine to me
    (not mandatorily by you ^^)
    oprypin
    @oprypin:matrix.org
    [m]
    i've done too much writing today already lol
    pawamoy
    @pawamoy:matrix.org
    [m]
    code? :)
    or something else
    pawamoy
    @pawamoy:matrix.org
    [m]
    oh I see, reading your post
    oprypin
    @oprypin:matrix.org
    [m]
    uh oh, now the latest release isn't compatible with the newly-released mkdocs 1.2
    oprypin
    @oprypin:matrix.org
    [m]
    also: i don't know how people tolerate mypy, it just has so many longstanding annoyances
    anyway, the fix is mkdocstrings/mkdocstrings#294
    and i'm afraid another fast release will be needed because people will soon rush in with complaints that livereload can't be imported
    oprypin
    @oprypin:matrix.org
    [m]
    wow i'm looking at https://github.com/pdm-project/tox-pdm and i think i'm finally sold on tox
    i think i'll be able to replace my shitty shell scripts
    pawamoy
    @pawamoy:matrix.org
    [m]
    I used tox a lot in the past
    and got sick of it for some reasons
    that I partially forgot
    I think they were:
    • general slowness
    • uncontrollable output (can be very verbose, and I'm a big fan of minimalist output)
    • too many implicit things
    • ini format for the configuration file
    • dependencies split between pyproject (setup.py+requirements.txt at the time) and tox config file
    but yeah, I'm still very attracted to a robust solution for testing on multiple Python versions easily
    and more than that, tools like tox and nox also allow testing on multiple versions of libraries
    which was critical for django apps, maybe less for "simple" python libs
    but still very convenient
    I just can't stand the general slowness of creating (even when reusing) sub-virtualenvs for each session
    pawamoy
    @pawamoy:matrix.org
    [m]
    so I stick with my own shitty shell scripts and my own task runner :D
    pawamoy
    @pawamoy:matrix.org
    [m]
    tox-pdm probably addresses some of these concerns, I should try it
    about mypy: yeah I often get annoyed by it, but didn't take the time to try the alternatives
    pawamoy
    @pawamoy:matrix.org
    [m]
    it also detects potential bugs quite often so I'm grateful
    (optional vars being used as if they were not optional, mainly)
    oprypin
    @oprypin:matrix.org
    [m]
    i was actually looking for some solution that tests at all oldest specified versions of libraries. but didn't find anything automatic
    instead i have some hacks to edit the actual pyproject file.
    Thurston Sexton
    @tbsexton

    hey guys, didn't see any prev issues on this, may be a quick fix:

    dev with poetry, but getting a strange error for livereload:

    > poetry run mkdocs build
    Traceback (most recent call last):
     [...]
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 783, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/tbsexton/.cache/pypoetry/virtualenvs/nist-nestor-WVgBj2ez-py3.8/lib/python3.8/site-packages/mkdocstrings/__init__.py", line 17, in <module>
        from mkdocstrings.plugin import MkdocstringsPlugin
        File "/home/tbsexton/.cache/pypoetry/virtualenvs/nist-nestor-WVgBj2ez-py3.8/lib/python3.8/site-packages/mkdocstrings/plugin.py", line 29, in <module>
        from livereload import Server
    ModuleNotFoundError: No module named 'livereload'
    (truncated for length)
    mrokita
    @michalrokita:matrix.org
    [m]
    Hey, it's weird, but after a quick search I found this: mkdocs/mkdocs#1150
    oprypin
    @oprypin:matrix.org
    [m]
    @tbsexton: you need to update mkdocstrings version if you updated mkdocs version
    Thurston Sexton
    @tbsexton
    thanks guys! I see now, my poetry had pinned the mkdocstrings version to ^0.13.4 on auto which explains why it wasn't updating
    Timothée Mazzucotelli
    @pawamoy
    hey @oprypin:matrix.org what's up!
    nice seeing you taking care of mkdocs ^^
    can we merge mkdocstrings/autorefs#10 ?
    oprypin
    @oprypin:matrix.org
    [m]
    @pawamoy: the dude's still not giving me access though
    im so pissed
    Timothée Mazzucotelli
    @pawamoy
    yeah its taking some time haha
    but you'll get the access eventually I believe!
    oprypin
    @oprypin:matrix.org
    [m]
    yeah so we can merge
    Timothée Mazzucotelli
    @pawamoy
    heeeeeeeeeeeeeeeeeeeey
    2 replies
    long time no see
    congrats on your mkdocs release
    I saw that haha, still stalking even if I'm not active at all these days
    pawamoy
    @pawamoy:matrix.org
    [m]
    I'm gonna release mkdocs-autorefs 0.3.0