Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OlenaYefymenko
Copy link
Owner

No description provided.

@OlenaYefymenko OlenaYefymenko self-assigned this Mar 13, 2024
@OlenaYefymenko OlenaYefymenko marked this pull request as draft March 13, 2024 18:23
@OlenaYefymenko
Copy link
Owner Author

@webknjaz could you please review? I find it difficult to structure the information and have doubts about advantages of using pip-tools.

- [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/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`base.txt:`
`base.txt`:

# via django
```

`dev.in:`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`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\)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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\) 🙂
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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/\)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing indents?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants