Skip to content

Commit

Permalink
chore(deps): fix the distlib issue (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Jan 4, 2024
1 parent 02575a3 commit 9dafb45
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,18 @@ jobs:
conda-solver: libmamba

- name: Install dependencies
run: poetry install
run: poetry install --verbose

- name: run unit tests
run: makim tests.unit --verbose

- name: CLI tests
run: makim tests.smoke --verbose

- name: Setup tmate session
if: "${{ failure() && (contains(github.event.pull_request.labels.*.name, 'ci:enable-debugging')) }}"
uses: mxschmitt/action-tmate@v3

linter:
needs: check-branch
runs-on: ubuntu-latest
Expand Down Expand Up @@ -108,8 +112,7 @@ jobs:

- name: Install dependencies
run: |
poetry config virtualenvs.create false
poetry install
poetry install --verbose
- name: Run style checks
run: makim tests.linter
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:

- name: Install deps
run: |
poetry config virtualenvs.create false
poetry install
poetry install --verbose
- name: Run semantic release (for tests)
if: ${{ github.event_name != 'workflow_dispatch' }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:

- id: ruff-linter
name: ruff-linter
entry: ruff check
entry: ruff check --fix
language: system
exclude: "docs/"
pass_filenames: true
Expand Down
2 changes: 2 additions & 0 deletions conda/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dependencies:
- pip
- python 3.8.1
- poetry
- pip:
- paginate >=0.5 # tries to fix the distlib issue
2 changes: 2 additions & 0 deletions conda/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dependencies:
- python 3.10.* # min version supported
- poetry
- nodejs >=18.17 # used by semantic-release
- pip:
- paginate >=0.5 # tries to fix the distlib issue
2 changes: 2 additions & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[virtualenvs]
create = false
2 changes: 1 addition & 1 deletion src/sugar/sugar.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _filter_service_group(self):
selected_group_name = default_group
else:
selected_group_name = self.args.get('service_group')

# Verify if project-name is not null
default_project_name = self.defaults.get('project-name', '') or ''

Expand Down

0 comments on commit 9dafb45

Please sign in to comment.