Skip to content

script, doc: contrib/seeds updates#20288

Merged
laanwj merged 2 commits intobitcoin:masterfrom
jonatack:contrib-seeds-fixups
Nov 19, 2020
Merged

script, doc: contrib/seeds updates#20288
laanwj merged 2 commits intobitcoin:masterfrom
jonatack:contrib-seeds-fixups

Conversation

@jonatack
Copy link
Member

@jonatack jonatack commented Nov 2, 2020

Seen while reviewing #20237.

  1. Fix a deprecation warning in contrib/seeds/makeseeds.py
    makeseeds.py:139: DeprecationWarning: please use dns.resolver.resolve() instead
      asn = int([x.to_text() for x in dns.resolver.query('.'.join(
  1. Update the dnspython dependency installation instructions in contrib/seeds/README

makeseeds.py:139: DeprecationWarning: please use dns.resolver.resolve() instead
  asn = int([x.to_text() for x in dns.resolver.query('.'.join(

per https://dnspython.readthedocs.io/en/latest/whatsnew.html
dns.resolver.query() was deprecated in dnspython version 2.0.0
@practicalswift
Copy link
Contributor

Concept ACK

Thanks for cleaning up!

@fanquake
Copy link
Member

fanquake commented Nov 2, 2020

~0. This has to wait until after branch off otherwise it will break our Python 3.5 requirement.

@jonatack
Copy link
Member Author

jonatack commented Nov 3, 2020

Sure, can re-open after we bump the minimum to 3.6.

@jonatack jonatack closed this Nov 3, 2020
@jonatack
Copy link
Member Author

Re-opening now that the minimum Python version has been bumped to 3.6.

@jonatack jonatack reopened this Nov 18, 2020
@laanwj
Copy link
Member

laanwj commented Nov 19, 2020

code review ACK 961f148

@laanwj laanwj merged commit cddcd22 into bitcoin:master Nov 19, 2020
@jonatack jonatack deleted the contrib-seeds-fixups branch November 19, 2020 09:44
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Nov 19, 2020
961f148 doc: update contrib/seeds/README dnspython installation info (Jon Atack)
dd7b5f4 script: fix deprecation warning in makeseeds.py (Jon Atack)

Pull request description:

  Seen while reviewing bitcoin#20237.

  1. Fix a deprecation warning in `contrib/seeds/makeseeds.py`
  ```
      makeseeds.py:139: DeprecationWarning: please use dns.resolver.resolve() instead
        asn = int([x.to_text() for x in dns.resolver.query('.'.join(
  ```
    - Per https://dnspython.readthedocs.io/en/latest/whatsnew.html, `dns.resolver.query()` was deprecated in `dnspython` version 2.0.0.

    - See https://dnspython.readthedocs.io/en/latest/resolver-class.html for more info on the resolver class.

  2. Update the `dnspython` dependency installation instructions in `contrib/seeds/README`

    - The markdown rendering can be seen here: https://github.com/jonatack/bitcoin/tree/contrib-seeds-fixups/contrib/seeds

ACKs for top commit:
  laanwj:
    code review ACK 961f148

Tree-SHA512: f9c4f318a1a0d35b8de147d24b72c534a1f58eece31e7cfa00b4149a63b6a618d8ca0312f52fd8056f3c645cf2ee68574ca02319fddffdad919a70cd33395d33
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants