Skip to content

Commit

Permalink
Upgrade pip_install packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Nov 29, 2023
1 parent d8374cc commit b84fc0b
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 993 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
python -m pip install -U poetry pip
poetry config virtualenvs.create false
poetry install -n
- name: Install dependencies for publishing
run: |
python -m pip install -U setuptools wheel twine
- name: Bump version
env:
VERSION: ${{ steps.version.outputs.result }}
Expand Down
19 changes: 6 additions & 13 deletions istub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,9 @@ packages:
- name: s3transfer
checks:
stubtest: true
snapshots:
stubtest: |-
error: s3transfer.compat.BaseManager.shutdown is not present at runtime
Stub: in file ./s3transfer-stubs/compat.pyi:8
def (self: s3transfer.compat.BaseManager)
Runtime:
MISSING
error: s3transfer.processpool.BaseManager.shutdown is not present at runtime
Stub: in file ./s3transfer-stubs/processpool.pyi:8
def (self: s3transfer.compat.BaseManager)
Runtime:
MISSING
pip_install:
- s3transfer
- types-s3transfer
- botocore-stubs
- types-awscrt
- awscrt
4 changes: 3 additions & 1 deletion istub/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def pip_install(config: Config) -> None:
)
if config.pip_install:
logger.info("Installing pip requirements...")
check_call([config.python_path, "-m", "pip", "install", "--no-input", *config.pip_install])
check_call(
[config.python_path, "-m", "pip", "install", "-U", "--no-input", *config.pip_install]
)


def path_install(config: Config) -> None:
Expand Down
Loading

0 comments on commit b84fc0b

Please sign in to comment.