Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU-86dtaf4yf - Fix Sphinx documentation generation #1241

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

luc10921
Copy link
Collaborator

There was a outdated miktex package, added a check and a verify to see if packages are ok

@luc10921 luc10921 requested a review from meevee98 April 23, 2024 14:37
@luc10921 luc10921 self-assigned this Apr 23, 2024
@melanke
Copy link
Collaborator

melanke commented Apr 23, 2024

@@ -10,6 +10,15 @@
if os.path.isdir(latex_build_dir):
shutil.rmtree(latex_build_dir)

print('\nChecking for MikTex updates...')
checkMiktexCmd = "miktex packages check-update"
os.system(checkMiktexCmd)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using subprocess.run() instead of os.system() for better error handling and security.


print('\nChecking for MikTex packages integrity...')
verifyMiktexCmd = "miktex packages verify"
os.system(verifyMiktexCmd)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using subprocess.run() instead of os.system() for better error handling and security.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 91.942%. remained the same
when pulling ef91ce4 on CU-86dtaf4yf
into 7b1359f on development.

@meevee98 meevee98 merged commit 10b77de into development Apr 23, 2024
5 checks passed
@meevee98 meevee98 deleted the CU-86dtaf4yf branch April 23, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants