kpe / bert-for-tf2

A Keras TensorFlow 2.0 implementation of BERT, ALBERT and adapter-BERT.
https://github.com/kpe/bert-for-tf2
MIT License
802 stars 193 forks source link

setuptools.convert_path removed #99

Open steffen-fissler opened 5 months ago

steffen-fissler commented 5 months ago

Hi,

in setuptools v70.0.0 the method convert_path has been removed. This package uses convert_path here. Maybe you could change

from setuptools import setup, find_packages, convert_path

to

from setuptools import setup, find_packages
from distutils.util import convert_path

?

Thanks Steffen