Skip to content

Commit

Permalink
extract editable install from requirements-dev.in
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-keller committed Aug 23, 2024
1 parent c7d6431 commit 044c84f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ jobs:
- name: Lock and sync dependencies
run: |
python -m pip install -U pip pip-tools
pip-compile requirements-dev.in
pip-sync requirements-dev.txt
pip-compile --all-extras pyproject.toml requirements-dev.in
pip-sync
pip install -e ".[awscli,boto3]"
- name: Run pre-commit hooks
if: matrix.python-version == '3.11'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# generated by users and intentionally not pushed to the repo
requirements-dev.txt
requirements.txt

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
5 changes: 3 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ For example, using *virtualenvwrapper* commands could look like::
After that, please install libraries required for development::

$ pip install pip-tools
$ pip-compile requirements-dev.in
$ pip-sync requirements-dev.txt
$ pip-compile --all-extras pyproject.toml requirements-dev.in
$ pip-sync
$ pip install -e ".[awscli,boto3]"

Congratulations, you are ready to run the test suite::

Expand Down
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ secret accessible via environment variables:
::

$ pip install pip-tools
$ pip-compile requirements-dev.in
$ pip-sync requirements-dev.txt
$ pip-compile --all-extras pyproject.toml
$ pip-sync
$ pip install -e ".[awscli,boto3]"
$ export AWS_ACCESS_KEY_ID=xxx
$ export AWS_SECRET_ACCESS_KEY=xxx
$ export AWS_DEFAULT_REGION=xxx # e.g. us-west-2
Expand Down
5 changes: 0 additions & 5 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,3 @@ moto[server,s3,sqs,awslambda,dynamodb,cloudformation,sns,batch,ec2,rds]~=4.2.9
pre-commit~=3.5.0
pytest-asyncio~=0.23.8
tomli; python_version < "3.11" # Requirement for tests/test_version.py


### (editable) aiobotocore along with dependencies and extra dependencies

-e .[awscli,boto3]

0 comments on commit 044c84f

Please sign in to comment.