From eb78f8011e7e133db5ad38df3a75ec5edb247d8e Mon Sep 17 00:00:00 2001 From: Giovani Hidalgo Ceotto Date: Sat, 22 Oct 2022 22:38:45 +0000 Subject: [PATCH 1/3] FIX: hotfix for issue #261 --- .github/workflows/test_pytest.yaml | 2 +- rocketpy/EnvironmentAnalysis.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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/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) From 5fa47a490be85fec9d857116204c41d2f440b615 Mon Sep 17 00:00:00 2001 From: Giovani Hidalgo Ceotto Date: Sat, 22 Oct 2022 22:38:58 +0000 Subject: [PATCH 2/3] FIX: hotfix for issue #251 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 767c8d76b..677880f46 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,9 @@ "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", From d0b3601ddaa9629c36d5a35dc344660b01f6792d Mon Sep 17 00:00:00 2001 From: Giovani Hidalgo Ceotto Date: Sat, 22 Oct 2022 22:45:57 +0000 Subject: [PATCH 3/3] REL: update version to 0.12.1 --- docs/conf.py | 2 +- docs/user/installation.rst | 2 +- rocketpy/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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/__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 677880f46..6237e49a4 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="rocketpy", - version="0.12.0", + version="0.12.1", install_requires=[ "numpy>=1.0", "scipy>=1.0",