diff --git a/.github/workflows/test_pytest.yaml b/.github/workflows/test_pytest.yaml index 65fbf269e..8bb5bfc03 100644 --- a/.github/workflows/test_pytest.yaml +++ b/.github/workflows/test_pytest.yaml @@ -12,7 +12,7 @@ jobs: - macos-latest - windows-latest python-version: - - 3.8 + - 3.7 steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/docs/conf.py b/docs/conf.py index 95f4e0ec8..614f78a0a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ author = "Giovani Hidalgo Ceotto" # The full version, including alpha/beta/rc tags -release = "0.12.0" +release = "0.12.1" # -- General configuration --------------------------------------------------- diff --git a/docs/user/installation.rst b/docs/user/installation.rst index f5f22f824..f80f6e2a1 100644 --- a/docs/user/installation.rst +++ b/docs/user/installation.rst @@ -19,7 +19,7 @@ If you want to choose a specific version to guarantee compatibility, you may ins .. code-block:: shell - pip install rocketpy==0.12.0 + pip install rocketpy==0.12.1 Optional Installation Method: ``conda`` diff --git a/rocketpy/EnvironmentAnalysis.py b/rocketpy/EnvironmentAnalysis.py index 2ae57a231..4d24043c0 100644 --- a/rocketpy/EnvironmentAnalysis.py +++ b/rocketpy/EnvironmentAnalysis.py @@ -2040,7 +2040,7 @@ def init(): ax.set_ylabel("Probability") ax.set_title("Wind Gust Distribution") # ax.grid(True) - return ln, *bar_container.patches, tx + return (ln, *bar_container.patches, tx) # Define function which sets each animation frame def update(frame): @@ -2056,7 +2056,7 @@ def update(frame): ln.set_data(xdata, ydata) # Update hour text tx.set_text(f"{float(frame[0]):05.2f}".replace(".", ":")) - return ln, *bar_container.patches, tx + return (ln, *bar_container.patches, tx) for frame in wind_gusts_at_given_hour.items(): update(frame) @@ -2243,7 +2243,7 @@ def init(): label="SAcup wind speed constraints", ) # Plot SAcup wind speed constraints - return ln, *bar_container.patches, tx + return (ln, *bar_container.patches, tx) # Define function which sets each animation frame def update(frame): @@ -2261,7 +2261,7 @@ def update(frame): ln.set_data(xdata, ydata) # Update hour text tx.set_text(f"{float(frame[0]):05.2f}".replace(".", ":")) - return ln, *bar_container.patches, tx + return (ln, *bar_container.patches, tx) for frame in surface_wind_speeds_at_given_hour.items(): update(frame) diff --git a/rocketpy/__init__.py b/rocketpy/__init__.py index ecca8a231..7aa6f0454 100644 --- a/rocketpy/__init__.py +++ b/rocketpy/__init__.py @@ -16,7 +16,7 @@ __copyright__ = "Copyright 20XX, Projeto Jupiter" __credits__ = ["Matheus Marques Araujo", "Rodrigo Schmitt", "Guilherme Tavares"] __license__ = "MIT" -__version__ = "0.12.0" +__version__ = "0.12.1" __maintainer__ = "Giovani Hidalgo Ceotto" __email__ = "ghceotto@gmail.com" __status__ = "Production" diff --git a/setup.py b/setup.py index 767c8d76b..6237e49a4 100644 --- a/setup.py +++ b/setup.py @@ -5,13 +5,14 @@ setuptools.setup( name="rocketpy", - version="0.12.0", + version="0.12.1", install_requires=[ "numpy>=1.0", "scipy>=1.0", "matplotlib>=3.0", - "netCDF4>=1.4", + "netCDF4>=1.4,<1.6", "windrose>=1.6.8", + "ipywidgets>=7.6.3", "requests", "pytz", "timezonefinder",