obnoxiousish / async_twitter_api_client

Async port of twitter-api-client
GNU General Public License v3.0
9 stars 2 forks source link

Pip fails to install or update to the last version #3

Open codilau opened 4 months ago

codilau commented 4 months ago
  FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

obnoxiousish commented 4 months ago

ah i don't upload much on pypi, that's happening because the working directory isn't the folder where the project's requirements.txt is, i'll have to change it to being hardcoded i suppose

obnoxiousish commented 4 months ago

i pushed 0.7.0 try again

codilau commented 4 months ago

image it's still trying the cached version

obnoxiousish commented 4 months ago

you'll have to find a command to delete the cached first version or do a --upgrade maybe

obnoxiousish commented 4 months ago

you can just clone the repo into a dir or set it up as a git submodule for ur project

or clone n use setup.py to install

codilau commented 4 months ago

-U flag should be a alias for --upgrade, right? I used --upgrade too, and uninstalled and tried reinstalling with the same outcome. I can clone, ofcourse but I think most people will want to use pip for simplicity

obnoxiousish commented 4 months ago

i'm not sure, but 0.7.0 is there so try using Everything or another file finder to find the old version and delete it or find a arg to clean it or ignore it

obnoxiousish commented 4 months ago

https://pypi.org/project/asyncTwitterClient/

obnoxiousish commented 4 months ago

if i had to guess why it's not working i'd guess it's because 0.5.0 is using tar gz and the others are using a .zip idk why it would matter tho cuz ur only allowed to upload one file

obnoxiousish commented 4 months ago

i deleted the old versions, if it's not working when i wake up tomorrow ill try something else

codilau commented 4 months ago

Hey, thanks you for being so awesome, and please get some sleep, bugs/fixes can wait :1st_place_medal: Just for the record (please don't fix now, i'll clone) image my system is Linux/ARM64 many people will probably use a linux for this

obnoxiousish commented 4 months ago

interesting, as it gives me an error saying i can only upload one file per version which would make it impossible to upload one for windows and for linux

obnoxiousish commented 4 months ago

I updated the package, again hopefully it works now idk if sdist is universal or just for linux

codilau commented 3 months ago

Collecting asyncTwitterClient Downloading asyncTwitterClient-0.8.0.tar.gz (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.3/74.3 kB 846.4 kB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [20 lines of output] ..... dump dump dump .... FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

obnoxiousish commented 3 months ago

interesting i thought i completely removed the dynamic requirements? unless pypi attempts to locate a requirements file on its own? but i believe it has one in there just incase weird.. ill look over it soon

obnoxiousish commented 3 months ago

try it now, maybe fixed idk