1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
py-dateutil is getting installed from EMR side as part of provisioning. Under /usr/local/lib/python3.6/site-packages, you can see the file "py_dateutil-2.2.egg-info". Precedence is given to this pre-installed file at the time of puppet deployment. More details provided here
We do not recommend changing these package versions, as these combinations have not been tested, and we cannot predict what incompatibilities may arise with the services running in EMR. However, if you are willing to perform rigorous testing on your end to ensure everything is working correctly, you can proceed with caution.
Relevant content
- asked a year ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- How do I install and troubleshoot Python libraries in Amazon EMR and Amazon EMR Serverless clusters?AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 months ago
I’m aware that these are part of the default packages provisioned by EMR - both py-dateutil and python-dateutil are part of those default packages that were added during provisioning. I haven’t made any changes to the default packages.
My question is whether it is intentional that the same import (“dateutil”) is being provided by two different packages (py-dateutil and python-dateutil) at different versions - one at 2.2 and one at 2.8.1.
The docs for dateutil reference python-dateutil and do not mention py-dateutil: https://dateutil.readthedocs.io/en/stable/