Skip to content

Commit a9f9fab

Browse files
Merge pull request #262 from RocketPy-Team/hotfix-261-251
Hotfix for issues 251 and 261
2 parents d50c12d + d0b3601 commit a9f9fab

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.github/workflows/test_pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- macos-latest
1313
- windows-latest
1414
python-version:
15-
- 3.8
15+
- 3.7
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Set up Python ${{ matrix.python-version }}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
author = "Giovani Hidalgo Ceotto"
2525

2626
# The full version, including alpha/beta/rc tags
27-
release = "0.12.0"
27+
release = "0.12.1"
2828

2929

3030
# -- General configuration ---------------------------------------------------

docs/user/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you want to choose a specific version to guarantee compatibility, you may ins
1919

2020
.. code-block:: shell
2121
22-
pip install rocketpy==0.12.0
22+
pip install rocketpy==0.12.1
2323
2424
2525
Optional Installation Method: ``conda``

rocketpy/EnvironmentAnalysis.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,7 +2040,7 @@ def init():
20402040
ax.set_ylabel("Probability")
20412041
ax.set_title("Wind Gust Distribution")
20422042
# ax.grid(True)
2043-
return ln, *bar_container.patches, tx
2043+
return (ln, *bar_container.patches, tx)
20442044

20452045
# Define function which sets each animation frame
20462046
def update(frame):
@@ -2056,7 +2056,7 @@ def update(frame):
20562056
ln.set_data(xdata, ydata)
20572057
# Update hour text
20582058
tx.set_text(f"{float(frame[0]):05.2f}".replace(".", ":"))
2059-
return ln, *bar_container.patches, tx
2059+
return (ln, *bar_container.patches, tx)
20602060

20612061
for frame in wind_gusts_at_given_hour.items():
20622062
update(frame)
@@ -2243,7 +2243,7 @@ def init():
22432243
label="SAcup wind speed constraints",
22442244
) # Plot SAcup wind speed constraints
22452245

2246-
return ln, *bar_container.patches, tx
2246+
return (ln, *bar_container.patches, tx)
22472247

22482248
# Define function which sets each animation frame
22492249
def update(frame):
@@ -2261,7 +2261,7 @@ def update(frame):
22612261
ln.set_data(xdata, ydata)
22622262
# Update hour text
22632263
tx.set_text(f"{float(frame[0]):05.2f}".replace(".", ":"))
2264-
return ln, *bar_container.patches, tx
2264+
return (ln, *bar_container.patches, tx)
22652265

22662266
for frame in surface_wind_speeds_at_given_hour.items():
22672267
update(frame)

rocketpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
__copyright__ = "Copyright 20XX, Projeto Jupiter"
1717
__credits__ = ["Matheus Marques Araujo", "Rodrigo Schmitt", "Guilherme Tavares"]
1818
__license__ = "MIT"
19-
__version__ = "0.12.0"
19+
__version__ = "0.12.1"
2020
__maintainer__ = "Giovani Hidalgo Ceotto"
2121
__email__ = "[email protected]"
2222
__status__ = "Production"

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55

66
setuptools.setup(
77
name="rocketpy",
8-
version="0.12.0",
8+
version="0.12.1",
99
install_requires=[
1010
"numpy>=1.0",
1111
"scipy>=1.0",
1212
"matplotlib>=3.0",
13-
"netCDF4>=1.4",
13+
"netCDF4>=1.4,<1.6",
1414
"windrose>=1.6.8",
15+
"ipywidgets>=7.6.3",
1516
"requests",
1617
"pytz",
1718
"timezonefinder",

0 commit comments

Comments
 (0)