Skip to content

Commit

Permalink
Update poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
MycroftKang committed May 5, 2023
1 parent ddcffc4 commit 37b5e43
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
run: "poetry>=1.3.0,<1.4.0"
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.DEFAULT_PYTHON }}
cache: "poetry"
- name: Install dependencies
run: |
pipx runpip poetry show virtualenv
poetry run python -m pip install -U pip
poetry install --no-root
- name: pylint
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
run: "poetry>=1.3.0,<1.4.0"
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
Expand All @@ -47,6 +47,7 @@ jobs:
run: git config --global url.https://${Env:GITHUB_USERNAME}:${Env:GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- name: Install dependencies
run: |
pipx runpip poetry show virtualenv
poetry run python -m pip install -U pip
poetry install --no-root --without dev -E release -E full
- name: Version
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
run: "poetry>=1.3.0,<1.4.0"
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
Expand All @@ -39,6 +39,7 @@ jobs:
run: poetry lock --check
- name: Install dependencies
run: |
pipx runpip poetry show virtualenv
poetry run python -m pip install -U pip
poetry install --no-root
- name: Unit Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
run: "poetry>=1.3.0,<1.4.0"
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
run: "poetry>=1.3.0,<1.4.0"
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ pyyaml = "6.0"
requests = "2.28.2"
simpleaudio = "1.0.4"
sqlalchemy = "1.4.46"
yt-dlp = "2023.03.03"
yt-dlp = "2023.03.04"
mulgyeol-telemetry = {git = "https://github.com/MycroftKang/application-insights-python.git", rev = "c123c9b165faa8afe1fe3bf9a6b76a7b9afae0ce", optional = true}
mkbot-nlu = [
{git = "https://github.com/mgylabs/mkbot-nlu.git", rev = "7bbb76125a827581020fc1618192382ecaff9d62"},
{git = "https://github.com/mgylabs/mkbot-nlu.git", rev = "7bbb76125a827581020fc1618192382ecaff9d62", extras = ["full"], optional = true},
]

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
black = "22.3.0"
debugpy = "1.6.5"
flake8 = "6.0.0"
Expand Down

0 comments on commit 37b5e43

Please sign in to comment.