Skip to content

Commit

Permalink
fix: update github-markup to remove python2 dependency (todogroup#209)
Browse files Browse the repository at this point in the history
* update github-markup to remove python2 dependency

* update dockerfile to python3
  • Loading branch information
willnorris authored Apr 14, 2021
1 parent b6e8287 commit 0c7c50c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
uses: actions/setup-python@v2
with:
python-version: '2.x'
python-version: '3.x'

- name: Install docutils for Github-Markup
if: ${{ runner.os != 'Windows' }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN apt-get remove -y $BUILD_DEPS && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*

FROM python:2.7-slim as python-deps
FROM python:3.9-slim as python-deps

# docutils for github-markup
RUN python -m pip install --upgrade pip && \
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ gem "org-ruby", "~> 0.9.12"
gem "creole", "~> 0.5.0"
gem "wikicloth", "~> 0.8.3"
gem "asciidoctor", "~> 2.0"
gem "github-markup", "~> 3.0"
gem "github-markup", "~> 4.0"
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GEM
escape_utils (~> 1.2.0)
mini_mime (~> 1.0)
rugged (>= 0.25.1)
github-markup (3.0.5)
github-markup (4.0.0)
htmlentities (4.3.4)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -84,7 +84,7 @@ DEPENDENCIES
commonmarker (~> 0.21.0)
creole (~> 0.5.0)
github-linguist (>= 7.12.1)
github-markup (~> 3.0)
github-markup (~> 4.0)
licensee (>= 9.9.0)
org-ruby (~> 0.9.12)
rdoc (= 3.12.1)
Expand Down

0 comments on commit 0c7c50c

Please sign in to comment.