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: remove unnecessary deps #15787

Merged
merged 3 commits into from
Jul 21, 2021
Merged

chore: remove unnecessary deps #15787

merged 3 commits into from
Jul 21, 2021

Conversation

betodealmeida
Copy link
Member

SUMMARY

Remove contextlib2 and pathlib2, since they are backports that we no longer need.

I also cleaned up the deps in setup.py, we had duplicate deps.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A

TESTING INSTRUCTIONS

N/A

ADDITIONAL INFORMATION

  • Has associated issue:
  • 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

@betodealmeida betodealmeida changed the title chore: remove unneeded deps chore: remove unnecessary deps Jul 19, 2021
@codecov
Copy link

codecov bot commented Jul 19, 2021

Codecov Report

Merging #15787 (400052c) into master (6cb91ee) will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15787      +/-   ##
==========================================
+ Coverage   77.05%   77.17%   +0.11%     
==========================================
  Files         984      984              
  Lines       51650    52365     +715     
  Branches     6991     6991              
==========================================
+ Hits        39801    40414     +613     
- Misses      11625    11727     +102     
  Partials      224      224              
Flag Coverage Δ
hive ?
javascript 71.81% <ø> (ø)
mysql 81.94% <100.00%> (+0.38%) ⬆️
postgres 81.96% <100.00%> (+0.38%) ⬆️
python 82.05% <100.00%> (+0.09%) ⬆️
sqlite 81.59% <100.00%> (+0.39%) ⬆️

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

Impacted Files Coverage Δ
superset/cli.py 51.47% <100.00%> (ø)
superset/utils/celery.py 89.65% <100.00%> (ø)
superset/utils/decorators.py 92.85% <100.00%> (ø)
superset/db_engines/hive.py 0.00% <0.00%> (-82.15%) ⬇️
superset/db_engine_specs/hive.py 69.44% <0.00%> (-17.07%) ⬇️
superset/views/database/mixins.py 81.03% <0.00%> (-1.73%) ⬇️
superset/db_engine_specs/presto.py 83.36% <0.00%> (-1.06%) ⬇️
superset/db_engine_specs/base.py 88.28% <0.00%> (-0.40%) ⬇️
superset/utils/core.py 88.12% <0.00%> (-0.13%) ⬇️
superset/connectors/sqla/models.py 90.52% <0.00%> (+2.05%) ⬆️
... and 1 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 6cb91ee...400052c. Read the comment docs.

@betodealmeida betodealmeida force-pushed the remove_old_deps branch 2 times, most recently from f7414ef to 01d9b6b Compare July 20, 2021 15:33
Comment on lines -116 to -117
"pyparsing>=2.4.7, <3.0.0",
"holidays==0.10.3", # PINNED! https://github.com/dr-prodigy/python-holidays/issues/406
"deprecation>=2.1.0, <2.2.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

These are duplicates, see lines 99, 88, and 77 above.

@betodealmeida betodealmeida force-pushed the remove_old_deps branch 2 times, most recently from 2cab9e6 to e96b419 Compare July 21, 2021 14:51
@betodealmeida betodealmeida merged commit 3441182 into master Jul 21, 2021
cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
* chore: remove unneeded deps

* fix lint

* Run compile
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
* chore: remove unneeded deps

* fix lint

* Run compile
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
* chore: remove unneeded deps

* fix lint

* Run compile
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0 labels Mar 13, 2024
@mistercrunch mistercrunch deleted the remove_old_deps branch March 26, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants