Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3d94770
Merge branch 'docs-deployable-payload' into enh/complex_simulations_r…
Gui-FernandesBR Oct 4, 2022
61c1ca3
ENH: moving flight plots to the new flight_plots
Gui-FernandesBR Oct 4, 2022
dff75be
ENH: Adding first two compare functions
Gui-FernandesBR Oct 5, 2022
702d986
Merge enh/complex_simulations into refactor_plots
Gui-FernandesBR Oct 5, 2022
f929db2
ENH: 2nd part of comparison functions
Gui-FernandesBR Oct 5, 2022
fc6a249
ENH: Add 3rd part of compare Functions
Gui-FernandesBR Oct 5, 2022
ae4fd71
ENH: Add final comparison functions
Gui-FernandesBR Oct 5, 2022
83e9d16
ENH: Fix rail buttons and .info()
Gui-FernandesBR Oct 5, 2022
7db1ba0
ENH: Improving deployable payload example
Gui-FernandesBR Oct 5, 2022
854cefb
ENH: adding unit test
Gui-FernandesBR Oct 5, 2022
9995360
MAINT: removing TODOs that were solved
Gui-FernandesBR Oct 5, 2022
1b679c6
GIT: Solving conflicts on notebook, current remain
Gui-FernandesBR Oct 5, 2022
eb78f80
FIX: hotfix for issue #261
giovaniceotto Oct 22, 2022
5fa47a4
FIX: hotfix for issue #251
giovaniceotto Oct 22, 2022
d0b3601
REL: update version to 0.12.1
giovaniceotto Oct 22, 2022
d267724
REL: automate release to PyPI with GitHub Actions
giovaniceotto Oct 24, 2022
d50c12d
Merge pull request #264 from RocketPy-Team/rel/auto-release-pypi
Gui-FernandesBR Oct 24, 2022
a9f9fab
Merge pull request #262 from RocketPy-Team/hotfix-261-251
Gui-FernandesBR Oct 24, 2022
e06febf
Merge branch 'master' into enh/complex_simulations_refactor_plots
Gui-FernandesBR Nov 12, 2022
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
34 changes: 34 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

name: Publish New Version to PyPI

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
2,107 changes: 1,410 additions & 697 deletions docs/notebooks/deployable_payload_example.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down
8 changes: 4 additions & 4 deletions rocketpy/EnvironmentAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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)
Expand Down Expand Up @@ -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):
Expand All @@ -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)
Expand Down
Loading