Commit Graph

3 Commits

Author SHA1 Message Date
alperak
d3a16ad4ae
Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory path
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR:

- "${libdir}/${PYTHON_DIR}/site-packages"
- "${libdir}/python${PYTHON_BASEVERSION}/site-packages"
- "${libdir}/python*/site-packages"
- "${libdir}/python3.*/site-packages"

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-15 21:01:20 -07:00
alperak
fdfd510992
remove obsolete PIP_INSTALL_PACKAGE and PIP_INSTALL_DIST_PATH
All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-09 10:55:23 -08:00
alperak
f1a49372b3
python3-dateutil: upgrade 2.8.2 -> 2.9.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>
2024-03-05 11:02:04 -08:00