dtsong / sleeper-api-wrapper

A Python API wrapper for Sleeper's API: https://docs.sleeper.app/
MIT License
61 stars 21 forks source link

Fix the naming in the pyproject file #57

Closed wfordh closed 4 months ago

wfordh commented 5 months ago

Oops bungled the naming in the file. Missed the api-, so now there's a different package on PyPI called just sleeper-wrapper instead of sleeper-api-wrapper. Guess I should've tried installing from Test PyPI after all and pushing to PyPI first before merging - wasn't sure about the best order of operations there. The more you know. Will have to figure out how to take the other one down.

wfordh commented 4 months ago

I had to adjust the pyproject.toml file because the folder with the code is sleeper_wrapper while the project name is sleeper-api-wrapper and that mismatch was preventing the poetry build from working. Unfortunately now it looks like since I'm not listed as a maintainer, I cannot publish the package to PyPI.

@dtsong could you either run poetry publish or add me as a maintainer (I think for the repo but not 100% sure). Here's the error from my terminal

HTTP Error 403: The user 'higgins.ford' isn't allowed to upload to project 'sleeper-api-wrapper'. See https://pypi.org/help/#project-name for more information.

dtsong commented 4 months ago

@wfordh , thanks for the callout, you've been invited as a maintainer on PyPI!

wfordh commented 4 months ago

Done! It's been published to PyPI 🎉 🎉