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

Manage Python dependencies in requirements.txt #1177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bcoconni
Copy link
Member

This PR introduces a requirements.txt file in the python directory, simplifying the process of downloading dependencies necessary for building our Python module and executing automated tests. After merging this PR, executing the command below will install the required dependencies:

> pip install -r python/requirements.txt

This change will also simplify the dependency management in our CI workflow by removing most of the hard coded Python dependencies from .github/workflows/cpp-python-build.yml.

This PR also caches the Python dependencies used by our CI workflow. This is to reduce the workload on the PyPI servers as explained in the blog post Let's go easy on PyPI, OK ?. Although JSBSim is most likely a very minor contributor to the bandwidth demand for PyPI, this PR will help minimize as much as we can the bandwidth usage from PyPI.

Copy link

codecov bot commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 24.96%. Comparing base (c587d54) to head (23628b8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1177   +/-   ##
=======================================
  Coverage   24.96%   24.96%           
=======================================
  Files         170      170           
  Lines       19283    19283           
=======================================
  Hits         4814     4814           
  Misses      14469    14469           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seanmcleod
Copy link
Member

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants