Skip to content

chore: Bump holidays to 0.28#24647

Merged
john-bodley merged 2 commits into
apache:masterfrom
arkid15r:update-python-holidays
Jul 12, 2023
Merged

chore: Bump holidays to 0.28#24647
john-bodley merged 2 commits into
apache:masterfrom
arkid15r:update-python-holidays

Conversation

@arkid15r
Copy link
Copy Markdown
Contributor

@arkid15r arkid15r commented Jul 10, 2023

SUMMARY

Upgrade holidays to v0.28.
Set holidays package upper bound to '<1.0'

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

@EugeneTorap
Copy link
Copy Markdown
Contributor

Thank you!
@dpgaspar @villebro Can you review it?

Comment thread setup.py Outdated
"gunicorn>=20.1.0; sys_platform != 'win32'",
"hashids>=1.3.1, <2",
"holidays>=0.23, <0.24",
"holidays>=0.28, <0.29",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Typically the upper bound should be exclusive of the next major version (assuming it follows semver notation).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@arkid15r Do you have the major version of holidays? If no, we can remove the upper bound or use <1.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe relaxing the upper bound a bit would be the best case scenario here. I'll update the PR to use holidays>=0.28, <1.0

@john-bodley thank you for the suggestion.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 12, 2023

Codecov Report

Merging #24647 (623a78a) into master (fe2c14f) will increase coverage by 8.85%.
The diff coverage is 33.04%.

❗ Current head 623a78a differs from pull request most recent head 2cbdbc0. Consider uploading reports for the commit 2cbdbc0 to get more accurate results

@@            Coverage Diff             @@
##           master   #24647      +/-   ##
==========================================
+ Coverage   58.33%   67.19%   +8.85%     
==========================================
  Files        1907     1908       +1     
  Lines       74153    74210      +57     
  Branches     8182     8186       +4     
==========================================
+ Hits        43255    49863    +6608     
+ Misses      28775    22226    -6549     
+ Partials     2123     2121       -2     
Flag Coverage Δ
hive ?
mysql 79.42% <45.83%> (?)
postgres 79.51% <45.83%> (?)
presto ?
python 79.65% <45.83%> (+18.52%) ⬆️
sqlite 78.07% <45.83%> (?)
unit ?

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

Impacted Files Coverage Δ
...frontend/src/SqlLab/components/SqlEditor/index.jsx 52.73% <0.00%> (-7.16%) ⬇️
superset-frontend/src/components/Icons/Icon.tsx 0.00% <ø> (ø)
...Filters/FilterBar/FilterControls/FilterControl.tsx 27.69% <0.00%> (-0.44%) ⬇️
...veFilters/FilterBar/FilterControls/FilterValue.tsx 5.76% <ø> (+0.10%) ⬆️
...tersConfigModal/FiltersConfigForm/DefaultValue.tsx 9.09% <0.00%> (ø)
...mponents/nativeFilters/FiltersConfigModal/utils.ts 46.96% <0.00%> (ø)
...nd/src/dashboard/components/nativeFilters/state.ts 64.28% <ø> (ø)
.../src/explore/components/ControlPanelsContainer.tsx 69.76% <0.00%> (ø)
...features/annotationLayers/AnnotationLayerModal.tsx 58.97% <ø> (ø)
...ntend/src/features/annotations/AnnotationModal.tsx 50.98% <ø> (ø)
... and 32 more

... and 340 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@EugeneTorap
Copy link
Copy Markdown
Contributor

Hi @rusackas @john-bodley! Merge it?

@john-bodley john-bodley merged commit 767afef into apache:master Jul 12, 2023
@arkid15r arkid15r deleted the update-python-holidays branch July 12, 2023 17:07
@michael-s-molina michael-s-molina added the v3.0 Label added by the release manager to track PRs to be included in the 3.0 branch label Jul 13, 2023
michael-s-molina pushed a commit that referenced this pull request Jul 26, 2023
@mistercrunch mistercrunch added 🍒 3.0.0 Cherry-picked to 3.0.0 🍒 3.0.1 Cherry-picked to 3.0.1 🍒 3.0.2 Cherry-picked to 3.0.2 🍒 3.0.3 Cherry-picked to 3.0.3 🍒 3.0.4 Cherry-picked to 3.0.4 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 First shipped in 3.1.0 labels Mar 8, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
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 size/S v3.0 Label added by the release manager to track PRs to be included in the 3.0 branch 🍒 3.0.0 Cherry-picked to 3.0.0 🍒 3.0.1 Cherry-picked to 3.0.1 🍒 3.0.2 Cherry-picked to 3.0.2 🍒 3.0.3 Cherry-picked to 3.0.3 🍒 3.0.4 Cherry-picked to 3.0.4 🚢 3.1.0 First shipped in 3.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants