8000 Make MQTT__init__ arguments keyword-only by tekktrik · Pull Request #121 · adafruit/Adafruit_CircuitPython_MiniMQTT · GitHub
[go: up one dir, main page]

Skip to content

Make MQTT__init__ arguments keyword-only #121

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

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Make MQTT__init__ arguments keyword-only #121

merged 1 commit into from
Dec 1, 2022

Conversation

tekktrik
Copy link
Member
@tekktrik tekktrik commented Aug 31, 2022

This is API-breaking, but hopefully makes using the library less prone to errors. I couldn't find any existing libraries or Learn Guides (save for one that's already broken with regards to API since it hasn't been updated for the last API-breaking change to MQTT.__init__()).

Resovles #120

@tekktrik tekktrik requested a review from a team August 31, 2022 04:27
@tekktrik tekktrik linked an issue Aug 31, 2022 that may be closed by this pull request
Copy link
Member
@gamblor21 gamblor21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Just unsure if anything needs to be tweaked to tag it for 8.x since it is technically API breaking?

@tekktrik
Copy link
Member Author
tekktrik commented Sep 2, 2022

I think it's fine, but I'll sit on tonight and see if anyone in #circuitpython-dev knows more about that!

@tekktrik tekktrik marked this pull request as draft September 25, 2022 22:39
@tekktrik
Copy link
Member Author

Converted to draft so it doesn't merge before I can ask about this!

@dhalbert
Copy link
Contributor

I agree it's fine, with a major version bump, if you've checked the Learn Guides repo and the library examples.

@tekktrik tekktrik marked this pull request as ready for review December 1, 2022 01:06
@tekktrik
Copy link
Member Author
tekktrik commented Dec 1, 2022

Checked the libraries and Learn Guides repositories, we're good!

@tekktrik tekktrik merged commit 4c0c770 into adafruit:main Dec 1, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 8, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_Nunchuk to 1.1.7 from 1.1.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_Nunchuk#32 from tekktrik/doc/fix-typing
  > Add .venv to .gitignore
  > Update .pylintrc for v2.15.5
  > Fix release CI files
  > Update pylint to 2.15.5
  > Updated pylint version to 2.13.0
  > Switching to composite actions

Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 7.0.2 from 6.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#132 from vladak/wait_for_msg_cleanup
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#130 from flavio-fernandes/username_fix
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#121 from tekktrik/dev/kw-init
  > Add .venv to .gitignore

Updating https://github.com/adafruit/Adafruit_CircuitPython_Register to 1.9.15 from 1.9.14:
  > Merge pull request adafruit/Adafruit_CircuitPython_Register#49 from tekktrik/fix/pinned-typing
  > Add .venv to .gitignore
  > Update .pylintrc for v2.15.5
  > Fix release CI files
  > Update pylint to 2.15.5
  > Updated pylint version to 2.13.0
  > Switching to composite actions

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
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.

Make MQTT.__init__() arguments keyword-only
3 participants
0