diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/flask_jwt_extended/config.py b/flask_jwt_extended/config.py index <HASH>..<HASH> 100644 --- a/flask_jwt_extended/config.py +++ b/flask_jwt_extended/config.py @@ -3,7 +3,18 @@ from warnings import warn import simplekv from flask import current_app -from jwt.algorithms import requires_cryptography + +# O...
Fix requires_cryptography exception on older pyjwt versions (hopefully) This should fix import errors when trying to use requires_cryptography on older versions of pyjwt. Refs #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,9 @@ setup( long_description=README, author="CobraTeam", author_email="andrewsmedina@gmail.com", + license="BSD", classifiers=[ + "License :: OSI Approved :: BSD License", "Prog...
Add license declaration in setup.py (#<I>)
py
diff --git a/winshell.py b/winshell.py index <HASH>..<HASH> 100644 --- a/winshell.py +++ b/winshell.py @@ -459,7 +459,7 @@ class Shortcut(WinshellObject): show_states = { "normal" : win32con.SW_SHOWNORMAL, "max" : win32con.SW_SHOWMAXIMIZED, - "min" : win32con.SW_SHOWMINIMIZED + "min...
Apparently shortcuts use SW_SHOWMINNOACTIVE to signal minimized windows, not SW_SHOWMINIMIZED as expected
py
diff --git a/pvlib/irradiance.py b/pvlib/irradiance.py index <HASH>..<HASH> 100644 --- a/pvlib/irradiance.py +++ b/pvlib/irradiance.py @@ -411,7 +411,7 @@ def globalinplane(AOI, DNI, In_Plane_SkyDiffuse, GR): AOI : float or Series Angle of incidence of solar rays with respect to the module su...
negative beam radiation is now set to zero
py
diff --git a/ttlser.py b/ttlser.py index <HASH>..<HASH> 100644 --- a/ttlser.py +++ b/ttlser.py @@ -309,7 +309,11 @@ class CustomTurtleSerializer(TurtleSerializer): firstTime = True for header, subjects_list in zip(self.SECTIONS, sections_list): - if subjects_list: + if header =...
ttlser removed the serialization time from the footer, fixed issue where Axioms that were all bnodes would trigger inclusion of the axioms header and then be empyt
py
diff --git a/Exscript/protocols/ssh2.py b/Exscript/protocols/ssh2.py index <HASH>..<HASH> 100644 --- a/Exscript/protocols/ssh2.py +++ b/Exscript/protocols/ssh2.py @@ -199,7 +199,7 @@ class SSH2(Protocol): continue for regex in self.get_password_prompt(): - matc...
fix: broken password login for ssh
py
diff --git a/pmdarima/arima/_auto_solvers.py b/pmdarima/arima/_auto_solvers.py index <HASH>..<HASH> 100644 --- a/pmdarima/arima/_auto_solvers.py +++ b/pmdarima/arima/_auto_solvers.py @@ -57,7 +57,7 @@ class _StepwiseFitWrapper(object): self.scoring_args = scoring_args self.information_criterion = info...
One more to make @aaronreidsmith happy!
py
diff --git a/python/mxnet/metric.py b/python/mxnet/metric.py index <HASH>..<HASH> 100644 --- a/python/mxnet/metric.py +++ b/python/mxnet/metric.py @@ -854,10 +854,14 @@ class RMSE(EvalMetric): class CrossEntropy(EvalMetric): """Computes Cross Entropy loss. - The cross entropy is given by + The cross entro...
Clarify definition of cross-entropy metric in the documentation (clean up PR #<I>) (#<I>) * [R] switch order of LRN and pooling layer Original paper (section <I>) performs local response normalization of relu. * clearify definition of cross entropy * fix small type * fixed lint, trailing wspace
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,10 @@ ext_modules = [ setup (name = 'phoebe', version = '2.0.0', description = 'PHOEBE 2.0.0', + author = 'PHOEBE development team', + author_email = 'phoebe_devel@lists.sourceforge.net',...
update metadata in setup.py for <I> release
py
diff --git a/gwpy/plotter/core.py b/gwpy/plotter/core.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/core.py +++ b/gwpy/plotter/core.py @@ -23,6 +23,7 @@ import numpy from matplotlib import (backends, figure, pyplot, colors as mcolors, _pylab_helpers) +from matplotlib.backend_bases import...
plotter.Plot: build manager manually if needed fixes #<I> by creating a figure manager manually if the `new_figure_manager_given_figure` method isn't present in the `backend_mod`.
py
diff --git a/allennlp/common/file_utils.py b/allennlp/common/file_utils.py index <HASH>..<HASH> 100644 --- a/allennlp/common/file_utils.py +++ b/allennlp/common/file_utils.py @@ -40,7 +40,6 @@ DATASET_CACHE = CACHE_DIRECTORY # Warn if the user is still using the deprecated cache directory. if os.path.exists(DEPRECA...
Fix logger being created twice (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -39,5 +39,5 @@ setup(name='TwitterSearch', install_requires=requirements(), zip_safe=False, test_suite='nose.collector', - tests_require=['nose>=1.0.0', 'httpretty>=0.6.3'] + tests_require=['nose...
avoid httpretty <I> for testing with py<I>
py
diff --git a/commands.py b/commands.py index <HASH>..<HASH> 100755 --- a/commands.py +++ b/commands.py @@ -4,7 +4,9 @@ import os import re import shutil import sys +import unittest +from coverage import Coverage if 'runcommands' not in sys.path: sys.path.insert(0, os.path.abspath('.')) @@ -75,9 +77,30 @@ d...
Flesh out test command - Add support for running specific tests - Add --fail-fast flag - Run coverage by default - Add --(no-)with-coverage flag so coverage can be disabled - Add --(no-)with-lint flag so linting can be disabled
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__ = "2.2.0.dev10" +__version__ = "2.2.0.dev11" __summary__ = "Industrial-strength Natural Language Processing (NLP) in Python" __uri__ = "https...
Set version to <I>.de<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: setup( name='eventsourcing', - version='1.1.1', + version='1.2.0', description='Event sourcing in Python', author='John Bywater', author_email='john.bywater@appropr...
Increased minor version number to reflect relatively large number of changes (mostly refactoring, but a lot of moving things around).
py
diff --git a/ib_insync/client.py b/ib_insync/client.py index <HASH>..<HASH> 100644 --- a/ib_insync/client.py +++ b/ib_insync/client.py @@ -121,6 +121,7 @@ class Client: self._apiReady = False self._serverVersion = None self._data = b'' + self._hasReqId = False self._reqIdSeq =...
Fix initial reqId, taking into account open orders being sent earlier
py
diff --git a/asammdf/gui/widgets/mdi_area.py b/asammdf/gui/widgets/mdi_area.py index <HASH>..<HASH> 100644 --- a/asammdf/gui/widgets/mdi_area.py +++ b/asammdf/gui/widgets/mdi_area.py @@ -1827,8 +1827,6 @@ class WithMDIArea: ) numeric.add_new_channels(signals) - numeric.format = fm...
fix loading numeric window from display file
py
diff --git a/permissions/registry.py b/permissions/registry.py index <HASH>..<HASH> 100644 --- a/permissions/registry.py +++ b/permissions/registry.py @@ -122,7 +122,8 @@ class PermissionsRegistry: # exception object. request.permission_name = perm_name rai...
Fix another typo (missing words in exc str)
py
diff --git a/xblock/problem.py b/xblock/problem.py index <HASH>..<HASH> 100644 --- a/xblock/problem.py +++ b/xblock/problem.py @@ -124,10 +124,12 @@ class TextInputBlock(InputBlock): return result def submit(self, submission): + self.student_input = submission[0]['value'] if self.input_t...
Don't throw a <I> if the field isn't int-able.
py
diff --git a/sacred/observers/mongo.py b/sacred/observers/mongo.py index <HASH>..<HASH> 100644 --- a/sacred/observers/mongo.py +++ b/sacred/observers/mongo.py @@ -136,7 +136,7 @@ class MongoObserver(RunObserver): self.run_entry['info'] = flatten(info) self.run_entry['captured_out'] = captured_out ...
also serialize intermediate results saved in heartbeat event
py
diff --git a/salt/client/mixins.py b/salt/client/mixins.py index <HASH>..<HASH> 100644 --- a/salt/client/mixins.py +++ b/salt/client/mixins.py @@ -218,8 +218,15 @@ class SyncClientMixin(object): # from that since the caller knows what is an arg vs a kwarg, but # while we make the transition we...
Backwards compatibility with args as well. With format_call you can pass in positional args as kwargs with the key being the name of the variable in the function call.
py
diff --git a/bblfsh/test.py b/bblfsh/test.py index <HASH>..<HASH> 100644 --- a/bblfsh/test.py +++ b/bblfsh/test.py @@ -99,13 +99,13 @@ class BblfshTests(unittest.TestCase): self.assertRaises(RuntimeError, ctx.filter, "dsdfkj32423#$@#$") - # FIXME: doesnt work? - def testFilterToken(self): - ct...
Commented out the node afected by SDK issue <I>
py
diff --git a/tests/plugins/test_orchestrate_build.py b/tests/plugins/test_orchestrate_build.py index <HASH>..<HASH> 100644 --- a/tests/plugins/test_orchestrate_build.py +++ b/tests/plugins/test_orchestrate_build.py @@ -1007,9 +1007,6 @@ def test_orchestrate_build_failed_to_list_builds(tmpdir, fail_at): if fail_at ...
Remove dead code with an undefined variable
py
diff --git a/src/setuptools_scm/config.py b/src/setuptools_scm/config.py index <HASH>..<HASH> 100644 --- a/src/setuptools_scm/config.py +++ b/src/setuptools_scm/config.py @@ -205,7 +205,7 @@ class Configuration: # minimal effort to read dist_name off setup.cfg metadata import configparser - ...
fixup: use ConfigParser as indicated by the deprecation
py
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -142,9 +142,17 @@ class Viaplay(Service, OpenGraphThumbMixin): self.options.output = title if data...
viaplay: check if its vtt or sami
py
diff --git a/src/ww/t.py b/src/ww/t.py index <HASH>..<HASH> 100755 --- a/src/ww/t.py +++ b/src/ww/t.py @@ -41,13 +41,18 @@ class t(tuple): Returns: a d that stems from self Raises: - ValueError: dictionary update sequence element #index has length len(tuple); 2 is required + Va...
correction t.py with flake8
py
diff --git a/test_cipher.py b/test_cipher.py index <HASH>..<HASH> 100644 --- a/test_cipher.py +++ b/test_cipher.py @@ -52,14 +52,14 @@ def test_internal(): def test_speed(): cipher = Cipher('0123456789abcdef', mode='ecb') - start_time = time.clock() + start_time = time.time() txt = '0123456789abcdef' for i in ...
Cherry pick timing from 5c9d<I>e.
py
diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/ec2.py +++ b/salt/cloud/clouds/ec2.py @@ -97,6 +97,7 @@ import decimal # Import Salt Libs import salt.utils.cloud +import salt.utils.compat import salt.utils.files import salt.utils.hashutils impo...
Fix Python 3 incompatibility in EC2 salt-cloud driver
py
diff --git a/lark/parse_tree_builder.py b/lark/parse_tree_builder.py index <HASH>..<HASH> 100644 --- a/lark/parse_tree_builder.py +++ b/lark/parse_tree_builder.py @@ -27,7 +27,7 @@ class PropagatePositions: def __call__(self, children): res = self.node_builder(children) - if children: + if...
Bug in PropagatePositions when supplying a reducing transformer
py
diff --git a/spinoff/contrib/filetransfer/filetransfer.py b/spinoff/contrib/filetransfer/filetransfer.py index <HASH>..<HASH> 100644 --- a/spinoff/contrib/filetransfer/filetransfer.py +++ b/spinoff/contrib/filetransfer/filetransfer.py @@ -224,7 +224,7 @@ class FileRef(object): # raise NotImplementedError ...
Changed FileRef.__repr__ to resemble that of real files
py
diff --git a/websocket/_http.py b/websocket/_http.py index <HASH>..<HASH> 100644 --- a/websocket/_http.py +++ b/websocket/_http.py @@ -126,6 +126,12 @@ def _wrap_sni_socket(sock, sslopt, hostname, check_hostname): context = ssl.SSLContext(sslopt.get('ssl_version', ssl.PROTOCOL_SSLv23)) context.load_verify_l...
Fix issue #<I>, Client certificates do not work with <I>+ and <I>+ (<URL>) By observing the certfile argument, we can load the cert chain using the certfile, keyfile and password sslopt values. A more complete fix might allow us to pass in the SSLContext (rather than creating it on each connection), which would allow t...
py
diff --git a/pystache/parser.py b/pystache/parser.py index <HASH>..<HASH> 100644 --- a/pystache/parser.py +++ b/pystache/parser.py @@ -113,8 +113,9 @@ class Parser(object): match_index = match.start() end_index = match.end() - # Add string contents before the tag. - par...
Avoid adding spurious empty strings to the parse tree.
py
diff --git a/spyderlib/plugins/__init__.py b/spyderlib/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/__init__.py +++ b/spyderlib/plugins/__init__.py @@ -198,9 +198,9 @@ class SpyderPluginMixin(object): visible = self.dockwidget.isVisible() or self.ismaximized if self.DISABLE...
Focus was not given to the right plugin when switching between them - The problem was that refresh_plugin was called twice while switching: once by the plugin that received focus and once by the one that lost it. - Now it's just called by the focused plugin.
py
diff --git a/gridData/core.py b/gridData/core.py index <HASH>..<HASH> 100644 --- a/gridData/core.py +++ b/gridData/core.py @@ -401,4 +401,8 @@ class Grid(object): return Grid(numpy.power(_grid(other), self.grid), edges=self.edges) def __repr__(self): - return '<Grid with '+str(self.grid.shape)+' ...
FIXED: show representation of empty Grod without raising AttributeError
py
diff --git a/stripe/api_requestor.py b/stripe/api_requestor.py index <HASH>..<HASH> 100644 --- a/stripe/api_requestor.py +++ b/stripe/api_requestor.py @@ -234,6 +234,16 @@ class APIRequestor(object): return resp def _check_ssl_cert(self): + """Preflight the SSL certificate presented by the backen...
Document our approach to SSL preflighting
py
diff --git a/src/docky_control/2.1/hamster_control.py b/src/docky_control/2.1/hamster_control.py index <HASH>..<HASH> 100755 --- a/src/docky_control/2.1/hamster_control.py +++ b/src/docky_control/2.1/hamster_control.py @@ -26,10 +26,14 @@ import sys, os from subprocess import Popen -import gtk -from dockmanager.do...
updated plugin to match the recent changes (looks like the interface name has changed)
py
diff --git a/suspect/viz/__init__.py b/suspect/viz/__init__.py index <HASH>..<HASH> 100644 --- a/suspect/viz/__init__.py +++ b/suspect/viz/__init__.py @@ -1,3 +1,3 @@ -import plot_signals +from . import plot_signals
changed import to be compatible with Python 3
py
diff --git a/python/weka/core/classes.py b/python/weka/core/classes.py index <HASH>..<HASH> 100644 --- a/python/weka/core/classes.py +++ b/python/weka/core/classes.py @@ -895,13 +895,16 @@ class JavaObject(JSONObject): suggestions = suggest_package(classname, exact=True) if len(suggestions) > ...
new_instance now only installs missing package automatically if there is exactly one suggestion
py
diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py b/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py index <HASH>..<HASH> 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py +++ b/gremlin-python/src/mai...
[driver_remote] Encode Bytecode as a dict, not a string
py
diff --git a/tests/aggregate_tests.py b/tests/aggregate_tests.py index <HASH>..<HASH> 100755 --- a/tests/aggregate_tests.py +++ b/tests/aggregate_tests.py @@ -14,7 +14,7 @@ August 2013. Modified previous behavior that explicitly imported individual unit tests. -Zane Fisher - + <Copyright> See LICENSE for ...
Remove import statement for simple_settings
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,10 @@ setup( 'aikif >= 0.1.3', 'rawdata >= 0.0.6' ], + include_package_data = True, + package_data = { + 'vais': ['data/*.*'], + }, license='LICENSE.txt', descr...
include data files in setup.py
py
diff --git a/tools/docker/phd_base_java/tests/java_test.py b/tools/docker/phd_base_java/tests/java_test.py index <HASH>..<HASH> 100644 --- a/tools/docker/phd_base_java/tests/java_test.py +++ b/tools/docker/phd_base_java/tests/java_test.py @@ -8,7 +8,7 @@ FLAGS = test.FLAGS def test_javac_help(): """Test that java...
Fix javac usage in test. Signed-off-by: format <I> <github.com/ChrisCummins/format>
py
diff --git a/iota/adapter/__init__.py b/iota/adapter/__init__.py index <HASH>..<HASH> 100644 --- a/iota/adapter/__init__.py +++ b/iota/adapter/__init__.py @@ -280,6 +280,7 @@ class HttpAdapter(BaseAdapter): # type: (Union[Text, SplitResult], Optional[int]) -> None super(HttpAdapter, self).__init__() ...
Add connection pooling to HttpAdapter - AsyncClient instance attribute in HttpAdapter class - Client will keep and reuse connections to the same host
py
diff --git a/ratelimitbackend/admin.py b/ratelimitbackend/admin.py index <HASH>..<HASH> 100644 --- a/ratelimitbackend/admin.py +++ b/ratelimitbackend/admin.py @@ -16,8 +16,10 @@ class RateLimitAdminSite(AdminSite): context = { 'title': _('Log in'), 'app_path': request.get_full_path(),...
Avoid nuking REDIRECT_FIELD_NAME Taking a lead from <URL> if the field does not already have a value.
py
diff --git a/python/src/mapreduce/property_range.py b/python/src/mapreduce/property_range.py index <HASH>..<HASH> 100644 --- a/python/src/mapreduce/property_range.py +++ b/python/src/mapreduce/property_range.py @@ -232,6 +232,8 @@ class PropertyRange(object): def from_json(cls, json): return cls(json["filters"]...
Add a _repr__ so we know what each shard does on the mapreduce dashboard.
py
diff --git a/blox/base.py b/blox/base.py index <HASH>..<HASH> 100644 --- a/blox/base.py +++ b/blox/base.py @@ -24,6 +24,7 @@ import re from itertools import chain from connectable import Connectable +from connectable.base import CombineSignals from blox.attributes import (AbstractAttribute, Attribute, RenderedDire...
Use CombineSignals as base metaclass
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,8 +15,7 @@ # import os import sys -sys.path.insert(0, os.path.join(os.path.abspath('..'), 'twilio')) -sys.path.append('..') +sys.path.insert(0, os.path.abspath('..')) from twilio import __version__
Prepend the repo root to the system paths during doc generation (#<I>)
py
diff --git a/pages/templatetags/pages_tags.py b/pages/templatetags/pages_tags.py index <HASH>..<HASH> 100644 --- a/pages/templatetags/pages_tags.py +++ b/pages/templatetags/pages_tags.py @@ -239,6 +239,7 @@ def pages_dynamic_tree_menu(context, page, url='/'): """ lang = context.get('lang', pages_settings.PAGE...
It doesn't hurt to have it anyway, so I revert "Remove unecessary request object from the template tags context." This reverts commit 8b<I>a<I>c2db<I>c5a1b<I>c3fa<I>a.
py
diff --git a/pyaxiom/__init__.py b/pyaxiom/__init__.py index <HASH>..<HASH> 100644 --- a/pyaxiom/__init__.py +++ b/pyaxiom/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.0.7" +__version__ = "0.0.8-dev" # Package level logger import logging
Bump to <I>-dev
py
diff --git a/geopy/geocoders/osm.py b/geopy/geocoders/osm.py index <HASH>..<HASH> 100644 --- a/geopy/geocoders/osm.py +++ b/geopy/geocoders/osm.py @@ -37,7 +37,7 @@ class Nominatim(Geocoder): def __init__( self, format_string=DEFAULT_FORMAT_STRING, - view_box=(-180, -90, 180, 9...
Potential fix for misused viewbox #<I> Changing view_box default to None
py
diff --git a/nose/test_evolveddiskdf.py b/nose/test_evolveddiskdf.py index <HASH>..<HASH> 100644 --- a/nose/test_evolveddiskdf.py +++ b/nose/test_evolveddiskdf.py @@ -353,3 +353,15 @@ def test_axi_meanvt_grid_tlist_onet(): _maxi_meanvt= mvt return None +def test_axi_meanvt_direct_tlis...
test that direct vmomentsurfacemass does not work
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -276,19 +276,16 @@ def main(): logger.setLevel(logging.ERROR) #------------------------------------------------------ - import magic logging.debug("Chec...
I am ditching python magic module as it seems to not have a stable enough API, which is generating confusion among users (unnecessarily confusing to install the correct dependencies) and also with the Travis setup. Detecting file extension seems good enough for our purposes here.
py
diff --git a/redis/connection.py b/redis/connection.py index <HASH>..<HASH> 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -276,9 +276,7 @@ class PythonParser(BaseParser): def on_disconnect(self): "Called when the socket disconnects" - if self._sock is not None: - self._...
Make PythonParser's on_disconnect consistent with Hiredisparser and Connection — do not close socket on disconnect. Resolves #<I>
py
diff --git a/nfc/ndef/text_record.py b/nfc/ndef/text_record.py index <HASH>..<HASH> 100644 --- a/nfc/ndef/text_record.py +++ b/nfc/ndef/text_record.py @@ -47,16 +47,17 @@ class TextRecord(Record): >>> nfc.ndef.TextRecord("English UTF-16", encoding="UTF-16") """ - def __init__(self, text='', language=...
use None as default value for TextRecord() text argument, renders better in documentation
py
diff --git a/james.py b/james.py index <HASH>..<HASH> 100755 --- a/james.py +++ b/james.py @@ -117,7 +117,7 @@ def username(): def extract_bugs(changelog): """Takes output from git log --oneline and extracts bug numbers""" - bug_regexp = re.compile(r'\[bug (\d+)\]') + bug_regexp = re.compile(r'\bbug (\d+)...
Apply pmac's excellent suggestions
py
diff --git a/caravel/views.py b/caravel/views.py index <HASH>..<HASH> 100755 --- a/caravel/views.py +++ b/caravel/views.py @@ -521,6 +521,7 @@ class DatabaseView(CaravelModelView, DeleteMixin): # noqa } def pre_add(self, db): + db.set_sqlalchemy_uri(db.sqlalchemy_uri) utils.merge_perm(sm, '...
when adding a new database use Database.set_sqlalchemy_uri so that the password is stored encrypted. (#<I>) This fixes a regression I introduced with PR #<I>
py
diff --git a/yandextank/plugins/JMeter/plugin.py b/yandextank/plugins/JMeter/plugin.py index <HASH>..<HASH> 100644 --- a/yandextank/plugins/JMeter/plugin.py +++ b/yandextank/plugins/JMeter/plugin.py @@ -24,7 +24,7 @@ class Plugin(GeneratorPlugin): SECTION = 'jmeter' SHUTDOWN_TEST = 'Shutdown' STOP_TEST_N...
__discover_jmeter_udp_port fix process_stderr file is searched for port number pattern for searching is unified to be acceptable for both <I> and <I> jmeter versions
py
diff --git a/vgit/repo.py b/vgit/repo.py index <HASH>..<HASH> 100644 --- a/vgit/repo.py +++ b/vgit/repo.py @@ -127,7 +127,7 @@ class GitStashes(GitSheet): # rowdef: (commit_hash, refnames, author, author_date, body, notes) -class GitLogSheet(GitContext, DeferredSaveSheet): +class GitLogSheet(GitSheet, DeferredSave...
[vgit] GitLogSheet needs to inherit from GitSheet (diamond inheritance tho)
py
diff --git a/cobe/scoring.py b/cobe/scoring.py index <HASH>..<HASH> 100644 --- a/cobe/scoring.py +++ b/cobe/scoring.py @@ -4,8 +4,11 @@ import math class Scorer: + def __init__(self): + self.cache = {} + def end(self, reply): - pass + self.cache = {} def normalize(self, score): ...
Give all Scorer objects a cache object tied to the reply life cycle
py
diff --git a/graphql_jwt/refresh_token/models.py b/graphql_jwt/refresh_token/models.py index <HASH>..<HASH> 100644 --- a/graphql_jwt/refresh_token/models.py +++ b/graphql_jwt/refresh_token/models.py @@ -20,7 +20,7 @@ class AbstractRefreshToken(models.Model): user = models.ForeignKey( settings.AUTH_USER_MO...
Renamed RefreshToken.user related_name to refresh_tokens
py
diff --git a/hydra_base/lib/project.py b/hydra_base/lib/project.py index <HASH>..<HASH> 100644 --- a/hydra_base/lib/project.py +++ b/hydra_base/lib/project.py @@ -260,6 +260,9 @@ def get_projects(uid,**kwargs): Network.status=='A', or_(Ne...
Check read permission on each project's network in get_projects
py
diff --git a/treeherder/webapp/api/refdata.py b/treeherder/webapp/api/refdata.py index <HASH>..<HASH> 100644 --- a/treeherder/webapp/api/refdata.py +++ b/treeherder/webapp/api/refdata.py @@ -3,7 +3,6 @@ from rest_framework import viewsets from rest_framework.response import Response from treeherder.model import mod...
Bug <I> - Remove max_job_id return value from repository detail endpoint (#<I>)
py
diff --git a/pgmpy/models/BayesianModel.py b/pgmpy/models/BayesianModel.py index <HASH>..<HASH> 100644 --- a/pgmpy/models/BayesianModel.py +++ b/pgmpy/models/BayesianModel.py @@ -1096,7 +1096,7 @@ class BayesianModel(nx.DiGraph): if not nx.ancestors(self, node): state_counts = data.ix[:, n...
corrected fit method [ref #<I>]
py
diff --git a/src/pymp4/parser.py b/src/pymp4/parser.py index <HASH>..<HASH> 100644 --- a/src/pymp4/parser.py +++ b/src/pymp4/parser.py @@ -680,10 +680,6 @@ SampleEncryptionBox = Struct( )) ) -ProtectionSchemeInfoBox = Struct( - "type" / Const(b"sinf"), -) - OriginalFormatBox = Struct( "type" / Const(b"...
Updated sinf and schi boxes to be lazy
py
diff --git a/angr/analyses/static_hooker.py b/angr/analyses/static_hooker.py index <HASH>..<HASH> 100644 --- a/angr/analyses/static_hooker.py +++ b/angr/analyses/static_hooker.py @@ -26,7 +26,7 @@ class StaticHooker(Analysis): if binary is None: binary = self.project.loader.main_object - ...
Make statichooker use the not-private interface to "all symbols"
py
diff --git a/proso/release.py b/proso/release.py index <HASH>..<HASH> 100644 --- a/proso/release.py +++ b/proso/release.py @@ -1 +1 @@ -VERSION = '1.0.0-SNAPSHOT' +VERSION = '1.0.0-m3'
release a new version <I>-m3
py
diff --git a/src/ossos-pipeline/scripts/summary_plot.py b/src/ossos-pipeline/scripts/summary_plot.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/scripts/summary_plot.py +++ b/src/ossos-pipeline/scripts/summary_plot.py @@ -7,7 +7,7 @@ import numpy import ephem import math -import figures +from ossos import ...
corrected import statement to reflect where modules are kept.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ LICENSE = "new BSD" CLASSIFIERS = [ "Development Status :: 3 - Alpha", "License :: OSI Approved", - "Programming Language :: C", + "Programming Language :: Cython", "Programming Language ::...
MAINT replaced C classifier for Cython
py
diff --git a/cwltool/singularity.py b/cwltool/singularity.py index <HASH>..<HASH> 100644 --- a/cwltool/singularity.py +++ b/cwltool/singularity.py @@ -50,6 +50,7 @@ def _singularity_supports_userns() -> bool: _USERNS = ( "No valid /bin/sh" in result or "/bin/sh doesn't exi...
Fixed singularity user namespace feature detection (#<I>)
py
diff --git a/pyrogram/client/methods/messages/send_poll.py b/pyrogram/client/methods/messages/send_poll.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/methods/messages/send_poll.py +++ b/pyrogram/client/methods/messages/send_poll.py @@ -123,7 +123,7 @@ class SendPoll(BaseClient): for i in r.updates: ...
Add missing await (#<I>) await client.send_poll(...) was returning a coroutine instead of the Message object
py
diff --git a/raiden/transfer/channel.py b/raiden/transfer/channel.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/channel.py +++ b/raiden/transfer/channel.py @@ -1767,20 +1767,12 @@ def apply_channel_newbalance( deposit_transaction: TransactionChannelNewBalance, ) -> None: participant_address = depo...
function update_contract_balance was not being used because there are a few tests for update_contract_balance, instead of removing it the code to handle the contract new balance was updated
py
diff --git a/allennlp/training/metrics/auc.py b/allennlp/training/metrics/auc.py index <HASH>..<HASH> 100644 --- a/allennlp/training/metrics/auc.py +++ b/allennlp/training/metrics/auc.py @@ -52,7 +52,7 @@ class Auc(Metric): raise ConfigurationError("AUC can be used for binary tasks only. gold_labels has {}...
Update auc.py (#<I>) * Update auc.py To allow, in some case, there is no positive or negative sample in a batch. * Update auc.py * Update auc.py Not sure should it be more efficient leaving `torch.unique` at line #<I> there or not.
py
diff --git a/f90nml.py b/f90nml.py index <HASH>..<HASH> 100644 --- a/f90nml.py +++ b/f90nml.py @@ -55,6 +55,11 @@ def read(nml_fname): if v_name: + # Pass commas + if t == ',': + prior_t = t + t = next(tokens) + #--- ...
Final element parsed; final comma bug; needs refactoring
py
diff --git a/scripts/experiments/remote.py b/scripts/experiments/remote.py index <HASH>..<HASH> 100644 --- a/scripts/experiments/remote.py +++ b/scripts/experiments/remote.py @@ -9,8 +9,8 @@ def remote_command(argv): #prep_project_mvn("erma", "install", True) prep_project_mvn("optimize", "install", True) ...
Switching to pacaya2 remotely.
py
diff --git a/yowsup/axolotl/store/sqlite/litesenderkeystore.py b/yowsup/axolotl/store/sqlite/litesenderkeystore.py index <HASH>..<HASH> 100644 --- a/yowsup/axolotl/store/sqlite/litesenderkeystore.py +++ b/yowsup/axolotl/store/sqlite/litesenderkeystore.py @@ -19,7 +19,7 @@ class LiteSenderKeyStore(SenderKeyStore): ...
[fix] fix possible unique contraint violation which might trigger during group message encrypt Fixes #<I> sqlite3.DatabaseError: UNIQUE constraint failed
py
diff --git a/dvc/repo/__init__.py b/dvc/repo/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/repo/__init__.py +++ b/dvc/repo/__init__.py @@ -516,3 +516,4 @@ class Repo(object): self.__dict__.pop("graph", None) self.__dict__.pop("stages", None) self.__dict__.pop("pipelines", None) + s...
dvc: reset dvcignore This depends on filesystem and affects stages collection so must be reset.
py
diff --git a/jsonrpcclient/rpc.py b/jsonrpcclient/rpc.py index <HASH>..<HASH> 100644 --- a/jsonrpcclient/rpc.py +++ b/jsonrpcclient/rpc.py @@ -21,12 +21,15 @@ def request(method, *args, **kwargs): rpc.request('find', name='Beau', age=38, response=True) """ - # Get the request id, if present in kwargs...
rpc.py: Put the functionality back, so you explicitly say response=True
py
diff --git a/subliminal/video.py b/subliminal/video.py index <HASH>..<HASH> 100644 --- a/subliminal/video.py +++ b/subliminal/video.py @@ -184,10 +184,13 @@ def scan_video(path, subtitles=True, embedded_subtitles=True): logger.info('Scanning video %r in %r', filename, dirpath) video = Video.fromguess(path, gu...
Fix hashes computation for small files
py
diff --git a/openquake/engine/tests/__init__.py b/openquake/engine/tests/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/engine/tests/__init__.py +++ b/openquake/engine/tests/__init__.py @@ -19,5 +19,10 @@ # enabling logging for the tests; to see it, use nosetest --nologcapture import logging +from openquak...
The engine must be independent from the server
py
diff --git a/tests/Permissions.py b/tests/Permissions.py index <HASH>..<HASH> 100644 --- a/tests/Permissions.py +++ b/tests/Permissions.py @@ -29,13 +29,13 @@ class Permissions(Framework.TestCase): self.userRepo = self.g.get_repo("PyGithub/PyGithub") def testUserRepoPermissionAttributes(self): - ...
Tighten asserts for new Permission tests (#<I>) The recently merged code checking attributes on Permissions overeagerly used assertEqual for everything, switch to the more appropriate methods.
py
diff --git a/insteonplm/messages/message.py b/insteonplm/messages/message.py index <HASH>..<HASH> 100644 --- a/insteonplm/messages/message.py +++ b/insteonplm/messages/message.py @@ -40,7 +40,7 @@ class Message(object): while len(rawmessage) > 0 and rawmessage[0] != MESSAGE_START_CODE_0X02: raw...
Removed improper reference to self.log in create method.
py
diff --git a/coursera/commandline.py b/coursera/commandline.py index <HASH>..<HASH> 100644 --- a/coursera/commandline.py +++ b/coursera/commandline.py @@ -57,7 +57,7 @@ def parse_args(args=None): dest='username', action='store', d...
Mention that username is email address in command-line options fix #<I>
py
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index <HASH>..<HASH> 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -487,7 +487,9 @@ class HDFStore(object): raise KeyError('No object named %s in the file' % key) if not _is_table_type(group): raise Excepti...
BUG: versioning issue bug!
py
diff --git a/pydeconz/utils.py b/pydeconz/utils.py index <HASH>..<HASH> 100644 --- a/pydeconz/utils.py +++ b/pydeconz/utils.py @@ -63,7 +63,7 @@ def request(session, url, **kwargs): _LOGGER.error("Timeout getting DeConz data from %s.", url) return False except aiohttp.ClientError: - _LOGGE...
Proper behavior when trying to do web request to Deconz but server not available
py
diff --git a/tmdeploy/version.py b/tmdeploy/version.py index <HASH>..<HASH> 100644 --- a/tmdeploy/version.py +++ b/tmdeploy/version.py @@ -13,4 +13,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -__version__ = '0.3.3rc...
Increase version to <I> for release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,10 @@ import uuid from setuptools import setup, find_packages -from pip.req import parse_requirements +try: + from pip.req import parse_requirements +except: + from pip._internal.req import parse_requirements...
Adding support for pip>=<I>b2 version.
py
diff --git a/spyderlib/widgets/browser.py b/spyderlib/widgets/browser.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/browser.py +++ b/spyderlib/widgets/browser.py @@ -116,13 +116,12 @@ class WebBrowser(QWidget): hlayout = QHBoxLayout() for widget in (previous_button, next_button, home_button,...
Web browser widget: moved progress bar from bottom to top right
py
diff --git a/performance/benchmarks/bm_deltablue.py b/performance/benchmarks/bm_deltablue.py index <HASH>..<HASH> 100644 --- a/performance/benchmarks/bm_deltablue.py +++ b/performance/benchmarks/bm_deltablue.py @@ -81,7 +81,7 @@ class Strength(object): # This is a terrible pattern IMO, but true to the original JS im...
bm_deltablue: fix typo Spotted by Andres Amaya Garcia.
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -87,7 +87,7 @@ class TestPycaMain(unittest.TestCase): sys.argv = ['pyca', 'run'] try: __main__.main() - except: + except Exception: ...
Flake8 fix New versions of Flake8 complain about bare exceptions…
py
diff --git a/gflex/base.py b/gflex/base.py index <HASH>..<HASH> 100644 --- a/gflex/base.py +++ b/gflex/base.py @@ -572,10 +572,10 @@ class Flexure(Utility, Plotting): self.Quiet = self.configGet("bool", "verbosity", "Quiet", optional=False) except: pass - # Quiet overrides all others - ...
self.Quiet outside of config. file if-statement
py
diff --git a/pex/third_party/__init__.py b/pex/third_party/__init__.py index <HASH>..<HASH> 100644 --- a/pex/third_party/__init__.py +++ b/pex/third_party/__init__.py @@ -11,6 +11,7 @@ import shutil import sys import zipfile from collections import OrderedDict, namedtuple +from contextlib import closing # NB: A...
Fix resource leak in Pex self-isolation. (#<I>) Fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup(name="robot-detection", version="0.0.1", author="Rory McCann", author_email="rory@technomancy.org", - packages=['robot_detection'], + py_modules=['robot_detection'], )
correct setup.py file for single file module
py
diff --git a/modularodm/__init__.py b/modularodm/__init__.py index <HASH>..<HASH> 100644 --- a/modularodm/__init__.py +++ b/modularodm/__init__.py @@ -1,2 +1 @@ -from SchemaObject import * from StoredObject import * \ No newline at end of file
refactored SchemaObject -> StoredObject
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup(name='pidantic', keywords="OOI PID process fork supervisord ION", long_description="""Some other time""", license="Apache2", - install_requires=['supervisor', 'sqlalchemy==0.7.6',...
Only specify which point release of sqlalchemy we should require. sub point releases should all be fine
py
diff --git a/pyArango/collection.py b/pyArango/collection.py index <HASH>..<HASH> 100644 --- a/pyArango/collection.py +++ b/pyArango/collection.py @@ -292,7 +292,7 @@ class Collection(object) : def fetchFirstExample(self, exampleDict, rawResults = False) : """exampleDict should be something like {'age' : 28}. retu...
BUG FIX: forgot to example in fetchFirstExample
py
diff --git a/rdm/db/__init__.py b/rdm/db/__init__.py index <HASH>..<HASH> 100644 --- a/rdm/db/__init__.py +++ b/rdm/db/__init__.py @@ -1,3 +1,3 @@ -from .context import DBVendor, DBConnection, DBContext +from .context import DBVendor, DBConnection, DBContext, SQLiteDBConnection, CSVConnection from .converters import *...
Added import for SQLiteDBConnection and CSVConnection.
py
diff --git a/tests/test_s3_worker.py b/tests/test_s3_worker.py index <HASH>..<HASH> 100644 --- a/tests/test_s3_worker.py +++ b/tests/test_s3_worker.py @@ -55,7 +55,7 @@ def test_get_bucket_vs_certs(): def test_empty_latest_listing(): """Test listing a 'backup-list LATEST' on an empty prefix.""" - bucket_name...
Mangle bucket name in test_empty_latest_listing This would always use the same bucket name in S3, which means that only one person in the world (me) could run this test successfully. Everyone else would get a timeout. The bucket name mangler was introduced to solve this problem, but it was omitted here before.
py
diff --git a/safe_qgis/utilities/utilities.py b/safe_qgis/utilities/utilities.py index <HASH>..<HASH> 100644 --- a/safe_qgis/utilities/utilities.py +++ b/safe_qgis/utilities/utilities.py @@ -771,12 +771,14 @@ def map_qrc_to_file(match, res_copy_dir): res_path = os.path.join(res_copy_dir, res_alias) # ...
Fix map_qrc_to_file function.
py
diff --git a/pycbc/fft/backend_support.py b/pycbc/fft/backend_support.py index <HASH>..<HASH> 100644 --- a/pycbc/fft/backend_support.py +++ b/pycbc/fft/backend_support.py @@ -74,7 +74,10 @@ for scheme_name in ["cpu", "mkl", "cuda", "opencl"]: mod = __import__('pycbc.fft.backend_' + scheme_name, fromlist = ['_a...
Major rework to try and solve circular references
py
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index <HASH>..<HASH> 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -98,7 +98,7 @@ class _Zypper(object): # Call config self.__xml = False self.__no_lock = False - self.__no_raise = True + self.__n...
Bugfix: inverted logic on raising (or not) exceptions
py