Skip to content

Update workalendar to 3.2.1#101

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-workalendar-2.3.1-to-3.2.1
Closed

Update workalendar to 3.2.1#101
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-workalendar-2.3.1-to-3.2.1

Conversation

@pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Dec 6, 2018

This PR updates workalendar from 2.3.1 to 3.2.1.

Changelog

3.2.1

Bugfixes

- Added DEEPAVALI days for 2019 and 2020, thx pvalenti (282).
- Fixed Germany Reformation Day miscalculation. Some German states include Reformation Day since the "beginning" ; in 2017, all states included Reformation Day as a holiday (500th anniversary of the Reformation) ; starting of 2018, 4 states added Reformation Day (295).

3.2.0

Major changes

- Removed dependency to `PyEphem`. This package was the "Python2-compatible" library to deal with the xephem system library. Now it's obsolete, so you don't need this dual-dependency handling, because `ephem` is compatible with Python 2 & Python 3 (296).
- Raise an exception when trying to use unsupported date/datetime types. Workalendar now only supports stdlib `date` & `datetime` (sub)types. See the [basic documentation](https://peopledoc.github.io/workalendar/basic.htmlstandard-datetime-types-only-please) for more details (294).

3.1.1

Bugfix

- Fixed ISO 3166-1 code for the `Slovenia` calendar (291, thx john-sandall).

3.1.0

Major changes

- Added support for Python 3.7 (283).
- Fixed the `SouthAfrica` holidays calendar, taking into account the specs of holidays that vary over the periods. As a consequence, it cleaned up erroneous holidays that were duplicated in some years (285). Thx to surfer190 for his review & suggestions.
- Bugfix for South Africa: disabled the possibility to compute holidays prior to the year 1910.

Minor changes

- Renamed Madagascar test class name into `MadagascarTest` (286).
- Separated the coverage jobs from the pure tests. Their report output was disturbing in development mode, you had to scroll your way up to find eventual failing tests (289).

3.0.0

Major changes

Large work on global registry: refs 13, 96, 257 & 284.

- Added Tests for Europe registry.
- Revamped and cleaned up Europe countries.
- Added the United States of America + States, American countries & sub-regions, African countries, Asian countries, Oceanian countries.
- The global registry usage is documented.

Breaking changes

- Changed Canada namespace to `workalendar.america.canada`.
- You don't have to declare a `name` properties for Calendar classes. It will be deducted from the docstring.
- Changed the `registry.items()` mandatory argument name to `region_codes` for more readability.

2.6.0

New Calendars

- Added Angola, by dvdmgl (276)

Bugfixes

- Portugal - removed carnival from Portuguese holidays, restored missing holidays (275)

Other changes

- Added All Souls Day to common (274)
- Allow the `add_working_days()` function to be provided a datetime, and returning a `date` (270).
- Added a `keep_datetime` option to keep the original type of the input argument for both ``add_working_days()`` and ``sub_working_days()`` functions (270).
- Fixed usage examples of ``get_first_weekday_after()`` docstring + in code (calendars and tests) ; do not use magic values, use MON, TUE, etc (271).
- Turned Changelog into a Markdown file (272).
- Added basic usage documentation, hosted by Github pages.
- Added advanced usage documentation.

2.5.0

- Bugfix: deduplicate South Africa holidays that were emitted as duplicates (265).
- Add the `get_working_days_delta` method to the core calendar class (260).

2.4.0

New Calendars

- Added Lithuania, by landler (254).
- Added Russia, by vanadium23 (259).

Bugfixes

- Fixed shifting ANZAC day for Australia states (249).
- Renamed Australian state classes to actual state names(eg. AustraliaNewSouthWales to NewSouthWales).
- Update ACT holidays (251).
- Fixing Federal Christmas Shift ; added a `include_veterans_day` flag to enable/disable Veteran's day on specific calendar - e.g. Mozilla's dedicated calendar (242).

Other

- **Deprecation:** Dropped support for Python 3.3 (245).
- Fixed Travis-ci configuration for Python 3.5 and al (252).
- Moved from `novafloss` to the `peopledoc` organization, the core People Doc Inc. organization (255).
- First step iteration on the "global registry" feature. European countries are now part of a registry loaded in the ``workalendar.registry`` module. Please use with care at the moment (248).
- Refactored Australia family and community day calculation (244).
Links

@pyup-bot
Copy link
Contributor Author

Closing this in favor of #113

@pyup-bot pyup-bot closed this Jan 24, 2019
@tunnell tunnell deleted the pyup-update-workalendar-2.3.1-to-3.2.1 branch January 24, 2019 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant