Skip to content

Commit

Permalink
Drop requirements{,_dev}.txt (#14611)
Browse files Browse the repository at this point in the history
Poetry is the only supported package manager.
  • Loading branch information
patrys committed Nov 6, 2023
1 parent 2dec828 commit e2b9acd
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 429 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/bump-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:

- run: python -m pip install poetry pre-commit
- run: poetry lock
- run: poetry export --without-hashes --with dev -f requirements.txt -o requirements_dev.txt
- run: poetry export -f requirements.txt --without-hashes -o requirements.txt
- run: pre-commit autoupdate
- run: git status

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ All notable, unreleased changes to this project will be documented in this file.
- Add transaction items deletion to cleardb command. - #14198 by @jakubkuc
- Added validation for timestamp comparison #14025 by @ritanjandawn
- Page -> Attributes refactor. The goal is to simplify the attribute models. The current attribute model relations are complex and really hard to understand. - #13621
- `requirements.txt` and `requirements_dev.txt` were dropped in favor of only supporting `poetry` - #14611 by @patrys

# 3.17.0

Expand Down
6 changes: 0 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ We recommend using at least version `1.0.0b` as it contains many fixes and featu

*Tip:* We recommend that you use this workflow and keep `pyproject.toml` as well as `poetry.lock` under version control to make sure all computers and environments run exactly the same code.

### Other tools

For compatibility, Saleor also provides `requirements.txt` and `requirements_dev.txt`.

These files should be updated by running `poetry export --without-hashes -f requirements.txt -o requirements.txt` and `poetry export --without-hashes -f requirements.txt -o requirements_dev.txt --with dev`, respectively.

## Coding style

Saleor uses various tools to maintain a common coding style and help with development.
Expand Down
175 changes: 0 additions & 175 deletions requirements.txt

This file was deleted.

Loading

0 comments on commit e2b9acd

Please sign in to comment.