Skip to content

Use modern configparser APIs in versioneer#13

Draft
Mirochill wants to merge 1 commit into
Lucy-Forrest-Lab:masterfrom
Mirochill:fix-10-versioneer-configparser
Draft

Use modern configparser APIs in versioneer#13
Mirochill wants to merge 1 commit into
Lucy-Forrest-Lab:masterfrom
Mirochill:fix-10-versioneer-configparser

Conversation

@Mirochill

Copy link
Copy Markdown

Description

Update the vendored versioneer.py configuration parsing path to use the modern configparser APIs.

Todos

Notable points that this PR has either accomplished or will accomplish.

  • Replace SafeConfigParser() with ConfigParser().
  • Replace readfp() with read_file().

Questions

  • None at this time.

Status

  • Ready to go

Validation

  • git diff --check
  • git diff --cached --check
  • rg --line-number SafeConfigParser|readfp versioneer.py setup.py setup.cfg HDXer returned no matches
  • Not run locally

Closes #10

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.

SafeConfigParser() (Deprecated since py3.2) incompatible with latest versions of Miniconda

1 participant