Skip to content

Commit

Permalink
Merge branch 'feature/fix_publish_docker_image_action' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lb803 committed Feb 17, 2023
2 parents 04f6820 + fb2b62a commit 296e32e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim-buster
FROM python:3.11-slim-buster

WORKDIR /ebook_automation

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
beautifulsoup4==4.5.3
beautifulsoup4==4.11.2
thothlibrary==0.17.0
lxml==4.9.2
2 changes: 1 addition & 1 deletion src/epublius/epublius.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _get_opf_soup(self):
raise

with open(opf_path, 'r') as opf_file:
soup = BeautifulSoup(opf_file, 'html.parser')
soup = BeautifulSoup(opf_file, features='xml')

return soup

Expand Down
2 changes: 1 addition & 1 deletion src/epublius/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_file_soup(self):
self.contents[self.index])

with open(file_path, 'r') as file:
soup = BeautifulSoup(file, 'html.parser')
soup = BeautifulSoup(file, features='xml')

return soup

Expand Down

0 comments on commit 296e32e

Please sign in to comment.