Skip to content

Commit

Permalink
Merge pull request #1437 from vacanza/beta
Browse files Browse the repository at this point in the history
v.0.31
  • Loading branch information
arkid15r authored Aug 21, 2023
2 parents 555408a + 05aaf44 commit f8c9095
Show file tree
Hide file tree
Showing 163 changed files with 3,815 additions and 459 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12.0-beta.4', 'pypy-3.8']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8']

steps:
- uses: actions/checkout@v3
Expand All @@ -37,6 +37,7 @@ jobs:
requirements/runtime.txt
requirements/tests.txt
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -100,7 +101,7 @@ jobs:
name: dist
path: dist
- name: Publish Package
uses: pypa/[email protected].8
uses: pypa/[email protected].10
with:
user: __token__
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
exclude: ^(docs)

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.5.0
hooks:
- id: mypy
additional_dependencies: [types-all]
Expand Down
20 changes: 20 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Version 0.31
============

Released August 21, 2023

- Refactor HolidayBase methods (#1425 by @KJhellico)
- Add Barbados holidays (#1393 by @arjunanan6)
- Add Iran holidays (#1409 by @KJhellico)
- Add Vanuatu holidays (#1423 by @Strategos1)
- Fix Ukraine overlapping observed holidays (#1421 by @KJhellico)
- Update Barbados holidays (#1430 by @KJhellico)
- Update Saudi Arabia holidays: fix Eid al-Fitr and Eid al-Adha observance (#1414 by @KJhellico)
- Update Singapore holidays: add 2023 Polling Day (#1424 by @mborsetti)
- Update Slovenia holidays: add 2023 Solidarity Day (#1426 by @kanobi, @PPsyrius)
- Update Vanuatu holidays (#1431 by @KJhellico)
- Add l10n tests (#1420 by @arkid15r)
- Add latest Python 3.12 release to tests (#1432 by @KJhellico)
- Use holidays.groups instead of holidays.holiday_groups (#1428 by @arkid15r)
- Use typing cast for HolidayBase::__eq__ (#1429 by @arkid15r)

Version 0.30
============

Expand Down
16 changes: 14 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Available Countries
.. _ISO 639-1 code: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
.. _ISO 639-2 code: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes

We currently support 131 country codes. The standard way to refer to a country
We currently support 134 country codes. The standard way to refer to a country
is by using its `ISO 3166-1 alpha-2 code`_, the same used for domain names, and
for a subdivision its `ISO 3166-2 code`_. Some of the countries support more
than one language for holiday names output.
Expand Down Expand Up @@ -185,6 +185,10 @@ The list of supported countries, their subdivisions and supported languages
- BD
-
-
* - Barbados
- BB
-
-
* - Belarus
- BY
-
Expand Down Expand Up @@ -240,7 +244,7 @@ The list of supported countries, their subdivisions and supported languages
* - Canada
- CA
- Provinces and territories: AB, BC, MB, NB, NL, NS, NT, NU, **ON**, PE, QC, SK, YT
- ar, **en**, en_US, fr, th
- ar, **en**, fr, th
* - Chad
- TD
-
Expand Down Expand Up @@ -373,6 +377,10 @@ The list of supported countries, their subdivisions and supported languages
- ID
-
- en_US, **id**, uk
* - Iran
- IR
-
- en_US, **fa**
* - Ireland
- IE
-
Expand Down Expand Up @@ -637,6 +645,10 @@ The list of supported countries, their subdivisions and supported languages
- UZ
-
-
* - Vanuatu
- VU
-
-
* - Vatican City
- VA
-
Expand Down
2 changes: 1 addition & 1 deletion holidays/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from holidays.registry import EntityLoader
from holidays.utils import *

__version__ = "0.30"
__version__ = "0.31"


EntityLoader.load("countries", globals())
Expand Down
1 change: 1 addition & 0 deletions holidays/calendars/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
from holidays.calendars.islamic import _CustomIslamicCalendar, _IslamicLunar
from holidays.calendars.julian import JULIAN_CALENDAR
from holidays.calendars.julian_revised import JULIAN_REVISED_CALENDAR
from holidays.calendars.persian import _Persian
from holidays.calendars.thai import _ThaiLunisolar, KHMER_CALENDAR, THAI_CALENDAR
Loading

0 comments on commit f8c9095

Please sign in to comment.