Hosts: Deprecation warning when running testUpdateHostsFile.py

Created on 1 May 2018  路  4Comments  路  Source: StevenBlack/hosts

Hi,

When running testUpdateHostsFile.py, I got this error message

.......C:Program FilesPython36libsite-packagesbs4builder_lxml.py:250: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
self.parser.feed(markup)

Does anyone else get this error message?

enhancement

Most helpful comment

Will take the time this weekend (or part of the next week) to fix this along with #528 Steven @StevenBlack.

Cheers,
Nissar

All 4 comments

Hi @onmyouji yes, I get same on MacOS.

Will take the time this weekend (or part of the next week) to fix this along with #528 Steven @StevenBlack.

Cheers,
Nissar

Hello @onmyouji,
I mentioned it into #602 but for clarification for the others who think that it is a local issue, please report to #520 description:

Please note that I have to submit an issue to upstream but if you see the following or related when runing the tests under Python >= 3 it's not a local issue.

/home/travis/miniconda3/envs/hosts/lib/python3.5/site-packages/bs4/builder/_lxml.py:250: >DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead

For now, the maintainers of lxml and especially bs4 know that the following warning exists but consider that as not a priority to fix yet.

I personally going to contact one of the maintainers to hear more from their part as that warning is full of sense but until then, we keep the current version of the scripts unless someone has another idea or Steven @StevenBlack decide to drop BeautifulSoup.

Have a nice day/night.

Cheers,
Nissar.

Thanks @funilrys

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hyphenized picture hyphenized  路  3Comments

scafroglia93 picture scafroglia93  路  3Comments

onmyouji picture onmyouji  路  3Comments

bigdargon picture bigdargon  路  3Comments

mueller-ma picture mueller-ma  路  3Comments