python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

fix: add Python 3.12 support

Open null8626 opened this issue 1 year ago • 22 comments

Fixes #75 Fixes #78

Proposed Changes

  • Add Python 3.12 support by making the aiohttp dependency use versions >=3.9.0. (#74)
  • Add Python 3.11 support by migrating from setup.py to pyproject.toml.
  • Make the python-publish.yml workflow use PyPI API tokens to publish packages. Since 2024, PyPI requires ALL users to use API tokens to publish new versions of packages, password authentication is now deprecated. Please update the PYPI_PASSWORD workflow secret with your PyPI API token (e.g: pypi-ABCDEF)
  • Deprecate Python 3.6 and 3.7 support, as they have reached their end-of-life.
  • Remove unused StatsWrapper import in the tests/test_autopost.py file.
  • Documentation overhaul.
  • ~~Add malware~~

null8626 avatar Mar 26 '24 11:03 null8626

cc @Esmeray6 @norinorin

null8626 avatar Mar 26 '24 12:03 null8626

Wrong people. :P

Esmeray6 avatar Mar 26 '24 12:03 Esmeray6

Wait what? So the project was handed over to norizon?

null8626 avatar Mar 26 '24 12:03 null8626

Neither of us maintains this project anymore, or at least I don't. Isn't @editor-syntax the new maintainer?

norinorin avatar Mar 26 '24 12:03 norinorin

Ah, i see.

null8626 avatar Mar 26 '24 12:03 null8626

Neither of us maintains this project anymore, or at least I don't. Isn't @editor-syntax the new maintainer?

They've left the Discord so I'd assume this package has no active maintainers as of currently

dev-bun avatar Mar 26 '24 12:03 dev-bun

I can be the current maintainer :D

cc @velddev hmu (just make sure that the pypi token is covered)

null8626 avatar Mar 26 '24 12:03 null8626

cough cough good luck with PRs getting merged cough cough.

Esmeray6 avatar Mar 26 '24 14:03 Esmeray6

If this PR doesn't get merged i'll just make my own fork and force discord.py devs to use THAT :)

null8626 avatar Mar 26 '24 14:03 null8626

Thanks for bringing the recent PyPi change to my attention, @null8626. I don't believe the current GitHub Secrets have the API token set up and the PyPi package is still (yes, after 3 years) owned by me. Veld can contact me on Discord personally (@tothebeat) for the API token or to transfer ownership.

Before any ownership is transferred, I would like direct confirmation from the new maintainer themselves.

Esmeray6 avatar Mar 27 '24 09:03 Esmeray6

I am the new maintainer! ❤️

cc @velddev ~~please contact her on discord, thanks~~

null8626 avatar Mar 27 '24 09:03 null8626

I will need the maintainer's email for the PyPi package and RTD pages. :P

Esmeray6 avatar Mar 27 '24 09:03 Esmeray6

Sure, check your Discord.

null8626 avatar Mar 27 '24 09:03 null8626

FYI: Assanali Mukhanov was me, not norizon.

Esmeray6 avatar Mar 28 '24 11:03 Esmeray6

Yeah, i know.

null8626 avatar Mar 28 '24 11:03 null8626

If this PR doesn't get merged i'll just make my own fork and force discord.py devs to use THAT :)

Hmm...

Esmeray6 avatar Jun 11 '24 06:06 Esmeray6

wait, so what's the timeline now? is @null8626 the official maintainer now?

Hadock-is-ok avatar Sep 21 '24 17:09 Hadock-is-ok

wait, so what's the timeline now? is @null8626 the official maintainer now?

Yes! I am the new maintainer! The previous maintainers have dropped this project.

At the moment, i'm awaiting Veld to get our PyPI organization up and running since March.

So far, there's no news from him yet as he's probably busy with his life though...

null8626 avatar Sep 21 '24 17:09 null8626

i see, thanks for updating!

Hadock-is-ok avatar Sep 21 '24 17:09 Hadock-is-ok

@Esmeray6 @Hadock-is-ok Update as of now... image

null8626 avatar Oct 14 '24 11:10 null8626

@Esmeray6 @Hadock-is-ok Update as of now... image

As expected kek, take your time

Hadock-is-ok avatar Oct 14 '24 12:10 Hadock-is-ok

Not surprising.

Esmeray6 avatar Oct 14 '24 18:10 Esmeray6

Good news everyone! I think we finally have some progress now...

null8626 avatar Feb 14 '25 08:02 null8626

@Esmeray6 Hey! Can you hand over the ownership of the topggpy readthedocs project to me? Thanks!

null8626 avatar Feb 15 '25 08:02 null8626

@Esmeray6 Hey! Can you hand over the ownership of the topggpy readthedocs project to me? Thanks!

Contacted on Discord via DMs, ownership transferred.

Esmeray6 avatar Feb 17 '25 07:02 Esmeray6

Hai everyone! I'm sorry to announce that the release is delayed a bit because of anticipation for the upcoming Top.gg API v0, which introduces many breaking changes.

null8626 avatar Feb 18 '25 09:02 null8626

Hai everyone, after 2 years, at long last Veld has received an e-mail from PyPI approving the use of the new top-gg PyPI organization. This should imply that release to PyPI is now possible and closer than ever!

null8626 avatar Apr 18 '25 06:04 null8626

Hai everyone, as of the past few weeks, I'm sad to say that current state of the library is back to a standstill once again. Veld is very busy and the team has been working on a huge change to the site, which has hindered progress on pretty much the entire open source ecosystem of Top.gg because of the team's priorities. Because of this, some parts of the API still remain broken which interfered with my ability to test my SDKs.

null8626 avatar May 11 '25 11:05 null8626

Once I am able to test my SDKs, I'll merge my v0-rewrite branch with patch-1, and ask the team to review it before this pull request could be merged. Overall progress on the SDKs can be seen in this spreadsheet.

I'll never forget to keep you guys updated! I'll never want to disappoint all of you. Thank you so much for the support all these years.

null8626 avatar May 11 '25 11:05 null8626

Hey everyone, I just wanted to inform all of you that the entire library has been tested after Veld recently fixed the POST /bots/stats endpoint!

null8626 avatar Jun 14 '25 03:06 null8626