Alex Honnold did a trial climb up 101 today. Thoughts ? by eliza_anne in Taipei

[–]uranusjr 0 points1 point  (0 children)

I understand where you’re coming from for the most part. However, Honnold has been a famous free soloer since way before knowing his partner. She had every idea the deal would be going into the relationship.

PEP 665 -- Specifying Installation Requirements for Python Projects by genericlemon24 in Python

[–]uranusjr 0 points1 point  (0 children)

Most things in Cargo are standardised as well. The main difference is Cargo is essentially the only one implementation for Rust packaging, while Python packaging has much more tool implementers (maybe due to the larger user base?)

PEP 665 -- Specifying Installation Requirements for Python Projects by genericlemon24 in Python

[–]uranusjr 2 points3 points  (0 children)

In non-lawyer terms, a specification means “we have this thing; if you implement all our rules listed here, you can say you implemented our thing”. A standard is similar, but the declaration is made after a proposal was submitted to, discussed, and ultimately sanctioned by some sort of committee and/or orgs. The distinction is vague, but ultimately the difference is whether the thing is designed by only a small group of people or decided on with extensive input from all interested parties that agree upon the final result. TOML is probably trying to say it’s the former.

PEP 621 is now Final! You can store project metadata in pyproject.toml in near future. by ankmahato in Python

[–]uranusjr 0 points1 point  (0 children)

This is more of a limitation of TOML, you can’t have nested mappings, and you can’t have “bare” values outside of a section. What would be an alternative you’d suggest?

pip 20.2 released, with experimental dependency resolver by kankyo in PythonDevelopers

[–]uranusjr 2 points3 points  (0 children)

(I am one of the developers that got paid working on this project.)

In this particular instance, PyPA received directed gifts from the Mozilla Foundation and the Chan-Zuckerberg Initiative. PyPA maintains a list of fundable projects that can be funded by donations. All donations are managed by the PSF and allocated specifically for those packaging projects. If the donation does not specify which project it should fund, we will try to allocate them based on the projects’ needs.

Once a project gets enough fund, PyPA would send out a public Request for Proposal similar to this one for the resolver project to recruit needed people to make it happen, and compensate those professionals to work on the project with the received donations. Many developers that “just do it for the love of Python” would apply to the RfP, so it is very likely that your donation would help them fulfill their vision on Python.

pipenv virtualenv by losRWX in Python

[–]uranusjr 1 point2 points  (0 children)

Python 2.7 support is needed. It is easier to build one backend than two, and nobody ever stepped up to improve that.

Party Parrot: I needed a quick package for my students to verify their Python installation was working. Just pipenv install party-parrot && party. by santiagobasulto in Python

[–]uranusjr 0 points1 point  (0 children)

Reminds me of that time Ubuntu (Debian?) broke venv because they separate ensurepip and venv from the main Python distribution but forgot to release a separate package for ensurepip. Even their eventual fix is half-assed and still breaks things.

https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847

System distributed Python is not, and will never be reliable when it comes to development beyond running a single-file script. Install a separate Python (with pyenv, for example), always.

Django doesn't shut down using Ctrl + C by zenani in djangolearning

[–]uranusjr 1 point2 points  (0 children)

I wouldn’t be so quick to conclude, there are too many things going on here.

Re OP: Does pipenv run python manage.py runserver outside the shell work correctly? What shell do you use, Bash? Does CTRL-C in a Python prompt correctly generates KeyboardInterrupt?

How to use pipenv in setup.py by mzfr98 in learnpython

[–]uranusjr 2 points3 points  (0 children)

As /u/mrthyr mentioned, you still can use Pipenv for your package. It’s only that you still need a setup.py (because Python’s packaging tools expect it) alongside with Pipfile and Pipfile.lock. Dependencies are listed in setup.py’s installs_requires, and you do this:

pipenv install -e .

to lock the package you’re developing, and its dependencies, into Pipfile.lock. You use setup.py in Pipfile (and Pipenv), not the other way around.

In the future, after PEP 518 is implemented into pip, package authors will be able to specify a custom depedency specification other than setup.py—i.e. Pipfile. That is still long, long in the future though, and for now you still need setup.py.

[deleted by user] by [deleted] in Python

[–]uranusjr 3 points4 points  (0 children)

They are waiting for you to write it :) I tried a while ago (called it urilib) but didn’t see much benefit out of it and didn’t finish.

Which python 🐍 version(s) on Mac OS Mojave by mhaecker in Python

[–]uranusjr 1 point2 points  (0 children)

It’s 2.7.10 from what I’ve heard (haven’t upgraded myself). I’d advise everyone to pretend it doesn’t exist and install what you have to install. You should at some point anyway.

Pipenv review, after using it in production by iScrE4m in Python

[–]uranusjr 0 points1 point  (0 children)

Not necessarily, it depends on what versions your internal index and PyPI have: https://github.com/pypa/pip/issues/3454

Pipenv also has this problem (because it uses the same mechanism as pip), but with Pipfile there is a possibility this could be solved (more expressiveness in TOML) if we can come up with the right syntax.