Skip to content

Commit de18753

Browse files
authored
Merge pull request #222 from cloudfoundry-community/features/move-to-poetry
move to poetry
2 parents 77c1923 + df2620d commit de18753

File tree

276 files changed

+1180
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+1180
-14
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ ignore = E203, W503
33
max-line-length = 130
44
max-complexity = 16
55
buildins = CloudFoundryClient
6-
exclude = vendors,.git,.github,main/cloudfoundry_client/dropsonde,venv,.eggs,build
6+
exclude = vendors,.git,.github,cloudfoundry_client/dropsonde,.venv,.eggs,build
77

.github/workflows/pythonpackage.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
max-parallel: 1
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1717

1818
steps:
1919
- uses: actions/checkout@v4
@@ -23,14 +23,19 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

26-
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install -r requirements.txt
30-
pip install -r dev-requirements.txt
26+
- name: Install and configure Poetry
27+
uses: snok/install-poetry@v1
28+
with:
29+
virtual envs-create: true
30+
virtualenvs-in-project: true
31+
virtualenvs-path: .venv
32+
installer-parallel: true
33+
34+
- name: Install project
35+
run: poetry install --no-interaction
3136

3237
- name: Launch tests
33-
run: python setup.py test
38+
run: poetry run pytest
3439

3540
- name: Launch Linting
36-
run: flake8 --show-source --statistics
41+
run: poetry run flake8 --show-source --statistics
File renamed without changes.
File renamed without changes.
File renamed without changes.

main/cloudfoundry_client/doppler/websocket_envelope_reader.py renamed to cloudfoundry_client/doppler/websocket_envelope_reader.py

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)