ScrapeGraphAI / Scrapegraph-ai

Python scraper based on AI
https://scrapegraphai.com
MIT License
13.27k stars 1.01k forks source link

Replace poetry #198

Closed baggiponte closed 2 months ago

baggiponte commented 2 months ago

Ciao! Congrats for the growth. Now that many more people will be using scrapegraph, I would recommend to switch from poetry to another package manager. Poetry has two not-so-great features:

Here are for example your langchain dependency constraints:

langchain = "0.1.15"
langchain-openai = "^0.1.6"
langchain-google-genai = "^1.0.3"
langchain-groq = "^0.1.3"
langchain-aws = "^0.1.3"
langchain-anthropic = "^0.1.11"

IIUC, once any of these dependencies releases a minor version, scrapegraph-ai won't be compatible.

The solution would be to just switch to any compliant modern packaging tool:

I would be glad to open a PR. I did a similar thing a while ago for another project by nvidia.

VinciGit00 commented 2 months ago

hi, if you have ideas feel free to make the pull request

DiTo97 commented 2 months ago

@baggiponte rye is the most interesting, but IMHO PDM is the only viable option for a switch, if need be

f-aguzzi commented 2 months ago

I'll take this, assign me @VinciGit00

github-actions[bot] commented 2 months ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: