Skip to content

Expires the forest_str deprecation - #7414

Merged
dschult merged 5 commits into
networkx:mainfrom
rossbar:expire-forest-str
Apr 17, 2024
Merged

dschult merged 5 commits into
networkx:mainfrom
rossbar:expire-forest-str

Conversation

@rossbar

@rossbar rossbar commented Apr 15, 2024

Copy link
Copy Markdown
Contributor

This was supposed to make it into 3.3 (oops), but better late than never! Removes forest_str in favor of generate_network_text as the deprecation message specifies.

I went ahead and updated the forest_str tests to use generate_network_text (rather than delete them) to verify that generate_network_text works as expected as a replacement for those use-cases. For tests that probed features/exceptions specific to forest_str, I went ahead and removed them. I also snuck in a commit to rm remaining extraneous print statements from the readwrite test suite.

@dschult
dschult merged commit 53ec80a into networkx:main Apr 17, 2024
@jarrodmillman jarrodmillman added this to the 3.4 milestone Apr 17, 2024
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* Update tests from forest_str -> generate_network_text.

* Rm forest_str.

* Rm warnings filter.

* Rm from developer docs.

* Rm extraneous print statements from test suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants