Skip to content

Commit

Permalink
Merge pull request 2i2c-org#4553 from 2i2c-org/dependabot/pip/py-mark…
Browse files Browse the repository at this point in the history
…down-table-eq-1.1.star

Update py-markdown-table requirement from ==0.4.* to ==1.1.*
  • Loading branch information
sgibson91 authored Aug 13, 2024
2 parents 493da8a + ca7eb1b commit 6f346b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions deployer/utils/rendering.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import subprocess

from markdownTable import markdownTable
from py_markdown_table.markdown_table import markdown_table


def print_colour(msg: str, colour="green"):
Expand Down Expand Up @@ -96,9 +96,9 @@ def create_markdown_comment(support_staging_matrix, prod_matrix):

# Generate a Markdown table
support_staging_md_table = (
markdownTable(formatted_support_staging_matrix)
.setParams(row_sep="markdown", quote=False)
.getMarkdown()
markdown_table(formatted_support_staging_matrix)
.set_params(row_sep="markdown", quote=False)
.get_markdown()
)
else:
support_staging_md_table = []
Expand All @@ -118,9 +118,9 @@ def create_markdown_comment(support_staging_matrix, prod_matrix):

# Generate a Markdown table
prod_md_table = (
markdownTable(formatted_prod_matrix)
.setParams(row_sep="markdown", quote=False)
.getMarkdown()
markdown_table(formatted_prod_matrix)
.set_params(row_sep="markdown", quote=False)
.get_markdown()
)
else:
prod_md_table = []
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jsonschema==4.*
# rich, py-markdown-table, tabulate are used for pretty printing outputs that would otherwise
# be difficult to parse by a human
rich==13.*
py-markdown-table==0.4.*
py-markdown-table==1.1.*
tabulate==0.9.*

# jhub_client, pytest, and pytest-asyncio are used for our health checks
Expand Down

0 comments on commit 6f346b3

Please sign in to comment.