• Moving from appdirs to platformdirs

    From Scott Kitterman@21:1/5 to All on Wed Jun 21 08:41:52 2023
    It would be nice if we could reduce/eliminate use of appdirs during the Trixie development cycle. It's unmaintained and superseded by platformdirs. As far as I can tell, platformdirs is API compatible with appdirs, except the import path is different.

    As a result, switching does need some changes in the upstream code. This point in the development cycle is a good time to work with upstream to have them
    make the change upstream. I did this this week with xml2rfc, it was pretty painless, and will be included in the next release. As we approach the
    freeze, then I think we should shift to working on Debian specific changes.

    There's a list below of the affected packages (all of them, not just Debian Python packages). I don't intend to do a MBF now, but may do so later in the year (when hopefully the list will be shorter).

    Scott K

    Reverse-Testsuite-Triggers
    ==========================
    * mu-editor
    * pyspectral
    * python-ironicclient
    * python-mbed-ls
    * python-openstacksdk
    * satpy

    Reverse-Build-Depends
    =====================
    * datalad
    * defcon
    * genx
    * git-phab
    * glean-parser
    * intake
    * mu-editor
    * nuitka
    * nvchecker
    * ofxstatement
    * ofxstatement-plugins
    * openlp
    * openmotor
    * pako
    * platformdirs
    * plover
    * pyspectral
    * python-cobra
    * python-datacache
    * python-easydev
    * python-fissix
    * python-fs
    * python-lsp-rope
    * python-mbed-ls
    * python-requests-cache
    * python-rply
    * python-ulmo
    * pytoolconfig
    * rope
    * satpy
    * snakemake
    * telegram-send
    * xml2rfc
    * yowsup

    Reverse-Build-Depends-Indep
    ===========================
    * pydoctor
    * python-ironicclient
    * python-miio
    * python-openstacksdk
    * python-os-faults
    * python-smstrade
    * subliminal
    * urlwatch

    Reverse-Recommends
    ==================
    * python3-profitbricks

    Reverse-Depends
    ===============
    * crossgrader
    * git-phab
    * glean-parser
    * mu-editor
    * nuitka
    * nvchecker
    * ofxstatement
    * ofxstatement-plugins
    * openlp
    * openmotor
    * plover
    * printrun-common
    * pronsole
    * ptpython
    * pydoctor
    * python3-cobra
    * python3-datacache
    * python3-datalad
    * python3-easydev
    * python3-etesync
    * python3-fissix
    * python3-fs
    * python3-genx
    * python3-intake
    * python3-ironicclient
    * python3-libpysal
    * python3-mbed-ls
    * python3-miio
    * python3-openstacksdk
    * python3-os-faults
    * python3-pako
    * python3-pantalaimon
    * python3-pycuda
    * python3-pyopencl
    * python3-pyspectral
    * python3-pytools
    * python3-requests-cache
    * python3-rply
    * python3-satpy
    * python3-smstrade
    * python3-subliminal
    * python3-ulmo
    * python3-yowsup
    * snakemake
    * sqlfluff
    * telegram-send
    * urlwatch
    * xml2rfc

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAmSS8BAACgkQeNfe+5rV mvEKmg//TwSVoP3g/D5b7oUrGjRkXWqju2ICMnVSNAKjrFvDnLgY4KsZC0J7GfL3 +Rm7hhutFtMmraqrvVqzcP2M43H8fOOmwQHlZbAUKtcQX+r98qdMFyQ8QBciwbLs QeB5fpm+cQ+Hi4znpL2vs6AGCektBX7IBGUx0HQXzChz9tdxOPciaB70BVFTG84E DRhSPVt0FFt0c9R8chtosAghjJ2TqADDfPc6X+VTUot1qelTPujR4yuKpxIxTAC6 jB36pel+yQnqdO9Qs9qG1Qsu6WKO8IUhA0EDHlBDxGOujyq4KhC0hyrfjzofFDxT OJArfwioSDXcwTaIqruizVU0WqD6dM5sJsvJCKbuLq4Eh2aY7ruHkPx1muuVjQeq v72WpBcpD3xeOyHTmPR05UYYLsCHAZ59BBnMYlQ4y5CaHOA+o9Vm9pAw0tbSJfKE Zeax/CFnH1dtFhZIZ1KfmC7nr/SuCjJuBUyv0cmuW9Sl5IJXwXXrZqMkQnybJlm7 nejPSV9mYqjdKodXLRzCmT0CmzaE16W5105zlpQQGdw1qXIBOZw3axswVzeuJR64 /+odeEkWyy6keE0ox0Ld5I6AD5BeMOFnXEPe7RXqrmewTPRmXU58EQpn9Wz8yxop EbneBeqsvCOG9VrdR2ozhZIdp+DtLcmSwQnWZVgjWA/4Ro+5i7c=
    =mTag
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?RGFuaWFsIEJlaHphZGkg2K/Yp@21:1/5 to All on Wed Jun 21 15:00:01 2023
    ------F5JP76XLT1D0MS2QR0E5YJODQGWX8Q
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    +1

    در ۲۱ ژوئن ۲۰۲۳ ۱۲:۴۱:۵۲ (UTC)، Scott Kitterman <debian@kitterman.com> نوشت:
    It would be nice if we could reduce/eliminate use of appdirs during the Trixie
    development cycle. It's unmaintained and superseded by platformdirs. As far >as I can tell, platformdirs is API compatible with appdirs, except the import >path is different.

    As a result, switching does need some changes in the upstream code. This point
    in the development cycle is a good time to work with upstream to have them >make the change upstream. I did this this week with xml2rfc, it was pretty >painless, and will be included in the next release. As we approach the >freeze, then I think we should shift to working on Debian specific changes.

    There's a list below of the affected packages (all of them, not just Debian >Python packages). I don't intend to do a MBF now, but may do so later in the >year (when hopefully the list will be shorter).

    Scott K

    Reverse-Testsuite-Triggers
    ==========================
    * mu-editor
    * pyspectral
    * python-ironicclient
    * python-mbed-ls
    * python-openstacksdk
    * satpy

    Reverse-Build-Depends
    =====================
    * datalad
    * defcon
    * genx
    * git-phab
    * glean-parser
    * intake
    * mu-editor
    * nuitka
    * nvchecker
    * ofxstatement
    * ofxstatement-plugins
    * openlp
    * openmotor
    * pako
    * platformdirs
    * plover
    * pyspectral
    * python-cobra
    * python-datacache
    * python-easydev
    * python-fissix
    * python-fs
    * python-lsp-rope
    * python-mbed-ls
    * python-requests-cache
    * python-rply
    * python-ulmo
    * pytoolconfig
    * rope
    * satpy
    * snakemake
    * telegram-send
    * xml2rfc
    * yowsup

    Reverse-Build-Depends-Indep
    ===========================
    * pydoctor
    * python-ironicclient
    * python-miio
    * python-openstacksdk
    * python-os-faults
    * python-smstrade
    * subliminal
    * urlwatch

    Reverse-Recommends
    ==================
    * python3-profitbricks

    Reverse-Depends
    ===============
    * crossgrader
    * git-phab
    * glean-parser
    * mu-editor
    * nuitka
    * nvchecker
    * ofxstatement
    * ofxstatement-plugins
    * openlp
    * openmotor
    * plover
    * printrun-common
    * pronsole
    * ptpython
    * pydoctor
    * python3-cobra
    * python3-datacache
    * python3-datalad
    * python3-easydev
    * python3-etesync
    * python3-fissix
    * python3-fs
    * python3-genx
    * python3-intake
    * python3-ironicclient
    * python3-libpysal
    * python3-mbed-ls
    * python3-miio
    * python3-openstacksdk
    * python3-os-faults
    * python3-pako
    * python3-pantalaimon
    * python3-pycuda
    * python3-pyopencl
    * python3-pyspectral
    * python3-pytools
    * python3-requests-cache
    * python3-rply
    * python3-satpy
    * python3-smstrade
    * python3-subliminal
    * python3-ulmo
    * python3-yowsup
    * snakemake
    * sqlfluff
    * telegram-send
    * urlwatch
    * xml2rfc

    ------F5JP76XLT1D0MS2QR0E5YJODQGWX8Q
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head></head><body><div dir="auto">+1</div><br><br><div class="gmail_quote"><div dir="auto">در ۲۱ ژوئن ۲۰۲۳ ۱۲:۴۱:۵۲ (UTC)، Scott Kitterman &lt;debian@kitterman.com&gt; نوشت:</div><blockquote class="gmail_quote" style="margin:
    0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
    <pre class="k9mail"><div dir="auto">It would be nice if we could reduce/eliminate use of appdirs during the Trixie <br>development cycle. It's unmaintained and superseded by platformdirs. As far <br>as I can tell, platformdirs is API compatible with
    appdirs, except the import <br>path is different.<br><br>As a result, switching does need some changes in the upstream code. This point <br>in the development cycle is a good time to work with upstream to have them <br>make the change upstream. I did
    this this week with xml2rfc, it was pretty <br>painless, and will be included in the next release. As we approach the <br>freeze, then I think we should shift to working on Debian specific changes.<br><br>There's a list below of the affected packages (
    all of them, not just Debian <br>Python packages). I don't intend to do a MBF now, but may do so later in the <br>year (when hopefully the list will be shorter).<br><br>Scott K<br><br>Reverse-Testsuite-Triggers<hr>* mu-editor<br>* pyspectral<br>* python-
    ironicclient<br>* python-mbed-ls<br>* python-openstacksdk<br>* satpy<br><br>Reverse-Build-Depends<hr>* datalad<br>* defcon<br>* genx<br>* git-phab<br>* glean-parser<br>* intake<br>* mu-editor<br>* nuitka<br>* nvchecker<br>* ofxstatement<br>* ofxstatement-
    plugins<br>* openlp<br>* openmotor<br>* pako<br>* platformdirs<br>* plover<br>* pyspectral<br>* python-cobra<br>* python-datacache<br>* python-easydev<br>* python-fissix<br>* python-fs<br>* python-lsp-rope<br>* python-mbed-ls<br>* python-requests-cache<
    * python-rply<br>* python-ulmo<br>* pytoolconfig<br>* rope<br>* satpy<br>* snakemake<br>* telegram-send<br>* xml2rfc<br>* yowsup<br><br>Reverse-Build-Depends-Indep<hr>* pydoctor<br>* python-ironicclient<br>* python-miio<br>* python-openstacksdk<br>*
    python-os-faults<br>* python-smstrade<br>* subliminal<br>* urlwatch<br><br>Reverse-Recommends<hr>* python3-profitbricks<br><br>Reverse-Depends<hr>* crossgrader<br>* git-phab<br>* glean-parser<br>* mu-editor<br>* nuitka<br>* nvchecker<br>* ofxstatement<br>
    * ofxstatement-plugins<br>* openlp<br>* openmotor<br>* plover<br>* printrun-common<br>* pronsole<br>* ptpython<br>* pydoctor<br>* python3-cobra<br>* python3-datacache<br>* python3-datalad<br>* python3-easydev<br>* python3-etesync<br>* python3-fissix<br>*
    python3-fs<br>* python3-genx<br>* python3-intake<br>* python3-ironicclient<br>* python3-libpysal<br>* python3-mbed-ls<br>* python3-miio<br>* python3-openstacksdk<br>* python3-os-faults<br>* python3-pako<br>* python3-pantalaimon<br>* python3-pycuda<br>*
    python3-pyopencl<br>* python3-pyspectral<br>* python3-pytools<br>* python3-requests-cache<br>* python3-rply<br>* python3-satpy<br>* python3-smstrade<br>* python3-subliminal<br>* python3-ulmo<br>* python3-yowsup<br>* snakemake<br>* sqlfluff<br>* telegram-
    send<br>* urlwatch<br>* xml2rfc<br></div></pre></blockquote></div></body></html>
    ------F5JP76XLT1D0MS2QR0E5YJODQGWX8Q--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)