Skip to content

Commit 9099fb3

Browse files
authored
include requirements.in in built package (#404)
1 parent 6c06eae commit 9099fb3

File tree

5 files changed

+33
-3
lines changed

5 files changed

+33
-3
lines changed

.github/workflows/tests.yml

+21
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,27 @@ jobs:
3434
run: |
3535
nox --non-interactive --session tests-${{ matrix.python-version }}
3636
37+
build:
38+
runs-on: ${{ matrix.os }}
39+
strategy:
40+
matrix:
41+
os: [ubuntu-latest]
42+
python-version: [3.9]
43+
44+
steps:
45+
- uses: actions/checkout@v2
46+
- name: Set up Python ${{ matrix.python-version }}
47+
uses: actions/setup-python@v2
48+
with:
49+
python-version: ${{ matrix.python-version }}
50+
- name: Install dependencies
51+
run: |
52+
python -m pip install --upgrade pip
53+
pip install nox
54+
- name: Execute Tests
55+
run: |
56+
nox --non-interactive --session build
57+
3758
lint:
3859
runs-on: ubuntu-latest
3960
steps:

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# gdbgui release history
22

3+
## 0.15.0.1
4+
5+
This release has no changes to features or usability. The only change is to include a file used by other package maintainers.
6+
7+
- Include all files needed to rebuild from source (#403)
8+
39
## 0.15.0.0
410

511
This release is focused mostly on Python 3.9 compatibility and updating dependencies

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include README.md
22
include LICENSE
3+
include requirements.in
34

45
graft gdbgui
56
# these files are built and must be included in distribution
@@ -29,7 +30,6 @@ exclude jest.config.js
2930
exclude make_executable.py
3031
exclude mkdocs.yml
3132
exclude package.json
32-
exclude requirements.in
3333
exclude requirements.txt
3434
exclude tsconfig.json
3535
exclude tslint.json

gdbgui/VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.0.0
1+
0.15.0.1

noxfile.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import hashlib
66
import nox # type: ignore
7-
7+
import glob
88

99
nox.options.reuse_existing_virtualenvs = True
1010
nox.options.sessions = ["tests", "lint", "docs"]
@@ -131,9 +131,12 @@ def serve(session):
131131
def build(session):
132132
session.install(*publish_deps)
133133
session.run("rm", "-rf", "dist", "build", external=True)
134+
session.run("yarn", external=True)
134135
session.run("yarn", "build", external=True)
135136
session.run("python", "setup.py", "--quiet", "sdist", "bdist_wheel")
136137
session.run("twine", "check", "dist/*")
138+
for built_package in glob.glob("dist/*"):
139+
session.run("pip", "install", "--force-reinstall", built_package)
137140

138141

139142
@nox.session(reuse_venv=True)

0 commit comments

Comments
 (0)