dropbox/stone

Missing requirements.txt

moubctez opened this issue ยท 8 comments

Describe the bug
Building from source fails with

Traceback (most recent call last):
  File "/private/tmp/pkgsrc/net/py-stone/work/stone-3.3.1/setup.py", line 21, in <module>
    with open('requirements.txt') as f:  # pylint: disable=W1514
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

To Reproduce
Get source code from PyPI, and build.

Expected Behavior
Builds

Actual Behavior
Does not build

Thanks for the report. I'll bring this up with the team.

@greg-db Any update on this? Thanks!

@chenrui333 No, I don't have an update on this.

Is Stone actively maintained at Dropbox ? We are using dropbox Python SDK and it seems now broken with Python 3.11...

I don't have an update on this right now, but I'll check in with the team.

any update on the thread? Thanks!

No, I don't have news on this matter currently.

I was able to resolve this issue by using version 3.2.1 in my homebrew resources and manually told pipenv to pin this version for dropbox as it required >=2.

dropbox==11.36.2
โ”œโ”€โ”€ requests [required: >=2.16.2, installed: 2.31.0]
โ”‚   โ”œโ”€โ”€ certifi [required: >=2017.4.17, installed: 2024.2.2]
โ”‚   โ”œโ”€โ”€ charset-normalizer [required: >=2,<4, installed: 3.3.2]
โ”‚   โ”œโ”€โ”€ idna [required: >=2.5,<4, installed: 3.6]
โ”‚   โ””โ”€โ”€ urllib3 [required: >=1.21.1,<3, installed: 2.0.7]
โ”œโ”€โ”€ six [required: >=1.12.0, installed: 1.16.0]
โ””โ”€โ”€ stone [required: >=2, installed: 3.2.1]
    โ”œโ”€โ”€ ply [required: >=3.4, installed: 3.11]
    โ””โ”€โ”€ six [required: >=1.3.0, installed: 1.16.0]

This version still has the requirements in the setup.py without it needing to use requirements.txt