Skip to content
Merged

v0.70 #2443

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a8acc78
Initialize v0.70
KJhellico Mar 17, 2025
556cd16
Reformat .po files (#2356)
KJhellico Mar 19, 2025
3cc7bb0
Bump ruff from 0.9.10 to 0.11.0 (#2357)
dependabot[bot] Mar 19, 2025
5cea169
Bump pre-commit from 4.1.0 to 4.2.0 (#2359)
dependabot[bot] Mar 19, 2025
204aa0c
Bump numpy from 2.2.3 to 2.2.4 (#2358)
dependabot[bot] Mar 19, 2025
de54a63
Bump coverage from 7.6.12 to 7.7.0 (#2360)
dependabot[bot] Mar 20, 2025
745a574
Update pre-commit hooks (#2361)
github-actions[bot] Mar 21, 2025
eb1a923
Update pre-commit hooks (#2364)
github-actions[bot] Mar 22, 2025
5a2819b
Update pyproject.toml: align with PEP 639 metadata format (#2363)
KJhellico Mar 22, 2025
e5a9ed6
Reformat BY.po files (#2365)
PPsyrius Mar 24, 2025
523d27c
Update Philippines holidays: 2025 Eid'l Fitr (#2367)
kleo Mar 25, 2025
59ac54c
chore: Update snapshots (#2368)
github-actions[bot] Mar 25, 2025
dba0c9d
Update Philippines holidays: adjust Bonifacio Day for 2023 (#2370)
w3stling Mar 25, 2025
1a81d99
chore: Update snapshots (#2371)
github-actions[bot] Mar 25, 2025
a9fce3c
Migrate Documentation from Sphinx to MkDocs (#2289)
Roshan-1024 Mar 26, 2025
f58a411
Bump ruff from 0.11.0 to 0.11.2 (#2376)
dependabot[bot] Mar 26, 2025
71976d2
Bump coverage from 7.7.0 to 7.7.1 (#2377)
dependabot[bot] Mar 26, 2025
31a5f7f
Update release notes generator (#2374)
KJhellico Mar 27, 2025
1eee2bc
Update README.md badges (#2379)
arkid15r Mar 27, 2025
d0eaf75
Reformat BY.po files
KJhellico Mar 27, 2025
d06b665
Adjust project files after migration to MkDocs (#2381)
KJhellico Mar 27, 2025
10f8198
Update Pakistan holidays: add 2023-2024 exact dates (#2380)
Wasif-Shahzad Mar 27, 2025
0c173a3
chore: Update snapshots (#2382)
github-actions[bot] Mar 27, 2025
5e9f05a
Update Argentina holidays: add categories and subdivisions support (#…
KJhellico Mar 27, 2025
9b4a3bc
Update tests requirements (#2383)
KJhellico Mar 28, 2025
8a486bf
Added commit SHAs instead of versions (#2384)
samyak003 Mar 28, 2025
4d89284
Add Fiji holidays (#2354)
Prateekshit73 Mar 29, 2025
e32f4d3
Update Pakistan holidays: add l10n support (en_PK, en_US, ur_PK) (#2385)
Wasif-Shahzad Mar 31, 2025
07ec9ed
chore: Update snapshots (#2397)
github-actions[bot] Mar 31, 2025
8d45c14
Update India holidays: Hindi l10n fixes (#2393)
Ninad0109 Mar 31, 2025
78bf7e9
Add Ivory Coast holidays (#2388)
kritibirda26 Apr 1, 2025
297d635
chore: Update snapshots (#2399)
github-actions[bot] Apr 1, 2025
622f8a7
Add iCalendar export support (#2362)
PPsyrius Apr 1, 2025
b870ccf
Update `HolidayBase::pop_named`: add support for more lookup types (#…
wth-d Apr 1, 2025
a9bb354
Add Antigua and Barbuda holidays (#2395)
kritibirda26 Apr 2, 2025
d24fbc9
chore: Update snapshots (#2403)
github-actions[bot] Apr 2, 2025
6085aa1
Bump pytest-cov from 6.0.0 to 6.1.0 (#2406)
dependabot[bot] Apr 2, 2025
a365bc0
Bump coverage from 7.7.1 to 7.8.0 (#2405)
dependabot[bot] Apr 2, 2025
ee26941
Bump tox from 4.24.2 to 4.25.0 (#2404)
dependabot[bot] Apr 2, 2025
51d8be5
Update Timor-Leste holidays: add `en_TL`, `th` l10n, update `en_US` l…
PPsyrius Apr 4, 2025
79e2d2f
Update pre-commit hooks (#2415)
github-actions[bot] Apr 4, 2025
00eb04c
Add Guinea holidays (#2398)
nalin-28 Apr 4, 2025
ebb2752
chore: Update snapshots (#2418)
github-actions[bot] Apr 4, 2025
f55391b
Update pre-commit hooks (#2419)
github-actions[bot] Apr 5, 2025
7bd3eb0
Add Qatar holidays (#2409)
Wasif-Shahzad Apr 5, 2025
19106c6
chore: Update snapshots (#2421)
github-actions[bot] Apr 5, 2025
6d193ff
Update `_ThaiLunisolar` and `ThaiCalendarHolidays` documentation (#2439)
PPsyrius Apr 7, 2025
2b5d97b
Finalize v0.70
arkid15r Apr 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ Your PR description goes here.
Thanks again for your contribution!
-->

[contributing-guidelines]: https://github.com/vacanza/holidays/blob/dev/CONTRIBUTING.rst
[contributing-guidelines]: https://github.com/vacanza/holidays/blob/dev/CONTRIBUTING.md
[docs]: https://github.com/vacanza/holidays/tree/dev/docs/source
50 changes: 25 additions & 25 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
check-latest: true
python-version: '3.13'

- name: Run pre-commit
uses: pre-commit/action@v3.0.1
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd

code-ql:
name: CodeQL
Expand All @@ -55,15 +55,15 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841
with:
category: '/language:python'

Expand All @@ -86,10 +86,10 @@ jobs:
- '3.13'
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
allow-prereleases: true
cache: pip
Expand All @@ -110,7 +110,7 @@ jobs:
make test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -120,10 +120,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
cache: pip
cache-dependency-path: |
Expand All @@ -142,7 +142,7 @@ jobs:
make package

- name: Upload package artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: dist
path: dist
Expand All @@ -158,7 +158,7 @@ jobs:

- name: Upload SBOM
if: startsWith(github.event.ref, 'refs/tags/v')
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: sbom
path: holidays-${{ env.VERSION }}-sbom.json
Expand All @@ -175,10 +175,10 @@ jobs:
- windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
cache: pip
cache-dependency-path: |
Expand All @@ -188,7 +188,7 @@ jobs:
python-version: '3.13'

- name: Get package artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
with:
name: dist
path: dist
Expand All @@ -210,10 +210,10 @@ jobs:
needs: test
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set Up Python
uses: actions/setup-python@v5
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
cache: pip
cache-dependency-path: requirements/docs.txt
Expand Down Expand Up @@ -244,13 +244,13 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Download package artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
with:
name: dist
path: dist

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc

sign-artifacts:
name: Create SHA1 checksums and Sigstore signatures
Expand All @@ -261,7 +261,7 @@ jobs:
id-token: write
steps:
- name: Download package artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
with:
name: dist
path: dist
Expand All @@ -274,14 +274,14 @@ jobs:
done

- name: Sign the files using Sigstore
uses: sigstore/gh-action-sigstore-python@v3.0.0
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46
with:
inputs: |
./dist/*.tar.gz
./dist/*.whl

- name: Upload package dist and signatures
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: signed-artifacts
path: dist
Expand All @@ -295,12 +295,12 @@ jobs:
contents: write
steps:
- name: Download SBOM
uses: actions/download-artifact@v4
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
with:
name: sbom

- name: Download package dist and signatures
uses: actions/download-artifact@v4
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
with:
name: signed-artifacts
path: dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
pull-requests: write
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- uses: actions/setup-python@v5
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
cache: pip
python-version: '3.12'
Expand All @@ -29,7 +29,7 @@ jobs:
python -m pip install pre-commit

- name: Use pre-commit environment cache
uses: actions/cache@v4
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
with:
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
path: ~/.cache/pre-commit
Expand All @@ -40,7 +40,7 @@ jobs:
pre-commit autoupdate
pre-commit run --all-files

- uses: peter-evans/create-pull-request@v7.0.8
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
with:
base: dev
body: Update pre-commit hooks to their latest versions.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prl-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
pull-requests: write
runs-on: ubuntu-24.04
steps:
- uses: actions/labeler@v5
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
6 changes: 3 additions & 3 deletions .github/workflows/update-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
cache: pip
cache-dependency-path: |
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
make snapshot

- uses: peter-evans/create-pull-request@v7.0.8
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
with:
base: dev
body: Automatically generated snapshots update.
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ build/*
coverage.lcov
coverage.xml
dist/
docs/auto_gen_files/
docs/build
docs/source/_autosummary
holidays/locale/pot/*.pot
MANIFEST
Pipfile
sbom.json
site/
venv/
19 changes: 1 addition & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ repos:
- id: check-builtin-literals
- id: check-yaml
- id: end-of-file-fixer
exclude_types:
- rst
- id: mixed-line-ending
args:
- --fix=lf
exclude: make.cmd
- id: trailing-whitespace
exclude_types:
- rst

- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
Expand All @@ -24,7 +20,7 @@ repos:
- --py39-plus

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.0
rev: v0.11.4
hooks:
- id: ruff
- id: ruff-format
Expand Down Expand Up @@ -67,19 +63,6 @@ repos:
- --implicit-optional
- --show-error-codes

- repo: https://github.com/myint/rstcheck
rev: v6.2.4
hooks:
- id: rstcheck
additional_dependencies:
- rstcheck
- sphinx

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: '1.5.0'
hooks:
Expand Down
6 changes: 2 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ python:
install:
- requirements: requirements/docs.txt

sphinx:
builder: html
configuration: docs/source/conf.py
fail_on_warning: true
mkdocs:
configuration: mkdocs.yml
8 changes: 6 additions & 2 deletions AUTHORS → AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Holidays Authors
================
# Holidays Authors

Aaron Picht
Aart Goossens
Expand Down Expand Up @@ -56,6 +55,7 @@ Greg Rafferty
Győző Papp
Heikki Orsila
Henrik Sozzi
Hiroki Kawahara
Hugh McNamara
Hugo van Kemenade
Isabelle COWAN-BERGMAN
Expand All @@ -82,6 +82,7 @@ Kate Golovanova
Kelsey Karin Hawley
Koert van der Veer
Koki Nomura
Kriti Birda
Maina Kamau
Malthe Borch
Marek Šuppa
Expand All @@ -95,6 +96,7 @@ Mike Borsetti
Mike Polyakovsky
Miroslav Šedivý
Monde Sinxi
Nalin Gupta
Nataliia Dmytriievska
Nate Harris
Nathan Ell
Expand All @@ -121,6 +123,7 @@ Robert Frazier
Robert Schmidtke
Robert Tran
Robin Emeršič
Roshan Pradhan
Ryan McCrory
Sam Tregar
Santiago Feliu
Expand All @@ -144,4 +147,5 @@ Victor Luna
Victor Miti
Ville Skyttä
Vu Nhat Chuong
Wasif Shahzad
Youhei Sakurai
Loading