Tags: comm/python-holidays
Tags
v.0.17.1 (vacanza#806) Version 0.17.1 ============== Released November 23, 2022 - Swaziland deprecation warning fix vacanza#794 (arkid15r)
v.0.17 (vacanza#785) * add honduras tests * add honduras tests * Add tests for many edge cases * Add tests for many edge cases * remove duplicate function * v.0.15 beta init * Typechecking (vacanza#661) * typechecking HolidayBase, holidays.utils, miscellaneous typechecking note: coverage to be extended to other parts of the project code * Update Ukraine holidays. - Add Day of Ukrainian Statehood holiday. - Edit Victory Day name. - Fix formatting. - Update tests for Ukraine holidays. - Switch to <= and >= for consistency. - Rename Orthodox Easter. * CHANGES sync * Add Day after Thanksgiving to US - PA holidays (vacanza#675) * CHANGES sync * CHANGES sync, pre-commit reviews * test_ukraine pre-commit fix * Bump actions/setup-python from 3.1.0 to 4.1.0 (vacanza#682) * Bump pre-commit/action from 2.0.3 to 3.0.0 (vacanza#672) * removed py36 from toml target-version array * Add Cuba (vacanza#678) authored-by: bthompson <bthompson@pinterest.com> * CHANGES sync * Make Colombian holidays preserve historical observation (vacanza#676) Authored-by: bthompson <bthompson@pinterest.com> * Make Venezuela holidays preserve historical observation (vacanza#677) Authored-by: bthompson <bthompson@pinterest.com> * CHANGES sync * black fixes * removed outdated deprecation warnings * Drop support for PortugalExt * Ensure Canada Christmas observed falls after 25 and not before - new version vacanza#579 * CHANGES sync * README sync (support for Cuba) * Drop support for UK subdivisions as countries (England, Scotland..) (dr-p) Drop support for IsleOfMan as UK subdivision (dr-p) * Added support for Python 3.11, improved README badges * Fixed CD/CI setup.cfg typo * Added py3.11 to toml config * Removed py3.11 from setup.cfg due to failing pre-commit checks * Bump pypa/gh-action-pypi-publish from 1.5.0 to 1.5.1 vacanza#686 * Doc example fix (vacanza#685) * added pentecost monday for province of bolzano source: https://it.wikipedia.org/wiki/Pentecoste * Whitsun Monday - province of Bolzano - IT (vacanza#689) * Bump actions/setup-python to 4.2.0 (vacanza#688) * v.0.15 * v.0.16 beta init * Add UK Holiday for Queen Elizabeth II Funeral (vacanza#702) * Add Moldova (vacanza#695) * Add Bolivian holidays (vacanza#698) * CHANGES sync * Fix NYSE New Year observance for Saturdays. (vacanza#696) * CHANGES sync * Financial market support review, new method financial_holidays(..) vacanza#694 * Add Australia National Day of Mourning and confirmed Grand Final Day date (vacanza#699) * CHANGES sync * Add queen's funeral holidays for canada (vacanza#710) * CHANGES sync * New Zealand updates for Queen Elizabeth II mourning + King Charles III (vacanza#708, vacanza#709) * Australia - new king updates * Fix typo in comment for Cuba (vacanza#712) * CHANGES sync - v.0.16 release date, dedication * Fix Honduras * Add 2014 test honduras * Rename Eswatini from Swaziland * Add import * Add pre-commit isort hook. * Run `pre-commit run --all-files`. * Fix black - isort conflict. * Revert docs conf.py changes. * Sort * Sort * Introduce special holidays support. Extend `HolidayBase` in order to make special holidays handling simpler. * Fix documentation and UK special holidays list. * Add a test. * Add Bosnia and Herzegovina holidays. * Edit Eid ul-Adha holiday logic and improve code readability. * Improve readability. * Add more tests. * Update README.rst * Change `special_holidays` format. * Add Liechtenstien holidays and tests. * Refactor tests. * Remove empty constructors. Move country holidays sources/descriptions from comments to docstrings. * v.0.17 beta init * Sort holiday names. (vacanza#713) * Sort holiday names. Order holidays by name when there are multiple holidays on the same date. * CHANGES sync * CHANGES sync * Supported countries no. update, mexico.py permissions fix * Keep context based imports sorting for `holidays.constants`. * Fix observed holiday for christmas and boxing day canada (vacanza#715) * CHANGES sync * .pre-commit-config.yaml update * Get holidays range type fix * CHANGES sync * README.rst: Fix documentation about Portugal subdiv param (vacanza#742) * Bump actions/setup-python from 4.2.0 to 4.3.0 (vacanza#740) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4.2.0...v4.3.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fixed incorrect subdivision code (vacanza#733) * CHANGES sync * Run isort. * Bug fix of substitute holidays in Japan (vacanza#723) * CHANGES sync * isort commit * isort commit * CHANGES sync vacanza#650, vacanza#728 * Fix Honduras Morazan weekend bug. (vacanza#744) * CHANGES sync * README fix for Liechtenstein * Singapore: Revised Date for Vesak Day in 2023 (vacanza#726) * CHANGES sync * Update malaysia.py (vacanza#736) fix month for deewali 2022 * CHANGES sync * README fix: pip install --upgrade (vacanza#735) * Update Ukrainian holidays (vacanza#743) * CHANGES sync * Redesign special holidays population logic. * Fix `_populate` docstring. * README.rst: Remove Alpha-3 code for Bosnia and Herzegovina (vacanza#755) Adding an extra entry like the Alpha-3 code in the countries table causes render failure * Added observed holidays for Ukraine (vacanza#746) * Implement 100% test coverage (vacanza#747) * Fix a typo: Liechtenstien -> Liechtenstein. (vacanza#752) * Fixed Easter holidays for Bulgaria (vacanza#748) * CHANGES sync * pyproject.toml fixed, Ukraine reformatting * CHANGES sync * Portugal: add district holidays (vacanza#753) Added holidays for the 18 portuguese districts Added tests Updated README.rst * Import isort reformatting * Fix Diwali date for 2022. (vacanza#754) * CHANGES sync * Optimizations for Ireland (vacanza#756) * CHANGES sync * Remove extra spaces from strings (vacanza#759) * CHANGES sync * Mexico: optimizations (vacanza#760) * CHANGES sync * Germany: optimizations (vacanza#766) * China: optimizations (vacanza#767) * CHANGES sync * Fix a couple of `_populate` related issues. * United Kingdom: optimizations (vacanza#780) * Ukraine: observed holidays calculation more universal and readable (vacanza#776) * Canada: optimizations, Yukon Heritage Day fix (vacanza#775) * CHANGES sync * Clean up Ireland tests. (vacanza#765) Remove `print` statement. * add documentation to _populate (see vacanza#704) (vacanza#763) * Fix observance logic for laborable holidays in Uruguay (vacanza#758) * Fix `list_supported_countries` and `list_supported_financial` methods. (vacanza#764) Replace `obj.__base__` with `issubclass`. Add Isle Of Man alpha-3 code. * brazil.py: Update SC holiday according 2017 law (vacanza#761) From 2017 onwards if the 11th of August falls on a work day the holiday is moved to the next Sunday. Issue: 592 * Added special case on 2022 (vacanza#779) Added special case on 2022 Chinese Mid-Autumn Festival Added test case on test_hongkong.py * Remove `assert` from Norway and Sweden. (vacanza#771) Rework all Sundays collection logic (use dateutil.rrule). Extract repetitive test_sundays code to a separate file. * South Africa: (vacanza#773) - replace while loops with dateutil logic (vacanza#768) - Queen's Birthday day fix - observed holidays calculation fix - added tests * Replace Python built-in asserts with unittest asserts. (vacanza#777) * CHANGES sync * Replace while loops with dateutil logic (vacanza#768) (vacanza#770) * CHANGES sync * Lithuania: add the 2nd on November as holiday (vacanza#781) * CHANGES sync * MyPy implicit optional option * Update Hong Kong holiday, mid-autumn (vacanza#782) * CHANGES sync * Sweden: fix Midsummer evening (vacanza#783) * CHANGES sync * v0.17 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Akos <afurton@apple.com> Co-authored-by: Akos Furton <furton.akos@bcg.com> Co-authored-by: Maurizio Montel <mmontel@mmontel.mxp.csb> Co-authored-by: David Hotham <david.hotham@blueyonder.co.uk> Co-authored-by: Kate <kate@kgthreads.com> Co-authored-by: Ark <ark@cho.red> Co-authored-by: Bailey Thompson <bailey.kyle.thompson@gmail.com> Co-authored-by: g-gg <52978382+g-gg@users.noreply.github.com> Co-authored-by: Jacob Punter <54587331+JPunter@users.noreply.github.com> Co-authored-by: Nikita <theedandroid@gmail.com> Co-authored-by: Ryan McCrory <ryan.mccrory92@gmail.com> Co-authored-by: Pedro Baptista <32106544+Nalguedo@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Thessel <der.thes@gmail.com> Co-authored-by: Sho Hirose <sho.hirose@gmail.com> Co-authored-by: Mike Borsetti <26698111+mborsetti@users.noreply.github.com> Co-authored-by: shahonseven <shahonseven@gmail.com> Co-authored-by: ~Jhellico <KJhellico@users.noreply.github.com> Co-authored-by: poshingchu <59795066+poshingchu@users.noreply.github.com>
v.0.16 (vacanza#716) * add honduras tests * add honduras tests * Add tests for many edge cases * Add tests for many edge cases * remove duplicate function * v.0.15 beta init * Typechecking (vacanza#661) * typechecking HolidayBase, holidays.utils, miscellaneous typechecking note: coverage to be extended to other parts of the project code * Update Ukraine holidays. - Add Day of Ukrainian Statehood holiday. - Edit Victory Day name. - Fix formatting. - Update tests for Ukraine holidays. - Switch to <= and >= for consistency. - Rename Orthodox Easter. * CHANGES sync * Add Day after Thanksgiving to US - PA holidays (vacanza#675) * CHANGES sync * CHANGES sync, pre-commit reviews * test_ukraine pre-commit fix * Bump actions/setup-python from 3.1.0 to 4.1.0 (vacanza#682) * Bump pre-commit/action from 2.0.3 to 3.0.0 (vacanza#672) * removed py36 from toml target-version array * Add Cuba (vacanza#678) authored-by: bthompson <bthompson@pinterest.com> * CHANGES sync * Make Colombian holidays preserve historical observation (vacanza#676) Authored-by: bthompson <bthompson@pinterest.com> * Make Venezuela holidays preserve historical observation (vacanza#677) Authored-by: bthompson <bthompson@pinterest.com> * CHANGES sync * black fixes * removed outdated deprecation warnings * Drop support for PortugalExt * Ensure Canada Christmas observed falls after 25 and not before - new version vacanza#579 * CHANGES sync * README sync (support for Cuba) * Drop support for UK subdivisions as countries (England, Scotland..) (dr-p) Drop support for IsleOfMan as UK subdivision (dr-p) * Added support for Python 3.11, improved README badges * Fixed CD/CI setup.cfg typo * Added py3.11 to toml config * Removed py3.11 from setup.cfg due to failing pre-commit checks * Bump pypa/gh-action-pypi-publish from 1.5.0 to 1.5.1 vacanza#686 * Doc example fix (vacanza#685) * added pentecost monday for province of bolzano source: https://it.wikipedia.org/wiki/Pentecoste * Whitsun Monday - province of Bolzano - IT (vacanza#689) * Bump actions/setup-python to 4.2.0 (vacanza#688) * v.0.15 * v.0.16 beta init * Add UK Holiday for Queen Elizabeth II Funeral (vacanza#702) * Add Moldova (vacanza#695) * Add Bolivian holidays (vacanza#698) * CHANGES sync * Fix NYSE New Year observance for Saturdays. (vacanza#696) * CHANGES sync * Financial market support review, new method financial_holidays(..) vacanza#694 * Add Australia National Day of Mourning and confirmed Grand Final Day date (vacanza#699) * CHANGES sync * Add queen's funeral holidays for canada (vacanza#710) * CHANGES sync * New Zealand updates for Queen Elizabeth II mourning + King Charles III (vacanza#708, vacanza#709) * Australia - new king updates * Fix typo in comment for Cuba (vacanza#712) * CHANGES sync - v.0.16 release date, dedication Co-authored-by: Akos <afurton@apple.com> Co-authored-by: Akos Furton <furton.akos@bcg.com> Co-authored-by: Maurizio Montel <mmontel@mmontel.mxp.csb> Co-authored-by: David Hotham <david.hotham@blueyonder.co.uk> Co-authored-by: Kate <kate@kgthreads.com> Co-authored-by: Ark <ark@cho.red> Co-authored-by: Bailey Thompson <bailey.kyle.thompson@gmail.com> Co-authored-by: g-gg <52978382+g-gg@users.noreply.github.com> Co-authored-by: Jacob Punter <54587331+JPunter@users.noreply.github.com> Co-authored-by: Nikita <theedandroid@gmail.com> Co-authored-by: Ryan McCrory <ryan.mccrory92@gmail.com>
v.0.15 (vacanza#691) * add honduras tests * add honduras tests * Add tests for many edge cases * Add tests for many edge cases * remove duplicate function * v.0.15 beta init * Typechecking (vacanza#661) * typechecking HolidayBase, holidays.utils, miscellaneous typechecking note: coverage to be extended to other parts of the project code * Update Ukraine holidays. - Add Day of Ukrainian Statehood holiday. - Edit Victory Day name. - Fix formatting. - Update tests for Ukraine holidays. - Switch to <= and >= for consistency. - Rename Orthodox Easter. * CHANGES sync * Add Day after Thanksgiving to US - PA holidays (vacanza#675) * CHANGES sync * CHANGES sync, pre-commit reviews * test_ukraine pre-commit fix * Bump actions/setup-python from 3.1.0 to 4.1.0 (vacanza#682) * Bump pre-commit/action from 2.0.3 to 3.0.0 (vacanza#672) * removed py36 from toml target-version array * Add Cuba (vacanza#678) authored-by: bthompson <bthompson@pinterest.com> * CHANGES sync * Make Colombian holidays preserve historical observation (vacanza#676) Authored-by: bthompson <bthompson@pinterest.com> * Make Venezuela holidays preserve historical observation (vacanza#677) Authored-by: bthompson <bthompson@pinterest.com> * CHANGES sync * black fixes * removed outdated deprecation warnings * Drop support for PortugalExt * Ensure Canada Christmas observed falls after 25 and not before - new version vacanza#579 * CHANGES sync * README sync (support for Cuba) * Drop support for UK subdivisions as countries (England, Scotland..) (dr-p) Drop support for IsleOfMan as UK subdivision (dr-p) * Added support for Python 3.11, improved README badges * Fixed CD/CI setup.cfg typo * Added py3.11 to toml config * Removed py3.11 from setup.cfg due to failing pre-commit checks * Bump pypa/gh-action-pypi-publish from 1.5.0 to 1.5.1 vacanza#686 * Doc example fix (vacanza#685) * added pentecost monday for province of bolzano source: https://it.wikipedia.org/wiki/Pentecoste * Whitsun Monday - province of Bolzano - IT (vacanza#689) * Bump actions/setup-python to 4.2.0 (vacanza#688) * v.0.15 Co-authored-by: Akos <afurton@apple.com> Co-authored-by: Akos Furton <furton.akos@bcg.com> Co-authored-by: Maurizio Montel <mmontel@mmontel.mxp.csb> Co-authored-by: David Hotham <david.hotham@blueyonder.co.uk> Co-authored-by: Kate <kate@kgthreads.com> Co-authored-by: Ark <ark@cho.red> Co-authored-by: Bailey Thompson <bailey.kyle.thompson@gmail.com> Co-authored-by: g-gg <52978382+g-gg@users.noreply.github.com>
v0.14 (vacanza#668) Version 0.14 ============ Released June 5, 2022 - Drop support for EOL Python 3.6 vacanza#328 (hugovk, dr-p) - Package review vacanza#662 (dimbleby) - Added financial markets support: ECB and NYSE, list_supported_financial() method (dr-p) - Support for NY Stock Exchange vacanza#651, vacanza#458 (nadime, dr-p) - Support for Malta vacanza#612, vacanza#630 (rafelbev) - Support for Madagascar vacanza#656 (fav007) - Support for Cyprus vacanza#410, vacanza#665 (digidestination, avnigo) - Ireland as standalone country vacanza#636, vacanza#639 (TeoTN, dr-p, javicalle) - Australia fixes vacanza#631 (jeremychrimes) - Singapore updates vacanza#652 (mborsetti) - Saudi Arabia fixes vacanza#642 (OsaydAbdu) - Spain fixes vacanza#634 (javicalle) - US fixes vacanza#648 (dashdrum) - Greece fixes vacanza#659 (tudorvaran) - India doc fixes vacanza#657 (dr-p) - Poland fix vacanza#663 (kfsz)
PreviousNext