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

Add requirements.txt to python gems #1061

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Add requirements.txt to python gems #1061

merged 2 commits into from
Jan 18, 2024

Conversation

jmthomas
Copy link
Member

closes #1060

@jmthomas jmthomas requested a review from ryanmelt January 17, 2024 22:11
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c7574b0) 75.33% compared to head (bef9bba) 75.32%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1061      +/-   ##
==========================================
- Coverage   75.33%   75.32%   -0.01%     
==========================================
  Files         590      590              
  Lines       43150    43158       +8     
  Branches      749      749              
==========================================
+ Hits        32508    32510       +2     
- Misses      10563    10570       +7     
+ Partials       79       78       -1     
Flag Coverage Δ
frontend 55.26% <ø> (-0.03%) ⬇️
python 83.60% <ø> (-0.02%) ⬇️
ruby-api 48.71% <ø> (ø)
ruby-backend 80.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

# If we're using Python create a requirements.txt and list it in the gemspec
File.open("requirements.txt", 'w') do |file|
file.puts "# Python dependencies"
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will overwrite an existing requirements.txt. Check for existence first. Also seems to always run even if python not specified.

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jmthomas jmthomas merged commit dfd836e into main Jan 18, 2024
24 checks passed
@jmthomas jmthomas deleted the python_plugin branch January 18, 2024 15:17
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.

requirements.txt not included in gemspec
2 participants