Bibo-Joshi · GitHub

Conversation

@Bibo-Joshi

Copy link Copy Markdown

Member

Closes #2361

Changes the cryptography requirement to !=3.4 as that release contains a bug with cyclical imports, see pyca/cryptography#5758 .

On the fly:

  • re-adds docs for get_updates.read_latency, which apparently got lost somewhere around 2017 according to git blame
  • Drops type hints from signature in docs, as they are hard to read and redundant (we document everything anyway)
  • prettifies display of DefaultValue instances in signtures in docs
  • makes disable_notification default to None instead of False. That has the same effect, we pass less stuff to TG (and it simplified tests)
  • cleans up some foo = 'text' ' text continued' strings, probably leftovers from switching to black formatting

todo

  • overhaul tests to strictly test defaults
  • manually test stuff like answer_inline_query

github-actions[bot]

Copy link Copy Markdown

Choose a reason for hiding this comment

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

Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :)

@Bibo-Joshi

@Bibo-Joshi

@Bibo-Joshi

Copy link Copy Markdown

Member Author

CI seems to work, finally :)

harshil21

# Conflicts:
#	.github/workflows/test.yml
#	requirements.txt

Poolitzer

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

logic looks fine to me!

@Bibo-Joshi

@Bibo-Joshi

Read the original on github.com ↗