Skip to content

Commit 0704228

Browse files
Bump aiohttp from 2.3.10 to 3.7.4 (#12)
* Bump aiohttp from 2.3.10 to 3.7.4 Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 2.3.10 to 3.7.4. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](aio-libs/aiohttp@v2.3.10...v3.7.4) Signed-off-by: dependabot[bot] <[email protected]> * bumping version, running black, testing new aiohttp Signed-off-by: vsoch <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: vsoch <[email protected]>
1 parent 7ce9e42 commit 0704228

File tree

12 files changed

+43
-42
lines changed

12 files changed

+43
-42
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ represented by the pull requests that fixed them. Critical items to know are:
1414

1515

1616
## [v1.x](https://github.com/singularityhub/stools/tree/master) (master)
17+
- bumping aiohttp version (0.0.13)
1718
- Adding generation of reports to folder with --reports (0.0.12)
1819
- Original release of stools, primarily will be used with the docker-compose.yml (0.0.1)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ vulnerabilities.
1616
Note that after the first two releases, version numbers correspond with releases on pypi,
1717
and not Singularity versions.
1818

19-
- [v0.0.12 (master)](https://github.com/singularityhub/stools) adds support for reports saving
19+
- [v0.0.13 (master)](https://github.com/singularityhub/stools) adds support for reports saving
2020
- [v3.2.1](https://github.com/singularityhub/stools/tree/v3.2.1) Uses Singularity v3.2.1 and above
2121
- [v2.4.5](https://github.com/singularityhub/stools/tree/v2.4.5) Uses Singularity v2.4.5
2222

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
aiohttp==2.3.10
1+
aiohttp==3.7.4
22
requests>=2.20.0

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99

1010
def get_lookup():
11-
"""get version by way of stools.version, returns a
12-
lookup dictionary with several global variables without
13-
needing to import singularity
11+
"""get version by way of stools.version, returns a
12+
lookup dictionary with several global variables without
13+
needing to import singularity
1414
"""
1515
lookup = dict()
1616
version_file = os.path.join("stools", "version.py")
@@ -21,7 +21,7 @@ def get_lookup():
2121

2222
def get_reqs(lookup=None, key="INSTALL_REQUIRES"):
2323
"""get requirements, mean reading in requirements and versions from
24-
the lookup obtained with get_lookup
24+
the lookup obtained with get_lookup
2525
"""
2626
if lookup == None:
2727
lookup = get_lookup()

stools/clair/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"""
44
5-
Copyright (C) 2018-2020 Vanessa Sochat.
5+
Copyright (C) 2018-2021 Vanessa Sochat.
66
77
This program is free software: you can redistribute it and/or modify it
88
under the terms of the GNU Affero General Public License as published by
@@ -114,8 +114,8 @@ def main():
114114
parser = get_parser()
115115

116116
def help(retval=0):
117-
"""print help, including the software version and active client
118-
and exit with return code.
117+
"""print help, including the software version and active client
118+
and exit with return code.
119119
"""
120120
version()
121121
parser.print_help()

stools/clair/api.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by
@@ -52,10 +52,10 @@ def scan(self, targz_url, name):
5252

5353
def report(self, name):
5454
"""generate a report for an image of interest. The name should
55-
correspond to the same name used when adding the layer...
55+
correspond to the same name used when adding the layer...
5656
57-
Parameters
58-
==========
57+
Parameters
58+
==========
5959
"""
6060

6161
url = os.path.join(self.url, "layers", name)
@@ -68,13 +68,13 @@ def report(self, name):
6868

6969
def ping(self):
7070
"""ping serves as a health check. If healthy, will return True.
71-
We do this because the user is starting Clair as
72-
a separate (Docker) image and it might be the case that the
73-
server port/host are not correctly set.
71+
We do this because the user is starting Clair as
72+
a separate (Docker) image and it might be the case that the
73+
server port/host are not correctly set.
7474
75-
Returns
76-
=======
77-
healthy: If healthy, returns True, otherwise False
75+
Returns
76+
=======
77+
healthy: If healthy, returns True, otherwise False
7878
7979
"""
8080
url = os.path.join(self.url, "namespaces")

stools/clair/image.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by
@@ -29,14 +29,14 @@
2929

3030
def export_to_targz(image, tmpdir=None):
3131
"""export a Singularity image to a .tar.gz file. If run within a docker
32-
image, you should set via_build to false (as sudo will work under
33-
priviledged). Outside of Docker as regular user, via_build works
34-
better.
32+
image, you should set via_build to false (as sudo will work under
33+
priviledged). Outside of Docker as regular user, via_build works
34+
better.
3535
36-
Parameters
37-
==========
38-
image: the full path to the Singularity image
39-
tmpdir: a temporary directory to export to.
36+
Parameters
37+
==========
38+
image: the full path to the Singularity image
39+
tmpdir: a temporary directory to export to.
4040
4141
"""
4242
print("Exporting %s to targz..." % image)
@@ -62,7 +62,7 @@ def export_to_targz(image, tmpdir=None):
6262

6363
def sha256(image, block_size=65536):
6464
"""create a dummy Docker image name (the sha256 sum)
65-
https://gist.github.com/rji/b38c7238128edf53a181
65+
https://gist.github.com/rji/b38c7238128edf53a181
6666
"""
6767
hashsum = hashlib.sha256()
6868
with open(image, "rb") as filey:

stools/clair/server/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by

stools/clair/server/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by

stools/clair/server/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by

stools/utils.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by
@@ -23,14 +23,14 @@
2323

2424
def get_temporary_name(tmpdir=None, prefix="stools", ext=""):
2525
"""generate a named temporary file in some temporary directory.
26-
This generates the name and not the actual file, it is up to the
27-
calling function to generate the structure.
28-
29-
Parameters
30-
==========
31-
tmpdir: the temporary directory to create the file
32-
prefix: the prefix of the file.
33-
ext: the extension of the file (default .tar.gz)
26+
This generates the name and not the actual file, it is up to the
27+
calling function to generate the structure.
28+
29+
Parameters
30+
==========
31+
tmpdir: the temporary directory to create the file
32+
prefix: the prefix of the file.
33+
ext: the extension of the file (default .tar.gz)
3434
3535
"""
3636
if ext not in [None, ""]:

stools/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
Copyright (C) 2018-2020 Vanessa Sochat.
3+
Copyright (C) 2018-2021 Vanessa Sochat.
44
55
This program is free software: you can redistribute it and/or modify it
66
under the terms of the GNU Affero General Public License as published by
@@ -17,7 +17,7 @@
1717
1818
"""
1919

20-
__version__ = "0.0.12"
20+
__version__ = "0.0.13"
2121
AUTHOR = "Vanessa Sochat"
2222
AUTHOR_EMAIL = "[email protected]"
2323
NAME = "stools"

0 commit comments

Comments
 (0)