From 9438a8728be87d9e9ee0ad25733e9e21c3dce0db Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:36:33 +0900 Subject: [PATCH 01/10] fix: remove unnecessary poetry dependencies --- poetry.lock | 4 ++-- pyproject.toml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 3cb37fc..4eb84c1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "alabaster" @@ -2283,4 +2283,4 @@ ptpython = [] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "5d35945996036551985ac4f004f11868bb8eb73b76e93050a9c69774312a92b4" +content-hash = "144f15ef76edee154314d450d7d9ead01e4bd7f3e9e92dcb9ffd5c7d8576b898" diff --git a/pyproject.toml b/pyproject.toml index 93dba00..a8cdfc5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,9 +18,6 @@ Changelog = "https://github.com/tgoddessana/flask-moreshell/releases" [tool.poetry.dependencies] python = "^3.9" click = ">=8.0.1" -nox-poetry = "^1.0.3" -nox = "^2023.4.22" -furo = "^2023.9.10" [tool.poetry.extras] ipython = ["ipython"] @@ -40,7 +37,6 @@ flake8-bandit = ">=2.1.2" flake8-bugbear = ">=21.9.2" flake8-docstrings = ">=1.6.0" flake8-rst-docstrings = ">=0.2.5" -furo = ">=2021.11.12" isort = ">=5.10.1" mypy = ">=0.930" pep8-naming = ">=0.12.1" @@ -57,6 +53,9 @@ ipython = "^8.17.2" ptpython = "^3.0.23" bpython = "^0.24" flask = "^2.3" +nox-poetry = "^1.0.3" +nox = "^2023.4.22" +furo = "^2023.9.10" [tool.coverage.paths] source = ["src", "*/site-packages"] From 36c4ee358ccdf04fd6c93ed6413c73adc9b0a07e Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:42:47 +0900 Subject: [PATCH 02/10] fix: fix github ci --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 537b63c..548c0d6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,10 @@ jobs: - name: Check out the repository uses: actions/checkout@v3 + - name: Set working directory + run: | + cd $GITHUB_WORKSPACE + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 with: From 54b0ae5ff45f0829f20a7ce91c4cd82d603d33fd Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:45:03 +0900 Subject: [PATCH 03/10] fix: fix github ci --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 548c0d6..c2f7574 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: - name: Set working directory run: | - cd $GITHUB_WORKSPACE + ls -a - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 From 9d724af661d40bc610252fc04969f10a299ac844 Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:46:03 +0900 Subject: [PATCH 04/10] fix: test github ci --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c2f7574..2d03061 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: - name: Set working directory run: | - ls -a + ls -a .github/workflows - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 From 2f943b2ae39a4c0526380ddaa7cbbf2c3c21506f Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:49:24 +0900 Subject: [PATCH 05/10] fix: test github ci --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d03061..230991c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: - name: Set working directory run: | - ls -a .github/workflows + ls -a .github/workflows/ - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 @@ -39,6 +39,7 @@ jobs: - name: Upgrade pip run: | + cd $GITHUB_WORKSPACE pip install --constraint=.github/workflows/constraints.txt pip pip --version @@ -53,6 +54,7 @@ jobs: - name: Install Poetry run: | + cd $GITHUB_WORKSPACE pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry poetry --version From b991db4f8bd80fd391af71c8bc6514b2df515642 Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:52:09 +0900 Subject: [PATCH 06/10] fix: test github ci --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 230991c..9ada2c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,7 +39,6 @@ jobs: - name: Upgrade pip run: | - cd $GITHUB_WORKSPACE pip install --constraint=.github/workflows/constraints.txt pip pip --version @@ -54,7 +53,7 @@ jobs: - name: Install Poetry run: | - cd $GITHUB_WORKSPACE + pwd pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry poetry --version From 6b8e22f2859ab8fe405df129e0b1e50bdebc5137 Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:54:13 +0900 Subject: [PATCH 07/10] fix: test github ci --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9ada2c6..a37c14a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,8 +53,7 @@ jobs: - name: Install Poetry run: | - pwd - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox From a196d7773e2195842144d50959a9f86db30c155a Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 12:56:51 +0900 Subject: [PATCH 08/10] fix: test github ci --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a37c14a..7aa8388 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,7 +39,7 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt pip pip --version - name: Upgrade pip in virtual environments @@ -58,8 +58,8 @@ jobs: - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Compute pre-commit cache key From f9f8ec5312dc9cc04b93c4d0a46a4785b5836bfb Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 13:01:54 +0900 Subject: [PATCH 09/10] fix: fix coverage github actions, remove release-drafter action --- .github/release-drafter.yml | 29 ----------------------------- .github/workflows/release.yml | 8 -------- .github/workflows/tests.yml | 8 ++++---- 3 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 7a04410..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,29 +0,0 @@ -categories: - - title: ":boom: Breaking Changes" - label: "breaking" - - title: ":rocket: Features" - label: "enhancement" - - title: ":fire: Removals and Deprecations" - label: "removal" - - title: ":beetle: Fixes" - label: "bug" - - title: ":racehorse: Performance" - label: "performance" - - title: ":rotating_light: Testing" - label: "testing" - - title: ":construction_worker: Continuous Integration" - label: "ci" - - title: ":books: Documentation" - label: "documentation" - - title: ":hammer: Refactoring" - label: "refactoring" - - title: ":lipstick: Style" - label: "style" - - title: ":package: Dependencies" - labels: - - "dependencies" - - "build" -template: | - ## Changes - - $CHANGES diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 139cbe9..f33288f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,11 +69,3 @@ jobs: user: __token__ password: ${{ secrets.TEST_PYPI_TOKEN }} repository_url: https://test.pypi.org/legacy/ - - - name: Publish the release notes - uses: release-drafter/release-drafter@v5.20.0 - with: - publish: ${{ steps.check-version.outputs.tag != '' }} - tag: ${{ steps.check-version.outputs.tag }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7aa8388..abd921c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -118,18 +118,18 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt pip pip --version - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=$GITHUB_WORKSPACE/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Download coverage data From 89fddd9d3e3a73d40f9cd5f92888ddd97c9bd337 Mon Sep 17 00:00:00 2001 From: goddessana Date: Thu, 30 May 2024 13:07:07 +0900 Subject: [PATCH 10/10] version 0.1.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a8cdfc5..a9ef1e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "flask-moreshell" -version = "0.1.4" +version = "0.1.5" description = "Flask Moreshell" authors = ["JAEGYUN JUNG "] license = "MIT"