diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/test_WithFakeDevice.py b/tests/test_WithFakeDevice.py index <HASH>..<HASH> 100644 --- a/tests/test_WithFakeDevice.py +++ b/tests/test_WithFakeDevice.py @@ -32,9 +32,11 @@ def network_and_devices(): yield (bacnet, device_app, test_device) # Close when done + test_device.disconnect() ...
Added disconnecting test_device to prevent pytest from failing randomly
py
diff --git a/nsq/Reader.py b/nsq/Reader.py index <HASH>..<HASH> 100644 --- a/nsq/Reader.py +++ b/nsq/Reader.py @@ -215,13 +215,14 @@ class Reader(object): address, port = addr.split(':') self.connect_to_nsqd(address, int(port)) + tornado.ioloop.PeriodicCallback(self._redistrib...
reader: make sure we set callbacks even when we dont have lookupd configured
py
diff --git a/endpoints/__init__.py b/endpoints/__init__.py index <HASH>..<HASH> 100644 --- a/endpoints/__init__.py +++ b/endpoints/__init__.py @@ -33,4 +33,4 @@ from .users_id_token import get_current_user, get_verified_jwt, convert_jwks_uri from .users_id_token import InvalidGetUserCall from .users_id_token import S...
Bump minor version (<I> -> <I>) Rationale: support matching paths against REQUEST_URI instead of PATH_INFO.
py
diff --git a/test_cpu6809.py b/test_cpu6809.py index <HASH>..<HASH> 100644 --- a/test_cpu6809.py +++ b/test_cpu6809.py @@ -13,17 +13,30 @@ import unittest from configs import Dragon32Cfg from cpu6809 import CPU, Memory +class TextTestResult2(unittest.TextTestResult): + def startTest(self, test): + if not ...
better unittest output in verbosity mode
py
diff --git a/greenhouse/io.py b/greenhouse/io.py index <HASH>..<HASH> 100644 --- a/greenhouse/io.py +++ b/greenhouse/io.py @@ -149,10 +149,8 @@ class _InnerSocket(object): return self._sock.bind(*args, **kwargs) def close(self): - # as much as this sucks, it's necessary for sufficient stdlib sock...
reinstate Socket.close() now that we're wrapping correctly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -190,6 +190,7 @@ setup( "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", ...
Advertise Python <I> support in classifiers
py
diff --git a/taskcluster/client.py b/taskcluster/client.py index <HASH>..<HASH> 100644 --- a/taskcluster/client.py +++ b/taskcluster/client.py @@ -335,6 +335,10 @@ class BaseClient(object): hawkExt = self.makeHawkExt() + # Serialize payload if given + if payload: + payload = utils.dumpJson(payload) ...
Fixed retry... I think this was my bug
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ install_requires = [ setup( name='sentry-ldap-auth', version='2.2', - author='Chad Killingsworth - Jack Henry and Associates, Inc.', + author='Chad Killingsworth <chad.killingsworth@banno.com>, ...
Add Barron Hagerman as author
py
diff --git a/limpyd/collection.py b/limpyd/collection.py index <HASH>..<HASH> 100644 --- a/limpyd/collection.py +++ b/limpyd/collection.py @@ -74,9 +74,10 @@ class CollectionManager(object): **self._sort ) else: - # FIXME: should we call sinter o...
CollectionManager: use smembers instead of sinter when only one key is asked
py
diff --git a/fedmsg_meta_fedora_infrastructure/openqa.py b/fedmsg_meta_fedora_infrastructure/openqa.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/openqa.py +++ b/fedmsg_meta_fedora_infrastructure/openqa.py @@ -164,10 +164,11 @@ class OpenQAProcessor(BaseProcessor): elif 'HDD_1' in msg[...
openQA: only include job and group ID in objects for comments We get these values in job messages too sometimes it seems, but it doesn't make any sense to include them in the objects in that case.
py
diff --git a/i18n/loaders/yaml_loader.py b/i18n/loaders/yaml_loader.py index <HASH>..<HASH> 100644 --- a/i18n/loaders/yaml_loader.py +++ b/i18n/loaders/yaml_loader.py @@ -9,6 +9,9 @@ class YamlLoader(Loader): def parse_file(self, file_content): try: - return yaml.load(file_content, Loader=yam...
Restore compatibility with older versions of pyyaml
py
diff --git a/tools/run_tests/python_utils/jobset.py b/tools/run_tests/python_utils/jobset.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/python_utils/jobset.py +++ b/tools/run_tests/python_utils/jobset.py @@ -473,8 +473,10 @@ class Jobset(object): while self._running: if self.cancelled(): pass # poll...
Let alarms at end of jobset.py trigger isntead of clearing
py
diff --git a/xbee/frame.py b/xbee/frame.py index <HASH>..<HASH> 100644 --- a/xbee/frame.py +++ b/xbee/frame.py @@ -49,7 +49,11 @@ class APIFrame: total = total & 0xFF # Subtract from 0xFF - return bytes(chr(0xFF - total)) + if hasattr(bytes(), 'encode'): + # Python 2...
Branched on returning proper bytes type
py
diff --git a/dftimewolf/cli/recipes/timesketch_upload.py b/dftimewolf/cli/recipes/timesketch_upload.py index <HASH>..<HASH> 100644 --- a/dftimewolf/cli/recipes/timesketch_upload.py +++ b/dftimewolf/cli/recipes/timesketch_upload.py @@ -10,7 +10,7 @@ contents = { 'modules': [{ 'name': 'FilesystemCollector',...
Fix help text (fixes #<I>) (#<I>)
py
diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/specifications/googlefonts.py +++ b/Lib/fontbakery/specifications/googlefonts.py @@ -2709,6 +2709,7 @@ def com_google_fonts_check_155(ttFont, font_metadata): @condit...
add K2D as yet another familyname "camelcase" exception (See <URL>)
py
diff --git a/bokeh/models/glyphs.py b/bokeh/models/glyphs.py index <HASH>..<HASH> 100644 --- a/bokeh/models/glyphs.py +++ b/bokeh/models/glyphs.py @@ -8,8 +8,8 @@ from __future__ import absolute_import from ..enums import Direction, Anchor from ..mixins import FillProps, LineProps, TextProps from ..plot_object impor...
fixed flake8 related issues in models/glyphs.py
py
diff --git a/envy/application.py b/envy/application.py index <HASH>..<HASH> 100644 --- a/envy/application.py +++ b/envy/application.py @@ -90,9 +90,9 @@ def edit(args): file_path = args.path[0].split("/")[-1] - if not original_backed_up(): + if not original_backed_up(args.path[0]): print ("backi...
oops-- pass correct paths to envy edit
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,9 @@ setup( ], install_requires=[ 'pytest>=3.3.0', - 'Jinja2>=2.8', + # Avoid Jinja 2.11 until https://github.com/pallets/jinja/issues/1138 + # is sorted. + 'Jinja2 >=2....
Behavior change in lstrip_blocks in Jinja <I> Jinja <I> got released a couple days ago, and it changed the behavior of lstrip_blocks. This breaks some templates. It's not yet clear if we misunderstood the lstrip_blocks documentation (and things were never expected to work that way), or if Jinja2 introduced a breaking...
py
diff --git a/tests/test.py b/tests/test.py index <HASH>..<HASH> 100644 --- a/tests/test.py +++ b/tests/test.py @@ -238,7 +238,7 @@ class TestUploader(unittest.TestCase): output = subprocess.check_output("python -m codecov.__init__", shell=True) output = output.replace(b'\nCoverage.py warning: No data ...
Use splitlines so tests work on Win<I> The \r in the output on Win<I> was not being removed, causing the equality test to fail.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='py-msm', version='0.4.0', packages=['py_msm'], - install_requires=['GitPython'], + install_requires=['GitPython', 'typing'], url='https://github.com/MycroftAI/mycroft-skills-...
Add typing as dependency to prevent errors on fresh install
py
diff --git a/salesforce/backend/query.py b/salesforce/backend/query.py index <HASH>..<HASH> 100644 --- a/salesforce/backend/query.py +++ b/salesforce/backend/query.py @@ -352,8 +352,15 @@ class CursorWrapper(object): def execute_delete(self, query): table = query.model._meta.db_table - # this will break in mul...
Improvement to query delete for nested WhereNodes. (Rebased to the current branch and splitted to more commits by hynekcer.) Some code from sbussetti's commit is omitted because not actual in this branch.
py
diff --git a/tests/test_compressor.py b/tests/test_compressor.py index <HASH>..<HASH> 100644 --- a/tests/test_compressor.py +++ b/tests/test_compressor.py @@ -1014,6 +1014,20 @@ class TestCompressor_write_to(unittest.TestCase): compressor.write(b'foo' * (i + 1)) self.assertEqual(compre...
tests: add tests for bad size with write_to()
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -4,13 +4,13 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "2.1.0a9.dev2" +__version__ = "2.1.0a9" __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cyt...
Set version to <I>a9
py
diff --git a/web3/utils/signing.py b/web3/utils/signing.py index <HASH>..<HASH> 100644 --- a/web3/utils/signing.py +++ b/web3/utils/signing.py @@ -37,7 +37,7 @@ def sign_transaction_dict(eth_key, transaction_dict): # serialize transaction with rlp encoded_transaction = encode_transaction(unsigned_transaction,...
Remove transaction_hash from the returned tuple in sign_transaction_dict function
py
diff --git a/nosedjangotests/polls/tests/test_fixture_bleedthrough.py b/nosedjangotests/polls/tests/test_fixture_bleedthrough.py index <HASH>..<HASH> 100644 --- a/nosedjangotests/polls/tests/test_fixture_bleedthrough.py +++ b/nosedjangotests/polls/tests/test_fixture_bleedthrough.py @@ -1,6 +1,8 @@ +from datetime import...
refs #<I>: Added a test showing it's only bleed through with fixtures.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ def setup_package(): license='Apache License, Version 2.0', url='https://github.com/lensacom/sparkit-learn', packages=['splearn', + 'splearn.rdd', '...
splearn.rdd added to setup packages
py
diff --git a/glue/statedb.py b/glue/statedb.py index <HASH>..<HASH> 100644 --- a/glue/statedb.py +++ b/glue/statedb.py @@ -232,7 +232,7 @@ class StateSegmentDatabase: msg = "Unable to query database for lfn_id (%s): %s" % (lfn,e) raise StateSegmentDatabaseException, msg - if len(result): + if resu...
don't call len on the None that mx returns for no matching rows
py
diff --git a/lettuce_webdriver/tests/test_css_selector_steps.py b/lettuce_webdriver/tests/test_css_selector_steps.py index <HASH>..<HASH> 100644 --- a/lettuce_webdriver/tests/test_css_selector_steps.py +++ b/lettuce_webdriver/tests/test_css_selector_steps.py @@ -39,7 +39,7 @@ class TestUtil(unittest.TestCase): ...
failfast in tests to propagate exceptions more usefully
py
diff --git a/facebook_auth/models.py b/facebook_auth/models.py index <HASH>..<HASH> 100644 --- a/facebook_auth/models.py +++ b/facebook_auth/models.py @@ -90,7 +90,8 @@ class UserTokenManager(object): @staticmethod def get_access_token(provider_user_id): return (UserToken.objects - .fi...
Don't return tokens marked as deleted. Change-Id: I5da2b0f<I>d<I>d<I>f<I>ce<I>e8cdaba4 Reviewed-on: <URL>
py
diff --git a/aioxmpp/stanza.py b/aioxmpp/stanza.py index <HASH>..<HASH> 100644 --- a/aioxmpp/stanza.py +++ b/aioxmpp/stanza.py @@ -2,10 +2,16 @@ :mod:`~aioxmpp.stanza` --- XSOs for dealing with stanzas ######################################################## +This module provides :class:`~.xso.XSO` subclasses which...
Minor improvements to stanza docs
py
diff --git a/ambry/server/main.py b/ambry/server/main.py index <HASH>..<HASH> 100644 --- a/ambry/server/main.py +++ b/ambry/server/main.py @@ -299,21 +299,23 @@ def _read_body(request): def _download_redirect(identity, library): '''This is very similar to get_key''' from ambry.cache import RemoteMarker + ...
Fixed to allow download directly from REST interface if upstream is not avail.
py
diff --git a/prompt.py b/prompt.py index <HASH>..<HASH> 100644 --- a/prompt.py +++ b/prompt.py @@ -963,11 +963,15 @@ def main(): # Start the prompt interface cli = PromptInterface() - # Run + # Run things reactor.suggestThreadPoolSize(15) reactor.callInThread(cli.run) NodeLeader.Instanc...
Comments in prompt.py for shutting down database
py
diff --git a/pmag_er_magic_dialogs.py b/pmag_er_magic_dialogs.py index <HASH>..<HASH> 100755 --- a/pmag_er_magic_dialogs.py +++ b/pmag_er_magic_dialogs.py @@ -676,6 +676,14 @@ You may use the drop-down menus to add as many values as needed in these columns self.deleteRowButton = None self.panel.Dest...
Pmag GUI step 3: make specimen data propagate more nicely
py
diff --git a/src/rituals/acts/testing.py b/src/rituals/acts/testing.py index <HASH>..<HASH> 100644 --- a/src/rituals/acts/testing.py +++ b/src/rituals/acts/testing.py @@ -45,12 +45,12 @@ def pytest(_, opts=''): console = False try: - pytest = which.which("py.test").replace(cfg.project_root + os.s...
:mag: renamed variable (redefined-outer-name)
py
diff --git a/packages/vaex-core/vaex/multithreading.py b/packages/vaex-core/vaex/multithreading.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/multithreading.py +++ b/packages/vaex-core/vaex/multithreading.py @@ -95,6 +95,7 @@ class ThreadPoolIndex(concurrent.futures.ThreadPoolExecutor): ...
🐎 stop iterating over dataset once a calculation is cancelled
py
diff --git a/mixbox/fields.py b/mixbox/fields.py index <HASH>..<HASH> 100644 --- a/mixbox/fields.py +++ b/mixbox/fields.py @@ -90,6 +90,8 @@ class TypedField(object): self.multiple = multiple self.preset_hook = preset_hook self.postset_hook = postset_hook + self.check_type = getattr(ty...
Added check_type and is_type_castable members to TypedField class.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -3,15 +3,16 @@ from distutils.core import setup import alot -setup(name = "alot", - version = alot.__version__, - description = alot.__description__, - author = alot.__author__, - author_email = alot.__...
pep8 and dependencies in setup.py issue #<I>
py
diff --git a/recreate-fixtures.py b/recreate-fixtures.py index <HASH>..<HASH> 100755 --- a/recreate-fixtures.py +++ b/recreate-fixtures.py @@ -41,6 +41,7 @@ from cryptography.x509.oid import NameOID try: from freezegun import freeze_time except ImportError: + @contextmanager def freeze_time(value): ...
increase size for private keys + black cosmit
py
diff --git a/libsubmit/providers/condor/condor.py b/libsubmit/providers/condor/condor.py index <HASH>..<HASH> 100644 --- a/libsubmit/providers/condor/condor.py +++ b/libsubmit/providers/condor/condor.py @@ -282,7 +282,7 @@ pip3 install ipyparallel """ rets = None if retcode == 0 : for jid...
Set state to `CANCELLED` on `Condor.cancel` Otherwise, `Condor.cancel` fails with a `KeyError`.
py
diff --git a/bika/lims/browser/dashboard.py b/bika/lims/browser/dashboard.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/dashboard.py +++ b/bika/lims/browser/dashboard.py @@ -110,9 +110,9 @@ class DashboardView(BrowserView): 'title': <section_title>, 'panels': <array of panels...
Panels in dashboard. Display Analyses before Analysis Requests
py
diff --git a/raven/contrib/django/handlers.py b/raven/contrib/django/handlers.py index <HASH>..<HASH> 100644 --- a/raven/contrib/django/handlers.py +++ b/raven/contrib/django/handlers.py @@ -8,13 +8,25 @@ raven.contrib.django.handlers from __future__ import absolute_import -from raven.contrib.django.models import ...
Defer client loading in Django log handler (fixes GH-<I>)
py
diff --git a/ethereum/new_state.py b/ethereum/new_state.py index <HASH>..<HASH> 100644 --- a/ethereum/new_state.py +++ b/ethereum/new_state.py @@ -261,6 +261,10 @@ class State(): self.journal.append(lambda: setattr(self, k, preval)) setattr(self, k, v) + def is_SERENITY(self, at_fork_height=False...
Add a is_SERENITY() method to new_state.State Closes #<I>
py
diff --git a/esptool.py b/esptool.py index <HASH>..<HASH> 100755 --- a/esptool.py +++ b/esptool.py @@ -221,7 +221,12 @@ class ESPLoader(object): self._set_port_baudrate(baud) self._trace_enabled = trace_enabled # set write timeout, to prevent esptool blocked at write forever. - self._p...
Ignore unimplemented write timeout on RFC<I> ports Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,14 @@ import os import sys from setuptools import setup -INSTALL_REQUIRES = ['requests >=2.21.0', 'boto >=2.45.0', 'six >=1.12.0', 'urllib3 >= 1.24.3', 'inflection >= 0.3.1'] +INSTALL_REQUIRES = ['requests >=2.21.0...
SDK-<I>: Fix inflection version upgrade on basis of python version (#<I>)
py
diff --git a/lavalink.py b/lavalink.py index <HASH>..<HASH> 100644 --- a/lavalink.py +++ b/lavalink.py @@ -150,7 +150,7 @@ class Client: self.bot.players = {} self.loop = loop - self.shard_count = len(self.bot.shards) if hasattr(self.bot, 'shards') else 0 + self.shard_count = l...
there's always at least 1 shard
py
diff --git a/PyFunceble/engine/hashes_tracker.py b/PyFunceble/engine/hashes_tracker.py index <HASH>..<HASH> 100644 --- a/PyFunceble/engine/hashes_tracker.py +++ b/PyFunceble/engine/hashes_tracker.py @@ -98,6 +98,9 @@ class HashesTracker: if self.authorized and file_destination.exists(): self.track...
Fix issue while changing file to test.
py
diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index <HASH>..<HASH> 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -80,7 +80,7 @@ class IndicesClient(NamespacedClient): @query_params( "master_timeout", - "timeout" "request_tim...
fix error due to missing comma in between timeout and request_timeout in create method of client indices.
py
diff --git a/src/ocrmypdf/lib/__init__.py b/src/ocrmypdf/lib/__init__.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/lib/__init__.py +++ b/src/ocrmypdf/lib/__init__.py @@ -17,7 +17,12 @@ """Bindings to external libraries""" +import os as _os + try: import fitz except ImportError: + fitz = None + +if _...
Add envvar to ease testing without PyMuPDF
py
diff --git a/i3pystatus/core/__init__.py b/i3pystatus/core/__init__.py index <HASH>..<HASH> 100644 --- a/i3pystatus/core/__init__.py +++ b/i3pystatus/core/__init__.py @@ -50,7 +50,7 @@ class Status: def __init__(self, standalone=False, **kwargs): self.standalone = standalone - self.click_events =...
Fix initialization error if standalone is False Does anybody even use this scenario anymore? We could remove quite some code if we only supported standalone operation.
py
diff --git a/lib/methods/platform.py b/lib/methods/platform.py index <HASH>..<HASH> 100644 --- a/lib/methods/platform.py +++ b/lib/methods/platform.py @@ -2,8 +2,12 @@ from base import BaseMethod from fabric.api import * from fabric.colors import green, red from lib import configuration +from drush import DrushMetho...
FIx platform.sh integration, allow drush commands
py
diff --git a/tensorflow_probability/python/experimental/vi/cascading_flows.py b/tensorflow_probability/python/experimental/vi/cascading_flows.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/vi/cascading_flows.py +++ b/tensorflow_probability/python/experimental/vi/cascading_flows.py @@ -3...
changed reshape into queeze
py
diff --git a/nes_py/_image_viewer.py b/nes_py/_image_viewer.py index <HASH>..<HASH> 100644 --- a/nes_py/_image_viewer.py +++ b/nes_py/_image_viewer.py @@ -105,7 +105,6 @@ class ImageViewer(object): if self.monitor_keyboard: self._window.event(self.on_key_press) self._window.event(self...
fix issue where window exclusivity caused render loop failure on Ubuntu <I>
py
diff --git a/cobe/brain.py b/cobe/brain.py index <HASH>..<HASH> 100644 --- a/cobe/brain.py +++ b/cobe/brain.py @@ -310,12 +310,7 @@ with its two nodes""" # add the tuple of stems to the pivot set, and then # remove the individual token_ids pivot_set.add(stem_ids) - - fo...
Use set.difference_update rather than reimplementing it _conflate_stems had a manual delete of all the elements in stem_ids that wasn't aware of either difference_update or discard.
py
diff --git a/gary/units.py b/gary/units.py index <HASH>..<HASH> 100644 --- a/gary/units.py +++ b/gary/units.py @@ -101,8 +101,39 @@ class UnitSystem(object): return "<{0}>".format(self.__str__()) def to_dict(self): + """ + Return a dictionary representation of the unit system with keys + ...
docstrings and added a decompose method to unit system
py
diff --git a/pelix/remote/dispatcher.py b/pelix/remote/dispatcher.py index <HASH>..<HASH> 100644 --- a/pelix/remote/dispatcher.py +++ b/pelix/remote/dispatcher.py @@ -805,17 +805,14 @@ class RegistryServlet(object): # Request the end points try: conn = httplib.HTTPConnection(host, port) -...
Better description of the error when sending endpoints to a discovered framework
py
diff --git a/tensorlayer/layers/recurrent.py b/tensorlayer/layers/recurrent.py index <HASH>..<HASH> 100644 --- a/tensorlayer/layers/recurrent.py +++ b/tensorlayer/layers/recurrent.py @@ -231,7 +231,7 @@ class RNN(Layer): We test this code that sequence_length is not passed to the model whatever i...
Update recurrent.py yapf
py
diff --git a/publ/rendering.py b/publ/rendering.py index <HASH>..<HASH> 100644 --- a/publ/rendering.py +++ b/publ/rendering.py @@ -437,7 +437,7 @@ def admin_dashboard(by=None): # pylint:disable=invalid-name tmpl = map_template('', '_admin') - days = int(request.args.get('days')) + days = int(request.arg...
Should have tested that default constraint removal...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from setuptools import setup install_requires = [ 'python-dateutil==1.5', - 'requests==1.0', + 'requests>=1.0', 'simplejson', ]
change requests dependency to >=<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ setup(name='pandocfilters', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], + license="BSD-3-Clause", keywords=['p...
Add license to the setup.py In order to make automatic checking of license compliance faster, add license to the setup arguments.
py
diff --git a/pingparsing/_pingtransmitter.py b/pingparsing/_pingtransmitter.py index <HASH>..<HASH> 100644 --- a/pingparsing/_pingtransmitter.py +++ b/pingparsing/_pingtransmitter.py @@ -111,6 +111,10 @@ class PingTransmitter(object): def __is_windows(): return platform.system() == "Windows" + @stati...
Add OS X support for ping transmitter
py
diff --git a/cwltool/builder.py b/cwltool/builder.py index <HASH>..<HASH> 100644 --- a/cwltool/builder.py +++ b/cwltool/builder.py @@ -215,12 +215,12 @@ class Builder(object): l = [] # type: List[Dict[Text,Text]] if isinstance(value, list): - if binding.get("itemSeparator"): + ...
Do not add anything to command line if input array is empty
py
diff --git a/seed_message_sender/__init__.py b/seed_message_sender/__init__.py index <HASH>..<HASH> 100644 --- a/seed_message_sender/__init__.py +++ b/seed_message_sender/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.9.7' +__version__ = '0.9.8' VERSION = __version__
Bumped version to <I>
py
diff --git a/ford/__init__.py b/ford/__init__.py index <HASH>..<HASH> 100644 --- a/ford/__init__.py +++ b/ford/__init__.py @@ -90,6 +90,7 @@ def initialize(): parser.add_argument("-p","--page_dir",help="directory containing the optional page tree describing the project") parser.add_argument("-o","--output_dir...
Added version of the project to document as command line option.
py
diff --git a/wafer/settings.py b/wafer/settings.py index <HASH>..<HASH> 100644 --- a/wafer/settings.py +++ b/wafer/settings.py @@ -131,6 +131,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'wafer.context_processors.site_inf...
Add navigaton_info to context processors.
py
diff --git a/salt/modules/rh_service.py b/salt/modules/rh_service.py index <HASH>..<HASH> 100644 --- a/salt/modules/rh_service.py +++ b/salt/modules/rh_service.py @@ -43,6 +43,7 @@ def __virtual__(): 'Fedora', 'ALT', 'OEL', + 'SUSE Enterprise Server' ] if __grains__['os'] in...
added 'SUSE Enterprise Server' SLES uses /sbin/service and /sbin/chkconfig too.
py
diff --git a/pynes/tests/tya_test.py b/pynes/tests/tya_test.py index <HASH>..<HASH> 100644 --- a/pynes/tests/tya_test.py +++ b/pynes/tests/tya_test.py @@ -1,17 +1,17 @@ # -*- coding: utf-8 -*- - import unittest from pynes.compiler import lexical, syntax, semantic + class TyaTest(unittest.TestCase): def t...
PEP8 fixes on tests/tya_test.py
py
diff --git a/master/buildbot/db/steps.py b/master/buildbot/db/steps.py index <HASH>..<HASH> 100644 --- a/master/buildbot/db/steps.py +++ b/master/buildbot/db/steps.py @@ -169,7 +169,7 @@ class StepsConnectorComponent(base.DBConnectorComponent): tbl = self.db.model.steps q = tbl.update(wherecla...
Convert time into an int For issue #<I>
py
diff --git a/openquake/risklib/asset.py b/openquake/risklib/asset.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/asset.py +++ b/openquake/risklib/asset.py @@ -704,7 +704,7 @@ def _get_exposure(fname, stop=None): tagNames = exposure.tagNames except AttributeError: tagNames = Node('tagNames...
Consider asset_ref as a tag [skip hazardlib] Former-commit-id: 8b<I>df<I>e<I>ddbb4b<I>be<I>ba2c6b<I>c
py
diff --git a/dateparser_cli/utils.py b/dateparser_cli/utils.py index <HASH>..<HASH> 100644 --- a/dateparser_cli/utils.py +++ b/dateparser_cli/utils.py @@ -25,7 +25,7 @@ dateparser_model_home = os.path.expanduser( def create_data_model_home(): if not os.path.isdir(dateparser_model_home): - os.mkdir(datepa...
fix directories creation error (#<I>)
py
diff --git a/zipline/utils/timeout.py b/zipline/utils/timeout.py index <HASH>..<HASH> 100644 --- a/zipline/utils/timeout.py +++ b/zipline/utils/timeout.py @@ -106,6 +106,7 @@ class heartbeat(object): # decorator doesn't have unexpected side-effects later. signal.setitimer(signal.ITIMER...
reset heartbeat count on enter/exit
py
diff --git a/mackup/utils.py b/mackup/utils.py index <HASH>..<HASH> 100644 --- a/mackup/utils.py +++ b/mackup/utils.py @@ -288,7 +288,7 @@ def get_box_folder_location(): with open(box_sync_path, 'r') as sync_path: box_home = sync_path.read() except IOError: - error('Unable to find your...
Fixed missing path for box engine referencing wrong variable
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -91,7 +91,7 @@ class APITestCase(unittest.TestCase): with app.test_request_context('/foo'): resp = api.handle_error(Unauthorized()) self.assertEquals(resp....
Fix typo in test case Just a bug I caught while reading through the test code. Changed `WWW-Autheneticate` to `WWW-Authenticate`
py
diff --git a/telethon/client/updates.py b/telethon/client/updates.py index <HASH>..<HASH> 100644 --- a/telethon/client/updates.py +++ b/telethon/client/updates.py @@ -154,6 +154,9 @@ class UpdateMethods(UserMethods): This can also be used to forcibly fetch new updates if there are any. """ pt...
Fix catch-up when no pts is known
py
diff --git a/billy/site/api/handlers.py b/billy/site/api/handlers.py index <HASH>..<HASH> 100644 --- a/billy/site/api/handlers.py +++ b/billy/site/api/handlers.py @@ -208,8 +208,8 @@ class BillSearchHandler(BillyHandler): count = db.bills.find(_filter, bill_fields).count() if count > 5000: ...
fix message on bad request for large response
py
diff --git a/pyecoregen/ecore.py b/pyecoregen/ecore.py index <HASH>..<HASH> 100644 --- a/pyecoregen/ecore.py +++ b/pyecoregen/ecore.py @@ -156,7 +156,7 @@ class EcoreGenerator(multigen.jinja.JinjaGenerator): if value.many: qualifiers.update(upper=-1) if value.derived: - qualifi...
Fix non-pythonic usage of format
py
diff --git a/isogeo_pysdk/isogeo_sdk.py b/isogeo_pysdk/isogeo_sdk.py index <HASH>..<HASH> 100644 --- a/isogeo_pysdk/isogeo_sdk.py +++ b/isogeo_pysdk/isogeo_sdk.py @@ -62,7 +62,8 @@ class Isogeo(object): "qa": "api.qa" } - SUBRESOURCES = ("conditions", + SUBRESOURCES = ("_creato...
update _include options to fit with API <I>
py
diff --git a/bin/delta_filter_wrapper.py b/bin/delta_filter_wrapper.py index <HASH>..<HASH> 100644 --- a/bin/delta_filter_wrapper.py +++ b/bin/delta_filter_wrapper.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # # delta_filter_wrapper.py # @@ -63,7 +64,7 @@ # OUT OF OR IN CONNECTION WITH THE S...
protect args to delta_filter_wrapper with shlex
py
diff --git a/src/feat/test/integration/test_idatabase_client.py b/src/feat/test/integration/test_idatabase_client.py index <HASH>..<HASH> 100644 --- a/src/feat/test/integration/test_idatabase_client.py +++ b/src/feat/test/integration/test_idatabase_client.py @@ -448,7 +448,7 @@ class EmuDatabaseIntegrationTest(common.I...
Increase timeout to make test pass on slow buildbots
py
diff --git a/mesh_tensorflow/simd_mesh_impl.py b/mesh_tensorflow/simd_mesh_impl.py index <HASH>..<HASH> 100644 --- a/mesh_tensorflow/simd_mesh_impl.py +++ b/mesh_tensorflow/simd_mesh_impl.py @@ -41,8 +41,7 @@ class SimdMeshImpl(mtf.MeshImpl): devices=None, device_assignment=None, ...
To be safe, always cast to float<I> for allreduce. This change may make some workloads run slower. PiperOrigin-RevId: <I>
py
diff --git a/mousedb/settings.py b/mousedb/settings.py index <HASH>..<HASH> 100644 --- a/mousedb/settings.py +++ b/mousedb/settings.py @@ -36,6 +36,10 @@ TEMPLATE_DIRS = ( os.path.join(PROJECT_DIR, "templates"), ) +STATICFILES_DIRS = ( + os.path.join(PROJECT_DIR, "static"), +) + TEMPLATE_CONTEXT_PROCESSORS =( ...
Set STATICFILES_DIRS for developmental server.
py
diff --git a/django_js_reverse/management/commands/collectstatic_js_reverse.py b/django_js_reverse/management/commands/collectstatic_js_reverse.py index <HASH>..<HASH> 100755 --- a/django_js_reverse/management/commands/collectstatic_js_reverse.py +++ b/django_js_reverse/management/commands/collectstatic_js_reverse.py @...
Resolves issue #<I> Takes ROOT_URLCONF into account, if exists.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -837,7 +837,7 @@ class Minion(MinionBase): # module. If this is a proxy, however, we need to init the proxymodule # before we can get the grains. We do this for proxies in the ...
Ensure tht pillar have freshest grains (#<I>)
py
diff --git a/indra/sources/indra_db_rest/query.py b/indra/sources/indra_db_rest/query.py index <HASH>..<HASH> 100644 --- a/indra/sources/indra_db_rest/query.py +++ b/indra/sources/indra_db_rest/query.py @@ -3,6 +3,7 @@ __all__ = ['Query', 'And', 'Or', 'HasAgent', 'FromMeshIds', 'HasHash', 'HasType', 'HasNum...
Return QueryResult object from `get` method.
py
diff --git a/holoviews/core/layout.py b/holoviews/core/layout.py index <HASH>..<HASH> 100644 --- a/holoviews/core/layout.py +++ b/holoviews/core/layout.py @@ -337,11 +337,13 @@ class Layout(AttrTree, Dimensioned): sanitize_identifier(val.label if val.label else 'I')), val)]) - def __...
Allowed constructing Layout/Overlay with list of Dimensioned objects
py
diff --git a/stagpy/stagyydata.py b/stagpy/stagyydata.py index <HASH>..<HASH> 100644 --- a/stagpy/stagyydata.py +++ b/stagpy/stagyydata.py @@ -610,6 +610,17 @@ class _StepsView: def filter(self, **filters): """Update filters with provided arguments. + Note that filters are only resolved when the ...
Note on non composition of _StepsViews.filters
py
diff --git a/blockstack/lib/storage/auth.py b/blockstack/lib/storage/auth.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/storage/auth.py +++ b/blockstack/lib/storage/auth.py @@ -22,11 +22,28 @@ """ import virtualchain -from blockstack_client import get_zonefile_data_hash +import hashlib log = virtualchain.g...
add zonefile hashing methods, removing dependency on blockstack_client
py
diff --git a/rebin.py b/rebin.py index <HASH>..<HASH> 100644 --- a/rebin.py +++ b/rebin.py @@ -1,4 +1,5 @@ -"""Python/NumPy implementation of IDL's rebin function. +# -*- coding: utf-8 -*- +u"""Python/NumPy implementation of IDL's rebin function. See http://www.harrisgeospatial.com/docs/rebin.html. @@ -85,7 +86,7 ...
Coding of docstrings.
py
diff --git a/pytds/dbapi.py b/pytds/dbapi.py index <HASH>..<HASH> 100644 --- a/pytds/dbapi.py +++ b/pytds/dbapi.py @@ -71,7 +71,7 @@ class _Connection(object): if self._autocommit != value: if value: if self._conn.tds72_transaction: - self._main_cursor._commit(c...
do rollback instead of commit when switching from non autocommit mode to autocommit mode, I think implicit rollback is better than implicit commit.
py
diff --git a/csvdiff/records.py b/csvdiff/records.py index <HASH>..<HASH> 100644 --- a/csvdiff/records.py +++ b/csvdiff/records.py @@ -48,6 +48,9 @@ def load(file_or_stream: Any, sep: str=',') -> SafeDictReader: def index(record_seq: Iterator[Record], index_columns: List[str]) -> Index: + if not index_columns: ...
Raise an error if no index is present
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ config = dict(name='scraperwiki', ], packages=['scraperwiki'], - version = '0.3.3', + version = '0.3.4', license='GPL', )
Upversioned in setup.py
py
diff --git a/source/rafcon/core/state_elements/data_port.py b/source/rafcon/core/state_elements/data_port.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/state_elements/data_port.py +++ b/source/rafcon/core/state_elements/data_port.py @@ -86,7 +86,10 @@ class DataPort(StateElement): self._name = name ...
fix(data_port): fix handling of default values when a string is saved to json it is converted to unicode; if it is read from json it is a unicode; the data_type of the data port has to be used to convert it to the original string type
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ setup( author_email='aws-sam-developers@amazon.com', url='https://github.com/awslabs/aws-sam-cli', license='Apache License 2.0', - packages=find_packages(exclude=('tests', 'docs')), + packag...
fix: Remove tests from .whl file (bdist_wheel) (#<I>)
py
diff --git a/pybar/fei4/register_utils.py b/pybar/fei4/register_utils.py index <HASH>..<HASH> 100644 --- a/pybar/fei4/register_utils.py +++ b/pybar/fei4/register_utils.py @@ -119,7 +119,7 @@ class FEI4RegisterUtils(object): if delay is None: timeout = 1 else: - ...
BUG: addressing #<I>
py
diff --git a/exchangelib/services/common.py b/exchangelib/services/common.py index <HASH>..<HASH> 100644 --- a/exchangelib/services/common.py +++ b/exchangelib/services/common.py @@ -518,16 +518,18 @@ class EWSPooledMixIn(EWSService): ))) # Results will be available before iteration has fini...
Don't iterate a list and change it too. Fixes #<I>
py
diff --git a/indra/tests/test_pybel_api.py b/indra/tests/test_pybel_api.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_pybel_api.py +++ b/indra/tests/test_pybel_api.py @@ -321,7 +321,7 @@ def test_phosphorylation_one_site_with_evidence(): # Check evidence assert len(pbp.statements[0].evidence) == 1 ...
Update source API for pybel test
py
diff --git a/tests/python/pants_test/tasks/test_what_changed.py b/tests/python/pants_test/tasks/test_what_changed.py index <HASH>..<HASH> 100644 --- a/tests/python/pants_test/tasks/test_what_changed.py +++ b/tests/python/pants_test/tasks/test_what_changed.py @@ -365,6 +365,19 @@ class WhatChangedTest(BaseWhatChangedTes...
Additional test case for changed goal Testing Done: Checked a SHA before <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def read(fname): return io.open(file_path, encoding='utf-8').read() -version = '0.8.5.dev0' +version = '0.8.4.4' setuptools.setup(
Preparing release <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ setup( install_requires=[ 'defusedxml>=0.4.1', 'Django>=1.8', - 'pysaml2==4.5.0', + 'pysaml2>=4.6.0', ], extras_require=extra, )
Update pysaml2 to <I> (or higher) to fix CVE-<I>-<I>
py
diff --git a/tests/unit/test_plot.py b/tests/unit/test_plot.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_plot.py +++ b/tests/unit/test_plot.py @@ -26,7 +26,7 @@ class PlotTest(unittest.TestCase): @classmethod def setUpClass(cls): - cls.zero = np.zeros((8,8,8)) + cls.zero = np.random.ra...
change fake plot data to random values, not zeros, so contrast stretching has values to compute a stretch over.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -158,12 +158,17 @@ class Minion(object): except: pass - try: - ret['return'] = self.functions[data['fun']](*data['arg']) - except Exception as ex...
Respond more sensibly if provided function isn't registered.
py