Closed tammyalexandra closed 9 months ago
Hi @tammyalexandra I am unable to reproduce this issue on Python 3.11:
β Downloads . env/bin/activate
(env) β Downloads pip install -U arrow
Collecting arrow
Downloading arrow-1.2.3-py3-none-any.whl (66 kB)
ββββββββββββββββββββββββββββββββββββββββ 66.4/66.4 kB 2.5 MB/s eta 0:00:00
Collecting python-dateutil>=2.7.0 (from arrow)
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting six>=1.5 (from python-dateutil>=2.7.0->arrow)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, python-dateutil, arrow
Successfully installed arrow-1.2.3 python-dateutil-2.8.2 six-1.16.0
(env) β Downloads python3 --version
Python 3.11.5
(env) β Downloads python3
Python 3.11.5 (main, Aug 24 2023, 15:09:45) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import arrow
>>> arrow.get("2023-12-01")
<Arrow [2023-12-01T00:00:00+00:00]>
Success here as well, under Python 3.11 and macOS 14.0:
$ python --version
Python 3.11.3
$ pip install -U arrow
Collecting arrow
Downloading arrow-1.2.3-py3-none-any.whl (66 kB)
ββββββββββββββββββββββββββββββββββββββββ 66.4/66.4 kB 2.0 MB/s eta 0:00:00
Collecting python-dateutil>=2.7.0 (from arrow)
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
ββββββββββββββββββββββββββββββββββββββββ 247.7/247.7 kB 5.6 MB/s eta 0:00:00
Collecting six>=1.5 (from python-dateutil>=2.7.0->arrow)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, python-dateutil, arrow
Successfully installed arrow-1.2.3 python-dateutil-2.8.2 six-1.16.0
$ python
Python 3.11.3 (main, Jun 21 2023, 19:47:27) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import arrow
>>> arrow.get("2023-12-01")
<Arrow [2023-12-01T00:00:00+00:00]>
>>>
Closing since this cannot be reproduced.
Issue Description
arrow 1.3.2 no longer works under Python 3.11 due to its dependency on python-datetime-tz.
When I try to start up a web server, the
import arrow
call fails:When I try to reinstall arrow to update the dependencies, it fails as follows:
Thanks for looking into this.
System Info