Skip to content

Commit

Permalink
Revert "v.0.21.11"
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r authored Mar 13, 2023
1 parent 749d783 commit d060368
Show file tree
Hide file tree
Showing 92 changed files with 1,755 additions and 4,374 deletions.
18 changes: 9 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Your PR description goes here.
be split into multiple PRs.
-->

- [ ] New country/market holidays support (thank you!)
- [ ] Supported country/market holidays update (calendar discrepancy fix, localization)
- [ ] Existing code/test/process quality improvement (best practice, cleanup, refactoring, optimization)
- [ ] New country holidays support (thank you!)
- [ ] Supported country holidays update (calendar discrepancy fix, localization)
- [ ] Existing code/test/process improvement (best practice, cleanup, refactoring, optimization)
- [ ] Dependency upgrade (version update)
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] Breaking change (a code change causing existing functionality to break)
Expand All @@ -33,12 +33,12 @@ Your PR description goes here.
Put an `x` in the boxes that apply. You can change them after PR is created.
-->

- [ ] I've followed the [contributing guidelines][contributing-guidelines]
- [ ] This PR is filed against `beta` branch of the repository
- [ ] This PR doesn't contain any merge conflicts and has clean commit history
- [ ] The code style looks good (`make pre-commit`)
- [ ] I've added tests to verify that the new code works and all tests pass locally (`make test`, `make tox`)
- [ ] The related [documentation][docs] has been added/updated (check off the box for free if no updates is required)
- [x ] I've followed the [contributing guidelines][contributing-guidelines]
- [x ] This PR is filed against `beta` branch of the repository
- [x ] This PR doesn't contain any merge conflicts and has clean commit history
- [x ] The code style looks good (`make pre-commit`)
- [x ] I've added tests to verify that the new code works and all tests pass locally (`make test`, `make tox`)
- [x ] The related [documentation][docs] has been added/updated (check off the box for free if no updates is required)

<!--
Thanks again for your contribution!
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements/dev.txt
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade 'coveralls>=3' pip
python -m pip install --upgrade --requirement requirements/dev.txt
python -m pip install --editable .
python -m pip install -U pip wheel 'coveralls>=3'
python -m pip install -U -r requirements/dev.txt
python -m pip install -e .
- name: Run Tests
run: |
make test
Expand All @@ -58,7 +58,7 @@ jobs:
steps:
- name: Finished
run: |
python -m pip install --upgrade 'coveralls>=3' pip
pip3 install -U 'coveralls>=3'
coveralls --finish --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -75,11 +75,11 @@ jobs:
python-version: '3.11'
- name: Install Dependencies
run: |
python -m pip install --upgrade build pip
pip install --upgrade .
python -m pip install -U pip wheel
pip install -U .
- name: Build Distribution
run: |
make build
python setup.py sdist bdist_wheel
- name: Publish Package
uses: pypa/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
exclude: ^(docs|holidays/countries/__init__.py|scripts/l10n/msgfmt.py)

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

Released March 13, 2023

- Refactor NYSE holidays, #1018 (@KJhellico)
- Optimize TestAllInSameYear::test_all_countries test, #1001 (@arkid15r)
- Update Canada localization: fr, #1015 (@KJhellico)
- Update Denmark holidays: remove "Store bededag" starting 2024, #1013 (@malthe)
- Update PR template, #1019 (@arkid15r)
- Update Portugal holidays, #1011 (@PPsyrius)
- Update Ukraine holidays, #1014 (@KJhellico)
- Update package build process, #1020 (@arkid15r)
- Add multiple countries localization: en_US, es, uk, #1012 (@KJhellico)
- Unify country imports order, #1003 (@arkid15r)
- Use native apostrophe for uk locale holiday names, #1004 (@arkid15r)

Version 0.21
============

Expand Down
12 changes: 7 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
exclude tests/*
include *.mo
include *.py
include *.po
include *.rst
include CHANGES
include holidays/py.typed
recursive-include docs *
recursive-include holidays *.py
recursive-include holidays/locale *.(mp)o
recursive-include scripts/l10n *.py
recursive-include tests *.py
include LICENSE
include scripts/l10n/msgfmt.py
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
help:
@echo "Usage: make <target>"
@echo " build build distribution"
@echo " check run pre-commit and tests"
@echo " coverage identify code not covered with tests"
@echo " help show summary of available commands"
Expand All @@ -10,10 +9,6 @@ help:
@echo " test run tests (in parallel)"
@echo " tox run tox (in parallel)"

build:
scripts/l10n/generate_mo_files.py
python -m build

check:
make pre-commit
make doc
Expand Down
31 changes: 2 additions & 29 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ subdivisions are available:
- Regions: AUK, CAN, HKB, MBH, NSN, NTL, OTA, STL, TKI, WGN, WTC, CIT. Sub-regions: South Canterbury
* - Nicaragua
- NI
- Departments: AN, AS, BO, CA, CI, CO, ES, GR, JI, LE, MD, **MN** (default), MS, MT, NS, RI, SJ
- Departments: **MN** (default)
* - Nigeria
- NG
- None
Expand Down Expand Up @@ -383,7 +383,7 @@ subdivisions are available:
- None
* - Portugal
- PT
- Districts: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 30, Ext; Use subdiv='Ext' to include holidays most people have off
- Districts: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, Ext; Use subdiv='Ext' to include holidays most people have off
* - Puerto Rico
- PR
- None; Can also be loaded as country US, subdivision PR
Expand Down Expand Up @@ -547,18 +547,12 @@ default language code is a `ISO 639-1 code`_.
* - Colombia
- es
- en_US, es, uk
* - Cuba
- es
- en_US, es, uk
* - Cyprus
- el
- el, en
* - Denmark
- da
- da, en_US
* - Dominican Republic
- es
- en_US, es, uk
* - Ethiopia
- am
- am, en_US
Expand All @@ -568,33 +562,18 @@ default language code is a `ISO 639-1 code`_.
* - Greece
- el
- el, en_US
* - Honduras
- es
- en_US, es, uk
* - Japan
- ja
- en_US, ja
* - Mexico
- es
- en_US, es, uk
* - Monaco
- fr
- en_US, fr, uk
* - Nicaragua
- es
- en_US, es, uk
* - Paraguay
- es
- en_US, es, uk
* - Peru
- es
- en_US, es, uk
* - Poland
- pl
- en_US, pl, uk
* - Portugal
- pt_PT
- en_US, pt_PT
* - Russia
- ru
- en_US, ru
Expand All @@ -607,12 +586,6 @@ default language code is a `ISO 639-1 code`_.
* - Ukraine
- uk
- en_US, uk
* - Uruguay
- es
- en_US, es, uk
* - Venezuela
- es
- en_US, es, uk


Beta Version
Expand Down
2 changes: 1 addition & 1 deletion holidays/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
from holidays.holiday_base import *
from holidays.utils import *

__version__ = "0.21.11"
__version__ = "0.21"
Loading

0 comments on commit d060368

Please sign in to comment.