diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/constants.py b/tests/constants.py index <HASH>..<HASH> 100644 --- a/tests/constants.py +++ b/tests/constants.py @@ -169,14 +169,9 @@ class TestGraphMixin(unittest.TestCase): class TemporaryCacheMixin(unittest.TestCase): def setUp(self): - self.test_connection = os.environ.get('PYBEL_TE...
Don't use test database for non-persistient tests
py
diff --git a/baron/render.py b/baron/render.py index <HASH>..<HASH> 100644 --- a/baron/render.py +++ b/baron/render.py @@ -50,6 +50,9 @@ def render_list(node): def render_node(node, strict=False): + if node["type"] not in nodes_rendering_order: + raise Exception("There are no defined rules for rendering ...
[enh] add better exception in case a node can't be rendered
py
diff --git a/rash/daemon.py b/rash/daemon.py index <HASH>..<HASH> 100644 --- a/rash/daemon.py +++ b/rash/daemon.py @@ -62,15 +62,20 @@ def daemon_run(no_error, restart, record_path, keep_json, check_duplicate, # SOMEDAY: make PID checking/writing atomic if possible if os.path.exists(cfstore.daemon_pid_path)...
Ignore invalid PID in pid file
py
diff --git a/umap/umap_.py b/umap/umap_.py index <HASH>..<HASH> 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -1963,9 +1963,11 @@ class UMAP(BaseEstimator): indices = indices[:, : self._n_neighbors] dists = dists[:, : self._n_neighbors] + dists = dists.astype(np.float32, order='C'...
convert dists earlier in transform (fix for #<I>)
py
diff --git a/tldr.py b/tldr.py index <HASH>..<HASH> 100755 --- a/tldr.py +++ b/tldr.py @@ -346,7 +346,7 @@ def main(): parser = ArgumentParser( prog="tldr", usage="tldr [-u] [-p PLATFORM] [-l] [-s SOURCE] [-c] [-r] [-L LANGUAGE]" + - "command", + " command", description="Py...
fix spacing on command arg in usage string
py
diff --git a/lib/webinterface_layout.py b/lib/webinterface_layout.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_layout.py +++ b/lib/webinterface_layout.py @@ -91,7 +91,7 @@ class WebInterfaceInvenio(WebInterfaceSearchInterfacePages): stats = WebInterfaceStatsPages() - journal = WebInterfaceJournalPa...
Commented out WebJournal reference.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -116,7 +116,8 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'alabaster' +# h...
setting theme to sphinx_rtd_theme
py
diff --git a/scout/core/views.py b/scout/core/views.py index <HASH>..<HASH> 100644 --- a/scout/core/views.py +++ b/scout/core/views.py @@ -427,7 +427,7 @@ def email_sanger(institute_id, case_id, variant_id): msg = Message(**kwargs) mail.send(msg) - link = url_for('.case', institute_id=institute_id, case_id=cas...
link to variant in sanger event, fix #<I>
py
diff --git a/modelx/core/space.py b/modelx/core/space.py index <HASH>..<HASH> 100644 --- a/modelx/core/space.py +++ b/modelx/core/space.py @@ -894,6 +894,10 @@ class SpaceImpl(SpaceContainerImpl): return self._derived_refs.get_updated() @property + def local_refs(self): + return self._local_re...
FAC: Removed direct references to refs containers
py
diff --git a/salt/fileserver/s3fs.py b/salt/fileserver/s3fs.py index <HASH>..<HASH> 100644 --- a/salt/fileserver/s3fs.py +++ b/salt/fileserver/s3fs.py @@ -77,7 +77,7 @@ import salt.fileserver as fs import salt.modules import salt.utils import salt.utils.s3 as s3 -import six +import salt.utils.six as six from six.mo...
Replaced import six in file /salt/fileserver/s3fs.py
py
diff --git a/cumulusci/cli/cci.py b/cumulusci/cli/cci.py index <HASH>..<HASH> 100644 --- a/cumulusci/cli/cci.py +++ b/cumulusci/cli/cci.py @@ -210,6 +210,7 @@ def main(args=None): # Only create logfiles for commands # that are not `cci error` is_error_command = len(args) > 2 and args[1] == "e...
Don't log stacktrace when running `cci error` cmds
py
diff --git a/wd_property_store.py b/wd_property_store.py index <HASH>..<HASH> 100755 --- a/wd_property_store.py +++ b/wd_property_store.py @@ -249,7 +249,7 @@ wd_properties = { 'datatype': 'string', 'name': 'homologene id', 'domain': ['genes'], - 'core_id': 'True' + 'core_id': '...
In this commit: 1: Fixed a bug to get gene symbols from WDQ for the ProteinBoxBot 2: updated wd_property_store to allow Homologene IDs to be present on more WD items
py
diff --git a/fritzstatus.py b/fritzstatus.py index <HASH>..<HASH> 100755 --- a/fritzstatus.py +++ b/fritzstatus.py @@ -118,7 +118,10 @@ class FritzStatus(object): def str_transmission_rate(self): """Returns a tuple of human readable transmission rates in bytes.""" upstream, downstream = self.tran...
typo plus bugfix in str_transmission_rate
py
diff --git a/master/buildbot/test/integration/test_custom_buildstep.py b/master/buildbot/test/integration/test_custom_buildstep.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/integration/test_custom_buildstep.py +++ b/master/buildbot/test/integration/test_custom_buildstep.py @@ -37,6 +37,7 @@ from buildbot.s...
Send native string, not bytes to stdout. This is needed to fix a test on Python 3.
py
diff --git a/image_helper/admin.py b/image_helper/admin.py index <HASH>..<HASH> 100644 --- a/image_helper/admin.py +++ b/image_helper/admin.py @@ -1,4 +1,10 @@ +import warnings +warnings.warn( + "This mixin is deprecated. it will be going away soon.", PendingDeprecationWarning +) + + class ImageAdminMixin(object)...
added deprecation warning to ImageAdminMixin
py
diff --git a/basictracer/span.py b/basictracer/span.py index <HASH>..<HASH> 100644 --- a/basictracer/span.py +++ b/basictracer/span.py @@ -49,27 +49,6 @@ class BasicSpan(Span): self.logs.append(LogData(key_values, timestamp)) return super(BasicSpan, self).log_kv(key_values, timestamp) - def l...
Use base-class impls of deprecated log methods
py
diff --git a/flask_sockets.py b/flask_sockets.py index <HASH>..<HASH> 100644 --- a/flask_sockets.py +++ b/flask_sockets.py @@ -38,7 +38,7 @@ class SocketMiddleware(object): environment = environ['wsgi.websocket'] handler(environment, **values) return [] - except NotFound: +...
Fallback to Flask routing when not a ws request #<I>
py
diff --git a/tests/calendar.py b/tests/calendar.py index <HASH>..<HASH> 100644 --- a/tests/calendar.py +++ b/tests/calendar.py @@ -29,7 +29,7 @@ class TestCalendar(unittest.TestCase): c = Calendar(fix) d = Calendar(str(c)) self.assertEqual(c, d) - self.assertSequenceEqu...
style in tests/calendar.py Calendar.events is a Set instance
py
diff --git a/andes/models/__init__.py b/andes/models/__init__.py index <HASH>..<HASH> 100644 --- a/andes/models/__init__.py +++ b/andes/models/__init__.py @@ -26,7 +26,7 @@ file_classes = OrderedDict([ ('governor', ['TG2', 'TGOV1', 'TGOV1N', 'TGOV1DB', 'IEEEG1', 'IEESGO']), ('exciter', ['EXDC2', 'IEEEX1', 'ES...
Removed ESST1A from init.
py
diff --git a/rinoh/layout.py b/rinoh/layout.py index <HASH>..<HASH> 100644 --- a/rinoh/layout.py +++ b/rinoh/layout.py @@ -248,9 +248,10 @@ class FlowablesContainer(FlowableTarget, FlowablesContainerBase): width=width, height=height, right=right, bottom=bottom) def render(self, rerender...
Do not re-render FlowablesContainers
py
diff --git a/vlermv/_abstract.py b/vlermv/_abstract.py index <HASH>..<HASH> 100644 --- a/vlermv/_abstract.py +++ b/vlermv/_abstract.py @@ -101,13 +101,17 @@ class AbstractVlermv: if self.func == None: msg = 'Set %s.func to something if you want to call %s.' raise NotImplementedError(m...
handle non-callables assigned to func
py
diff --git a/openquake/calculators/hazard/event_based/core_next.py b/openquake/calculators/hazard/event_based/core_next.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/event_based/core_next.py +++ b/openquake/calculators/hazard/event_based/core_next.py @@ -558,7 +558,6 @@ class EventBasedHazardCalcula...
calculators/hazard/event_based/core_next: Removed an extra blank line.
py
diff --git a/osx/_IOBluetooth.py b/osx/_IOBluetooth.py index <HASH>..<HASH> 100755 --- a/osx/_IOBluetooth.py +++ b/osx/_IOBluetooth.py @@ -99,4 +99,4 @@ else: objc.setSignatureForSelector("IOBluetoothDevice", "withAddress:", '@12@0:r^[6C]') - del objc +del objc
Delete objc variable in any case.
py
diff --git a/tensorflow_probability/python/experimental/distribute/joint_distribution_test.py b/tensorflow_probability/python/experimental/distribute/joint_distribution_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/distribute/joint_distribution_test.py +++ b/tensorflow_probability...
Relax tolerance in `joint_distribution_test.jax` in `tfp.experimental.distribute` for f<I> in Jax. PiperOrigin-RevId: <I>
py
diff --git a/tendril/tendril.py b/tendril/tendril.py index <HASH>..<HASH> 100644 --- a/tendril/tendril.py +++ b/tendril/tendril.py @@ -82,7 +82,6 @@ class Tendril(object): """ self.manager = manager - self.endpoint = manager.endpoint self.local_addr = local_addr self.remote_...
Don't copy out the manager's endpoint.
py
diff --git a/tests/test_sdist.py b/tests/test_sdist.py index <HASH>..<HASH> 100644 --- a/tests/test_sdist.py +++ b/tests/test_sdist.py @@ -429,7 +429,7 @@ class SDistTestCase(PyPIRCCommandTestCase): self.assertEqual(sorted(filenames), ['fake-1.0', 'fake-1.0/PKG-INFO', ...
Issue #<I>, #<I>: check ZLIB_SUPPORT, not zlib (which might not be bound)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ import sys from setuptools import setup, find_packages install_requires = [ + 'requests==2.12.5', # temp to resolv keystoneauth1 dep 'pygments', 'prompt_toolkit>=0.53', 'python-keystoneclient...
Use fixed requests release to fix keystoneauth1 dep resolution
py
diff --git a/contract_mandate/models/contract.py b/contract_mandate/models/contract.py index <HASH>..<HASH> 100644 --- a/contract_mandate/models/contract.py +++ b/contract_mandate/models/contract.py @@ -32,8 +32,10 @@ class ContractContract(models.Model): self.mandate_id = False @api.multi - def ...
[<I>][FIX] - contract_mandate: fix inherited method call _prepare_invoice
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ setup( description="Monty is the missing complement to Python.", long_description=long_desc, keywords=["monty"], + python_requires='>=3.5', classifiers=[ "Programming Language :: ...
Update setup.py Indicate that monty is only compatible with Python versions <I> and later. That python 3-only code was added to this project without this indicator was allowing pip to install python-3-only code in python 2 environments.
py
diff --git a/metanl/english.py b/metanl/english.py index <HASH>..<HASH> 100644 --- a/metanl/english.py +++ b/metanl/english.py @@ -184,12 +184,20 @@ def good_lemma(lemma): def normalize_list(text): """ Get a list of word stems that appear in the text. Stopwords and an initial - 'to' will be stripped. + ...
english.normalize no longer inserts spaces in things
py
diff --git a/tests/test_actor.py b/tests/test_actor.py index <HASH>..<HASH> 100644 --- a/tests/test_actor.py +++ b/tests/test_actor.py @@ -32,7 +32,7 @@ def test_one_shot(): @initial_behavior def one_shot_beh(self, message): self.destination(message) - self.behavior = sink_beh ...
Fix bugs in tests (WIP) py.test reporting doesn't really work in threads.
py
diff --git a/elasticsearch_dsl/result.py b/elasticsearch_dsl/result.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/result.py +++ b/elasticsearch_dsl/result.py @@ -34,7 +34,7 @@ class Response(AttrDict): def _get_result(self, hit): dt = hit['_type'] for t in hit.get('inner_hits', ()): - ...
Wrap innner hits in Response, no subclasses
py
diff --git a/salt/version.py b/salt/version.py index <HASH>..<HASH> 100644 --- a/salt/version.py +++ b/salt/version.py @@ -543,6 +543,7 @@ def versions_information(include_salt_cloud=False): ('ZMQ', 'zmq', 'zmq_version'), ('Mako', 'mako', '__version__'), ('Tornado', 'tornado', 'version'), + ...
add timelib to dependency versions Related to #<I>.
py
diff --git a/EulerPy/euler.py b/EulerPy/euler.py index <HASH>..<HASH> 100644 --- a/EulerPy/euler.py +++ b/EulerPy/euler.py @@ -275,6 +275,6 @@ def main(option, problem): elif option is None: option = verify if Problem(problem).glob else generate - # Execute function based on option (pass Problem obje...
Fix spurious comment in main() Match refactoring done in <I>a<I>e<I>ffd<I>ab3d<I>f<I>cdf<I>.
py
diff --git a/ReText/webenginepreview.py b/ReText/webenginepreview.py index <HASH>..<HASH> 100644 --- a/ReText/webenginepreview.py +++ b/ReText/webenginepreview.py @@ -33,7 +33,8 @@ class ReTextWebEnginePage(QWebEnginePage): def getPositionMap(self, callback): def resultCallback(result): - ret...
webenginepreview: Fix AttributeError when result is None
py
diff --git a/src/hieroglyph/directives.py b/src/hieroglyph/directives.py index <HASH>..<HASH> 100644 --- a/src/hieroglyph/directives.py +++ b/src/hieroglyph/directives.py @@ -79,7 +79,8 @@ class slideconf(nodes.Element): def restore(self, builder): """Restore the previous Slide Configuration for the Build...
Only pop the theme if the slideconf specified one. Previously you could get into a state where all the themes (including the base specified in conf.py) could be popped off, leaving Sphinx unable to find the templates. This usually happened when you were using ``slideconf`` to disable autoslides without overriding the ...
py
diff --git a/shap/_explanation.py b/shap/_explanation.py index <HASH>..<HASH> 100644 --- a/shap/_explanation.py +++ b/shap/_explanation.py @@ -323,7 +323,7 @@ class Explanation(metaclass=MetaExplanation): pos += 1 # skip over Ellipsis - if np.any(t == Ellipsis): + if t ...
Update _explanation.py
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -70,8 +70,8 @@ def do_job_ingestion(jm, job_data, sample_resultset, verify_data=True): machine_platforms_ref.add( "-".join([ - job....
Bug <I> - Correct the spelling of 'unknown' (#<I>) r=emorley
py
diff --git a/spyderlib/ipythonconfig.py b/spyderlib/ipythonconfig.py index <HASH>..<HASH> 100644 --- a/spyderlib/ipythonconfig.py +++ b/spyderlib/ipythonconfig.py @@ -13,7 +13,9 @@ from spyderlib.utils import programs def is_qtconsole_installed(): pyzmq_installed = programs.is_module_installed('zmq') - if pr...
IPython console: Add explicit requirement on Pygments to avoid crash Fixes #<I>
py
diff --git a/gwpy/tests/test_plotter.py b/gwpy/tests/test_plotter.py index <HASH>..<HASH> 100644 --- a/gwpy/tests/test_plotter.py +++ b/gwpy/tests/test_plotter.py @@ -28,7 +28,7 @@ from numpy import testing as nptest from scipy import signal -from matplotlib import (use, rc_context) +from matplotlib import (use, r...
tests: fixed plotting tests for mpl <I>
py
diff --git a/sphinxcontrib/traceables/list.py b/sphinxcontrib/traceables/list.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/traceables/list.py +++ b/sphinxcontrib/traceables/list.py @@ -182,7 +182,7 @@ class TraceableListDirective(Directive): # Setup this extension part ListProcessor.register_formatter("tabl...
Rename traceable list formatter to bullets
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,7 @@ import guzzle_sphinx_theme sys.path.insert(0, os.path.abspath('..')) import xclim - +from itable import indicators # This is included in the html_context below. # -- General configuratio...
modified configuration to include jinja extension
py
diff --git a/txbugzilla/__init__.py b/txbugzilla/__init__.py index <HASH>..<HASH> 100644 --- a/txbugzilla/__init__.py +++ b/txbugzilla/__init__.py @@ -31,7 +31,7 @@ def connect_callback(value, url, username): class Connection(object): - def __init__(self, url, username=None, token=None): + def __init__(self,...
default Connection() constructor's url to REDHAT So that users can simply call Connection() and get a new connection object without having to remember the XMLRPC URL for Red Hat.
py
diff --git a/gns3server/modules/virtualbox/virtualbox_vm.py b/gns3server/modules/virtualbox/virtualbox_vm.py index <HASH>..<HASH> 100644 --- a/gns3server/modules/virtualbox/virtualbox_vm.py +++ b/gns3server/modules/virtualbox/virtualbox_vm.py @@ -599,7 +599,7 @@ class VirtualBoxVM(BaseVM): entry = "nic{}"....
Do not give attachment warning for generic attachments in VirtualBox.
py
diff --git a/tests/test_date.py b/tests/test_date.py index <HASH>..<HASH> 100644 --- a/tests/test_date.py +++ b/tests/test_date.py @@ -82,10 +82,12 @@ def test_timezone(): assert runez.timezone_from_text("-00:00") == runez.UTC epoch = 1568348000 + dt = runez.datetime_from_epoch(epoch) # Depends on timez...
Corrected timezone discrepancy
py
diff --git a/ftfy/fixes.py b/ftfy/fixes.py index <HASH>..<HASH> 100644 --- a/ftfy/fixes.py +++ b/ftfy/fixes.py @@ -565,9 +565,17 @@ def decode_escapes(text): def restore_byte_a0(byts): """ - Find sequences that would convincingly decode as UTF-8 if the byte 0x20 - were changed to 0xa0, and fix them. This ...
Explain `restore_byte_a0` better. Fixes #<I>. This is a change to a docstring only.
py
diff --git a/basictracer/util.py b/basictracer/util.py index <HASH>..<HASH> 100644 --- a/basictracer/util.py +++ b/basictracer/util.py @@ -17,5 +17,5 @@ def generate_id(): pid = os.getpid() if (_fork_guard_pid == 0) or (_fork_guard_pid != pid): _fork_guard_pid = pid - guid_rng.jumpahead(int(10...
Python3 doesn't have random.jumpahead (#<I>)
py
diff --git a/ezibpy/ezibpy.py b/ezibpy/ezibpy.py index <HASH>..<HASH> 100644 --- a/ezibpy/ezibpy.py +++ b/ezibpy/ezibpy.py @@ -211,7 +211,7 @@ class ezIBpy(): # https://www.interactivebrokers.com/en/software/api/apiguide/tables/api_message_codes.htm if msg.errorCode != -1: # and msg.errorCode != 2104 ...
Callback fires on error with error code
py
diff --git a/bokeh/util/notebook.py b/bokeh/util/notebook.py index <HASH>..<HASH> 100644 --- a/bokeh/util/notebook.py +++ b/bokeh/util/notebook.py @@ -51,7 +51,7 @@ def load_notebook(resources=None, verbose=False, hide_banner=False): warnings = ["Warning: " + msg['text'] for msg in resources.messages if msg['typ...
'previously loaded' warning only appears if verbose set to True
py
diff --git a/sirmordred/task.py b/sirmordred/task.py index <HASH>..<HASH> 100644 --- a/sirmordred/task.py +++ b/sirmordred/task.py @@ -24,6 +24,7 @@ import json import logging +import re from grimoire_elk.elk import get_ocean_backend from grimoire_elk.utils import get_connector_from_name, get_elastic @@ -51,6 +...
[task] Remove credentials from URLs This code adds the method `anonymize_url` to the Task class with the aim of removing credentials from URLs printed in the log.
py
diff --git a/cartoview/app_manager/rest.py b/cartoview/app_manager/rest.py index <HASH>..<HASH> 100644 --- a/cartoview/app_manager/rest.py +++ b/cartoview/app_manager/rest.py @@ -325,7 +325,7 @@ class AppInstanceResource(ModelResource): def get_object_list(self, request): __inactive_apps = [ - ...
fixed: app instances explore page does not show list
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8 setup( name='django-postgres-extra', - version='1.20', + version='1.21.a1', packages=find_packages(), includ...
First alpha release of <I> (<I>.a1)
py
diff --git a/scripts/make_dist.py b/scripts/make_dist.py index <HASH>..<HASH> 100644 --- a/scripts/make_dist.py +++ b/scripts/make_dist.py @@ -20,7 +20,7 @@ if(sys.version_info[0]!=3): pdir = os.path.dirname(os.getcwd()) # version info version = [3, 3, 0, "alpha", 0] -implementation = [3, 2, 8, 'alpha', 0] +implemen...
Change version to <I> final
py
diff --git a/pusher/client.py b/pusher/client.py index <HASH>..<HASH> 100644 --- a/pusher/client.py +++ b/pusher/client.py @@ -13,9 +13,21 @@ from pusher.util import ensure_text, ensure_binary, app_id_re class Client(object): def __init__( - self, app_id, key, secret, ssl=True, host=None, port=None, ...
master key is guaranteed to be binary after validation
py
diff --git a/tests/test_fandjango.py b/tests/test_fandjango.py index <HASH>..<HASH> 100644 --- a/tests/test_fandjango.py +++ b/tests/test_fandjango.py @@ -551,4 +551,27 @@ class TestFacebookWebMiddleware(unittest.TestCase): assert redirect_url == 'http://example.org/foo/bar/baz' + def test_querystring_r...
Added remove query param test.
py
diff --git a/geocoder/google.py b/geocoder/google.py index <HASH>..<HASH> 100644 --- a/geocoder/google.py +++ b/geocoder/google.py @@ -81,7 +81,7 @@ class Google(Base): import urlparse # Return if any parameters aren't given - if not base_url or not client_secret: + if not base_url or ...
fixed typos in google for work signing
py
diff --git a/icontrolREST/session.py b/icontrolREST/session.py index <HASH>..<HASH> 100644 --- a/icontrolREST/session.py +++ b/icontrolREST/session.py @@ -281,7 +281,3 @@ class iControlRESTSession(object): @decorate_HTTP_verb_method def put(self, uri, data=None, **kwargs): return self.session.put(uri...
Remove doctest-specific if __name__ clause. It's the problem of the reader to run doctest if they so desire.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,9 @@ from __future__ import print_function from setuptools import setup, find_packages from codecs import open -from os import path +import sys +from os import getcwd, path +sys.path.append(path.dirname(getcwd())) ...
add working dir to path to prevent ModuleNotFoundError during pip install
py
diff --git a/protobuf3/fields/base.py b/protobuf3/fields/base.py index <HASH>..<HASH> 100644 --- a/protobuf3/fields/base.py +++ b/protobuf3/fields/base.py @@ -59,22 +59,20 @@ class BaseField(object): def __get__(self, instance, owner): self._instance = instance # some functions should know it, but only _...
Optimization in BaseField.__get__ #PB3-6 Fixed
py
diff --git a/sitetree/sitetreeapp.py b/sitetree/sitetreeapp.py index <HASH>..<HASH> 100644 --- a/sitetree/sitetreeapp.py +++ b/sitetree/sitetreeapp.py @@ -216,15 +216,17 @@ class SiteTree(): parent_ids = [] parent_aliases = [] + current_item = self.get_tree_current_item(tree_alias) + ...
* fixed: unable to use 'this-children' and 'this-siblings' aliases when page's current item is unresolved
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -1202,7 +1202,7 @@ class HTTPConnection(object): return try: - req.simple_response('408 Request Timeout') + req.simple_response(response) ...
Actually use 'reponse' in _conditional_error() method
py
diff --git a/ipyrad/__main__.py b/ipyrad/__main__.py index <HASH>..<HASH> 100644 --- a/ipyrad/__main__.py +++ b/ipyrad/__main__.py @@ -143,7 +143,11 @@ def getassembly(args, parsedict): if args.force and '1' in args.steps: ## create a new assembly object data = ip.Assembly(assembly_name) + e...
chdir into proj dir when creating new assembly, but stay in cur dir if just loading and load it from the full path to projdir/name
py
diff --git a/sk_dsp_comm/test/test_sigsys.py b/sk_dsp_comm/test/test_sigsys.py index <HASH>..<HASH> 100644 --- a/sk_dsp_comm/test/test_sigsys.py +++ b/sk_dsp_comm/test/test_sigsys.py @@ -644,3 +644,8 @@ class TestSigsys(TestCase): 1.16169513e-03, 4.34891180e-02, 4.08255952e-01, 1.16839852e+00]) ...
Adding test for upsample.
py
diff --git a/openfisca_web_api/controllers/simulate.py b/openfisca_web_api/controllers/simulate.py index <HASH>..<HASH> 100644 --- a/openfisca_web_api/controllers/simulate.py +++ b/openfisca_web_api/controllers/simulate.py @@ -228,6 +228,8 @@ def api1_simulate(req): ).iteritems())), header...
Return nice errors to user during decomposition calculation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -11,8 +11,7 @@ def readme(): setup( name='hc-passphrase', version=passphrase_version, - description='Generates cryptographically secure passphrases and ' - 'passwords', + description='Generates ...
Fix line too long in setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ with open("README.rst") as readme_file: requirements = [ + "ruamel.yaml!=0.17.5", "strictyaml>=0.7.2", "crontab==0.22.8", "aiohttp>=3.0,<4",
blacklist ruamel.yaml version <I> in requirements, closes #<I>
py
diff --git a/librosa/core/time_frequency.py b/librosa/core/time_frequency.py index <HASH>..<HASH> 100644 --- a/librosa/core/time_frequency.py +++ b/librosa/core/time_frequency.py @@ -884,11 +884,11 @@ def A_weighting(frequencies, min_db=-80.0): # pylint: disable=invalid-name const = np.array([12200, 20.6, 10...
better numerical stability in a-weighting calculation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ setup(name='ruuvitag_sensor', 'Programming Language :: Python :: 3' ], keywords='RuuviTag BLE', + setup_requires=['wheel'], install_requires=[ 'rx<3', 'fu...
Add wheel to setup_requires (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,8 +41,8 @@ setup( # 'git+git://github.com/concordusapps/wsgi-intercept.git' # '#egg=wsgi_intercept-0.6.0', - 'git+git://github.com/concordusapps/flask-script.git@edge' - '#egg=flask-script...
Allow easy requirements for mysql.
py
diff --git a/lib/svtplay_dl/utils/parser.py b/lib/svtplay_dl/utils/parser.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/utils/parser.py +++ b/lib/svtplay_dl/utils/parser.py @@ -236,8 +236,7 @@ def _special_settings(config): if config.get("proxy"): config.set("proxy", config.get("proxy").replace("s...
parser: this can be on one line
py
diff --git a/tweepy/asynchronous/streaming.py b/tweepy/asynchronous/streaming.py index <HASH>..<HASH> 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -144,7 +144,7 @@ class AsyncStream: await self.session.close() await self.on_disconnect() - async d...
Remove async from filter and sample functions Since these functions just return a task, they don't need to be async. If the async is left, it forces us to use an unnecessary and confussing extra await when calling them, and then another one on the task they return.
py
diff --git a/tests/test_toolbox_file_tools.py b/tests/test_toolbox_file_tools.py index <HASH>..<HASH> 100644 --- a/tests/test_toolbox_file_tools.py +++ b/tests/test_toolbox_file_tools.py @@ -54,8 +54,8 @@ class TestToolboxFileTools(unittest.TestCase): def test_05_copy_files_to_folder(self): ...
removed failing test on travis, even though passing on win
py
diff --git a/openid/consumer/impl.py b/openid/consumer/impl.py index <HASH>..<HASH> 100644 --- a/openid/consumer/impl.py +++ b/openid/consumer/impl.py @@ -143,8 +143,6 @@ class OpenIDConsumer(object): if k.startswith('openid.'): check_args[k] = v check_args['openid.mod...
[project @ Remove debugging code.]
py
diff --git a/macos/_bluetoothsockets.py b/macos/_bluetoothsockets.py index <HASH>..<HASH> 100644 --- a/macos/_bluetoothsockets.py +++ b/macos/_bluetoothsockets.py @@ -748,7 +748,7 @@ class _L2CAPConnection(object): raise _socket.error("socket not connected") return \ BBBluetoothChanne...
buffer() was removed in Python 3 in favor of bytes() or memoryview() (#<I>) buffer() --> bytes()
py
diff --git a/Lib/fontParts/base/bPoint.py b/Lib/fontParts/base/bPoint.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/bPoint.py +++ b/Lib/fontParts/base/bPoint.py @@ -74,6 +74,8 @@ class BaseBPoint( def _get_base_nextSegment(self): contour = self.contour + if contour is None: + ...
if contour is None, there can't be a nextSegment
py
diff --git a/indra/db/client.py b/indra/db/client.py index <HASH>..<HASH> 100644 --- a/indra/db/client.py +++ b/indra/db/client.py @@ -743,6 +743,7 @@ def get_statement_jsons_by_papers(paper_refs, db=None, preassembled=True): ------- A list of Statement jsons from the database corresponding to the paper ids. ...
Add note and use equal instead of like.
py
diff --git a/restnavigator/halnav.py b/restnavigator/halnav.py index <HASH>..<HASH> 100644 --- a/restnavigator/halnav.py +++ b/restnavigator/halnav.py @@ -297,12 +297,11 @@ class HALNavigator(object): ) return response - def create_navigator_or_orphan_resource_based_on_status_code(self, respo...
Removed check for <I>
py
diff --git a/pkglib-testing/pkglib_testing/fixtures/server/base.py b/pkglib-testing/pkglib_testing/fixtures/server/base.py index <HASH>..<HASH> 100644 --- a/pkglib-testing/pkglib_testing/fixtures/server/base.py +++ b/pkglib-testing/pkglib_testing/fixtures/server/base.py @@ -47,10 +47,11 @@ class ProcessReader(threading...
Reduce verbosity of server logger
py
diff --git a/src/peltak/commands/docs.py b/src/peltak/commands/docs.py index <HASH>..<HASH> 100644 --- a/src/peltak/commands/docs.py +++ b/src/peltak/commands/docs.py @@ -69,9 +69,11 @@ def docs(recreate=False, no_index=False): if not os.path.exists(docs_assets_path): os.makedirs(docs_assets_path) - ...
docs —recreate should delete build directory Closes #<I>
py
diff --git a/src/hamster/widgets/dates.py b/src/hamster/widgets/dates.py index <HASH>..<HASH> 100644 --- a/src/hamster/widgets/dates.py +++ b/src/hamster/widgets/dates.py @@ -60,6 +60,7 @@ class RangePick(gtk.ToggleButton): self._ui.connect_signals(self) self.connect("destroy", self.on_destroy) + ...
avoid the switch-hide that happens right now when untoggling
py
diff --git a/wandb/__init__.py b/wandb/__init__.py index <HASH>..<HASH> 100644 --- a/wandb/__init__.py +++ b/wandb/__init__.py @@ -297,12 +297,13 @@ def try_to_set_up_logging(): def get_python_type(): - if 'ipykernel' in sys.modules: - return 'jupyter' - elif 'IPython' in sys.modules: - return ...
Fix IPython detection. The previous attempt triggered if a module from IPython were imported even if we weren't actually in an IPython shell.
py
diff --git a/pythonforandroid/recipes/ffpyplayer/__init__.py b/pythonforandroid/recipes/ffpyplayer/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/ffpyplayer/__init__.py +++ b/pythonforandroid/recipes/ffpyplayer/__init__.py @@ -4,7 +4,7 @@ from os.path import join class FFPyPlayerRecipe(Cyth...
Update ffpyplayer version for setup.py updates (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,10 +16,24 @@ setup(name='sockjs-cyclone', description='SockJS python server for the Cyclone Web Server', license=readfile('LICENSE'), long_description=readfile('README.rst'), - keywords=['sockjs',...
added install_requires to setup.py
py
diff --git a/tcex/stix/model.py b/tcex/stix/model.py index <HASH>..<HASH> 100644 --- a/tcex/stix/model.py +++ b/tcex/stix/model.py @@ -610,14 +610,15 @@ class StixModel: attributes = [] for attribute in value: attribute_value = attribute.get('value') - if attrib...
APP-<I>: Fixing stix custom mapping issue.
py
diff --git a/proselint/checks/leonard/exclamation.py b/proselint/checks/leonard/exclamation.py index <HASH>..<HASH> 100644 --- a/proselint/checks/leonard/exclamation.py +++ b/proselint/checks/leonard/exclamation.py @@ -13,6 +13,8 @@ categories: writing Too much yelling. """ +import re + from proselint.tools import...
Only complain about punctuational exclamation marks. Fixes #<I>
py
diff --git a/src/kba/pipeline/_extract_spinn3r.py b/src/kba/pipeline/_extract_spinn3r.py index <HASH>..<HASH> 100644 --- a/src/kba/pipeline/_extract_spinn3r.py +++ b/src/kba/pipeline/_extract_spinn3r.py @@ -161,7 +161,12 @@ def _generate_stream_items(protobuf_data): assert raw except Exception, ex...
better fallback handling for getting some content out of protostreams
py
diff --git a/dclab/definitions.py b/dclab/definitions.py index <HASH>..<HASH> 100644 --- a/dclab/definitions.py +++ b/dclab/definitions.py @@ -41,9 +41,10 @@ _columns = [ ["fl3_pos", "FL-3 position of peak [µs]"], ["fl3_width", "FL-3 width [µs]"], ["frame", "Video frame number"], - # What is Inertia ratio...
rename inter_ratio column to inert_ratio_cvx
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -109,6 +109,7 @@ def getCollectorTests(path): if os.path.isfile(cPath) and len(f) > 3 and f[-3:] == '.py' and f[0:4] == 'Test': sys.path.append(os.path.dirname(cPath)) + sys.path.append(os.path.d...
Support the new test location per #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,9 @@ install_requires = [ "pymongo>=3.2.2", "PyYAML>=3.11", "web.py>=0.40.dev0", - #"pylti>=0.4.1", # TODO re-add me once PyLTI PR is accepted + "lti>=0.9.0", + "oauth2>=1.9.0.post1", + "ht...
Update setup.py for lti-merged webapp
py
diff --git a/easy_maps/models.py b/easy_maps/models.py index <HASH>..<HASH> 100644 --- a/easy_maps/models.py +++ b/easy_maps/models.py @@ -11,7 +11,8 @@ class Address(models.Model): def fill_geocode_data(self): try: g = geocoders.Google(resource='maps') - self.computed_address, (se...
Non-English addresses can be handled now
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( install_requires=[ 'selenium>=3.9', 'colour-runner>=0.0.5', - 'randomuser>=0.3.0', + 'randomuser>=1.0.0', 'Jinja2>=2.9.5', ...
Updated required version of randomuser package to <I> in setup.py
py
diff --git a/sc2maptool/startup.py b/sc2maptool/startup.py index <HASH>..<HASH> 100644 --- a/sc2maptool/startup.py +++ b/sc2maptool/startup.py @@ -13,8 +13,12 @@ from sc2maptool import constants as c def setup(): """ensure that the maptool's maps are installed in the SC2 install maps """\ """directory simply...
- allow installation on machines without Starcraft 2 installed (i.e. travis cloud testing machines)
py
diff --git a/tests/test_objects.py b/tests/test_objects.py index <HASH>..<HASH> 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -27,9 +27,11 @@ DB_NAME = 'pymonga_test' dummy_doc = {'dummy_key': u'01'*100} -class TestPYMONGA(unittest.TestCase): + +class TestPYMONGAConnections(unittest.TestCase): ...
Adding more bytes to dummy docs
py
diff --git a/hacking/core.py b/hacking/core.py index <HASH>..<HASH> 100644 --- a/hacking/core.py +++ b/hacking/core.py @@ -336,13 +336,15 @@ def hacking_python3x_print_function(logical_line, physical_line): Okay: print(msg) Okay: print (msg) Okay: print msg # noqa + Okay: print() H233: print msg...
Enhance H<I> rule Python 2 use a single 'print' to print empty line, but Python 3 doesn't support print operator, we should use print() instead. For now, H<I> cannot detect the \bprint$ problem, this patch fixes it by adding a new pattern of regular expression. Change-Id: Ic<I>fa4e<I>b2ad<I>e<I>be<I>d7a9a<I>c
py
diff --git a/raiden/constants.py b/raiden/constants.py index <HASH>..<HASH> 100644 --- a/raiden/constants.py +++ b/raiden/constants.py @@ -8,8 +8,9 @@ INT64_MIN = -(2 ** 63) UINT256_MAX = 2 ** 256 - 1 -ROPSTEN_REGISTRY_ADDRESS = 'bbc60aa23059b039407ac008bd0b7e902890d382' -ROPSTEN_DISCOVERY_ADDRESS = '524b7dcacac30...
Update pre-deployed Ropsten contract addresses
py
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py index <HASH>..<HASH> 100644 --- a/python/phonenumbers/__init__.py +++ b/python/phonenumbers/__init__.py @@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency # Version number is taken from the ...
Prep for <I> release
py
diff --git a/werkzeug/datastructures.py b/werkzeug/datastructures.py index <HASH>..<HASH> 100644 --- a/werkzeug/datastructures.py +++ b/werkzeug/datastructures.py @@ -1064,17 +1064,19 @@ class Headers(object): if kw: _value = _options_header_vkw(_value, kw) if not self._list: - ...
Small performance improvement in the Headers.set method. Since this method is called very often it makes sense to invest a bit of time to make sure it's as fast as possible.
py
diff --git a/katcp/resource_client.py b/katcp/resource_client.py index <HASH>..<HASH> 100644 --- a/katcp/resource_client.py +++ b/katcp/resource_client.py @@ -1108,6 +1108,10 @@ class ThreadSafeKATCPClientResourceWrapper(ThreadSafeMethodAttrWrapper): return AttrMappingProxy(self.__subject__.sensor, self.Sensor...
Really add sensors property to the correct class
py
diff --git a/galpy/util/leung_dop853.py b/galpy/util/leung_dop853.py index <HASH>..<HASH> 100644 --- a/galpy/util/leung_dop853.py +++ b/galpy/util/leung_dop853.py @@ -287,7 +287,7 @@ def dopri853core(n, func, x, t, hmax, h, rtol, atol, nmax, safe, beta, fac1, fac k2 = np.array(func(xx1, t_current + c2 * h, *ar...
wrong variable c2 -> c3
py
diff --git a/lib/autokey/interface.py b/lib/autokey/interface.py index <HASH>..<HASH> 100644 --- a/lib/autokey/interface.py +++ b/lib/autokey/interface.py @@ -326,15 +326,11 @@ class XInterfaceBase(threading.Thread): if attr[0].startswith("XK"): if attr[1] == code: log...
interface.py: Removed unnecessary logging output. This should shorten the debug log output at application start.
py