Check your dependencies carefully. This is not something Travis CI would be involved in.
The only dependency is Python and requests-2.22.0
.
Two months ago it was good
Collecting requests (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
6 days ago it was bad
Collecting requests (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
and my simpler code that shows the problem uses the same requests-2.22.0
Collecting requests
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
I have demonstrated the problem with a small piece of code. I do not believe this is a library dependency problem.
import socket
connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
connection.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
connection.bind(('0.0.0.0', 8000))
connection.listen(10)
current_connection, address = connection.accept()
data = current_connection.recv(2048)
print ("Recieving: " + data)
import requests
try:
url = "http://localhost:8000/tools/../../README.md"
print("Requesting: "+url)
requests.get(url)
except Exception as e:
pass
the response travis
notice the path changed while outside the control of my code.