-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the new post about pip-tools #10
base: main
Are you sure you want to change the base?
Conversation
@webknjaz could you please review? I find it difficult to structure the information and have doubts about advantages of using |
12ec742
to
e3a7cfe
Compare
- [pdm](https://pdm-project.org/latest/usage/venv/) | ||
- [rye](https://rye-up.com/) | ||
|
||
It's worth exploring their features and benefits in the future (perhaps in my blog :). But, in this post, I would like to share my experience of using [pip-tools] (https://pypi.org/project/pip-tools/2.0.0/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's worth exploring their features and benefits in the future (perhaps in my blog :). But, in this post, I would like to share my experience of using [pip-tools] (https://pypi.org/project/pip-tools/2.0.0/). | |
It's worth exploring their features and benefits in the future (perhaps in my blog :). But, in this post, I would like to share my experience of using [pip-tools](https://pypi.org/project/pip-tools). |
Django ~= 3.0 | ||
``` | ||
|
||
`base.txt:` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`base.txt:` | |
`base.txt`: |
# via django | ||
``` | ||
|
||
`dev.in:` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`dev.in:` | |
`dev.in`: |
pylint | ||
``` | ||
|
||
But, it's good practice to define several categories of our dependencies. You can even create separate for development, lint, tests and others. You can take a look this example for for inspiration: [https://github.com/pypi/warehouse/tree/main/requirements\]\(https://github.com/pypi/warehouse/tree/main/requirements\) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, it's good practice to define several categories of our dependencies. You can even create separate for development, lint, tests and others. You can take a look this example for for inspiration: [https://github.com/pypi/warehouse/tree/main/requirements\]\(https://github.com/pypi/warehouse/tree/main/requirements\) | |
But, it's good practice to define several categories of our dependencies. You can even create separate for development, lint, tests and others. You can take a look this example for for inspiration: [https://github.com/pypi/warehouse/tree/main/requirements](https://github.com/pypi/warehouse/tree/main/requirements) |
|
||
`pip-tools` is a set of utilities, which provide, keeping our packages fresh even when we've pinned them earlier. | ||
|
||
I would like to describe short algorithm for usage of this tool just from official sources. It's very important — don't forget to activate [the virtual environments](https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments\) 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to describe short algorithm for usage of this tool just from official sources. It's very important — don't forget to activate [the virtual environments](https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments\) 🙂 | |
I would like to describe short algorithm for usage of this tool just from official sources. It's very important — don't forget to activate [the virtual environments](https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments) 🙂 |
There are several Python package managers available. Some of the main ones include: | ||
|
||
- [pip](https://pip.pypa.io/en/stable/) | ||
- [Conda](https://conda.org/\) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [Conda](https://conda.org/\) | |
- [Conda](https://conda.org/) |
|
||
This file is autogenerated by pip-compile with Python 3.11 | ||
by the following command: | ||
pip-compile requirements/base.in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing indents?
No description provided.