Skip to content
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

Major overhaul for Sopel 8 and Python 3-only #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

dgw
Copy link
Member

@dgw dgw commented Jun 22, 2024

  • Converted to entry-point plugin
  • Package name is now sopel-stocks
  • Supports minimum Python 3.8
  • Supports minimum Sopel 8.0
  • Updated imports
  • Updated README
  • Created changelog in NEWS file
  • Added .gitignore file

Linting with flake8 shows nothing more serious than "line too long" errors. Running the flake8 commands from the python-tests.yml workflow now yields zero warnings with the custom line length set there.

I was able to test successfully with a free key from Finnhub. Though this doesn't confirm that the other providers work, it does prove that the file reorganization (and style cleanup) hasn't obviously broken anything.

Releasing

This changes the package name, like sopel-irc/sopel-imdb#17. Likewise, if you want, I'm happy to help set up Trusted Publishing and assist with creating a post-release to direct users from sopel_modules.stocks to the new sopel-stocks package.

dgw added 3 commits June 22, 2024 14:40
* Converted to entry-point plugin
* Package name is now `sopel-stocks`
* Supports minimum Python 3.8
* Supports minimum Sopel 8.0
* Updated imports
* Updated README
* Created changelog in NEWS file
* Added .gitignore file

I was able to test the plugin successfully with a free API key from
Finnhub. Linting with flake8 shows nothing more serious than "line too
long" errors.
@dgw dgw requested a review from RustyBower June 22, 2024 19:42
@dgw dgw linked an issue Jun 22, 2024 that may be closed by this pull request
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.

Packaging modernization needed
1 participant