Comments (6)
Noting my preferred answers to these from a high level ecosystem-interoperability-wrangling point of view (some details here are shamelessly stolen from http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/ ):
Pipfile
is intended primarily for deploying applications and services directly from source control, whilepyproject.toml
is aimed primarily at the publication of explicitly versioned software components like libraries and frameworks (e.g. to the Python Package Index). Applications and services that also support library-style installation as part of a larger application or service may provide both kinds of file, withPipfile
delegating topyproject.toml
to avoid metadata duplication.- The overall ecosystem level aim is to support the use of entirely declarative metadata at software installation time. Both
pyproject.toml
andPipfile.lock
work towards that goal in their respective domains. By contrast, execution of arbitrary software is both necessary and expected during software build processes, so the more modest goal for that step is to offer declarative bootstrapping of the build environment. Pipfile.lock
is a JSON file and hence readable without executing arbitrary code, but I have no strong opinion onPipfile
itself (there are pros and cons on either side)Pipfile
provides executable instructions on how to find and install the dependencies for an application or service, whilePipfile.lock
provides a snapshot of a tested combination of specific versions of those dependencies.
from pipfile.
I filed #6 to discuss the "arbitrary Python code in Pipfile
or not?" question, as I think the convenience of just using exec
is possible (so Python syntax works normally), while still strongly encouraging a declarative style by blocking straightforward access to most builtins.
from pipfile.
I should have posted #7 as a comment here instead of opening a new issue.
from pipfile.
Yes, the current README leaves many interesting questions unanswered: what's the exact relationship between pip
and pipfile
, what does it actually create, is it an alternative to pip
or does it merely generate requirements files from some other dependency specifications? And so on. The current README is clearly written by someone who already knows the answers to these questions, but the outsider can't currently see much of a reason to become an insider, or even a user.
from pipfile.
- How does
Pipfile
relate tosetup.py
and the upcomingpyproject.toml
? Is it the same relationship as the one described here betweenrequirements.txt
andsetup.py
?
This repo has been linked to on both Reddit and Hacker News, and the above question in particular seems to be driving a lot of misguided comments.
from pipfile.
from pipfile.
Related Issues (20)
- Link additional Pipfiles from root one
- Skip lock on a single dependency HOT 4
- Pipfile.lock() is not idempotent
- Security Vulnerability Alerts (in examples/Pipfile.lock) HOT 5
- Pipenv take wrong Pipfile
- AttributeError while using inject_environment_variables function
- typo in line 136
- Rename 'master' branch to 'main' HOT 3
- pip2 install python
- - [ ] @monkeyhammercopiseded #165 HOT 5
- pipfile-spec in Pipfile
- Docs url is unreachable
- Publish a wheel for `pipfile`
- how to specific version in extras of pipfile?
- Support git+ssh source package repositroy
- ااا
- http://example.edu/tt
- Ggg
- how to add dependencies from other sources instead of pypi? HOT 1
- OSS-Fuzz Integration Inquiry
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 pipfile.