I'm currently facing the problem that I can no longer install various images in a docker:stretch based image using pip3. that's the output I get every time I try to build an image.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/test_sftp.py b/tests/test_sftp.py | |
index 6a514ac..9b7146d 100644 | |
--- a/tests/test_sftp.py | |
+++ b/tests/test_sftp.py | |
@@ -75,6 +75,13 @@ def test_sftpserver_write_offset_unsupported(content, sftpclient): | |
f.write("test") | |
+def test_sftpserver_put_file(content, sftpclient, tmpdir): | |
+ tmpfile = tmpdir.join('test.txt') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/test_sftp.py b/tests/test_sftp.py | |
index 6a514ac..ddb87cf 100644 | |
--- a/tests/test_sftp.py | |
+++ b/tests/test_sftp.py | |
@@ -1,7 +1,6 @@ | |
from copy import deepcopy | |
from paramiko import Transport | |
from paramiko.channel import Channel | |
-from paramiko.sftp_attr import SFTPAttributes | |
from paramiko.sftp_client import SFTPClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
ADD run.sh /usr/local/bin/ | |
VOLUME ["/opt"] | |
ENTRYPOINT ["/bin/sh", "/usr/local/bin/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:4 | |
# Prepare non-root user and folders | |
RUN useradd --system --user-group --create-home app && \ | |
mkdir /app && chown app:app /app | |
RUN npm install -g nodemon | |
# Install dependency outside of the app volume | |
COPY package.json /opt/ | |
RUN cd /opt && npm install |
For many years the Python community has had an awesome website called [pyvideo.org][] which tried to aggregate all conference videos on a single site to make it easier to find them. In January [Will Kahn-Greene][wkg], one of the awesome people behind it, announced, that work on the project was [about to end][]. Then in March he continued with a length [status update][] announcing the [pyvideo-data][] repository. That repository contains a data dump of all the collected videos and should act as a starting point for other people to work with.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import html5lib | |
import shutil | |
import pathlib | |
import json | |
import collections | |
import requests | |
import re | |
import sys | |
from icalendar.cal import Calendar |
date | draft | title | tags | ||||
---|---|---|---|---|---|---|---|
2016-09-19 12:05:04 +0200 |
true |
My First Writing-day |
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
from shutil import rmtree | |
from time import sleep | |
from contextlib import contextmanager | |
class Test: | |
def __init__(self, path): | |
self.path = path | |
self.times = self.get_times() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1, undefined, 2].map(v => v+1) | |
# [ 2, NaN, 3 ] | |
(new Array(5)).map(v => v+1) | |
# [ , , , , ] |