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

chore: add release to pip requirements #17752

Merged
merged 4 commits into from
Dec 16, 2021

Conversation

eschutho
Copy link
Member

@eschutho eschutho commented Dec 14, 2021

SUMMARY

1.4 builds were breaking because the package "requests" wasn't found. We call the package in `superset/utils/webdriver.py' so it makes sense that we are explicitly requiring the package.

I also fixed up some tests that weren't passing due to merge conflicts.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@eschutho eschutho force-pushed the elizabeth/add-requests branch from 9645f88 to cc03ab4 Compare December 14, 2021 22:59
@pull-request-size pull-request-size bot added size/M and removed size/S labels Dec 15, 2021
@eschutho eschutho force-pushed the elizabeth/add-requests branch from c584e12 to 5f9f0b1 Compare December 15, 2021 01:42
@eschutho eschutho force-pushed the elizabeth/add-requests branch 5 times, most recently from d50e5af to 7e397ae Compare December 15, 2021 17:34
@codecov
Copy link

codecov bot commented Dec 15, 2021

Codecov Report

Merging #17752 (7e397ae) into 1.4 (40b8cc1) will increase coverage by 5.08%.
The diff coverage is 72.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##              1.4   #17752      +/-   ##
==========================================
+ Coverage   76.92%   82.01%   +5.08%     
==========================================
  Files        1030      359     -671     
  Lines       55185    28968   -26217     
  Branches     7497        0    -7497     
==========================================
- Hits        42452    23758   -18694     
+ Misses      12476     5210    -7266     
+ Partials      257        0     -257     
Flag Coverage Δ
hive ?
javascript ?
mysql 81.91% <72.36%> (-0.04%) ⬇️
postgres 81.92% <72.36%> (-0.04%) ⬇️
presto ?
python 82.01% <72.36%> (-0.45%) ⬇️
sqlite 81.59% <72.36%> (-0.04%) ⬇️

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

Impacted Files Coverage Δ
superset/charts/api.py 86.08% <ø> (+0.26%) ⬆️
superset/config.py 91.44% <ø> (-0.03%) ⬇️
superset/db_engine_specs/hive.py 69.49% <0.00%> (-17.33%) ⬇️
superset/examples/utils.py 28.57% <0.00%> (ø)
superset/views/base.py 75.00% <0.00%> (ø)
superset/examples/bart_lines.py 25.80% <25.00%> (-1.78%) ⬇️
superset/examples/country_map.py 23.80% <25.00%> (-1.20%) ⬇️
superset/examples/energy.py 25.00% <25.00%> (-1.20%) ⬇️
superset/examples/flights.py 17.64% <25.00%> (-1.11%) ⬇️
superset/examples/long_lat.py 22.72% <25.00%> (-1.09%) ⬇️
... and 710 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7520626...7e397ae. Read the comment docs.

@@ -27,7 +27,7 @@ repos:
rev: v0.910
hooks:
- id: mypy
additional_dependencies: [types-all]
additional_dependencies: [types-all, types-redis]
Copy link
Member

Choose a reason for hiding this comment

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

Thank you! ❤️

@eschutho eschutho force-pushed the elizabeth/add-requests branch 2 times, most recently from 8e3da00 to cbd819a Compare December 16, 2021 01:16
@eschutho eschutho merged commit 1ac1899 into apache:1.4 Dec 16, 2021
@eschutho eschutho deleted the elizabeth/add-requests branch December 16, 2021 02:01
eschutho added a commit that referenced this pull request Dec 22, 2021
* add requests to pip requirements

* fix tests

* add redis typing for mypy

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

Successfully merging this pull request may close these issues.

2 participants