diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c8d6460e..ba95a89a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,6 +34,27 @@ jobs: run: | nox --non-interactive --session tests-${{ matrix.python-version }} + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + python-version: [3.9] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install nox + - name: Execute Tests + run: | + nox --non-interactive --session build + lint: runs-on: ubuntu-latest steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dc39e2e..6c887b25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # gdbgui release history +## 0.15.0.1 + +This release has no changes to features or usability. The only change is to include a file used by other package maintainers. + +- Include all files needed to rebuild from source (#403) + ## 0.15.0.0 This release is focused mostly on Python 3.9 compatibility and updating dependencies diff --git a/MANIFEST.in b/MANIFEST.in index 880a7224..c07510d1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include README.md include LICENSE +include requirements.in graft gdbgui # these files are built and must be included in distribution @@ -29,7 +30,6 @@ exclude jest.config.js exclude make_executable.py exclude mkdocs.yml exclude package.json -exclude requirements.in exclude requirements.txt exclude tsconfig.json exclude tslint.json diff --git a/gdbgui/VERSION.txt b/gdbgui/VERSION.txt index 202f94b3..41db6aa6 100644 --- a/gdbgui/VERSION.txt +++ b/gdbgui/VERSION.txt @@ -1 +1 @@ -0.15.0.0 +0.15.0.1 diff --git a/noxfile.py b/noxfile.py index f003a3d3..e0803838 100644 --- a/noxfile.py +++ b/noxfile.py @@ -4,7 +4,7 @@ import hashlib import nox # type: ignore - +import glob nox.options.reuse_existing_virtualenvs = True nox.options.sessions = ["tests", "lint", "docs"] @@ -131,9 +131,12 @@ def serve(session): def build(session): session.install(*publish_deps) session.run("rm", "-rf", "dist", "build", external=True) + session.run("yarn", external=True) session.run("yarn", "build", external=True) session.run("python", "setup.py", "--quiet", "sdist", "bdist_wheel") session.run("twine", "check", "dist/*") + for built_package in glob.glob("dist/*"): + session.run("pip", "install", "--force-reinstall", built_package) @nox.session(reuse_venv=True)