arn_fai, to accessibility French
@arn_fai@toot.aquilenet.fr avatar

Pour cette 13ème édition de la journée mondiale de sensibilisation à l'accessibilité , ARN, @hackstub et le groupe a11y-libre, propose à toutes les personnes qui pratiquent la ligne de commande, un hackaton « asynchrone » sur le thème « ligne de commande et cécité » !

Vous avez jusqu'au 31 mai, pour envoyer vos contributions. Il y a de nombreux lots à gagner.

https://arn-fai.net/fr/blog/shell-accessible

arn_fai,
@arn_fai@toot.aquilenet.fr avatar

Notre pour rendre les shells accessibles est en cours jusqu'au 31 mai, nous publierons ici quelques contributions chaque jour.

Xogium propose des alias qui désactivent les barres de progressions sur les commandes et () car ces 2 commandes détournent des caractères brailles pour l'affichage de la barre...

Voilà qui améliore effectivement l'accessibilité de ces 2 commandes. Il y en a probablement d'autres dans le même genre.

alatitude77, to python
@alatitude77@mastodon.social avatar
mistersql, to python
@mistersql@mastodon.social avatar

I'm phasing out my usage of in all my side projects. Why?

  • Pipenv can't package.
  • Pipenv will soon always lock (which is slow, if I have to, then might as well us poetry)
  • Poetry lock speed is bearable if you set minimum versions on everything
  • Poetry supports pyproject.toml
  • Poetry works fine for both libraries & apps (Pipenv aims to solve the problem of apps, not libraries)
  • I figure out how to handle poetry private repos. I never figured that out for pipenv
JoeCotellese, to python
@JoeCotellese@jawns.club avatar

I've been using pipenv for a long time to manage dependencies. I played around with poetry and I have to say I like what I'm seeing.

cazabon,

@JoeCotellese

Agreed. I was introduced to poetry a few years ago. After a not-very-long period of using it, I dropped pipenv from everything, and haven't looked back.

poetry has its faults - in particular, when things go wrong, it's almost impossible to get useful diagnostics out of it - but it's an overall improvement.

me, to python
@me@social.taupehat.com avatar

After Yet Another goddamn time when there was no goddamn way to tell that I was in the wrong goddamn fucking pyenv and broke a bunch of shit by doing a pip upgrade to a package, this sums up my feelings entirely.

cazabon,

@me

An easy way to prevent this in future is to use (or ) to install and "lock" your (rather than using directly), and check the resulting lockfile into your RCS like any other source file.

If you screw up, poetry install --sync will fix it, including downgrading or removing packages to get back to that known-good state. And if you screw up your lock file, restore it from an earlier point.

gotofritz, to poetry

deleted_by_author

  • Loading...
  • cristianrasch,
    @cristianrasch@fosstodon.org avatar

    @gotofritz As both a former user and relatively long time user my knowledge on what the stock pip experience looks like these days may be a bit rusty, but if you are not pairing with say, pip-tools, then the thing that you'd be missing is lockfiles and their support for transitive dependencies (i.e. track the exact version of your 1st order deps, 2nd order deps, etc.) It's a trade-off between better reproducibility vs ease of getting started with, I guess

    cristianrasch,
    @cristianrasch@fosstodon.org avatar

    @gotofritz 100% with you. Not sure if I managed to verbalize it the way it was intended with regards to dependency tracking. Last time I checked (my view might be outdated here) freeze only tracked first order depdencies (meaning, deps your project explictly depends on) as opposed to what or are able to accomplish with their lockfiles, effectively tracking your entire dependency tree (though you can still do that using pip-tool.)

    pmidden, to python
    @pmidden@fosstodon.org avatar

    I'm so fed up with at this point. A big percentage of the day to day errors seem so utterly fixable by just having types (yes, I know about mypy and the typing module) and proper package dependency management. We are employing pyright, pylint and mypy just to keep stupid mistakes at bay.
    After the upcoming experiment, I'm hoping for some good and time. And possibly exploring (though my motivation for this isn't too high).

    cazabon,

    @pmidden

    What are you using for management right now? & requirements.txt, , ... ?

    I've looked at and some, but I keep coming back to . looks promising, when it becomes open-source.

    mistersql, to programming
    @mistersql@mastodon.social avatar

    IDEA: A / wrapper that reports back to you what it is going to install before it installs & reports the security rating/states/download counts, so you can decide if you really want to install it.

    I think I just need to parse the output from

    --dry-run  
    

    and feed it into package info API calls.

    nixCraft, to random
    @nixCraft@mastodon.social avatar

    This is why we used Docker or another container tech like LXD or FreeBSD jails. There is no need to break the whole thing because a newer version of Python or PHP is installed on your Unix or Linux server.

    lil5,
    @lil5@fosstodon.org avatar

    @lanefu @b_draad @kkarhan @nixCraft

    Learning as a JS dev the setup process was confusing, does a lot for you in setting up virtualenv but with sane defaults and simpler commands.

    Feels like npm

    pipenv install
    pipenv install Django
    pipenv run ./manage.py
    pipenv shell
    pipenv uninstall Django

    https://pypi.org/project/pipenv/

    lolzac, to programming

    Hey Python people!

    pyenv or pipenv? I am using a Mac and want to find a tool to help keep all of my installation clean and make using venvs easier.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • osvaldo12
  • magazineikmin
  • khanakhh
  • InstantRegret
  • thenastyranch
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • DreamBathrooms
  • kavyap
  • tester
  • anitta
  • rosin
  • Durango
  • tacticalgear
  • modclub
  • cubers
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • cisconetworking
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines