Comments (4)
Hey @Kroppeb -- sorry I've been away for a bit the start of this year, but I am getting back into pipenv issues now. There isn't a real reason we are lacking type annotations other than the pile of technical debt we are chipping away at -- not so long ago pip-shims and requirementslib/vistir were all part of the equation too but not anymore. We would welcome any community driven PR enhancements that solve problems and/or further help cleanup the codebase. You can find me hanging out in the Python Developers slack group, I am not sure if this invite will work but you can definitely find it or email me -- its on my github profile. https://join.slack.com/t/pythondev/shared_invite/zt-2fcjlo1yc-NisCSxAbN7BT~cP9PKpD6w
from pipenv.
@matteius Do you want the types as type annotations, or do you think it's better to specify the types in the docstrings to avoid circular imports?
from pipenv.
I'd prefer type annotations over docstrings -- its more modern and useful in general. I think circular imports can be avoided because you can do you can string quote types we provide that would be a circular import. Like -> "PipFile"
(probably not a real example, but for clarity). Also, if we are returning types in a way that create a circular import, longer term we should try refactoring how that code is organized better.
from pipenv.
Good to know, I'll probably make a pr then one of the next few days
from pipenv.
Related Issues (20)
- pipenv install should not bring back old versions of dependent packages, if newer versions are already installed HOT 7
- /usr/bin and /bin no longer on PATH after activating shell
- Crash in project.py and util/resource.py if a source doesn't have a 'name' attribute. HOT 8
- `pipenv shell` not activating env on PowerShell for mac (possibly *nix) HOT 1
- Accelerate build times by using uv instead of pip? HOT 2
- Can't install it on python3.12 with pipx HOT 2
- "Loading .env environment variables..." prints to stderr, causing all sorts of havoc HOT 2
- `pipenv install` add spurious `"markers": "python_version == '3'"` for a specific library since v2023.12.1, how to fix the library? HOT 5
- Updating packages with non canonical names errors out HOT 2
- File located Dependencies of Packages (sub-dependency) can't be installed with Pipenv HOT 1
- subdirectory fragment of git located Dependencies of Packages (sub-dependency) aren't added to Pipfile.lock HOT 2
- pipenv install does not throw an error when a Pipfile.lock is determined to be corrupt HOT 2
- Single package update? HOT 6
- Default to the `~=` opperator when adding entries to pipfile HOT 4
- Pipenv fails to write its own /var/ crash report, after unhandled NoneType error in project.py HOT 2
- Support for Python(s) (3.10+?) without distutils. HOT 9
- pipenv check command crashes with FileNotFoundError if the Pipfile.lock does not exist.
- pipenv requirements sub-command based on Pipfile HOT 5
- Why --lock-only flag logic removed? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipenv.