I incidentally noticed that a few tests are failing on python >= 3.10 when using uv as an environment manager.
Here's what I did:
- migrate
pyproject.toml to use uv using uvx migrate-to-uv
- delete the
uv.lock file that this command produced b/c it is broken.
- run
uv venv -p 3.12 to create a new virtualenv with python 3.12.
- run
uv run pytest (this automatically installs dependencies).
The failures are shown below. I unfortunately cannot reproduce these when using our "official" poetry-based approach described in the README (with Python 3.12 instead of 3.9).
FAILED arcadia_pycolor/tests/plotting/test_bespoke_plots.py::test_plot_stacked_barplot[full_wide] - TypeError: object of type 'list_reverseiterator' has no len()
FAILED arcadia_pycolor/tests/plotting/test_bespoke_plots.py::test_plot_stacked_barplot[full_square] - TypeError: object of type 'list_reverseiterator' has no len()
FAILED arcadia_pycolor/tests/plotting/test_bespoke_plots.py::test_plot_stacked_barplot[float_wide] - TypeError: object of type 'list_reverseiterator' has no len()
FAILED arcadia_pycolor/tests/plotting/test_bespoke_plots.py::test_plot_stacked_barplot[float_square] - TypeError: object of type 'list_reverseiterator' has no len()
FAILED arcadia_pycolor/tests/plotting/test_bespoke_plots.py::test_plot_stacked_barplot[half_square] - TypeError: object of type 'list_reverseiterator' has no len()
I incidentally noticed that a few tests are failing on python >= 3.10 when using
uvas an environment manager.Here's what I did:
pyproject.tomlto useuvusinguvx migrate-to-uvuv.lockfile that this command produced b/c it is broken.uv venv -p 3.12to create a new virtualenv with python 3.12.uv run pytest(this automatically installs dependencies).The failures are shown below. I unfortunately cannot reproduce these when using our "official" poetry-based approach described in the README (with Python 3.12 instead of 3.9).