Skip to content

Commit cc40b9a

Browse files
authored
Add Python 3.8 support (#31)
1 parent 388a7a5 commit cc40b9a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

python/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ RUN PYTHONUSERBASE=/ptvsd pip install --user ptvsd
44
FROM python:3.7 as python37
55
RUN PYTHONUSERBASE=/ptvsd pip install --user ptvsd
66

7+
FROM python:3.8 as python38
8+
RUN PYTHONUSERBASE=/ptvsd pip install --user ptvsd
9+
710
# Now populate the duct-tape image with the language runtime debugging support files
811
# The debian image is about 95MB bigger
912
FROM busybox
@@ -13,3 +16,4 @@ CMD ["/bin/sh", "/install.sh"]
1316
WORKDIR /duct-tape
1417
COPY --from=python27 /ptvsd/ python/
1518
COPY --from=python37 /ptvsd/ python/
19+
COPY --from=python38 /ptvsd/ python/

test/structure-tests-python.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ fileExistenceTests:
55
path: '/duct-tape/python/lib/python2.7/site-packages/ptvsd/__init__.py'
66
- name: 'ptvsd for python 3.7'
77
path: '/duct-tape/python/lib/python3.7/site-packages/ptvsd/__init__.py'
8+
- name: 'ptvsd for python 3.8'
9+
path: '/duct-tape/python/lib/python3.8/site-packages/ptvsd/__init__.py'
810

911
commandTests:
1012
- name: "run with no /dbg should fail"

0 commit comments

Comments
 (0)