compas icon indicating copy to clipboard operation
compas copied to clipboard

Networkx not compatible with Py3.7

Open yck011522 opened this issue 1 year ago • 3 comments
trafficstars

I am running some tests on a branch of compas_fab that will make it more* compatible with compas 2.0. I came across an error ERROR: No matching distribution found for networkx>=3.0 for the environment build-cpython (macos-py37)

https://github.com/compas-dev/compas_fab/actions/runs/7710486107/job/21013894034?pr=400

I found a recent commit in compas that stopped it testing against 3.7, @Licini https://github.com/compas-dev/compas/pull/1160

I would like to know if the longer-term plan is to remove support for Python3.7 completely (and to keep Networkx in requirement), or if we plan to go back to supporting 3.7 (and we use an older Networkx)?

yck011522 avatar Jan 30 '24 11:01 yck011522

https://devguide.python.org/versions/

python 3.7 has reached end of life mid last year...

tomvanmele avatar Jan 30 '24 12:01 tomvanmele

So, is compas 2.0 officially dropping support for 3.7?

If so, should compas_robot and compas_fab follow? @gonzalocasas

And I would suggest updating this: https://github.com/compas-dev/compas/blob/b812aeada3a307924b18cbf5e8afa02ae4775dc0/setup.py#L43

yck011522 avatar Jan 31 '24 14:01 yck011522

3.7 is end-of-life, so yes, let's drop it across the board

gonzalocasas avatar Jan 31 '24 14:01 gonzalocasas

@tomvanmele || @yck011522 plz close

jf--- avatar Apr 06 '24 16:04 jf---