Skip to content

Commit

Permalink
Pin more-itertools in python version 3.7
Browse files Browse the repository at this point in the history
Avoid problems as
```
 /usr/share/miniconda/envs/qmxgraph/lib/python3.7/site-packages/more_itertools/more.py:5: in <module>
    from functools import cached_property, partial, reduce, wraps
E   ImportError: cannot import name 'cached_property' from 'functools' (/usr/share/miniconda/envs/qmxgraph/lib/python3.7/functools.py)
```

ASIM-5273
  • Loading branch information
prusse-martin committed Nov 10, 2023
1 parent ae274f2 commit d7c1044
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environment.devenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ environment:
dependencies:
- python ={{ PYTHON_VERSION }}

- more-itertools <10.0.0 # [PYTHON_VERSION == '3.7']

{% if TEST_QMXGRAPH %}
- cherrypy >=18.0.0
- pytest-mock
Expand Down

0 comments on commit d7c1044

Please sign in to comment.