Skip to content

Commit

Permalink
Speed up dependency resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange committed Jul 24, 2024
1 parent 422ac3d commit cb1aaa0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,16 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Update pip
run: python -m pip install -U pip

#
# https://askubuntu.com/questions/1428181/module-lib-has-no-attribute-x509-v-flag-cb-issuer-check
#
- name: Upgrade PyOpenSSL
run: python -m pip install pyOpenSSL --upgrade
run: pip install uv

- name: Install smart_open without dependencies
run: pip install -e .
run: uv pip install -e .

- name: Check that smart_open imports without dependencies
run: python -c 'import smart_open'

- name: Install smart_open and its dependencies
run: pip install -e .[test]
run: uv pip install -e .[test]

- name: Run unit tests
run: pytest smart_open -v -rfxECs --durations=20
Expand Down

0 comments on commit cb1aaa0

Please sign in to comment.