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 537b63c..abd921c 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: | + ls -a .github/workflows/ + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 with: @@ -35,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 @@ -49,13 +53,13 @@ jobs: - 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: Compute pre-commit cache key @@ -114,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 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..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" @@ -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"]