diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/perceval/_version.py b/perceval/_version.py
index <HASH>..<HASH> 100644
--- a/perceval/_version.py
+++ b/perceval/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.11.1"
+__version__ = "0.11.2" | Update version number to <I> | py |
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -733,7 +733,7 @@ class Exchange(object):
else:
return False
if key in dictionary:
- return dicti... | python exchange.key_exists checks that value is not empty string | py |
diff --git a/picotui/widgets.py b/picotui/widgets.py
index <HASH>..<HASH> 100644
--- a/picotui/widgets.py
+++ b/picotui/widgets.py
@@ -285,14 +285,17 @@ class WListBox(EditorExt, ChoiceWidget):
def __init__(self, w, h, items):
EditorExt.__init__(self)
ChoiceWidget.__init__(self, 0)
- self.... | widgets: WListBox: Add set_items() method. Abstracts away the need to both set .items and call set_lines() of EditorExt. | py |
diff --git a/abilian/services/comments/tests.py b/abilian/services/comments/tests.py
index <HASH>..<HASH> 100644
--- a/abilian/services/comments/tests.py
+++ b/abilian/services/comments/tests.py
@@ -25,6 +25,7 @@ class TestComments(BaseTestCase):
self.assertEquals(comments, [comment])
self.comment_service.d... | though test are not failing here but only in jenkins, add flush() to ensure delete is emitted | py |
diff --git a/expynent/patterns.py b/expynent/patterns.py
index <HASH>..<HASH> 100644
--- a/expynent/patterns.py
+++ b/expynent/patterns.py
@@ -286,5 +286,6 @@ PHONE_NUMBER = {
# RegEx pattern to match Spanish phone numbers
'ES': r'^(?:\+34|0)\d{9}$',
# RegEx pattern to match Taiwan phone numbers
- 'TW... | Updated NI Phone number regex to a better one | py |
diff --git a/salt/modules/win_status.py b/salt/modules/win_status.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_status.py
+++ b/salt/modules/win_status.py
@@ -1,6 +1,9 @@
'''
Module for returning various status data about a minion.
These data can be useful for compiling into stats later.
+
+:depends: - pyt... | win_status: Added depends metainfo | py |
diff --git a/airflow/api/common/experimental/delete_dag.py b/airflow/api/common/experimental/delete_dag.py
index <HASH>..<HASH> 100644
--- a/airflow/api/common/experimental/delete_dag.py
+++ b/airflow/api/common/experimental/delete_dag.py
@@ -41,7 +41,7 @@ def delete_dag(dag_id, keep_records_in_log=True):
if dag i... | [AIRFLOW-<I>] Fix incorrect logic in detele_dag (introduced in PR#<I>) (#<I>) Incorrect logic was introduced in PR #<I> (<URL>) This was not found out because the Travis CI was not working as expected. | py |
diff --git a/examples/seq2seq/utils.py b/examples/seq2seq/utils.py
index <HASH>..<HASH> 100644
--- a/examples/seq2seq/utils.py
+++ b/examples/seq2seq/utils.py
@@ -144,16 +144,9 @@ class SummarizationDataset(Dataset):
batch = {"input_ids": source_ids, "attention_mask": source_mask, "decoder_input_ids": y}
... | [seq2seq] Don't copy self.source in sortishsampler (#<I>) | py |
diff --git a/dwave/cloud/coders.py b/dwave/cloud/coders.py
index <HASH>..<HASH> 100644
--- a/dwave/cloud/coders.py
+++ b/dwave/cloud/coders.py
@@ -42,9 +42,9 @@ def encode_bqm_as_qp(solver, linear, quadratic):
# Encode the coefficients of the quadratic terms of the objective
# in the same manner as the linear... | Another fix for problem encoding (issue #<I>) Note: - for qubit to be active, either bias OR coupling can be specified - list of encoded couplings includes couplings (even implicit zeroes) between ALL active qubits | py |
diff --git a/sh.py b/sh.py
index <HASH>..<HASH> 100644
--- a/sh.py
+++ b/sh.py
@@ -3545,17 +3545,21 @@ if __name__ == "__main__": # pragma: no cover
all_locales = ("en_US.UTF-8", "C")
i = 0
+ ran_versions = set()
for locale in all_locales:
+ # make sure this locale is allo... | actually print out the python versions we tested | py |
diff --git a/dataviews/ndmapping.py b/dataviews/ndmapping.py
index <HASH>..<HASH> 100644
--- a/dataviews/ndmapping.py
+++ b/dataviews/ndmapping.py
@@ -207,9 +207,9 @@ class NdIndexableMapping(param.Parameterized):
"""
if not isinstance(dim_vals, tuple):
dim_vals = (dim_vals,)
+ sel... | Key length check applied earlier in NdIndexableMapping | py |
diff --git a/sregistry/main/docker/api.py b/sregistry/main/docker/api.py
index <HASH>..<HASH> 100644
--- a/sregistry/main/docker/api.py
+++ b/sregistry/main/docker/api.py
@@ -461,7 +461,7 @@ def get_environment_tar(self):
res = which('dpkg-architecture')['message']
if res is not None:
cmd = ['dpkg-ar... | fixing bug with getting environment tar - need to get message from run_command | py |
diff --git a/superset/databases/api.py b/superset/databases/api.py
index <HASH>..<HASH> 100644
--- a/superset/databases/api.py
+++ b/superset/databases/api.py
@@ -919,6 +919,9 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
preferred_databases: List[str] = app.config.get("PREFERRED_DATABASES", [])
... | fix: available endpoint showing specs without drivers (#<I>) | 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
@@ -6,8 +6,12 @@
#
"""
-Salesforce object query customizations.
+Salesforce object query and queryset customizations.
"""
+# TODO hynekcer: class Cu... | Comment about future refactoring - todo | py |
diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/__init__.py
+++ b/salt/cloud/__init__.py
@@ -2184,6 +2184,8 @@ def create_multiprocessing(parallel_data, queue=None):
This function will be called from another process when running a map in
parallel mode.... | Reinit pycrypto RNG in Cloud multiprocess paths run_parallel_map_providers_query() was already covered, but Cloud.run_map() Cloud.run.destroy() were not | py |
diff --git a/neurosynth/base/__init__.py b/neurosynth/base/__init__.py
index <HASH>..<HASH> 100644
--- a/neurosynth/base/__init__.py
+++ b/neurosynth/base/__init__.py
@@ -2,3 +2,9 @@
# ex: set sts=2 ts=2 sw=2 et:
__all__ = ['dataset', 'mask', 'imageutils', 'mappable', 'transformations', 'lexparser']
+
+# Verify nib... | ENH: Demand nibabel >= <I> (Close #5) Check is done in neurosynth.base.__init__ | py |
diff --git a/pythonforandroid/recipes/kiwisolver/__init__.py b/pythonforandroid/recipes/kiwisolver/__init__.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/recipes/kiwisolver/__init__.py
+++ b/pythonforandroid/recipes/kiwisolver/__init__.py
@@ -4,6 +4,6 @@ class KiwiSolverRecipe(CppCompiledComponentsPythonRecipe)... | Pep8 fix in kiwisolver recipe | py |
diff --git a/cleverhans/attacks_tf.py b/cleverhans/attacks_tf.py
index <HASH>..<HASH> 100644
--- a/cleverhans/attacks_tf.py
+++ b/cleverhans/attacks_tf.py
@@ -4,17 +4,18 @@ from __future__ import print_function
from __future__ import unicode_literals
import copy
+import warnings
+
import numpy as np
from six.move... | fix imports for attacks tf | py |
diff --git a/yargy/span.py b/yargy/span.py
index <HASH>..<HASH> 100644
--- a/yargy/span.py
+++ b/yargy/span.py
@@ -1,8 +1,19 @@
-from collections import namedtuple
+from yargy.record import Record
-class Span(namedtuple('Span', ['start', 'stop'])):
+class Span(Record):
+ __attributes__ = ['start', 'stop']
+
+ ... | Span tuple -> record | py |
diff --git a/tests/test_cfgfast.py b/tests/test_cfgfast.py
index <HASH>..<HASH> 100644
--- a/tests/test_cfgfast.py
+++ b/tests/test_cfgfast.py
@@ -870,6 +870,14 @@ def test_generate_special_info():
nose.tools.assert_equal(cfg.functions['main'].info['gp'], 0x418ca0)
+def test_load_from_shellcode():
+
+ proj ... | Add CFGFast test for `load_shellcode`-created project (#<I>) | py |
diff --git a/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py b/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py
+++ b/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py
@@ -73,7 +73,8 @@ class J... | Disable jvm-platform-analysis by default Disable by default until it is a bit snappier. Filed <URL> | py |
diff --git a/zipline/pipeline/mixins.py b/zipline/pipeline/mixins.py
index <HASH>..<HASH> 100644
--- a/zipline/pipeline/mixins.py
+++ b/zipline/pipeline/mixins.py
@@ -130,7 +130,7 @@ class CustomTermMixin(object):
If we have an outputs tuple, the default is an empty recarray with
``self.outputs`` as... | DOC: Fixup docstring. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -6,9 +6,9 @@ from setuptools import setup
os.system('make rst')
try:
- readme = open('README.rst').read()
+ README = open('README.rst').read()
except FileNotFoundError:
- readme = ''
+ README = ''
with open... | Clean up setup.py (#9) | py |
diff --git a/astroplan/plots/time_dependent.py b/astroplan/plots/time_dependent.py
index <HASH>..<HASH> 100644
--- a/astroplan/plots/time_dependent.py
+++ b/astroplan/plots/time_dependent.py
@@ -31,6 +31,16 @@ def _secz_to_altitude(secant_z):
"""
return np.degrees(np.pi/2 - np.arccos(1./secant_z))
+
+def ha... | Fix for plotting multiple targets with altitude y-axis | py |
diff --git a/marrow/mail/__init__.py b/marrow/mail/__init__.py
index <HASH>..<HASH> 100644
--- a/marrow/mail/__init__.py
+++ b/marrow/mail/__init__.py
@@ -9,6 +9,8 @@ import pkg_resources
from functools import partial
+from marrow.mail.exc import MailerNotRunning
+
from marrow.util.bunch import Bunch
from marrow... | Fixed a method name bug, now uses MailerNotEnabled, and a nicer logging syntax when string substitutions are used. | py |
diff --git a/mike/app_version.py b/mike/app_version.py
index <HASH>..<HASH> 100644
--- a/mike/app_version.py
+++ b/mike/app_version.py
@@ -1 +1 @@
-version = '0.5.1'
+version = '0.6.0.dev0' | Update version to <I>.dev0 | py |
diff --git a/src/azure-firewall/azext_firewall/custom.py b/src/azure-firewall/azext_firewall/custom.py
index <HASH>..<HASH> 100644
--- a/src/azure-firewall/azext_firewall/custom.py
+++ b/src/azure-firewall/azext_firewall/custom.py
@@ -258,7 +258,7 @@ def _upsert_af_rule(cmd, resource_group_name, firewall_name, collecti... | fix potential bug (#<I>) | py |
diff --git a/bokeh/plotting.py b/bokeh/plotting.py
index <HASH>..<HASH> 100644
--- a/bokeh/plotting.py
+++ b/bokeh/plotting.py
@@ -474,7 +474,7 @@ def output_file(filename, title="Bokeh Plot", autosave=False, mode="inline", roo
global _default_file
_default_file = {
'filename' : filename,
- '... | Don't use unminified resources in bokeh.plotting | py |
diff --git a/budou/budou.py b/budou/budou.py
index <HASH>..<HASH> 100644
--- a/budou/budou.py
+++ b/budou/budou.py
@@ -17,7 +17,7 @@
"""Budou: an automatic organizer tool for beautiful line breaking in CJK
Usage:
- budou [--segmenter=<seg>] [--language=<lang>] [--classname=<class>] [--inlinestyle] [--wbr] <source>... | Make sure stdin can also be used | py |
diff --git a/sc2/main.py b/sc2/main.py
index <HASH>..<HASH> 100644
--- a/sc2/main.py
+++ b/sc2/main.py
@@ -51,9 +51,9 @@ def run_game(map_settings, players, observe=[], realtime=False):
gs = GameState(state.observation, game_data)
if bots:
- r = await client.action... | Allow returning None from on_step method | py |
diff --git a/tests/test_util.py b/tests/test_util.py
index <HASH>..<HASH> 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -794,13 +794,12 @@ class CodeTest(unittest.TestCase):
"black requires py36 or higher")
def test_blacken_code(self):
input = '''\
- l = [1,
- ... | Change blacken_code test black <I>b amazingly changed how my one test case was formatted. use a test case instead from black.now.sh. | py |
diff --git a/emili.py b/emili.py
index <HASH>..<HASH> 100755
--- a/emili.py
+++ b/emili.py
@@ -49,8 +49,8 @@ def sendMail(
attachments = [],
template=None,
config=None,
- stylesheets = [],
- verbose=True
+ stylesheets = [],
+ verbose=True
):
import smtplib
@@ -22... | proper indentation and vim modeline | py |
diff --git a/fritzconnection/lib/fritzstatus.py b/fritzconnection/lib/fritzstatus.py
index <HASH>..<HASH> 100644
--- a/fritzconnection/lib/fritzstatus.py
+++ b/fritzconnection/lib/fritzstatus.py
@@ -89,14 +89,25 @@ class FritzStatus(AbstractLibraryBase):
return self.fc.call_action("WANIPConn", "X_AVM_DE_GetIPv... | Add wan_uptime, device_uptime and deprecate uptime (#<I>) * Add wan_uptime, device_uptime and deprecate uptime * Update fritzstatus.py * Removed logging (no more in use) * Update fritzstatus.py * Update fritzstatus.py * Update fritzstatus.py | py |
diff --git a/pymongo/pool.py b/pymongo/pool.py
index <HASH>..<HASH> 100644
--- a/pymongo/pool.py
+++ b/pymongo/pool.py
@@ -650,8 +650,11 @@ class Pool:
for sock_info in self.sockets:
sock_info.close()
+ # Close request sockets that aren't NO_REQUEST or NO_SOCKET_YET.
+ # Those glob... | Avoid TypeError in Pool.__del__ during shutdown. | py |
diff --git a/salt/modules/linux_sysctl.py b/salt/modules/linux_sysctl.py
index <HASH>..<HASH> 100644
--- a/salt/modules/linux_sysctl.py
+++ b/salt/modules/linux_sysctl.py
@@ -13,7 +13,7 @@ import salt.utils
from salt._compat import string_types
from salt.exceptions import CommandExecutionError
from salt.modules.syst... | If we import a function from another module like this Then the salt loader exposes it to salt | py |
diff --git a/sendgrid/sendgrid.py b/sendgrid/sendgrid.py
index <HASH>..<HASH> 100644
--- a/sendgrid/sendgrid.py
+++ b/sendgrid/sendgrid.py
@@ -14,6 +14,8 @@ This file provides the SendGrid API Client.
import os
+import warnings
+
import python_http_client
from .version import __version__
@@ -37,7 +39,8... | Adds backward-compatible **kw dispatching with DeprecationWarning | py |
diff --git a/src/basicserial/json.py b/src/basicserial/json.py
index <HASH>..<HASH> 100644
--- a/src/basicserial/json.py
+++ b/src/basicserial/json.py
@@ -106,15 +106,8 @@ class SimpleJsonImplementation(StdlibJsonImplementation):
class OrJsonImplementation(JsonImplementation):
module_name = 'orjson'
- def _d... | Tweaks to orjson serialization | py |
diff --git a/python/test/test_sources.py b/python/test/test_sources.py
index <HASH>..<HASH> 100644
--- a/python/test/test_sources.py
+++ b/python/test/test_sources.py
@@ -47,7 +47,6 @@ class TestSourceProperties(LocalTestCase):
s = Source([[10, 10], [10, 20]], values=[1.0, 2.0])
assert(s.area == 2.0)
... | Restore polygon test Should be fixed with the new Travis Anaconda builds | py |
diff --git a/scot/ooapi.py b/scot/ooapi.py
index <HASH>..<HASH> 100644
--- a/scot/ooapi.py
+++ b/scot/ooapi.py
@@ -175,7 +175,7 @@ class SCoT:
def showPlots(self):
plt.show()
- def plotComponents(self, global_scale=None):
+ def plotSourceTopos(self, global_scale=None):
""" global_scal... | Renamed component plotting function and added component numbers Former-commit-id: <I>f0bf<I>c0d<I>f<I>e<I>c<I>ca<I> | py |
diff --git a/src/deft/storage.py b/src/deft/storage.py
index <HASH>..<HASH> 100644
--- a/src/deft/storage.py
+++ b/src/deft/storage.py
@@ -8,7 +8,7 @@ import yaml
class StorageFormats(object):
def save_yaml(self, relpath, obj):
with self.open(relpath, "w") as output:
- yaml.dump(obj, output, d... | Use save_dump to store YAML | py |
diff --git a/src/kba/pipeline/_pipeline.py b/src/kba/pipeline/_pipeline.py
index <HASH>..<HASH> 100644
--- a/src/kba/pipeline/_pipeline.py
+++ b/src/kba/pipeline/_pipeline.py
@@ -134,11 +134,6 @@ class Pipeline(object):
t_path = os.path.join(self.config['tmp_dir_path'], 'tmp-%s' % str(uuid.uuid1())... | fixing how %(first)s gets set in output_name | py |
diff --git a/phoebe/backend/universe.py b/phoebe/backend/universe.py
index <HASH>..<HASH> 100644
--- a/phoebe/backend/universe.py
+++ b/phoebe/backend/universe.py
@@ -3491,6 +3491,9 @@ class Body(object):
for ref in thing.params[ptype][lbl]:
mystring.append(ref)
... | disabled data is now strikethrough in string represenation (summary and tree) | py |
diff --git a/tests/test_ses/test_ses.py b/tests/test_ses/test_ses.py
index <HASH>..<HASH> 100644
--- a/tests/test_ses/test_ses.py
+++ b/tests/test_ses/test_ses.py
@@ -54,7 +54,21 @@ def test_send_email():
send_quota = conn.get_send_quota()
sent_count = int(send_quota['GetSendQuotaResponse']['GetSendQuotaResul... | Adding test for sending html email | py |
diff --git a/dark/dna.py b/dark/dna.py
index <HASH>..<HASH> 100644
--- a/dark/dna.py
+++ b/dark/dna.py
@@ -110,16 +110,14 @@ def compareDNAReads(read1, read2, matchAmbiguous=True, gapChars=('-'),
read2AmbiguousOffsets.append(offset)
gapMismatchCount += 1
else:
... | Fix read1/2AmbiguousOffsets. | py |
diff --git a/esteid/__init__.py b/esteid/__init__.py
index <HASH>..<HASH> 100644
--- a/esteid/__init__.py
+++ b/esteid/__init__.py
@@ -1 +1 @@
-__version__ = "3.1"
+__version__ = "3.1.post1" | Release <I>.post1 | py |
diff --git a/aioconsole/code.py b/aioconsole/code.py
index <HASH>..<HASH> 100644
--- a/aioconsole/code.py
+++ b/aioconsole/code.py
@@ -248,7 +248,12 @@ class AsynchronousConsole(code.InteractiveConsole):
@asyncio.coroutine
-def interact(banner=None, streams=None, locals=None, stop=True,
+def interact(banner=None, ... | Add prompt control to interact coroutine | py |
diff --git a/tests/test_variables.py b/tests/test_variables.py
index <HASH>..<HASH> 100644
--- a/tests/test_variables.py
+++ b/tests/test_variables.py
@@ -456,3 +456,12 @@ TEST_FOLLOWING_ITEM = {
u'reel_auto_archive': u'unset',
u'username': u'following.username'
}
+
+TEST_COMMENT_LIKER_ITEM = {
+ u'full_n... | Added TEST_COMMENT_LIKER_ITEM | py |
diff --git a/tests/option_spec/test_harpoon_spec.py b/tests/option_spec/test_harpoon_spec.py
index <HASH>..<HASH> 100644
--- a/tests/option_spec/test_harpoon_spec.py
+++ b/tests/option_spec/test_harpoon_spec.py
@@ -2,7 +2,7 @@
from harpoon.option_spec.harpoon_specs import HarpoonSpec
from harpoon.errors import BadS... | Fixing tests for task option_spec objs | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -23,11 +23,12 @@ setup(
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
"Programming Language :: Python",
- 'Programming Language :: Python :: 2.6',
- ... | Updating supported python versions in setup.py | py |
diff --git a/quart/app.py b/quart/app.py
index <HASH>..<HASH> 100644
--- a/quart/app.py
+++ b/quart/app.py
@@ -1338,6 +1338,10 @@ class Quart(PackageStatic):
scheme = 'http' if config.ssl is None else 'https'
print("Running on {}://{}:{} (CTRL + C to quit)".format(scheme, config.host, config.port)) ... | Ensure a loop is specified in app run This ensures compatibility with recent Hypercorn releases. | py |
diff --git a/treeherder/etl/buildapi.py b/treeherder/etl/buildapi.py
index <HASH>..<HASH> 100644
--- a/treeherder/etl/buildapi.py
+++ b/treeherder/etl/buildapi.py
@@ -367,12 +367,6 @@ class PendingRunningTransformerMixin(object):
'artifacts': [
{
... | Bug <I> - Store less of the raw pending/running job json blob Stops storing the raw json from builds-pending.js completely, and halves the size of the blob stored from builds-running.js (by switching to a whitelist of important properties). | py |
diff --git a/datadog_checks_dev/setup.py b/datadog_checks_dev/setup.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/setup.py
+++ b/datadog_checks_dev/setup.py
@@ -26,7 +26,7 @@ REQUIRES = [
'coverage>=4.5.1',
'mock',
'pytest',
- 'pytest-benchmark>=3.2.0',
+ 'pytest-benchmark>=3.2.1',
'... | Upgrade pytest-benchmark (#<I>) | py |
diff --git a/pylas/point/dims.py b/pylas/point/dims.py
index <HASH>..<HASH> 100644
--- a/pylas/point/dims.py
+++ b/pylas/point/dims.py
@@ -550,9 +550,19 @@ class ScaledArrayView:
return self.scaled_array()
def __array_function__(self, func, types, args, kwargs):
- args = tuple(
- arg.a... | ScaledArray.__array_function__ handle args which are tuple or list | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,8 @@ setup(
'(GPLv3+)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
- 'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.5',
+ ... | Setup: support only Python <I>+ | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -68,7 +68,6 @@ setup_params = dict(
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
- "Programming Language :: Python... | Drop declared support for Python <I> - breaks on upload to PyPI | py |
diff --git a/mapping/mappings.py b/mapping/mappings.py
index <HASH>..<HASH> 100644
--- a/mapping/mappings.py
+++ b/mapping/mappings.py
@@ -4,10 +4,11 @@ import cvxpy
import sys
-if cvxpy.__version__ <= "0.4.11":
- CVX_SUM = cvxpy.sum_entries
+# deal with API change from cvxpy version 0.4 to 1.0
+if hasattr(cvxp... | Fix bug for compatibility issues with cvxpy Inferring version with string compare not robust, better to use hasattr | py |
diff --git a/esp8266/scripts/webrepl_setup.py b/esp8266/scripts/webrepl_setup.py
index <HASH>..<HASH> 100644
--- a/esp8266/scripts/webrepl_setup.py
+++ b/esp8266/scripts/webrepl_setup.py
@@ -57,6 +57,9 @@ some boards, you may need to press reset button or reconnect power.\r
while 1:
passwd1 = getpass(ws... | esp<I>/scripts/webrepl_setup: Reject too short passwords. | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -119,7 +119,7 @@ html_theme_path = [alabaster.get_path()]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-html_title = 'Process JSON-RPC requests i... | Remove release from doc page title It has no value, not using it. | py |
diff --git a/astromodels/core/units.py b/astromodels/core/units.py
index <HASH>..<HASH> 100644
--- a/astromodels/core/units.py
+++ b/astromodels/core/units.py
@@ -50,14 +50,12 @@ def _check_unit(new_unit, old_unit):
% (new_unit.physical_type, old_unit.physical_type))
-class _AstromodelsU... | The unit structure does not need to be a Node | py |
diff --git a/seleniumrequests/request.py b/seleniumrequests/request.py
index <HASH>..<HASH> 100644
--- a/seleniumrequests/request.py
+++ b/seleniumrequests/request.py
@@ -5,6 +5,8 @@ import urlparse
import requests
+from selenium.common.exceptions import NoSuchWindowException
+
_headers = None
_update_headers_mu... | Fixed bug that could potentially occur in PhantomJS if the session isn't cleaned up in time | py |
diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/systemd.py
+++ b/sos/plugins/systemd.py
@@ -36,9 +36,14 @@ class systemd(Plugin, RedHatPlugin):
self.collectExtOutput("journalctl --verify")
self.collectExtOutput("journalctl --all --this-boot --... | Change collection of /lib/systemd Since /lib/systemd contains binaries don't collect the whole thing. Grab /lib/systemd/sysem and /lib/systemd/user as these contain unit files and symlinks but just take a directory listing for /lib/systemd itself and the other subdirectories. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -51,7 +51,7 @@ setup(
# data_files=[(
# (BASE_DIR, ['data/pool_transactions_sandbox', ])
# )],
- install_requires=['plenum-dev==0.3.33'],
+ install_requires=['plenum-dev==0.3.34'],
setup_requires=['p... | incremented plenum-dev dependency version | py |
diff --git a/zipline/finance/performance/period.py b/zipline/finance/performance/period.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/performance/period.py
+++ b/zipline/finance/performance/period.py
@@ -351,7 +351,7 @@ class PerformancePeriod(object):
def calculate_positions_value(self):
if len(... | BUG: Fix div by 0 error due to changed return type. When calculate_positions_value used np.dot, the return type was a np.float<I>. Which allows the use of <I> in division to not raise an exception. Fix by expliciting creating an np.float<I> with 0 value. | py |
diff --git a/gns3server/version.py b/gns3server/version.py
index <HASH>..<HASH> 100644
--- a/gns3server/version.py
+++ b/gns3server/version.py
@@ -23,8 +23,8 @@
# or negative for a release candidate or beta (after the base version
# number has been incremented)
-__version__ = "2.2.32"
-__version_info__ = (2, 2, 32,... | Development on <I>dev1 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from distutils.core import setup
setup(
name='py-canary',
- version='0.3.0',
+ version='0.4.0',
packages=['canary'],
url='https://github.com/snjoetw/py-canary',
license='MIT', | Bumped version to <I> | py |
diff --git a/pycolator.py b/pycolator.py
index <HASH>..<HASH> 100755
--- a/pycolator.py
+++ b/pycolator.py
@@ -46,7 +46,7 @@ required=True
parser.add_argument('-i', dest='infile',
type=lambda x: parser_file_exists(parser, x),
required=True, help='Input file')
-parser.add_argument('--multifiles', dest... | Actually be able to specify multiple files in merge | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -185,7 +185,7 @@ metadata = dict(
maintainer_email='m.scherer@fu-berlin.de',
author='The Emma team',
author_email='info@emma-project.org',
- url='http://compmolbio.biocomputing-berlin.de/index.php',
+ url=... | [setup] fix homepage url | py |
diff --git a/mautrix/appservice/appservice.py b/mautrix/appservice/appservice.py
index <HASH>..<HASH> 100644
--- a/mautrix/appservice/appservice.py
+++ b/mautrix/appservice/appservice.py
@@ -5,7 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Partly based on github.com/Cadair/python-appservice-fr... | Fix error about ClientSession.close not being awaited | py |
diff --git a/pycommand.py b/pycommand.py
index <HASH>..<HASH> 100644
--- a/pycommand.py
+++ b/pycommand.py
@@ -20,7 +20,7 @@ import sys
__docformat__ = 'restructuredtext'
__author__ = "Benjamin Althues"
-__copyright__ = "Copyright (C) 2013-2016 Benjamin Althues"
+__copyright__ = "Copyright (C) 2013-2016, 2018 Ben... | Update copyright info in pycommand.__copyright__ | py |
diff --git a/discord/permissions.py b/discord/permissions.py
index <HASH>..<HASH> 100644
--- a/discord/permissions.py
+++ b/discord/permissions.py
@@ -673,7 +673,7 @@ class PermissionOverwrite:
else:
self._values[key] = value
- def pair(self):
+ def pair(self) -> Tuple[Permissions, Permiss... | Add missing typehint for PermissionOverwrite.pair Technically inferred but better to be explicit | py |
diff --git a/sos/plugins/openstack_cinder.py b/sos/plugins/openstack_cinder.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/openstack_cinder.py
+++ b/sos/plugins/openstack_cinder.py
@@ -27,8 +27,7 @@ class OpenStackCinder(Plugin):
plugin_name = "openstack_cinder"
profiles = ('openstack', 'openstack_controlle... | [openstack_cinder] Limit log collection to .log files by default Also introduce the global all_logs and log_size options within the plugin. Allowing users to control when all logs are collected and limit the overall size of the logs collected. Resolves #<I> | py |
diff --git a/py/vtdb/vtgate_cursor.py b/py/vtdb/vtgate_cursor.py
index <HASH>..<HASH> 100644
--- a/py/vtdb/vtgate_cursor.py
+++ b/py/vtdb/vtgate_cursor.py
@@ -67,6 +67,7 @@ class VTGateCursor(base_cursor.BaseListCursor, VTGateCursorMixin):
# for instance, a key value for shard mapping
def execute(self, sql, bind_... | Clean up VTGateCursor execute methods. Every vtgate_cursor.VTGateCursor.execute* method should eliminate results of prior executemany calls. | py |
diff --git a/nbserverproxy/handlers.py b/nbserverproxy/handlers.py
index <HASH>..<HASH> 100644
--- a/nbserverproxy/handlers.py
+++ b/nbserverproxy/handlers.py
@@ -130,7 +130,7 @@ class LocalProxyHandler(WebSocketHandlerMixin, IPythonHandler):
if message is None:
self.close()
e... | Make sure binary messages are proxied correctly * in on_message(), check if the received message is of type bytes and if so, send it on with binary flag * change 'message is bytes' to isinstance(message, bytes) | py |
diff --git a/src/ai/backend/client/cli/admin/sessions.py b/src/ai/backend/client/cli/admin/sessions.py
index <HASH>..<HASH> 100644
--- a/src/ai/backend/client/cli/admin/sessions.py
+++ b/src/ai/backend/client/cli/admin/sessions.py
@@ -50,7 +50,7 @@ def sessions(args):
return
if args.id_only:
... | Print session ids vertically | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ for extname, soname in zip(
"lib.libsoapPy4",
"lib.libsoapPy5",
"lib.libsoapPy6",
- "lib/libsoapGeneral",
+ "lib.libsoapGeneral",
]):
ext_list.append(Extension(... | adding example basis for testGen.py | py |
diff --git a/gwpy/spectrogram/coherence.py b/gwpy/spectrogram/coherence.py
index <HASH>..<HASH> 100644
--- a/gwpy/spectrogram/coherence.py
+++ b/gwpy/spectrogram/coherence.py
@@ -66,7 +66,7 @@ def _from_timeseries(ts1, ts2, stride, fftlength=None, overlap=None,
dt = stride
df = 1 / fftlength
- stride *= ... | spectrogram/coherence: fix bug in stride | py |
diff --git a/raiden/raiden_event_handler.py b/raiden/raiden_event_handler.py
index <HASH>..<HASH> 100644
--- a/raiden/raiden_event_handler.py
+++ b/raiden/raiden_event_handler.py
@@ -369,7 +369,8 @@ class RaidenEventHandler:
)
if not record.state_change_identifier:
- raise RaidenUnrecover... | Demote unlock unrecoverable error to warning | py |
diff --git a/MAVProxy/modules/lib/mp_menu.py b/MAVProxy/modules/lib/mp_menu.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/lib/mp_menu.py
+++ b/MAVProxy/modules/lib/mp_menu.py
@@ -153,6 +153,14 @@ class MPMenuSubMenu(MPMenuGeneric):
'''add more items to a sub-menu'''
if not isinstance(items, li... | menu: added menu extensions, removing duplicates | py |
diff --git a/salt/states/dockerng.py b/salt/states/dockerng.py
index <HASH>..<HASH> 100644
--- a/salt/states/dockerng.py
+++ b/salt/states/dockerng.py
@@ -183,6 +183,8 @@ def _compare(actual, create_kwargs, defaults_from_image):
continue
elif item == 'environment':
+ if actual_data is... | docker daemon returns sometimes empty list and sometimes None We deal with it | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ except ImportError:
MAJOR = 5
MINOR = 0
MICRO = 0
-ISRELEASED = False
+ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) | * Set is_released flag in setup.py | py |
diff --git a/ib_insync/ib.py b/ib_insync/ib.py
index <HASH>..<HASH> 100644
--- a/ib_insync/ib.py
+++ b/ib_insync/ib.py
@@ -1625,6 +1625,7 @@ class IB:
return future
def reqAccountSummaryAsync(self):
+ import ibapi.account_summary_tags
reqId = self.client.getReqId()
future = self... | Import added for ibapi.account_summary_tags | py |
diff --git a/ping3.py b/ping3.py
index <HASH>..<HASH> 100644
--- a/ping3.py
+++ b/ping3.py
@@ -117,8 +117,7 @@ def ping(dest_addr, timeout=4, unit="s", src_addr=None):
Returns:
The delay in seconds/milliseconds or None on timeout.
"""
- icmp_protocol = socket.getprotobyname("icmp")
- my_socket ... | icmp_protocol is socket.IPPROTO_ICMP | py |
diff --git a/pyked/tests/test_chemked.py b/pyked/tests/test_chemked.py
index <HASH>..<HASH> 100644
--- a/pyked/tests/test_chemked.py
+++ b/pyked/tests/test_chemked.py
@@ -309,7 +309,7 @@ class TestConvertToReSpecTh(object):
'species-name': 'O2'},
... | Updated datapoint ReSpecTh converter test for lacking InChI | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ setup(
"atomic_cache": ["atomicwrites"],
},
- package_data = {'': ['*.md', '*.lark']},
+ package_data = {'': ['*.md', '*.lark'], 'lark': ['py.typed']},
test_suite = 'tests.__main__', | Add `py.typed` to package data of lark package | py |
diff --git a/tests/test_reqparse.py b/tests/test_reqparse.py
index <HASH>..<HASH> 100644
--- a/tests/test_reqparse.py
+++ b/tests/test_reqparse.py
@@ -527,13 +527,14 @@ class ReqParseTestCase(unittest.TestCase):
parser = RequestParser()
parser.add_argument("foo", type=FileStorage, location='files')
... | Fixed python 2 and 3 compatibility problem, again! | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -162,7 +162,7 @@ html_static_path = ['static']
#html_use_opensearch = ''
# Show "todo" notes.
-todo_include_todos = True
+todo_include_todos = False
# This is the file name suffix for HTML files (e.g. ".... | Turn off todos in docs by default | py |
diff --git a/AppiumLibrary/keywords/_element.py b/AppiumLibrary/keywords/_element.py
index <HASH>..<HASH> 100644
--- a/AppiumLibrary/keywords/_element.py
+++ b/AppiumLibrary/keywords/_element.py
@@ -571,7 +571,10 @@ class _ElementKeywords(KeywordGroup):
if len(elements) == 0: return None
... | Fix the click element if locator is a WebElement instance _element_find function should return an element if caller need an element This function was broken by the commit 9f<I>aca5f<I>cf<I>f<I>f<I>c7d<I>f3a3f<I> | py |
diff --git a/pyum/Repo.py b/pyum/Repo.py
index <HASH>..<HASH> 100644
--- a/pyum/Repo.py
+++ b/pyum/Repo.py
@@ -95,11 +95,10 @@ class Repo(HTTPClient):
mirrorlist = []
doc = ElementTree.fromstring(xml)
urls = doc.findall(
- './/{http://www.metalinker.org/}files/{http://www.metalinke... | Removed consecutive if's. | py |
diff --git a/zounds/model/frame.py b/zounds/model/frame.py
index <HASH>..<HASH> 100644
--- a/zounds/model/frame.py
+++ b/zounds/model/frame.py
@@ -692,10 +692,11 @@ class Frames(Model):
def ingest(cls,pattern):
'''ingest
- Append a pattern-derived instance to the datastore
+ Append... | FrameModel.ingest() now returns the address of the analyzed pattern | py |
diff --git a/src/meshio/stl/_stl.py b/src/meshio/stl/_stl.py
index <HASH>..<HASH> 100644
--- a/src/meshio/stl/_stl.py
+++ b/src/meshio/stl/_stl.py
@@ -8,7 +8,7 @@ import os
import numpy as np
from ..__about__ import __version__
-from .._exceptions import ReadError
+from .._exceptions import ReadError, WriteError
f... | check that there is a triangle cell | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -49,7 +49,9 @@ kwds = dict(include_dirs=[opj("src"),
opj("src", "cysignals")],
depends=depends,
define_macros=macros,
- undef_macros=undef_macros)
+ un... | Add -pthread to compile/link flags | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,15 @@
from setuptools import setup, find_packages, Extension
-import numpy
+try:
+ import numpy
+except ImportError:
+ print("Numpy must be installed before running setup.py.")
+ response = input("Attempt to ... | Provide option for automatically calling numpy install script, rather than immediately fail. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ VERSION = (PROJECT_DIR / "pytradfri" / "VERSION").read_text().strip()
GITHUB_URL = "https://github.com/home-assistant-libs/pytradfri"
DOWNLOAD_URL = f"{GITHUB_URL}/archive/{VERSION}.zip"
-EXTRAS_REQUIRE = {"... | Bump DTLSSocket to <I> in setup.py too. | py |
diff --git a/b2handle/__init__.py b/b2handle/__init__.py
index <HASH>..<HASH> 100644
--- a/b2handle/__init__.py
+++ b/b2handle/__init__.py
@@ -1,3 +1,11 @@
-#
-# The version as used in setup.py and docs/source/conf.py
+
__version__ = "1.0.3"
+
+# The version as used in setup.py and docs/source/conf.py.
+
+# IMPORTANT
... | Cleaned help(b2handle) output. (#<I>) The comments inside the init.py were interpreted as docstrings and got printed in the help(b2handle) output, so I moved them to below the code. Things like Author, Author Email, Long Description are still missing from the help(b2handle) output. | py |
diff --git a/trollimage/xrimage.py b/trollimage/xrimage.py
index <HASH>..<HASH> 100644
--- a/trollimage/xrimage.py
+++ b/trollimage/xrimage.py
@@ -855,7 +855,7 @@ class XRImage(object):
final_data = self.data.copy()
try:
- final_data.attrs['enhancement_history'] = self.data.attrs['enhance... | Fix python2 backwards compatibility issue | py |
diff --git a/cumulusci/cli/plan.py b/cumulusci/cli/plan.py
index <HASH>..<HASH> 100644
--- a/cumulusci/cli/plan.py
+++ b/cumulusci/cli/plan.py
@@ -9,6 +9,9 @@ from cumulusci.utils.yaml.cumulusci_yml import Plan
from .runtime import pass_runtime
+CliTable.PICTOGRAM_TRUE = "Yes"
+CliTable.PICTOGRAM_FALSE = "No"
+
... | Use Yes/No instead of checkmarks for boolean columns | py |
diff --git a/programs/thellier_gui.py b/programs/thellier_gui.py
index <HASH>..<HASH> 100755
--- a/programs/thellier_gui.py
+++ b/programs/thellier_gui.py
@@ -3897,7 +3897,7 @@ You can combine multiple measurement files into one measurement file using Pmag
":")
# magic_experiment_... | don’t try to delete specimen table column if it isn’t there | py |
diff --git a/python/segyio/tools.py b/python/segyio/tools.py
index <HASH>..<HASH> 100644
--- a/python/segyio/tools.py
+++ b/python/segyio/tools.py
@@ -2,7 +2,8 @@ import segyio
import numpy as np
import itertools as itr
-def dt(segyfile, fallback_dt=4):
+
+def dt(segyfile, fallback_dt=4000):
"""
Find a *d... | Change fallback dt to be <I> microseconds | py |
diff --git a/trump/orm.py b/trump/orm.py
index <HASH>..<HASH> 100644
--- a/trump/orm.py
+++ b/trump/orm.py
@@ -320,7 +320,7 @@ class SymbolManager(object):
qry = "CREATE VIEW {} AS {};".format(tag, qry)
- self.ses.execute("DROP VIEW {};".format(tag))
+ self.ses.execute("DROP VIEW ... | fix view drop w/ IF EXISTS | py |
diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -523,6 +523,17 @@ def saltversion():
from salt import __version__
return {'saltversion': __version__}
+def shell():
+ '''
+ Return the default shell to use on this ... | Add a grain to provide the shell I'm not sure how this would end up working on Windows. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.