pymc-devs / pymc-devs/pytensor

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

Open
#356 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
644
Forks
208
Avg merge
2d 14h
Merged PRs (30d)
16

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the packaging configuration and installation contents for the Python package, focusing on why it produces /usr/local/lib/python3.9/site-packages/bin/init.py. Reproduce the FreeBSD 13.2 Python 3.9 installation conflict with PyTensor 2.12.3 and Theano 1.0.5_2. Done means the package no longer installs a conflicting bin/init.py while its installation remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.