diff --git a/appveyor.yml b/appveyor.yml index f6ac53e3..82d83985 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,8 @@ environment: install: # We need wheel installed to build wheels - - "%PYTHON%\\python.exe -m pip install wheel faker nose" + - "%PYTHON%\\python.exe -m pip install --upgrade pip" + - "%PYTHON%\\python.exe -m pip install wheel faker nose funcsigs" - "%PYTHON%\\python.exe setup.py install" build: off diff --git a/minio/helpers.py b/minio/helpers.py index 69881c73..9151b93f 100644 --- a/minio/helpers.py +++ b/minio/helpers.py @@ -53,7 +53,7 @@ _VALID_BUCKETNAME_REGEX = re.compile('^[a-z0-9][a-z0-9\\.\\-]+[a-z0-9]$') _ALLOWED_HOSTNAME_REGEX = re.compile( - '^((?!-)[A-Z\\d-]{1,63}(?