summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-dateutil_2.8.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-dateutil: upgrade 2.8.2 -> 2.9.0alperak2024-03-051-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: Data updates Updated tzdata version to 2024a. Features Made all dateutil submodules lazily imported using PEP 562. On Python 3.7+, things like import dateutil; dateutil.tz.gettz("America/New_York") will now work without explicitly importing dateutil. tz, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier. Bugfixes Removed a call to datetime.utcfromtimestamp, which is deprecated as of Python 3.12. Documentation changes Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn't exist. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: drop ${PYTHON_PN}Tim Orling2024-02-191-5/+5
| | | | | | | python 2 is long unsupported, so we no longer need this variable. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Update for setuptools_build_meta renamed to python_setuptools_build_metaRoss Burton2022-03-191-1/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: migrate away from setuptool3 where possibleRoss Burton2022-03-111-1/+1
| | | | | | | | | | Many recipes are currently building with setuptools3 but can use a more modern tool: typically setuptools_build_meta but ordered-set can use flit_core and pyrad can use poetry_core. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-dateutil: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python3-dateutil: Upgrade 2.8.1 -> 2.8.2Leon Anavi2021-07-161-0/+24
Upgrade to release 2.8.2: - Updated tzdata version to 2021a - Fixed a bug in the parser where non-ValueError exceptions would be raised during exception handling; this would happen, for example, if an IllegalMonthError was raised in dateutil code. - Fixed the custom repr for dateutil.parser.ParserError, which was not defined due to an indentation error. - Fixed a bug that caused b' prefixes to appear in parse_isodate exception messages. - Make isoparse raise when trying to parse times with inconsistent use of : separator. - Fixed tz.gettz() not returning local time when passed an empty string. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>