diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ if __name__ == '__main__': setup(name='AdvancedHTMLParser', version='9.0.0', - packages=['AdvancedHTMLParser'], + packages=['AdvancedHTMLParser', 'AdvancedHTMLParser.xpa...
Ensure xpath subpackage is installed properly
py
diff --git a/squad/api/rest.py b/squad/api/rest.py index <HASH>..<HASH> 100644 --- a/squad/api/rest.py +++ b/squad/api/rest.py @@ -1202,7 +1202,7 @@ class TestSerializer(DynamicFieldsModelSerializer, serializers.HyperlinkedModelS class TestViewSet(NestedViewSetMixin, ModelViewSet): queryset = Test.objects.prefe...
api: rest: remove testrun reference in project lookup for test viewset
py
diff --git a/src/ossos/core/ossos/__version__.py b/src/ossos/core/ossos/__version__.py index <HASH>..<HASH> 100644 --- a/src/ossos/core/ossos/__version__.py +++ b/src/ossos/core/ossos/__version__.py @@ -1 +1 @@ -version = "0.7.0b" +version = "0.7.1"
New Version pushed to PIP.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,11 +15,11 @@ def find_packages(path=".", prefix=""): yield name -with open("README.rst") as readme_file: - readme = readme_file.read() +with open("README.rst", 'rb') as readme_file: + readme = readme...
read long description as utf8
py
diff --git a/testsuite/test_tasks_datacite.py b/testsuite/test_tasks_datacite.py index <HASH>..<HASH> 100644 --- a/testsuite/test_tasks_datacite.py +++ b/testsuite/test_tasks_datacite.py @@ -21,9 +21,12 @@ from __future__ import absolute_import import httpretty from mock import patch -from invenio.testsuite import ...
pidstore: testsuite disabling * Disables temporary the testsuite because they are using the old JsonAlchemy API.
py
diff --git a/axiom/attributes.py b/axiom/attributes.py index <HASH>..<HASH> 100644 --- a/axiom/attributes.py +++ b/axiom/attributes.py @@ -101,7 +101,7 @@ class Comparable: _likeOperators = ('LIKE', 'NOT LIKE') def _like(self, op, *others): if op.upper() not in self._likeOperators: - raise...
use %r instead of %s when formatting the tuple of acceptable LIKE expressions
py
diff --git a/sanic/helpers.py b/sanic/helpers.py index <HASH>..<HASH> 100644 --- a/sanic/helpers.py +++ b/sanic/helpers.py @@ -137,7 +137,7 @@ def remove_entity_headers(headers, allowed=("content-location", "expires")): return headers -def import_string(module_name): +def import_string(module_name, package=Non...
added param package to relative imports
py
diff --git a/src/transformers/tokenization_utils_base.py b/src/transformers/tokenization_utils_base.py index <HASH>..<HASH> 100644 --- a/src/transformers/tokenization_utils_base.py +++ b/src/transformers/tokenization_utils_base.py @@ -825,7 +825,13 @@ class SpecialTokensMixin: special tokens are NOT in the voc...
Adds a note to resize the token embedding matrix when adding special … (#<I>) * Adds a note to resize the token embedding matrix when adding special tokens * Remove superfluous space
py
diff --git a/visidata/vd.py b/visidata/vd.py index <HASH>..<HASH> 100755 --- a/visidata/vd.py +++ b/visidata/vd.py @@ -1830,12 +1830,14 @@ def editText(scr, y, x, w, attr=curses.A_NORMAL, value='', fillchar=' ', unprint dispval = clean(v) else: dispval = '*' * len(v) - dispi = ...
Fix #7; make editText stay within given width
py
diff --git a/pwnypack/shellcode/translate.py b/pwnypack/shellcode/translate.py index <HASH>..<HASH> 100644 --- a/pwnypack/shellcode/translate.py +++ b/pwnypack/shellcode/translate.py @@ -128,6 +128,22 @@ def translate(env, func, *args, **kwargs): else: value[index] = new_value + e...
Support in-place add/subtract on registers.
py
diff --git a/mpd.py b/mpd.py index <HASH>..<HASH> 100644 --- a/mpd.py +++ b/mpd.py @@ -1,6 +1,5 @@ #! /usr/bin/env python -# TODO: implement argument checking/parsing (?) # TODO: check for EOF when reading and benchmark it # TODO: converter support # TODO: global for parsing MPD_HOST/MPD_PORT
remove argument checking/parsing TODO item mpd already does a much better job of validating arguments than we ever could, so no point in us doing it too. Parsing arguments is also rather pointless, as all arguments are coerced to strings before escaping anyway.
py
diff --git a/pyfolio/utils.py b/pyfolio/utils.py index <HASH>..<HASH> 100644 --- a/pyfolio/utils.py +++ b/pyfolio/utils.py @@ -47,10 +47,10 @@ ANNUALIZATION_FACTORS = { MONTHLY: MONTHS_PER_YEAR } -DEPRECATION_WARNING = ("""Data loaders have been moved to empyrical and will - be removed fro...
DOC used " instead of """ for deprecation warning
py
diff --git a/tcex/bin/validate.py b/tcex/bin/validate.py index <HASH>..<HASH> 100644 --- a/tcex/bin/validate.py +++ b/tcex/bin/validate.py @@ -17,6 +17,7 @@ from pydantic import ValidationError from stdlib_list import stdlib_list # first-party +from tcex.app_config import Permutation from tcex.app_config.install_j...
Add self.permutations to Validate class. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ setup( use_scm_version=True, description=project_info.description, + long_description=project_info.description, url=project_info.source_url, @@ -29,4 +30,24 @@ setup( ], python_...
Add long_description (same as short description currently), keywords and classifiers to setup.py
py
diff --git a/salt/states/beacon.py b/salt/states/beacon.py index <HASH>..<HASH> 100644 --- a/salt/states/beacon.py +++ b/salt/states/beacon.py @@ -31,6 +31,42 @@ Management of the Salt beacons - 0.1 - 1.0 + .. versionadded:: Neon + + Beginning in the Neon release, multiple copies o...
Porting PR #<I> to <I>
py
diff --git a/cli_ui/tests/test_cli_ui.py b/cli_ui/tests/test_cli_ui.py index <HASH>..<HASH> 100644 --- a/cli_ui/tests/test_cli_ui.py +++ b/cli_ui/tests/test_cli_ui.py @@ -1,6 +1,5 @@ import datetime import io -import operator import os import re from typing import Iterator @@ -303,7 +302,7 @@ def test_ask_choice()...
Fix two warnings found by SonarQube
py
diff --git a/src/pyctools/tools/setmetadata.py b/src/pyctools/tools/setmetadata.py index <HASH>..<HASH> 100644 --- a/src/pyctools/tools/setmetadata.py +++ b/src/pyctools/tools/setmetadata.py @@ -32,7 +32,7 @@ Useful tags include: 'xlen', 'ylen' and 'fourcc'. import argparse import sys -from ..core import Metadata +...
One more pyctools.core import to change
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -202,7 +202,6 @@ cassandra = [ celery = [ 'celery~=4.4.2', 'flower>=0.7.3, <1.0', - 'tornado>=4.2.0, <6.0', # Dep of flower. Pin to a version that works on Py3.5.2 'vine~=1.3', # https://stackoverflow.com/...
Unpin 'tornado' dep pulled in by flower (#<I>) 'tornado' version was pinned in <URL>
py
diff --git a/gglsbl/protocol.py b/gglsbl/protocol.py index <HASH>..<HASH> 100644 --- a/gglsbl/protocol.py +++ b/gglsbl/protocol.py @@ -5,7 +5,7 @@ import struct import time from StringIO import StringIO import random -import os +import posixpath import re import hashlib import socket @@ -334,7 +334,7 @@ class URL...
Fixed windows related bug around URL path normalization On a windows box, os.path uses windows path separators, which does not match URL path separators. The class posixpath is OS agnostic.
py
diff --git a/pandas/tseries/tests/test_timezones.py b/pandas/tseries/tests/test_timezones.py index <HASH>..<HASH> 100644 --- a/pandas/tseries/tests/test_timezones.py +++ b/pandas/tseries/tests/test_timezones.py @@ -788,6 +788,19 @@ class TestTimeZoneSupportDateutil(TestTimeZoneSupportPytz): def localize(self, tz, ...
Add test for conversion between dateutil.tz.tzutc() and dateutil.tz.gettz('UTC')
py
diff --git a/benchbuild/project.py b/benchbuild/project.py index <HASH>..<HASH> 100644 --- a/benchbuild/project.py +++ b/benchbuild/project.py @@ -227,7 +227,7 @@ class Project(metaclass=ProjectDecorator): source: Sources = attr.ib( default=attr.Factory(lambda self: type(self).SOURCE, takes_self=True)) ...
project: annotate the correct type
py
diff --git a/xrpc/actor.py b/xrpc/actor.py index <HASH>..<HASH> 100644 --- a/xrpc/actor.py +++ b/xrpc/actor.py @@ -318,7 +318,7 @@ class SignalRunner(LoggingActor, TerminatingHandler): except TerminationException: act.terminate('sigte') except: - logging.getLogg...
Actor if signal causes an exception it's incorrectly handled
py
diff --git a/pycbc/__init__.py b/pycbc/__init__.py index <HASH>..<HASH> 100644 --- a/pycbc/__init__.py +++ b/pycbc/__init__.py @@ -73,13 +73,6 @@ try: except ImportError: HAVE_CUDA=False -# Check for MKL capability -try: - import pycbc.fft.mkl - HAVE_MKL=True -except ImportError: - HAVE_MKL=False -...
move mkl check to end
py
diff --git a/scripts/gen.py b/scripts/gen.py index <HASH>..<HASH> 100644 --- a/scripts/gen.py +++ b/scripts/gen.py @@ -39,7 +39,7 @@ import sys # - Need to figure out the correct Timestamp type copyright_header = """\ -# Copyright (c) 2012-2019, Mark Peek <mark@peek.org> +# Copyright (c) 2012-2020, Mark Peek <mark@...
Tweaks to the gen.py script
py
diff --git a/lib/svtplay_dl/service/mtvservices.py b/lib/svtplay_dl/service/mtvservices.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/mtvservices.py +++ b/lib/svtplay_dl/service/mtvservices.py @@ -1,10 +1,8 @@ from __future__ import absolute_import import sys import re -import json import xml.etree.El...
mtvservices: minor pylint cleanup
py
diff --git a/trakt/version.py b/trakt/version.py index <HASH>..<HASH> 100644 --- a/trakt/version.py +++ b/trakt/version.py @@ -1 +1 @@ -__version__ = '2.7.0' +__version__ = '2.7.1'
Bumped version to <I>
py
diff --git a/torchvision/datasets/lsun.py b/torchvision/datasets/lsun.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/lsun.py +++ b/torchvision/datasets/lsun.py @@ -5,7 +5,11 @@ import os.path import six import string import sys -from collections import Iterable + +if sys.version_info < (3, 3): + from c...
Fix DeprecationWarning for collections.Iterable import (#<I>) * Fix DeprecationWarning for collections.Iterable import * Simplify version comparison
py
diff --git a/parse_this/__init__.py b/parse_this/__init__.py index <HASH>..<HASH> 100644 --- a/parse_this/__init__.py +++ b/parse_this/__init__.py @@ -51,7 +51,7 @@ def parse_this(func, types, args=None, delimiter_chars=":"): return _call(func, func_args, arguments) -class create_parser(object): +class MethodP...
Use file level variable to export so we can rename classes properly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ setup( version='1.10.4', description='Strong lens modeling package.', long_description=desc, - author='Simon Birrer', + author='lenstronomy developers', author_email='sibirrer@gmail.com...
changed authors in setup.py and license description
py
diff --git a/pyradio/radio.py b/pyradio/radio.py index <HASH>..<HASH> 100644 --- a/pyradio/radio.py +++ b/pyradio/radio.py @@ -189,6 +189,7 @@ class PyRadio(object): self.setStation(-1) else: jumpto=min(int(self.jumpnr)-1,len(self.stations)-1) + jumpto=max(0...
Fix jumping if number is 0
py
diff --git a/source/rafcon/gui/mygaphas/items/state.py b/source/rafcon/gui/mygaphas/items/state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/mygaphas/items/state.py +++ b/source/rafcon/gui/mygaphas/items/state.py @@ -451,13 +451,9 @@ class StateView(Element): scoped_variable_v.draw(context, self)...
refactor(gaphas): remove obsolete lines
py
diff --git a/fusesoc/main.py b/fusesoc/main.py index <HASH>..<HASH> 100644 --- a/fusesoc/main.py +++ b/fusesoc/main.py @@ -210,13 +210,16 @@ def list_cores(cm, args): def gen_list(cm, args): cores = cm.get_generators() - print("\nAvailable generators:\n") - maxlen = max(map(len,cores.keys())) - print('...
Display sensible message for 'fusesoc gen list' when there are no generators.
py
diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py index <HASH>..<HASH> 100644 --- a/zipline/assets/assets.py +++ b/zipline/assets/assets.py @@ -146,12 +146,9 @@ class AssetFinder(object): if asset is not None: self._asset_cache[sid] = asset - if asset is not None: +...
MAINT: Simplify conditional.
py
diff --git a/src/collectors/elasticsearch/elasticsearch.py b/src/collectors/elasticsearch/elasticsearch.py index <HASH>..<HASH> 100644 --- a/src/collectors/elasticsearch/elasticsearch.py +++ b/src/collectors/elasticsearch/elasticsearch.py @@ -237,13 +237,18 @@ class ElasticSearchCollector(diamond.collector.Collector): ...
Calculate the aggregated gc stats as they're absent in elastisearch > <I>.
py
diff --git a/sos/plugins/ovirt.py b/sos/plugins/ovirt.py index <HASH>..<HASH> 100644 --- a/sos/plugins/ovirt.py +++ b/sos/plugins/ovirt.py @@ -38,12 +38,10 @@ class Ovirt(Plugin, RedHatPlugin): DB_PASS_FILES = re.compile( flags=re.VERBOSE, - pattern=r""" - ^/etc/ + pattern=r"""^/etc...
[ovirt] fix regex formatting LGTM warns about unmatchable caret and dollar symbols in ovirt's DB_PASS_FILES since they are surrounded by leading and trailing whitespace. Resolves: #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,9 +35,9 @@ CLASSIFIERS = [ 'Programming Language :: Python :: 2.7' ] -SUMMARY = "Digital Ocean API v2 with SSH integration" +DESCRIPTION = "Digital Ocean API v2 with SSH integration" -DESCRIPTION = """ +LONG_DESC...
CLN: fix long description and description in setup
py
diff --git a/troposphere/codedeploy.py b/troposphere/codedeploy.py index <HASH>..<HASH> 100644 --- a/troposphere/codedeploy.py +++ b/troposphere/codedeploy.py @@ -91,6 +91,7 @@ class DeploymentGroup(AWSObject): 'AutoScalingGroups': ([basestring], False), 'Deployment': (Deployment, False), 'De...
DeploymentGroupName property missing DeploymentGroupName property missing from the DeploymentGroup Resource
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ def read(fname): setup( name='gittar', - version='0.3dev', + version='0.5dev', description='The inverse of git archive. Adds a new commit from an archive' 'or the filesystem.'...
Next version will be <I>.
py
diff --git a/jnrbase/cmdline.py b/jnrbase/cmdline.py index <HASH>..<HASH> 100644 --- a/jnrbase/cmdline.py +++ b/jnrbase/cmdline.py @@ -149,8 +149,7 @@ def gen_text(env: TextIOBase, package: str, tmpl: str): else: env_args = {} jinja_env = template.setup(package) - tmpl = jinja_env.get_template(tmp...
[QA] Don't shadow args to ease type checking
py
diff --git a/lambdas/es/indexer/document_queue.py b/lambdas/es/indexer/document_queue.py index <HASH>..<HASH> 100644 --- a/lambdas/es/indexer/document_queue.py +++ b/lambdas/es/indexer/document_queue.py @@ -24,7 +24,7 @@ CONTENT_INDEX_EXTS = [ ] # See https://amzn.to/2xJpngN for chunk size as a function of containe...
Don't send HTTP requests that are too large (#<I>)
py
diff --git a/mongo_connector/connector.py b/mongo_connector/connector.py index <HASH>..<HASH> 100644 --- a/mongo_connector/connector.py +++ b/mongo_connector/connector.py @@ -745,12 +745,13 @@ def get_config_options(): dm['targetURL'] = None if not dm.get('uniqueKey'): dm[...
Fix autoCommitInterval when set to 0.
py
diff --git a/tensorboardX/proto/__init__.py b/tensorboardX/proto/__init__.py index <HASH>..<HASH> 100644 --- a/tensorboardX/proto/__init__.py +++ b/tensorboardX/proto/__init__.py @@ -1,4 +0,0 @@ -try: - from . import event_pb2 -except ImportError: - raise RuntimeError('Run "./compile.sh" to compile protobuf bindi...
Remove import check from proto/ (#<I>)
py
diff --git a/docker_scripts/squash.py b/docker_scripts/squash.py index <HASH>..<HASH> 100644 --- a/docker_scripts/squash.py +++ b/docker_scripts/squash.py @@ -436,3 +436,5 @@ class Squash: self.log.info("Finished, image registered as '%s:%s'" % (image_name, image_tag)) + + retur...
Return new image ID in the run method Fixes #<I>
py
diff --git a/nomenclate/version.py b/nomenclate/version.py index <HASH>..<HASH> 100644 --- a/nomenclate/version.py +++ b/nomenclate/version.py @@ -1 +1 @@ -__version__ = '2.1.6' +__version__ = '2.1.7'
versioned up to <I>
py
diff --git a/lib/websearch_webinterface.py b/lib/websearch_webinterface.py index <HASH>..<HASH> 100644 --- a/lib/websearch_webinterface.py +++ b/lib/websearch_webinterface.py @@ -741,7 +741,7 @@ class WebInterfaceSearchInterfacePages(WebInterfaceDirectory): target = '/collection/' + quote(c) tar...
Removed HTTP_MOVED_PERMANENTLY for security until proxy bugs are resolved.
py
diff --git a/etesync/api.py b/etesync/api.py index <HASH>..<HASH> 100644 --- a/etesync/api.py +++ b/etesync/api.py @@ -49,9 +49,11 @@ class EteSync: self._set_db(database) - def _init_db_tables(self, database): + def _init_db_tables(self, database, additional_tables=None): database.create_ta...
Support extending the database with additional tables.
py
diff --git a/moderator/admin.py b/moderator/admin.py index <HASH>..<HASH> 100644 --- a/moderator/admin.py +++ b/moderator/admin.py @@ -200,7 +200,10 @@ class CommentAdmin(DjangoCommentsAdmin): def content(self, obj, *args, **kwargs): content_type = obj.content_type - content = self.ct_map[content...
fix error when ct_map cache doesn't have the object
py
diff --git a/sqliteschema/_table_extractor.py b/sqliteschema/_table_extractor.py index <HASH>..<HASH> 100644 --- a/sqliteschema/_table_extractor.py +++ b/sqliteschema/_table_extractor.py @@ -33,7 +33,7 @@ class SqliteSchemaTableExtractorV0(SqliteSchemaTextExtractorV0): return 0 @property - def _table...
Rename a property to be more precisely represent the functionality
py
diff --git a/rollbar/contrib/fastapi/utils.py b/rollbar/contrib/fastapi/utils.py index <HASH>..<HASH> 100644 --- a/rollbar/contrib/fastapi/utils.py +++ b/rollbar/contrib/fastapi/utils.py @@ -45,15 +45,25 @@ def get_installed_middlewares(app): ASGIReporterMiddleware, ) - if not hasattr(app, 'user_midd...
Fix get_installed_middlewares() for older FastAPI versions
py
diff --git a/src/ai/backend/common/__init__.py b/src/ai/backend/common/__init__.py index <HASH>..<HASH> 100644 --- a/src/ai/backend/common/__init__.py +++ b/src/ai/backend/common/__init__.py @@ -1 +1 @@ -__version__ = '22.03.0b3' +__version__ = '22.03.0b4'
release: <I>b4
py
diff --git a/salt/fileserver/__init__.py b/salt/fileserver/__init__.py index <HASH>..<HASH> 100644 --- a/salt/fileserver/__init__.py +++ b/salt/fileserver/__init__.py @@ -532,3 +532,26 @@ class Fileserver(object): (x, y) for x, y in ret.items() if x.startswith(prefix) ]) return re...
Add initial FSChan object This object will allow us to replace a channel in the file client with a local channel that just uses the file server class
py
diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index <HASH>..<HASH> 100644 --- a/IPython/html/widgets/widget.py +++ b/IPython/html/widgets/widget.py @@ -175,7 +175,8 @@ class Widget(LoggingConfigurable): def _comm_changed(self, name, new): """Called when the comm is changed...
handle setting Widget.comm = None which is done in `Widget.close` fixes loads of warnings in widget test output, caused every time a widget is closed.
py
diff --git a/src/saml2/client.py b/src/saml2/client.py index <HASH>..<HASH> 100644 --- a/src/saml2/client.py +++ b/src/saml2/client.py @@ -79,7 +79,7 @@ class Saml2Client(object): self.users = Population(identity_cache) # for server state storage - if not state_cache: + if state_cache ...
Bugs in logout request (caught by Lorenzo)
py
diff --git a/menuconfig.py b/menuconfig.py index <HASH>..<HASH> 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -2028,10 +2028,10 @@ def _menu_path_info(node): path = "" - menu = node.parent - while menu is not _kconf.top_node: - path = " -> " + menu.prompt[0] + path - menu = menu.parent ...
menuconfig: Don't show implicit menus in symbol info Only show "real" (non-indented) menus, like in the menu path at the top.
py
diff --git a/mysql/toolkit/components/query.py b/mysql/toolkit/components/query.py index <HASH>..<HASH> 100644 --- a/mysql/toolkit/components/query.py +++ b/mysql/toolkit/components/query.py @@ -2,7 +2,7 @@ from differentiate import diff from mysql.toolkit.utils import get_col_val_str, join_cols, wrap -MAX_ROWS_PE...
Decreased MAX_ROWS_PER_QUERY to <I>,<I> and added commit statement after execute
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -219,3 +219,7 @@ sphinx_gallery_conf = { "bokeh": "http://bokeh.pydata.org/en/latest/", }, } + + +def setup(app): + app.add_javascript('https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/req...
Try messing with conf to get plotly plots to display
py
diff --git a/util/gen-go-studio.py b/util/gen-go-studio.py index <HASH>..<HASH> 100644 --- a/util/gen-go-studio.py +++ b/util/gen-go-studio.py @@ -24,7 +24,7 @@ def after_install(options, home_dir): if not os.path.exists(etc): os.makedirs(etc) - subprocess.call([join(bin_dir, 'easy_install'), 'Studio...
allows generating a go-studio script for a specific Studio version
py
diff --git a/openstack_dashboard/dashboards/project/instances/tests.py b/openstack_dashboard/dashboards/project/instances/tests.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/instances/tests.py +++ b/openstack_dashboard/dashboards/project/instances/tests.py @@ -918,8 +918,6 @@ class Instanc...
Remove an unnessary assert call in InstanceTests Also uncomment an old test case since Django is now <<I>, >=<I>. Change-Id: I<I>d<I>f<I>b8f<I>c<I>ab3f<I>c<I>d<I>f<I>b<I>ad6
py
diff --git a/src/jukeboxmaya/addons/scenerelease/scenerelease.py b/src/jukeboxmaya/addons/scenerelease/scenerelease.py index <HASH>..<HASH> 100644 --- a/src/jukeboxmaya/addons/scenerelease/scenerelease.py +++ b/src/jukeboxmaya/addons/scenerelease/scenerelease.py @@ -196,5 +196,6 @@ class MayaSceneRelease(JB_MayaStandal...
Fix release window set selection if releasetype not work
py
diff --git a/slither/solc_parsing/solidity_types/type_parsing.py b/slither/solc_parsing/solidity_types/type_parsing.py index <HASH>..<HASH> 100644 --- a/slither/solc_parsing/solidity_types/type_parsing.py +++ b/slither/solc_parsing/solidity_types/type_parsing.py @@ -160,7 +160,10 @@ def parse_type(t, caller_context): ...
Fixed an issue where 'type' node would not exist on old solc in legacy-ast.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( package_dir={'bottle_auth': 'bottle_auth'}, - install_requires=['webob', 'bottle-mongo'], + install_requires=['webob', 'bottle-mongo', 'bottle-beaker'], classifiers=[ 'Environ...
add bottle beaker plugin on requires file
py
diff --git a/master/buildbot/status/github.py b/master/buildbot/status/github.py index <HASH>..<HASH> 100644 --- a/master/buildbot/status/github.py +++ b/master/buildbot/status/github.py @@ -18,9 +18,13 @@ import datetime from twisted.internet import defer from twisted.python import log -from txgithub.api import Gi...
make bulidbot.status.github not bail out on missing txgithub
py
diff --git a/tests/test_boards.py b/tests/test_boards.py index <HASH>..<HASH> 100644 --- a/tests/test_boards.py +++ b/tests/test_boards.py @@ -92,6 +92,12 @@ def test_led_board_bad_init(): with pytest.raises(GPIOPinMissing): leds = LEDBoard(pwm=True) +def test_led_bar_graph_bad_init(): + with pytest....
Add tests for bad LEDBarGraph init
py
diff --git a/nbserverproxy/handlers.py b/nbserverproxy/handlers.py index <HASH>..<HASH> 100644 --- a/nbserverproxy/handlers.py +++ b/nbserverproxy/handlers.py @@ -385,16 +385,18 @@ class SuperviseAndProxyHandler(LocalProxyHandler): self.log.info('Starting process...') proc.set_exit_callback(exit_callb...
fix exponential backoff for subprocess max(<I>**i, 5) is always 5 for i < 5
py
diff --git a/tools/run_tests/report_utils.py b/tools/run_tests/report_utils.py index <HASH>..<HASH> 100644 --- a/tools/run_tests/report_utils.py +++ b/tools/run_tests/report_utils.py @@ -47,7 +47,7 @@ def _filter_msg(msg, output_format): # that make XML report unparseable. filtered_msg = filter( lamb...
allow run_tests.py to pass under python <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name = 'identity-toolkit-python-client', packages = packages, license="Apache 2.0", - version = '0.1.7', + version = '0.1.8', description = 'Google Identity Toolkit python client library', ...
Update version number to <I>
py
diff --git a/boyle/commands.py b/boyle/commands.py index <HASH>..<HASH> 100644 --- a/boyle/commands.py +++ b/boyle/commands.py @@ -12,6 +12,7 @@ #------------------------------------------------------------------------------ import os +import sys import shutil import subprocess import logging
Fix imports in commands.py
py
diff --git a/parsl/tests/conftest.py b/parsl/tests/conftest.py index <HASH>..<HASH> 100644 --- a/parsl/tests/conftest.py +++ b/parsl/tests/conftest.py @@ -5,6 +5,10 @@ import shutil import subprocess from glob import glob from itertools import chain +import signal +import sys +import threading +import traceback i...
Dump stack traces in pytest on SIGUSR1 (#<I>) When testing, dump a stack trace in ~/parsl_stack_dump.txt when SIGUSR1 is received.
py
diff --git a/tests/test_emr/test_emr.py b/tests/test_emr/test_emr.py index <HASH>..<HASH> 100644 --- a/tests/test_emr/test_emr.py +++ b/tests/test_emr/test_emr.py @@ -364,7 +364,7 @@ def test_cluster_tagging(): cluster = conn.describe_cluster(cluster_id) cluster.tags.should.have.length_of(2) - tags = {ta...
No native dict comprehensions in py<I>.
py
diff --git a/ontobio/__init__.py b/ontobio/__init__.py index <HASH>..<HASH> 100644 --- a/ontobio/__init__.py +++ b/ontobio/__init__.py @@ -1,6 +1,6 @@ from __future__ import absolute_import -__version__ = '0.2.29' +__version__ = '0.2.30' from .ontol_factory import OntologyFactory from .ontol import Ontology, Syn...
=Upgrade to <I>
py
diff --git a/c3d.py b/c3d.py index <HASH>..<HASH> 100644 --- a/c3d.py +++ b/c3d.py @@ -863,8 +863,10 @@ class Reader(Manager): self._handle.seek((self.header.data_block - 1) * 512) for frame_no in range(self.first_frame(), self.last_frame() + 1): - raw = np.fromfile(self._handle, dtype=po...
Use fromstring to read point data.
py
diff --git a/Qt.py b/Qt.py index <HASH>..<HASH> 100644 --- a/Qt.py +++ b/Qt.py @@ -79,6 +79,9 @@ def _pyside2(): def load_ui(ui_filepath, *args, **kwargs): """Wrap QtUiTools.QUiLoader().load() for compatibility against PyQt5.uic.loadUi() + + Args: + ui_filepath (str): Th...
Added args description to docstrings
py
diff --git a/drivers/python/rethinkdb/handshake.py b/drivers/python/rethinkdb/handshake.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/handshake.py +++ b/drivers/python/rethinkdb/handshake.py @@ -121,7 +121,7 @@ class HandshakeV1_0(object): elif self._state == 1: response = response...
Small change to error message OTS by @danielmewes
py
diff --git a/billy/site/browse/views.py b/billy/site/browse/views.py index <HASH>..<HASH> 100644 --- a/billy/site/browse/views.py +++ b/billy/site/browse/views.py @@ -415,6 +415,8 @@ def mom_commit(request): leg2 = db.legislators.find_one({'_id' : leg2 }) actions.append( "Loaded Legislator '%s as `leg2''" % l...
Adding in a note for myself later
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -4,5 +4,24 @@ from preconditions import PreconditionError, preconditions class InvalidPreconditionTests (TestCase): - def test_varargs_in_precondition(self): - self.assertRaises(PreconditionError, preconditions,...
Add tests for other precondition definition errors.
py
diff --git a/tryp/logging.py b/tryp/logging.py index <HASH>..<HASH> 100644 --- a/tryp/logging.py +++ b/tryp/logging.py @@ -22,9 +22,14 @@ class Logger(logging.Logger): if self.isEnabledFor(DDEBUG): self._log(DDEBUG, message, args, **kws) + def caught_exception(self, when, exc, *a, **kw): + ...
Logger.caught_exception prints exceptions outside of an except handler
py
diff --git a/script/create-dist.py b/script/create-dist.py index <HASH>..<HASH> 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -38,6 +38,7 @@ TARGET_BINARIES = { 'msvcp120.dll', 'msvcr120.dll', 'node.dll', + 'pdf.dll', 'content_resources_200_percent.pak', 'ui_resources_200...
Ship pdf.dll in release.
py
diff --git a/winrm/transport.py b/winrm/transport.py index <HASH>..<HASH> 100644 --- a/winrm/transport.py +++ b/winrm/transport.py @@ -105,7 +105,7 @@ class Transport(object): else: if not self.username: raise InvalidCredentialsError("auth method %s requires a username...
allow blank passwords for ntlm/basic auth
py
diff --git a/troposphere/ec2.py b/troposphere/ec2.py index <HASH>..<HASH> 100644 --- a/troposphere/ec2.py +++ b/troposphere/ec2.py @@ -3,7 +3,7 @@ # # See LICENSE file for full license. -from . import AWSHelperFn, AWSObject, AWSProperty, Ref +from . import AWSHelperFn, AWSObject, AWSProperty, FindInMap, Ref from ....
Allow FindInMap to be used with ec2.NetworkInterfaceProperty.GroupSet Fixes #<I>. Note: may need to think about how to address this in a more generic way instead of specifying on a per-property approach.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ install_requires = [ setup( name='Attitude', - version="0.1.1", + version="0.1.2", description="Attitude computes the orientations of planes from point data.", license='MIT', keyword...
The one fix itself is worthy of a release.
py
diff --git a/examples/csv_gen/sccsv/generator.py b/examples/csv_gen/sccsv/generator.py index <HASH>..<HASH> 100644 --- a/examples/csv_gen/sccsv/generator.py +++ b/examples/csv_gen/sccsv/generator.py @@ -45,7 +45,8 @@ def gen_csv(sc, filename, field_list, source, filters): # First thing we need to do is initializ...
Adjusted the generator to properly close the file.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,7 +46,7 @@ master_doc = 'index' # General information about the project. project = u'BoxPacker' -copyright = u'2018, Doug Wright' +copyright = u'2019, Doug Wright' author = u'Doug Wright' # The vers...
Bump copyright year in docs
py
diff --git a/hydra_base/lib/template.py b/hydra_base/lib/template.py index <HASH>..<HASH> 100644 --- a/hydra_base/lib/template.py +++ b/hydra_base/lib/template.py @@ -1029,7 +1029,7 @@ def _set_typeattr(typeattr, existing_ta = None): ta.data_restriction = _parse_data_restriction(typeattr.data_restriction) - ...
ignore negative ids for resource attrs in attr_ids
py
diff --git a/spyderlib/widgets/externalshell/startup.py b/spyderlib/widgets/externalshell/startup.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/startup.py +++ b/spyderlib/widgets/externalshell/startup.py @@ -21,13 +21,11 @@ def __is_ipython(): return os.environ.get('IPYTHON') def __patc...
External console's startup: avoid error when matplotlib's patch can't be imported
py
diff --git a/greg/classes.py b/greg/classes.py index <HASH>..<HASH> 100644 --- a/greg/classes.py +++ b/greg/classes.py @@ -33,6 +33,7 @@ import json from pkg_resources import resource_filename from urllib.parse import urlparse from urllib.error import URLError +from warnings import warn import greg.aux_functions ...
Only issue a warning unless the bozo exception is URLError
py
diff --git a/ella/__init__.py b/ella/__init__.py index <HASH>..<HASH> 100644 --- a/ella/__init__.py +++ b/ella/__init__.py @@ -1,4 +1,4 @@ -VERSION = (3, 0, 5) +VERSION = (3, 0, 6) __version__ = VERSION __versionstr__ = '.'.join(map(str, VERSION))
version bump <I> so we can go on with new django_appdata
py
diff --git a/glances/plugins/glances_processlist.py b/glances/plugins/glances_processlist.py index <HASH>..<HASH> 100644 --- a/glances/plugins/glances_processlist.py +++ b/glances/plugins/glances_processlist.py @@ -411,7 +411,7 @@ class Plugin(GlancesPlugin): msg = '{0:>6}'.format('IOW/s') ret.append(...
Solve issue: Process list header not decorating when sorting by command #<I>
py
diff --git a/pyemma/_base/progress/reporter.py b/pyemma/_base/progress/reporter.py index <HASH>..<HASH> 100644 --- a/pyemma/_base/progress/reporter.py +++ b/pyemma/_base/progress/reporter.py @@ -60,15 +60,15 @@ class ProgressReporter(object): def _prog_rep_descriptions(self): # stores progressbar descript...
[reporter] renamed private attribute to match name-style of other attributes.
py
diff --git a/src/requirementslib/models/requirements.py b/src/requirementslib/models/requirements.py index <HASH>..<HASH> 100644 --- a/src/requirementslib/models/requirements.py +++ b/src/requirementslib/models/requirements.py @@ -1570,6 +1570,10 @@ class VCSRequirement(FileRequirement): ref = None if...
Small adjustment to path fix for vcs requirements
py
diff --git a/epub_date.py b/epub_date.py index <HASH>..<HASH> 100644 --- a/epub_date.py +++ b/epub_date.py @@ -55,7 +55,7 @@ class DateInfo(object): monthlist = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', ...
Fixed an issue with month indexing in niceString()
py
diff --git a/src/canmatrix/tests/test_frame_encoding.py b/src/canmatrix/tests/test_frame_encoding.py index <HASH>..<HASH> 100644 --- a/src/canmatrix/tests/test_frame_encoding.py +++ b/src/canmatrix/tests/test_frame_encoding.py @@ -12,7 +12,7 @@ def loadDbc(): return canmatrix.formats.loadp(os.path.join(here ,"test...
Fix test method name to actually execute the function. (#<I>)
py
diff --git a/peyotl/nexson_syntax/__init__.py b/peyotl/nexson_syntax/__init__.py index <HASH>..<HASH> 100755 --- a/peyotl/nexson_syntax/__init__.py +++ b/peyotl/nexson_syntax/__init__.py @@ -187,12 +187,19 @@ def convert_nexson_format(blob, return blob def write_as_json(blob, dest, indent=0, sort_keys=True): + ...
flushing buffer in write_as_json
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup ( name='jinja2-highlight', - version='0.2.2', + version='0.3', description='Jinja2 extension to highlight source code using Pygments', keywords = 'syntax ...
make release <I> to include readme file in package
py
diff --git a/checkers/stdlib.py b/checkers/stdlib.py index <HASH>..<HASH> 100644 --- a/checkers/stdlib.py +++ b/checkers/stdlib.py @@ -42,7 +42,7 @@ class OpenModeChecker(BaseChecker): 'See http://docs.python.org/2/library/functions.html#open'), } - @utils.check_messages('W1501') + @...
Only emit symbolic warnings from the stdlib checker.
py
diff --git a/Lib/mutatorMath/test/ufo/test.py b/Lib/mutatorMath/test/ufo/test.py index <HASH>..<HASH> 100644 --- a/Lib/mutatorMath/test/ufo/test.py +++ b/Lib/mutatorMath/test/ufo/test.py @@ -449,7 +449,11 @@ if __name__ == "__main__": >>> bias, mut = buildMutator(items, w) >>> assert bias == Locatio...
Test failed as it relied on the order of keys returned from a dict.
py
diff --git a/ospd/ospd.py b/ospd/ospd.py index <HASH>..<HASH> 100644 --- a/ospd/ospd.py +++ b/ospd/ospd.py @@ -1051,7 +1051,11 @@ class OSPDaemon: try: output = subprocess.check_output(cmd) - except subprocess.CalledProcessError as e: + except ( + subprocess.CalledPr...
Add exception for PermissionError and FileNotFoundError.
py
diff --git a/test/acceptance/test_cli.py b/test/acceptance/test_cli.py index <HASH>..<HASH> 100644 --- a/test/acceptance/test_cli.py +++ b/test/acceptance/test_cli.py @@ -6,13 +6,9 @@ import sys class TestCLI(unittest.TestCase): - def assertRegex(self, string, pattern): - assertRegexpMatches = getattr(se...
tests: fix some DeprecationWarnings
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='amusement', - version='0.1.1', + version='0.1.2', description='A python package and CLI to get wait times for rides at various theme par...
pushed up to pypi so I had to change the verison number
py
diff --git a/wikitextparser/_wikitext.py b/wikitextparser/_wikitext.py index <HASH>..<HASH> 100644 --- a/wikitextparser/_wikitext.py +++ b/wikitextparser/_wikitext.py @@ -897,7 +897,7 @@ class WikiText: return_spans.sort() spans.sort() if not recursive: - return_spans = _filter...
rename _filter_inner_spans to _outer_spans
py
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -1153,6 +1153,8 @@ class SimInspiralTable(table.Table): "numrel_mode_max": "int_4s", "numrel_data": "lstring", ...
Added the new columns. Kipp has already approved the changes.
py