benjimin / descartes Goto Github PK
View Code? Open in Web Editor NEWfork of python descartes -- bitbucket.org/sgillies/descartes
fork of python descartes -- bitbucket.org/sgillies/descartes
Shapely still uses descartes to build its documentation, but the python-descartes package is at risk of being retired in Fedora Linux due to https://bugzilla.redhat.com/show_bug.cgi?id=1907389. I am trying to figure out if there is still an upstream.
Since the old bitbucket site is now only a memory, are there any plans to continue maintaining descartes, here or elsewhere? Or have the authors (understandably) moved on?
Today Shapely released a 2.0 version and my CI picked up a failure related to this.
If you pip3 install shapely==2.0.0
and then run something like the following, you can reproduce the issue:
>>> from shapely import Polygon
>>> from descartes.patch import PolygonPatch
>>> poly = Polygon(((0., 0.), (0., 1.), (1., 1.), (1., 0.), (0., 0.)))
>>> patch = PolygonPatch(poly)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sebastian/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/descartes/patch.py", line 87, in PolygonPatch
return PathPatch(PolygonPath(polygon), **kwargs)
File "/home/sebastian/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/descartes/patch.py", line 62, in PolygonPath
vertices = concatenate([
File "/home/sebastian/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/descartes/patch.py", line 63, in <listcomp>
concatenate([asarray(t.exterior)[:, :2]] +
IndexError: too many indices for array: array is 0-dimensional, but 2 were indexed
This package declares a BSD (unspecified) license. Should it be the same BSD-3-Clause license as shapely?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.