Skip to content

codecs.open() is deprecated #128

@mtelka

Description

@mtelka

Testing with Python 3.14.0 shows this warning:

gitdb/test/db/test_ref.py::TestReferenceDB::test_writing
gitdb/test/db/test_ref.py::TestReferenceDB::test_writing
gitdb/test/db/test_ref.py::TestReferenceDB::test_writing
gitdb/test/db/test_ref.py::TestReferenceDB::test_writing
  $(@D)/gitdb/db/ref.py:45: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
    with codecs.open(self._ref_file, 'r', encoding="utf-8") as f:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions