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> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ cmdclass = dict(test=PyTest) # requirements install_requires = set(x.strip() for x in open('requirements.txt')) install_requires_replacements = { - 'https://github.com/ethereum/pyrlp/tarball/develop': 'rlp...
Force rlp=<I> to attempt fix build
py
diff --git a/lib/chef/provider/package/yum/yum_helper.py b/lib/chef/provider/package/yum/yum_helper.py index <HASH>..<HASH> 100644 --- a/lib/chef/provider/package/yum/yum_helper.py +++ b/lib/chef/provider/package/yum/yum_helper.py @@ -211,4 +211,5 @@ try: else: raise RuntimeError("bad command") f...
handle case where rpmdb has not been initialized yet
py
diff --git a/bids/analysis/analysis.py b/bids/analysis/analysis.py index <HASH>..<HASH> 100644 --- a/bids/analysis/analysis.py +++ b/bids/analysis/analysis.py @@ -195,7 +195,9 @@ class Block(object): coll = merge_collections(colls) if len(colls) > 1 else colls[0] variables = self.model.get('...
Select variables prior to transformations. Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ import sys from setuptools import setup, find_packages -if sys.version_info < (3,6): - sys.exit('Python 3.6 is the minimum required version') +if sys.version_info < (3,6,1): + sys.exit('Python 3.6.1 is ...
Bump minimum required version to <I> This is required as typing.AsyncGenerator is missing in <I> but present in <I> and required for Quart.
py
diff --git a/valid8/__init__.py b/valid8/__init__.py index <HASH>..<HASH> 100644 --- a/valid8/__init__.py +++ b/valid8/__init__.py @@ -10,8 +10,8 @@ from valid8.entry_points_annotations import InvalidNameError, InputValidationErr decorate_with_validation, decorate_with_validators from valid8.entry_points_inline i...
Fixed `__init__` so that pycharm is more happy, or so it seems.
py
diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/vmware.py +++ b/salt/cloud/clouds/vmware.py @@ -239,7 +239,7 @@ def _edit_existing_hard_disk_helper(disk, size_kb): def _add_new_hard_disk_helper(disk_label, size_gb, unit_number): random_key...
Change longs to ints for python 3 compatibility
py
diff --git a/anycall/__init__.py b/anycall/__init__.py index <HASH>..<HASH> 100644 --- a/anycall/__init__.py +++ b/anycall/__init__.py @@ -18,4 +18,4 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -from anycall.rpc import RPCSystem, TimeoutError, timeout_deferre...
create_tcp_rpc_system added to main package.
py
diff --git a/hotdoc/core/formatter.py b/hotdoc/core/formatter.py index <HASH>..<HASH> 100644 --- a/hotdoc/core/formatter.py +++ b/hotdoc/core/formatter.py @@ -870,6 +870,7 @@ class Formatter(Configurable): def _format_interface_symbol(self, interface): hierarchy = self._format_hierarchy(interface) ...
formatter: Also mark interfaces as section head So that their title as the right level when rendering
py
diff --git a/crudbuilder/helpers.py b/crudbuilder/helpers.py index <HASH>..<HASH> 100644 --- a/crudbuilder/helpers.py +++ b/crudbuilder/helpers.py @@ -165,7 +165,7 @@ def import_crud(app): try: app_path = import_module(app).__path__ - except AttributeError: + except (AttributeError, ImportError): ...
Fix ImportError when an INSTALLED_APP is a dotted path to an AppConfig
py
diff --git a/parsl/utils.py b/parsl/utils.py index <HASH>..<HASH> 100644 --- a/parsl/utils.py +++ b/parsl/utils.py @@ -172,7 +172,7 @@ class RepresentationMixin(object): __max_width__ = 80 def __repr__(self): - argspec = inspect.getargspec(self.__init__) + argspec = inspect.getfullargspec(self...
Use more cross-version-compatible `getfullargspec` THe old `getargspec` did not work as expected on python<I> and some parsl configs could not be rendered properly, most urgently at the point that the DFK tries to log the config that it has been initialised with, preventing use of those configs on python <I>
py
diff --git a/modules/CUAV/camera.py b/modules/CUAV/camera.py index <HASH>..<HASH> 100644 --- a/modules/CUAV/camera.py +++ b/modules/CUAV/camera.py @@ -80,6 +80,8 @@ class camera_state(object): self.mpos = mav_position.MavInterpolator(backlog=5000, gps_lag=-0.5) self.joelog = cuav_joe.JoeLog(os.path....
calibrate: load camera params from data directory
py
diff --git a/pynlpir/__init__.py b/pynlpir/__init__.py index <HASH>..<HASH> 100644 --- a/pynlpir/__init__.py +++ b/pynlpir/__init__.py @@ -23,7 +23,7 @@ import sys from . import nlpir, pos_map -__version__ = '0.1.2' +__version__ = '0.1.3' logger = logging.getLogger('pynlpir')
Bumps version to <I>.
py
diff --git a/mangopay/resources.py b/mangopay/resources.py index <HASH>..<HASH> 100644 --- a/mangopay/resources.py +++ b/mangopay/resources.py @@ -160,7 +160,7 @@ class LegalUser(User): url = '/users/legal' def __str__(self): - return self.name + return '%s' % self.email @python_2_uni...
when users list is created it needs a str response from the __str__ function, the LegalUser class was using the 'name' field as __str__ return ; the LegalUser returned from User.all() did not have a 'name' field so the __str__ response was None.
py
diff --git a/qa_tests/risk/event_based/qatest_1/test.py b/qa_tests/risk/event_based/qatest_1/test.py index <HASH>..<HASH> 100644 --- a/qa_tests/risk/event_based/qatest_1/test.py +++ b/qa_tests/risk/event_based/qatest_1/test.py @@ -46,7 +46,7 @@ class EventBaseQATestCase1(risk.CompleteTestCase, risk.FixtureBasedQATestCa...
fix qa test. loss_curve -> event_loss_curve
py
diff --git a/assemblerflow/bin/prepare_reports.py b/assemblerflow/bin/prepare_reports.py index <HASH>..<HASH> 100755 --- a/assemblerflow/bin/prepare_reports.py +++ b/assemblerflow/bin/prepare_reports.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import json
Changed default python version for reports script
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy" -__version__ = "3.0.0.dev13" +__version__ = "3.0.0.dev14" __release__ = True __download_url__ = "https://github.com/explosion/spacy-models/releases/downlo...
Set version to <I>.de<I>
py
diff --git a/jax/lib/__init__.py b/jax/lib/__init__.py index <HASH>..<HASH> 100644 --- a/jax/lib/__init__.py +++ b/jax/lib/__init__.py @@ -17,7 +17,7 @@ import jaxlib -_minimum_jaxlib_version = (0, 1, 31) +_minimum_jaxlib_version = (0, 1, 36) try: from jaxlib import version as jaxlib_version except:
Update minimum jaxlib to <I>. This is needed in part to pull in new Device.platform from Tensorflow. See #<I>.
py
diff --git a/src/toil/job.py b/src/toil/job.py index <HASH>..<HASH> 100644 --- a/src/toil/job.py +++ b/src/toil/job.py @@ -941,7 +941,12 @@ class FunctionWrappingJob(Job): if userFunctionModule.dirPath not in sys.path: # FIXME: prepending to sys.path will probably fix #103 sys.path.ap...
Helpful message to warn user about module name conflicts (resolves #<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import find_packages, setup setup( name='TwistedChecker', description='A Twisted coding standard compliance checker.', - version='0.5.0', + version='0.6.0', author='Twisted Ma...
Update version for <I>.
py
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/parallel.py +++ b/openquake/baselib/parallel.py @@ -512,7 +512,6 @@ class Starmap(object): @classmethod def shutdown(cls, poolsize=None): if hasattr(cls, 'pool'): - ...
Removed another warning [skip CI]
py
diff --git a/blockstack_client/backend/utxo/blockstack_explorer.py b/blockstack_client/backend/utxo/blockstack_explorer.py index <HASH>..<HASH> 100644 --- a/blockstack_client/backend/utxo/blockstack_explorer.py +++ b/blockstack_client/backend/utxo/blockstack_explorer.py @@ -21,15 +21,7 @@ along with Blockstack-cli...
clean up imports; expose get_unspents and broadcast_transaction
py
diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py index <HASH>..<HASH> 100644 --- a/raiden/network/rpc/client.py +++ b/raiden/network/rpc/client.py @@ -24,7 +24,7 @@ from raiden.exceptions import ( AddressWithoutCode, ContractCodeMismatch, EthNodeInterfaceError, - InsufficientFu...
Use InsufficientEth exception in the rpc client rather than the incorrect InsufficientFunds
py
diff --git a/zinnia/models/__init__.py b/zinnia/models/__init__.py index <HASH>..<HASH> 100644 --- a/zinnia/models/__init__.py +++ b/zinnia/models/__init__.py @@ -1 +1,12 @@ """Models for Zinnia""" +# Here we import the Zinnia's Model classes +# to register the Models at the loading, not +# when the Zinnia's urls are ...
fix import of the models at the loading, close #<I>, close #<I>, close #<I>, close #<I>, close #<I>
py
diff --git a/indra/explanation/pathfinding/pathfinding.py b/indra/explanation/pathfinding/pathfinding.py index <HASH>..<HASH> 100644 --- a/indra/explanation/pathfinding/pathfinding.py +++ b/indra/explanation/pathfinding/pathfinding.py @@ -776,6 +776,9 @@ def open_dijkstra_search(g, start, reverse=False, depth_limit=2, ...
Collect weights for weighted search
py
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -68,7 +68,12 @@ class Plot(param.Parameterized): @classmethod def lookup_options(cls, obj, group): - return Store.lookup_options(cls.re...
Filtering out style keywords not applicable to current backend
py
diff --git a/health_check/__init__.py b/health_check/__init__.py index <HASH>..<HASH> 100644 --- a/health_check/__init__.py +++ b/health_check/__init__.py @@ -3,8 +3,8 @@ __version_info__ = { 'major': 1, - 'minor': 2, - 'micro': 1, + 'minor': 3, + 'micro': 0, 'releaselevel': 'final', 'seri...
<I> -- Add health check for AWS S3A boto storage
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from distutils.core import setup setup_args = {} install_requires = ['param>=1.3.2', 'numpy>=1.0'] -extras_require = {'extras': ['mpld3', 'pandas', 'seaborn', 'nose']} +extras_require = {'extras': ['mpld3', 'p...
Added cyordereddict to the setup.py extra requirements list
py
diff --git a/benchmarks/base.py b/benchmarks/base.py index <HASH>..<HASH> 100644 --- a/benchmarks/base.py +++ b/benchmarks/base.py @@ -29,11 +29,12 @@ try: have_libev = True supported_reactors.append(LibevConnection) except ImportError, exc: - log.warning("Not benchmarking libev reactor: %s" % (exc,)) + ...
Fix benchmark warning when libev is not available
py
diff --git a/crochet/tests/test_api.py b/crochet/tests/test_api.py index <HASH>..<HASH> 100644 --- a/crochet/tests/test_api.py +++ b/crochet/tests/test_api.py @@ -11,7 +11,7 @@ import gc import os import sys -from twisted.trial.unittest import TestCase, SynchronousTestCase +from twisted.trial.unittest import TestCa...
Remove synchronoustestcase from tests as it does not exist in all twisted versions
py
diff --git a/tests/test_parser.py b/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -133,7 +133,8 @@ def buildTestSuite(): def testFunc(self, innerHTML=innerHTML, input=input, expected=expected, errors=errors, treeCls=treeCl...
Fix test_parser.py to have working single-test runs, also add *.pyc to ignore list.
py
diff --git a/test/scenarios/issue_649.py b/test/scenarios/issue_649.py index <HASH>..<HASH> 100755 --- a/test/scenarios/issue_649.py +++ b/test/scenarios/issue_649.py @@ -17,7 +17,7 @@ opts = op.parse(sys.argv) with driver.Metacluster(driver.find_rethinkdb_executable(opts["mode"])) as metacluster: cluster = drive...
Test with 2 nodes, not just 1.
py
diff --git a/graphite_beacon/handlers/pagerduty.py b/graphite_beacon/handlers/pagerduty.py index <HASH>..<HASH> 100644 --- a/graphite_beacon/handlers/pagerduty.py +++ b/graphite_beacon/handlers/pagerduty.py @@ -28,7 +28,6 @@ class PagerdutyHandler(AbstractHandler): def notify(self, level, alert, value, target=None...
Removed lambda function from dictionary, which prevented json dump. Fixed http request kwarg name data to body.
py
diff --git a/src/pyrocore/torrent/engine.py b/src/pyrocore/torrent/engine.py index <HASH>..<HASH> 100644 --- a/src/pyrocore/torrent/engine.py +++ b/src/pyrocore/torrent/engine.py @@ -776,6 +776,17 @@ def create_filter(condition): return matching.CompoundFilterAny(filters) if len(filters) > 1 else filters[0] ...
Bugfix: Conditions nested 2 or more levels didn't work
py
diff --git a/tests/unit/modules/status_test.py b/tests/unit/modules/status_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/status_test.py +++ b/tests/unit/modules/status_test.py @@ -105,7 +105,8 @@ class StatusTestCase(TestCase): m = self._set_up_test_uptime() m2 = self._set_up_test_uptim...
Figured out why there was a cmd.run mock was there.
py
diff --git a/searx/webapp.py b/searx/webapp.py index <HASH>..<HASH> 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -266,6 +266,9 @@ def proxify(url): def image_proxify(url): + if settings.get('result_proxy'): + return proxify(url) + if url.startswith('//'): url = 'https:' + url
[enh] use morty proxy for image proxification too if it is configured
py
diff --git a/abilian/web/admin/panels/settings.py b/abilian/web/admin/panels/settings.py index <HASH>..<HASH> 100644 --- a/abilian/web/admin/panels/settings.py +++ b/abilian/web/admin/panels/settings.py @@ -65,9 +65,9 @@ class SessionLifeTimeKey(Key): if field == 'days': return td.days elif field...
Admin/Settings SessionLifeTime hours & minutes displayed as int by default
py
diff --git a/bitshares/bitshares.py b/bitshares/bitshares.py index <HASH>..<HASH> 100644 --- a/bitshares/bitshares.py +++ b/bitshares/bitshares.py @@ -929,6 +929,8 @@ class BitShares(object): # Base needs to be short backing asset if settlement_price["base"]["asset"]["id"] == asset["bitasset_data"]["o...
[feed] also invert the CER if needed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,15 +2,28 @@ from __future__ import unicode_literals from setuptools import setup +import io +import os + +pkg_dir = os.path.dirname(__file__) # importing __<vars>__ into the namespace #https://packaging.python.org/g...
feat: improve long description for a more complete pypi
py
diff --git a/spylon/spark/progress.py b/spylon/spark/progress.py index <HASH>..<HASH> 100644 --- a/spylon/spark/progress.py +++ b/spylon/spark/progress.py @@ -152,7 +152,8 @@ class ProgressPrinter(threading.Thread): def run(self): """Run the progress printing loop.""" last_status = '' - st...
BUG: Workaround default dict issue
py
diff --git a/src/rasterstats/io.py b/src/rasterstats/io.py index <HASH>..<HASH> 100644 --- a/src/rasterstats/io.py +++ b/src/rasterstats/io.py @@ -21,7 +21,10 @@ try: except ImportError: JSONDecodeError = ValueError from shapely import wkt, wkb -from collections.abc import Iterable, Mapping +try: + from colle...
attempt to preserve <I> compatibility
py
diff --git a/src/transformers/file_utils.py b/src/transformers/file_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/file_utils.py +++ b/src/transformers/file_utils.py @@ -1715,10 +1715,10 @@ def is_tensor(x): return True if is_flax_available(): - import jaxlib.xla_extension as jax...
fix type check (#<I>)
py
diff --git a/opencensus/stats/exporters/stackdriver_exporter.py b/opencensus/stats/exporters/stackdriver_exporter.py index <HASH>..<HASH> 100644 --- a/opencensus/stats/exporters/stackdriver_exporter.py +++ b/opencensus/stats/exporters/stackdriver_exporter.py @@ -389,7 +389,7 @@ def set_attribute_label(series, resource_...
Make user-agent consistent with Java. (#<I>)
py
diff --git a/tests/test_parse_requirements.py b/tests/test_parse_requirements.py index <HASH>..<HASH> 100644 --- a/tests/test_parse_requirements.py +++ b/tests/test_parse_requirements.py @@ -188,3 +188,16 @@ def test_parse_requirements_with_relative_references(monkeypatch): result = pip_api.parse_requirements("r...
Add unit test for parsing environment markers
py
diff --git a/satpy/writers/cf_writer.py b/satpy/writers/cf_writer.py index <HASH>..<HASH> 100644 --- a/satpy/writers/cf_writer.py +++ b/satpy/writers/cf_writer.py @@ -111,13 +111,13 @@ def get_extra_ds(dataset): def area2lonlat(dataarray): """Convert an area to longitudes and latitudes.""" area = dataarray.a...
Fix cf writer when working with lon/lats
py
diff --git a/pydeps/mf27.py b/pydeps/mf27.py index <HASH>..<HASH> 100644 --- a/pydeps/mf27.py +++ b/pydeps/mf27.py @@ -11,11 +11,7 @@ import sys import types import struct -if hasattr(sys.__stdout__, "newlines"): - READ_MODE = "U" # universal line endings -else: # pragma: nocover - # remain compatible with ...
Pytest warning (see #<I>)
py
diff --git a/bugzilla.py b/bugzilla.py index <HASH>..<HASH> 100644 --- a/bugzilla.py +++ b/bugzilla.py @@ -158,12 +158,12 @@ class Bugzilla(object): appropriate product name, after connecting to Bugzilla. This will cache all the info for you and save you an ugly delay later on.''' c = [{'meth...
Use tuples instead of dicts in multicalls (mostly for style reasons)
py
diff --git a/discord/message.py b/discord/message.py index <HASH>..<HASH> 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1220,7 +1220,7 @@ class Message(Hashable): The ``suppress`` keyword-only parameter was added. .. versionchanged:: 2.0 - Edits are no longer in-place, ...
Fix incorrect wording in Message.edit docstring 'role' -> 'message'
py
diff --git a/oauth2client/client.py b/oauth2client/client.py index <HASH>..<HASH> 100644 --- a/oauth2client/client.py +++ b/oauth2client/client.py @@ -629,7 +629,14 @@ class OAuth2Credentials(Credentials): self.store = store def _expires_in(self): - """Return the number of seconds until this token expires....
Add additional docstring for the OAuth2Credentials._expires_in() method, explaining what values are returned when token_expiry is in the past or None.
py
diff --git a/mtools/mlaunch/mlaunch.py b/mtools/mlaunch/mlaunch.py index <HASH>..<HASH> 100755 --- a/mtools/mlaunch/mlaunch.py +++ b/mtools/mlaunch/mlaunch.py @@ -972,9 +972,7 @@ class MLaunchTool(BaseCmdLineTool): print "launching: %s on port %s" % (binary, port) if ret > 0: - ...
made fail errormsg clearer if process can't be started.
py
diff --git a/salt/modules/system.py b/salt/modules/system.py index <HASH>..<HASH> 100644 --- a/salt/modules/system.py +++ b/salt/modules/system.py @@ -512,6 +512,7 @@ def set_computer_desc(desc): lines.append(new_line) # time to write our changes to the file mach_info.seek(0, ...
system: fix system.set_computer_desc Sometimes after setting a new computer description there are some trailings characters. So I clear the /etc/machine-info before writing the new settings.
py
diff --git a/python/zroya.py b/python/zroya.py index <HASH>..<HASH> 100644 --- a/python/zroya.py +++ b/python/zroya.py @@ -1,2 +1,3 @@ from _zroya import * -from template_enums import * \ No newline at end of file +from template_enums import * +from dismiss_reason import * \ No newline at end of file
Include dismiss_reason.py into zroya
py
diff --git a/wechatpy/pay/__init__.py b/wechatpy/pay/__init__.py index <HASH>..<HASH> 100644 --- a/wechatpy/pay/__init__.py +++ b/wechatpy/pay/__init__.py @@ -22,6 +22,16 @@ def _is_api_endpoint(obj): class WeChatPay(object): + """ + 微信红包接口 + + :param appid: 微信公众号 appid + :param api_key: 商户 key + :p...
Update WeChatPay class docstring
py
diff --git a/gandi/cli/core/client.py b/gandi/cli/core/client.py index <HASH>..<HASH> 100644 --- a/gandi/cli/core/client.py +++ b/gandi/cli/core/client.py @@ -27,8 +27,7 @@ class XMLRPCClient(object): def __init__(self, host, debug=False): self.debug = debug - self.endpoint = xmlrpclib.ServerProx...
Disable sending of custom user-agent through xlmrpc as it doesn't work
py
diff --git a/webmap/models.py b/webmap/models.py index <HASH>..<HASH> 100644 --- a/webmap/models.py +++ b/webmap/models.py @@ -113,7 +113,7 @@ class Poi(models.Model): # Relationships marker = models.ForeignKey(Marker, limit_choices_to={'status__show_to_mapper': 'True', 'layer__status__show_to_mapper': 'True'...
models: limit property choices for POI
py
diff --git a/openpnm/physics/Standard.py b/openpnm/physics/Standard.py index <HASH>..<HASH> 100644 --- a/openpnm/physics/Standard.py +++ b/openpnm/physics/Standard.py @@ -69,26 +69,3 @@ class Standard(GenericPhysics): if 'pore.electrical_conductivity' in phase.keys(): self.add_model(propname='thro...
Fixing pep8 errors in Standard Physics
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -1791,6 +1791,7 @@ class State(object): low['__prereq__'] = False return ret + ret['__sls__'] = low.get('__sls__') ret['__run_num__'] = self.__run_num se...
Add the __sls__ field to the highstate output (the running dict) There's a bunch of cool info in the running dictionary that is useful for summarizing a state run. I'd like to be able to show 'N states from M files' as well.
py
diff --git a/better_exceptions/formatter.py b/better_exceptions/formatter.py index <HASH>..<HASH> 100644 --- a/better_exceptions/formatter.py +++ b/better_exceptions/formatter.py @@ -113,7 +113,11 @@ class ExceptionFormatter(object): return [node for node in ast.walk(tree) if isinstance(node, ast.Name)] ...
Surround repr() with try / except in case object is unprintable (#<I>)
py
diff --git a/fault/tester.py b/fault/tester.py index <HASH>..<HASH> 100644 --- a/fault/tester.py +++ b/fault/tester.py @@ -224,7 +224,7 @@ class Tester: if isinstance(value, dict): for k, v in value.items(): self.expect(port=getattr(port, k), value=v, strict=strict, - ...
fix missing **kwargs in one branch of expect action implementation
py
diff --git a/ibis/backends/pyspark/compiler.py b/ibis/backends/pyspark/compiler.py index <HASH>..<HASH> 100644 --- a/ibis/backends/pyspark/compiler.py +++ b/ibis/backends/pyspark/compiler.py @@ -604,6 +604,21 @@ def compile_sum(t, expr, scope, timecontext, context=None, **kwargs): ) +@compiles(ops.HLLCardinali...
feat(pyspark): implement approx_count_distinct
py
diff --git a/modis/discord_modis/modules/music/api_music.py b/modis/discord_modis/modules/music/api_music.py index <HASH>..<HASH> 100644 --- a/modis/discord_modis/modules/music/api_music.py +++ b/modis/discord_modis/modules/music/api_music.py @@ -275,7 +275,7 @@ def _func_list(song_func, songs, index, shuffle): ...
Fixed song func on add to end
py
diff --git a/vine-python/src/main/resources/vine/root.py b/vine-python/src/main/resources/vine/root.py index <HASH>..<HASH> 100644 --- a/vine-python/src/main/resources/vine/root.py +++ b/vine-python/src/main/resources/vine/root.py @@ -67,7 +67,10 @@ class Feeder(object): A vine feeder. """ def __init__(self, f...
Allow python feeders to be instantiated by address.
py
diff --git a/txlib/http/base.py b/txlib/http/base.py index <HASH>..<HASH> 100644 --- a/txlib/http/base.py +++ b/txlib/http/base.py @@ -19,6 +19,7 @@ class BaseRequest(object): success = { 200: "OK", 201: "Created", + 204: "Deleted", } error_messages = {
Add HTTP <I> code to those that mark success for a web request. <I> code is for successful DELETE requests.
py
diff --git a/referral/models.py b/referral/models.py index <HASH>..<HASH> 100644 --- a/referral/models.py +++ b/referral/models.py @@ -44,6 +44,13 @@ class Referrer(models.Model): return self.users.count() count_users.short_description = _("User count") + def match_campaign(self): + for campai...
add match_campaign method to Referrer
py
diff --git a/flask_filealchemy/filealchemy.py b/flask_filealchemy/filealchemy.py index <HASH>..<HASH> 100644 --- a/flask_filealchemy/filealchemy.py +++ b/flask_filealchemy/filealchemy.py @@ -37,6 +37,13 @@ class FileAlchemy: try: loader = loader_for(self.data_dir, table) + ...
improvement: raise LoadError if no loader was found
py
diff --git a/peppy/project.py b/peppy/project.py index <HASH>..<HASH> 100644 --- a/peppy/project.py +++ b/peppy/project.py @@ -162,6 +162,10 @@ class Project(PathExAttMap): else None ) + # add entries from the dict + self[CONFIG_KEY].add_entries(d) + self[CONFIG_KEY][CONFIG_...
more from_dict work (#<I>)
py
diff --git a/examples/verbose_lan.py b/examples/verbose_lan.py index <HASH>..<HASH> 100644 --- a/examples/verbose_lan.py +++ b/examples/verbose_lan.py @@ -13,10 +13,10 @@ def main(): # In fact, you don't need to provide LifxLAN with the number of bulbs at all. # lifx = LifxLAN() works just as well. Knowing th...
moved discovery message to location where discovery is actually happening
py
diff --git a/polyaxon_client/stores/clients/gc_client.py b/polyaxon_client/stores/clients/gc_client.py index <HASH>..<HASH> 100644 --- a/polyaxon_client/stores/clients/gc_client.py +++ b/polyaxon_client/stores/clients/gc_client.py @@ -2,6 +2,7 @@ from __future__ import absolute_import, division, print_function impo...
Use absolute paths for getting gs keys
py
diff --git a/holidays/countries/madagascar.py b/holidays/countries/madagascar.py index <HASH>..<HASH> 100644 --- a/holidays/countries/madagascar.py +++ b/holidays/countries/madagascar.py @@ -41,6 +41,7 @@ class Madagascar(HolidayBase): self[easter(year)+rd(days=1)]="Alatsinain'ny paska" self[e...
Update madagascar.py added father's days
py
diff --git a/estnltk/taggers/tagger.py b/estnltk/taggers/tagger.py index <HASH>..<HASH> 100644 --- a/estnltk/taggers/tagger.py +++ b/estnltk/taggers/tagger.py @@ -68,3 +68,12 @@ class Tagger(ABC): conf_table = ('No configuration parameters.',) return '\n'.join(table + conf_table) + + + def __...
Added __repr__ to Tagger class
py
diff --git a/jenkins/bootstrap.py b/jenkins/bootstrap.py index <HASH>..<HASH> 100755 --- a/jenkins/bootstrap.py +++ b/jenkins/bootstrap.py @@ -62,7 +62,8 @@ def read_all(end, stream, append): line = stream.readline() if not line: return True # Read everything - append(line[:-1]) ...
bootstrap.py: Fix command output truncation The last line returned by `readline()` is not guaranteed to end with a newline if the file doesn't end with a newline. This was breaking `append_result()` because the last character of the JSON file (in this case `]`) was being stripped, causing the decode to fail.
py
diff --git a/neural/utils.py b/neural/utils.py index <HASH>..<HASH> 100644 --- a/neural/utils.py +++ b/neural/utils.py @@ -286,7 +286,7 @@ class Beacon(Thread): arbitrary file path, so communicating across different computers that have shared file systems is relatively easy (just choose a file path on the sha...
upgraded thread_safe into Beacon
py
diff --git a/blockstack/lib/nameset/db.py b/blockstack/lib/nameset/db.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/nameset/db.py +++ b/blockstack/lib/nameset/db.py @@ -138,6 +138,7 @@ CREATE TABLE name_records( name STRING NOT NULL, importer TEXT, importer_...
Add transfer_send_block_id column; when making a new row from a history snapshot, take the history snapshot's fields if they are present (and only use the name operation's consensus fields if '__all__' is given as the operation's consensus fields)
py
diff --git a/test_script.py b/test_script.py index <HASH>..<HASH> 100644 --- a/test_script.py +++ b/test_script.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- import json, os, uuid, time, logging from random import randint from marketorestpython.client import MarketoClient @@ -67,10 +69,7 @@ def ...
add unicode support to test_script for <I>
py
diff --git a/py/conftest.py b/py/conftest.py index <HASH>..<HASH> 100644 --- a/py/conftest.py +++ b/py/conftest.py @@ -106,6 +106,12 @@ def driver(request): capabilities = DesiredCapabilities.FIREFOX.copy() capabilities['marionette'] = False kwargs.update({'desired_capabilities': ...
[py] disable overlay scrollbars when running tests with WebKitGTK+ Some tests scroll to elements that keep them at the bottom of the browser window. When attempting to click on them, the overlay scrollbar receives the click instead.
py
diff --git a/webdriver_test_tools/project/test_module.py b/webdriver_test_tools/project/test_module.py index <HASH>..<HASH> 100644 --- a/webdriver_test_tools/project/test_module.py +++ b/webdriver_test_tools/project/test_module.py @@ -180,6 +180,10 @@ def run_tests(tests_module, config_module, browser_classes=None, tes...
Added additional output if tests are run in browserstack
py
diff --git a/python/herald/directory.py b/python/herald/directory.py index <HASH>..<HASH> 100644 --- a/python/herald/directory.py +++ b/python/herald/directory.py @@ -102,6 +102,9 @@ class HeraldDirectory(object): self._local = self.__make_local_peer(context) self._local_uid = self._local.uid + ...
Create empty groups matching local peer's ones in directory This avoids a KeyError 'unknown group' exception
py
diff --git a/pymc/sample.py b/pymc/sample.py index <HASH>..<HASH> 100644 --- a/pymc/sample.py +++ b/pymc/sample.py @@ -83,8 +83,7 @@ def sample(draws, step, start=None, trace=None, tune=None, progressbar=True, mod progress.update(i) except KeyboardInterrupt: pass - finally: - re...
Show non-KeyboardInterrupt errors when sampling If the function returns in the finally block, any errors that happen in the try block are masked. Returning the function outside of the finally retains the same KeyboardInterrupt behavior but won't mask any other errors that occur.
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -25,8 +25,7 @@ from datetime import datetime from sys import version_info import hashlib import os.path - -from fauxfactory import gen_alphanumeric +from fauxfactory import gen_al...
added custom cron field for <I> feature in sync plan (#<I>)
py
diff --git a/atrcopy/ataridos.py b/atrcopy/ataridos.py index <HASH>..<HASH> 100644 --- a/atrcopy/ataridos.py +++ b/atrcopy/ataridos.py @@ -249,7 +249,8 @@ class AtariDosDiskImage(DiskImageBase): if self.header.image_size == 133120: # enhanced density has 2nd VTOC self.vtoc2 = 1024 - ...
Fix for stale code in <I>k disk image support
py
diff --git a/ctk_cli/argument_parser.py b/ctk_cli/argument_parser.py index <HASH>..<HASH> 100644 --- a/ctk_cli/argument_parser.py +++ b/ctk_cli/argument_parser.py @@ -98,10 +98,23 @@ class CLIArgumentParser(argparse.ArgumentParser): for p in simple_out_params: if p.index is not None: ...
Added code to list opt parameters in alphabetical order of short flag in help for easy lookup
py
diff --git a/steam/client/__init__.py b/steam/client/__init__.py index <HASH>..<HASH> 100644 --- a/steam/client/__init__.py +++ b/steam/client/__init__.py @@ -89,10 +89,21 @@ class SteamClient(EventEmitter, FeatureBase): self.disconnect() if result in (EResult.AccountLogonDenied, + ...
reworked auth_code_required event
py
diff --git a/napalm_base/base.py b/napalm_base/base.py index <HASH>..<HASH> 100644 --- a/napalm_base/base.py +++ b/napalm_base/base.py @@ -1111,7 +1111,7 @@ class NetworkDriver(object): raise NotImplementedError def ping(self, destination, source=c.PING_SOURCE, ttl=c.PING_TTL, timeout=c.PING_TIMEOUT, - ...
Add support for VRF in base ping and traceroute
py
diff --git a/pupa/cli/commands/init.py b/pupa/cli/commands/init.py index <HASH>..<HASH> 100644 --- a/pupa/cli/commands/init.py +++ b/pupa/cli/commands/init.py @@ -14,7 +14,7 @@ def write_jurisdiction_template(dirname, short_name, jurisdiction_id, long_name, class_dict = {'events': 'Event', 'people': 'Person', 'bil...
Fixes #<I> pupa init should set encoding=utf-8
py
diff --git a/pyinfra/api/connectors/vagrant.py b/pyinfra/api/connectors/vagrant.py index <HASH>..<HASH> 100644 --- a/pyinfra/api/connectors/vagrant.py +++ b/pyinfra/api/connectors/vagrant.py @@ -79,7 +79,6 @@ def get_vagrant_options(): if path.exists('@vagrant.json'): with open('@vagrant.json', 'r') as f:...
Don't assume all the Vagrant SSH config keys exist.
py
diff --git a/kademlia/__init__.py b/kademlia/__init__.py index <HASH>..<HASH> 100644 --- a/kademlia/__init__.py +++ b/kademlia/__init__.py @@ -2,4 +2,4 @@ Kademlia is a Python implementation of the Kademlia protocol which utilizes the asyncio library. """ -__version__ = "2.0" +__version__ = "2.1"
minor release due to API change for listen method
py
diff --git a/tests/test_commit_logs.py b/tests/test_commit_logs.py index <HASH>..<HASH> 100644 --- a/tests/test_commit_logs.py +++ b/tests/test_commit_logs.py @@ -4,6 +4,8 @@ import pytest from changelogs import get_commit_log +# Todo: find a way to make this test run on travis +""" @pytest.fixture(autouse=True) ...
disable test, failing on travis
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,6 +1,17 @@ +import fnmatch +import glob +import os +import os.path import unittest def suite(): - modules = ['tests.test_dbkit', 'tests.test_pool'] + """ + Discover the tes...
Simple portable test discovery (for <I>).
py
diff --git a/dashboard/dashboard/services/request.py b/dashboard/dashboard/services/request.py index <HASH>..<HASH> 100644 --- a/dashboard/dashboard/services/request.py +++ b/dashboard/dashboard/services/request.py @@ -9,6 +9,7 @@ from __future__ import absolute_import from six.moves import http_client import httplib...
[Pinpoint] Add logging to debug request to buildbucket Bug: chromium:<I> Change-Id: Idec<I>aebb<I>cf<I>b<I>bdb<I>d7ff<I>a1cfd Reviewed-on: <URL>
py
diff --git a/collatex-pythonport/collatex/collatex_core.py b/collatex-pythonport/collatex/collatex_core.py index <HASH>..<HASH> 100644 --- a/collatex-pythonport/collatex/collatex_core.py +++ b/collatex-pythonport/collatex/collatex_core.py @@ -11,6 +11,7 @@ import networkx as nx from _collections import deque from net...
Added horizal rulers between rows of the table. Added wrapping of the text segments in the cells.
py
diff --git a/pycdlib/pycdlib.py b/pycdlib/pycdlib.py index <HASH>..<HASH> 100644 --- a/pycdlib/pycdlib.py +++ b/pycdlib/pycdlib.py @@ -2652,7 +2652,6 @@ class PyCdlib(object): if rec.rock_ridge is None or not relocated: for pvd in self.pvds: pvd.add_to_ptr(path_table_record.PathTa...
Collapse another two loops into one.
py
diff --git a/tests/test_loop_handles.py b/tests/test_loop_handles.py index <HASH>..<HASH> 100644 --- a/tests/test_loop_handles.py +++ b/tests/test_loop_handles.py @@ -12,6 +12,7 @@ class HandlesTest(TestCase): def test_handles(self): timer = pyuv.Timer(self.loop) self.assertTrue(timer in self.loo...
test: close loop handles Without closing the handles here they don't get cleaned up on PyPy, causing this test to fail.
py
diff --git a/bokeh/palettes.py b/bokeh/palettes.py index <HASH>..<HASH> 100644 --- a/bokeh/palettes.py +++ b/bokeh/palettes.py @@ -134,7 +134,7 @@ In addition to all the palettes shown above, which are available in the ``small_palettes`` attribute, the ``bokeh.palettes`` module also has some larger palettes with 256 ...
Minor fix in palettes documnetation (#<I>)
py
diff --git a/optlang/interface.py b/optlang/interface.py index <HASH>..<HASH> 100644 --- a/optlang/interface.py +++ b/optlang/interface.py @@ -339,11 +339,11 @@ class Constraint(OptimizationExpression): super(Constraint, self).__init__(expression, *args, **kwargs) def __str__(self): - if self.lb:...
Fixed an issue with printed constraints not showing bounds == 0
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -691,13 +691,18 @@ class AnalysisChunk: triggers (in seconds). """ if self.__trig_start and self.__trig_end: - return self.__trig_end - self.__trig_start + x = self.__tr...
added check for negative length analysis chunks when calling len()
py
diff --git a/tchannel/tornado/connection.py b/tchannel/tornado/connection.py index <HASH>..<HASH> 100644 --- a/tchannel/tornado/connection.py +++ b/tchannel/tornado/connection.py @@ -569,15 +569,17 @@ class StreamConnection(TornadoConnection): finally: response.close_argstreams(force=True) - ...
stream_request doesn't need to be a callback
py
diff --git a/tests/test_locks.py b/tests/test_locks.py index <HASH>..<HASH> 100644 --- a/tests/test_locks.py +++ b/tests/test_locks.py @@ -222,7 +222,7 @@ class TestLocks(FuzzyTestCase): mid_mem = psutil.Process(os.getpid()).memory_info().rss Log.note("Mid memory {{mem|comma}}", mem=mid_mem) - ...
memory on linux is not good gc measure
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ install_requires = [ 'django-uuidfield==0.5.0', 'djangorestframework>=2.3.12,<2.4.0', 'djangosaml2>=0.11.0,<0.12', + 'drf-extensions==0.2.6' 'logan==0.5.9.1', 'redis==2.10.3', 'S...
drf-extensions added to setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -93,7 +93,7 @@ setup( download_url='https://github.com/tomduck/pandoc-tablenos/tarball/' + \ VERSION, - install_requires=['pandoc-xnos>=0.2', + install_requires=['pandoc-xnos>=0.3', ...
Bumped xnos version required.
py
diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py index <HASH>..<HASH> 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -564,12 +564,19 @@ class Command(Generic[GroupT, P, T]): raise CommandInvokeError(self, e) from e async def _i...
Fix autocomplete not working with renamed parameters Fix #<I>
py
diff --git a/pygeoip/__init__.py b/pygeoip/__init__.py index <HASH>..<HASH> 100644 --- a/pygeoip/__init__.py +++ b/pygeoip/__init__.py @@ -125,7 +125,7 @@ class GeoIP(GeoIPBase): for i in range(const.STRUCTURE_INFO_MAX_SIZE): delim = self._filehandle.read(3) - if delim == six.u(chr(25...
fix for UnicodeWarning when accessing a city database with MEMORY_CACHE. fixes Issue #<I>
py