Skip to content

Bump Python to 3.12 #1310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Bump Python to 3.12 #1310

wants to merge 2 commits into from

Conversation

ajax146
Copy link
Contributor

@ajax146 ajax146 commented May 4, 2025

Factoids doesn't load

I ran into an error processing your command: Command raised an exception: ExtensionFailed: Extension 'commands.factoids' raised an error: ModuleNotFoundError: No module named 'croniter'

No other known issues

@ajax146
Copy link
Contributor Author

ajax146 commented May 4, 2025

Hmm, might be time to find a replacement for croniter:

DISCLAIMER
UNMAINTAINED/ABANDONED CODE / DO NOT USE
Due to the new EU Cyber Resilience Act (as European Union), even if it was implied because there was no more activity, this repository is now explicitly declared unmaintained.
The content does not meet the new regulatory requirements and therefore cannot be deployed or distributed, especially in a European context.
This repository now remains online ONLY for public archiving, documentation and education purposes and we ask everyone to respect this.
As stated, the maintainers stopped development and therefore all support some time ago, and make this declaration on December 15, 2024.
We may also unpublish soon (as in the following monthes) any published ressources tied to this project (pypi, the repositories, …). So, please don’t rely on it after March 15, 2025 and adapt whatever project which used this code.

@ajax146
Copy link
Contributor Author

ajax146 commented May 4, 2025

Second potential issue to look at:

future: <Task finished name='Task-110' coro=<LoopCog._loop_execute() done, defined at /var/TechSupportBot/techsupport_bot/core/cogs.py:333> exception=TypeError("'float' object cannot be interpreted as an integer")>
Traceback (most recent call last):
File "/var/TechSupportBot/techsupport_bot/core/cogs.py", line 346, in _loop_execute
await self.wait(config, guild)
File "/var/TechSupportBot/techsupport_bot/commands/duck.py", line 137, in wait
random.randint(
File "/usr/local/lib/python3.12/random.py", line 336, in randint
return self.randrange(a, b+1)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/random.py", line 312, in randrange
istop = _index(stop)
^^^^^^^^^^^^
TypeError: 'float' object cannot be interpreted as an integer

@ajax146 ajax146 added run-ci and removed run-ci labels May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant