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

fix: Security vulnerability #107

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download build artifacts (i.e. documentation)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: html-docs
path: docs/build/html/
Expand Down
4 changes: 3 additions & 1 deletion ci_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ dependencies:
- pip:
- numpy
- pytest
- sphinx==7.4 # TODO(CB): update sphinx allowed version for CI
- sphinx
- furo
- sphinx_copybutton
- sphinxcontrib-bibtex
- sphinxcontrib-applehelp
- sphinxcontrib-htmlhelp
- breathe
- pre-commit
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
configuration for CLEO documentation made using Sphinx
"""


# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
Expand Down
1 change: 0 additions & 1 deletion examples/bubble3d/bubble3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
piggyback ICON bubble test case
"""


import os
import sys
from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion examples/bubble3d/yac_bubble_data_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
output data and CLEO (e.g. for the bubble test case)
"""


#!/usr/bin/env python3

from yac import YAC, UnstructuredGrid, Field, Location, Calendar, TimeUnit, def_calendar
Expand Down
1 change: 0 additions & 1 deletion examples/fromfile/src/gen_input_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
for CLEO to run example with 3-D time-varying thermodynamics.
"""


import sys
import numpy as np

Expand Down
1 change: 0 additions & 1 deletion examples/fromfile/src/plot_output_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
fromfile example.
"""


import numpy as np
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
Expand Down
1 change: 0 additions & 1 deletion pySD/initsuperdropsbinary_src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
File Description:
"""


__all__ = [
"create_initsuperdrops",
"read_initsuperdrops",
Expand Down
1 change: 0 additions & 1 deletion pySD/thermobinary_src/create_thermodynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
File Description:
"""


import numpy as np
from os.path import isfile
from .. import cxx2py, readconfigfile, writebinary
Expand Down
1 change: 0 additions & 1 deletion pySD/writebinary.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
File Description:
"""


import numpy as np
import struct

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sphinx
furo
sphinx_copybutton
sphinxcontrib-bibtex
sphinxcontrib-applehelp
sphinxcontrib-htmlhelp
breathe
numpy
scipy
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
Copyright (c) 2023 MPI-M, Clara Bayley
"""


from setuptools import setup, find_packages

setup(
Expand Down
Loading