Skip to content

Commit 0c7c50c

Browse files
authored
fix: update github-markup to remove python2 dependency (#209)
* update github-markup to remove python2 dependency * update dockerfile to python3
1 parent b6e8287 commit 0c7c50c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: ${{ runner.os != 'Windows' }}
4242
uses: actions/setup-python@v2
4343
with:
44-
python-version: '2.x'
44+
python-version: '3.x'
4545

4646
- name: Install docutils for Github-Markup
4747
if: ${{ runner.os != 'Windows' }}

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN apt-get remove -y $BUILD_DEPS && \
3737
apt-get autoremove -y && \
3838
rm -rf /var/lib/apt/lists/*
3939

40-
FROM python:2.7-slim as python-deps
40+
FROM python:3.9-slim as python-deps
4141

4242
# docutils for github-markup
4343
RUN python -m pip install --upgrade pip && \

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ gem "org-ruby", "~> 0.9.12"
99
gem "creole", "~> 0.5.0"
1010
gem "wikicloth", "~> 0.8.3"
1111
gem "asciidoctor", "~> 2.0"
12-
gem "github-markup", "~> 3.0"
12+
gem "github-markup", "~> 4.0"

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GEM
2424
escape_utils (~> 1.2.0)
2525
mini_mime (~> 1.0)
2626
rugged (>= 0.25.1)
27-
github-markup (3.0.5)
27+
github-markup (4.0.0)
2828
htmlentities (4.3.4)
2929
i18n (1.8.9)
3030
concurrent-ruby (~> 1.0)
@@ -84,7 +84,7 @@ DEPENDENCIES
8484
commonmarker (~> 0.21.0)
8585
creole (~> 0.5.0)
8686
github-linguist (>= 7.12.1)
87-
github-markup (~> 3.0)
87+
github-markup (~> 4.0)
8888
licensee (>= 9.9.0)
8989
org-ruby (~> 0.9.12)
9090
rdoc (= 3.12.1)

0 commit comments

Comments
 (0)