Skip to content

loosen requirements#137

Open
continue-revolution wants to merge 7 commits intomainfrom
conrevo/requirements
Open

loosen requirements#137
continue-revolution wants to merge 7 commits intomainfrom
conrevo/requirements

Conversation

@continue-revolution
Copy link
Copy Markdown
Collaborator

@continue-revolution continue-revolution commented Dec 10, 2023

might be a better idea to auto pip install (run pip install in python) instead of creating multiple requirements.txt

close #123

Comment thread README.md

# We support PostgreSQL, MySQL, and SQLite
# Change "sqlite" to "postgresql" or "mysql" if you'd like to use those
pip install -r requirements/sql/requirements-sqlite.txt
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there a way to do something like "pip install aidb[sqlite, mysql]" or whatever?

from detectron2.config import get_cfg
try:
import pdf2image
except ImportError:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should error and tell the user to install instead of installing on their behalf

Comment thread requirements.txt
scipy==1.10.1
six==1.16.0
sniffio==1.3.0
nest-asyncio>=1.5.7
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above to check if there's a way to consolidate these somehow...

Copy link
Copy Markdown
Contributor

@shubhankarunhale shubhankarunhale Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ddkang , we can consolidate these required dependencies with the extra optional dependencies into a single requirements file while still maintaining the on-demand installation behavior. We can separate them into sections with '--extra'.
Can you please confirm if that is what we need here?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@continue-revolution @ttt-77 can you check this?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubhankarunhale You can do that and check if it works for Python 3.12

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, sure. Checking if it works with Python 3.12 for compatible libraries

@ddkang
Copy link
Copy Markdown
Owner

ddkang commented Jan 30, 2024

@shubhankarunhale can you help resolve this?

@shubhankarunhale
Copy link
Copy Markdown
Contributor

@shubhankarunhale can you help resolve this?

Sure, looking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loosen requirements.txt

4 participants