pymc-devs / pytensor

PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
https://pytensor.readthedocs.io
Other
308 stars 94 forks source link

BUG: Package installs the file /usr/local/lib/python3.9/site-packages/bin/__init__.py #356

Open yurivict opened 1 year ago

yurivict commented 1 year ago

Describe the issue:

The file /usr/local/lib/python3.9/site-packages/bin/init.py has a common name and it conflicts with other packages:

===>   Registering installation for py39-pytensor-2.12.3
Installing py39-pytensor-2.12.3...
pkg-static: py39-pytensor-2.12.3 conflicts with py39-theano-1.0.5_2 (installs files into the same place).  Problematic file: /usr/local/lib/python3.9/site-packages/bin/__init__.py
*** Error code 1

Reproducable code example:

n/a

Error message:

see above

PyTensor version information:

2.12.3

Context for the issue:

Python-3.9 FreeBSD 13.2

ricardoV94 commented 1 year ago

Closing in favor of https://github.com/pymc-devs/pytensor/discussions/358

yurivict commented 1 year ago

This issue has nothing to do with https://github.com/pymc-devs/pytensor/discussions/358

The package installs an invalid file bin/__init__.py on all systems.

maresb commented 1 year ago

@yurivict, thanks for bringing this up. This was brought up previously in https://github.com/pymc-devs/pytensor/issues/243, and since then (since a few months) we've had a deprecation message in bin/__init__.py.

I'm not sure that anyone's actually using this. Perhaps it's already time to remove? Or do we want to extend the deprecation period?

ricardoV94 commented 1 year ago

Fine to remove