diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
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 @@ -884,7 +884,6 @@ def test_other_mime_type(tmpdir): Hello world - --boundary Content-Type: application/pdf @@ -914,7 +913,7 @@ def test_other_mime_type(tm...
test passes in python 2
py
diff --git a/openstack_dashboard/api/neutron.py b/openstack_dashboard/api/neutron.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/api/neutron.py +++ b/openstack_dashboard/api/neutron.py @@ -283,7 +283,7 @@ class SecurityGroupManager(network_base.SecurityGroupManager): sg_ids = [] for p in por...
Ensure to return empty when no secgroup is associated to VM Change-Id: I6a<I>bc6d3d<I>e7cb<I>e<I>e<I>d<I>f2bfbfc5 Closes-Bug: #<I>
py
diff --git a/scripts/experiments/run_dp.py b/scripts/experiments/run_dp.py index <HASH>..<HASH> 100755 --- a/scripts/experiments/run_dp.py +++ b/scripts/experiments/run_dp.py @@ -78,7 +78,7 @@ class SrlExpParamsRunner(ExpParamsRunner): g.defaults += g.feat_mcdonald g.defaults += g.adagrad_comid ...
Increasing dependency parsing model to <I> million features.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ def run_setup(exts): url="http://github.com/syllog1sm/thinc", package_data={"thinc": ["*.pyx", "*.pxd", "*.pxi"]}, ext_modules=exts, - install_requires=["murmurhash", "cymem", "...
* Remove unnecessary dependency on numpy
py
diff --git a/rtsf/p_executer.py b/rtsf/p_executer.py index <HASH>..<HASH> 100644 --- a/rtsf/p_executer.py +++ b/rtsf/p_executer.py @@ -67,7 +67,7 @@ class TestSuite(unittest.TestSuite): def __init__(self, testset, test_runner): super(TestSuite, self).__init__() - test_runner.init_runne...
fix preference.py not found bug
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,6 @@ setup( author='Jannis Leidel', author_email='jannis@leidel.info', url='http://code.google.com/p/django-robots/', - download_url='http://github.com/jezdez/django-dbtemplates/zipball/0.5.4', p...
Remove download URL since Github doesn't get his act together. Damnit git-svn-id: <URL>
py
diff --git a/xmantissa/liveform.py b/xmantissa/liveform.py index <HASH>..<HASH> 100644 --- a/xmantissa/liveform.py +++ b/xmantissa/liveform.py @@ -149,7 +149,7 @@ class LiveForm(record('callable parameters description', dict(name=parameter.name, ...
Remove extraneous whitespace introduced in r<I>.
py
diff --git a/workshift/tests.py b/workshift/tests.py index <HASH>..<HASH> 100644 --- a/workshift/tests.py +++ b/workshift/tests.py @@ -2270,6 +2270,11 @@ class TestSemester(TestCase): def test_clear_semester(self): utils.clear_semester(self.s1) + self.assertEqual( + Semester.objects.al...
Check mid-clearing that we've only removed one semester
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,9 @@ setup( # Indicate who your project is intended for 'Intended Audience :: Developers', - 'Topic :: Software Development :: Build Tools', + 'Topic :: Scientific/Engineering :: Art...
Tweaked setup.py.
py
diff --git a/linkcheck/winutil.py b/linkcheck/winutil.py index <HASH>..<HASH> 100644 --- a/linkcheck/winutil.py +++ b/linkcheck/winutil.py @@ -84,7 +84,8 @@ def close_word_app (app): def open_wordfile (app, filename): """Open given Word file with application object.""" - return app.Documents.Open(filename) +...
Improve Word document opening: open read-only and invisble, avoiding unnecessary dialogs.
py
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index <HASH>..<HASH> 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -2983,12 +2983,8 @@ class Requirement: @staticmethod def parse(s): - reqs = list(parse_requirements(s)) - if reqs: - if l...
Simplify implementation of Requirement.parse.
py
diff --git a/tensor2tensor/utils/expert_utils.py b/tensor2tensor/utils/expert_utils.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/expert_utils.py +++ b/tensor2tensor/utils/expert_utils.py @@ -65,7 +65,7 @@ def add_scope(scope=None, scope_fn=None): def add_var_scope(scope=None): - return add_scope(scope...
Remove extra scope as it's already v1. PiperOrigin-RevId: <I>
py
diff --git a/wagtailimportexport/views.py b/wagtailimportexport/views.py index <HASH>..<HASH> 100644 --- a/wagtailimportexport/views.py +++ b/wagtailimportexport/views.py @@ -78,7 +78,7 @@ def import_from_file(request): if request.method == 'POST': form = ImportFromFileForm(request.POST, request.FILES) ...
Decode utf-8-sig files (#3) Thanks @rodolfolottin, apologies for the delay in accepting this.
py
diff --git a/salt/modules/ldap3.py b/salt/modules/ldap3.py index <HASH>..<HASH> 100644 --- a/salt/modules/ldap3.py +++ b/salt/modules/ldap3.py @@ -409,7 +409,7 @@ def add(connect_spec, dn, attributes): if 'unicodePwd' in attributes: attributes['unicodePwd'] = [_format_unicode_password(x) for x in attribut...
Fix ldap.managed errors Regression from <I>e<I>bd (#<I>): - AttributeError: 'tuple' object has no attribute 'encode' - ValueError: too many values to unpack Fixes: #<I>.
py
diff --git a/scrubadub/comparison.py b/scrubadub/comparison.py index <HASH>..<HASH> 100644 --- a/scrubadub/comparison.py +++ b/scrubadub/comparison.py @@ -239,7 +239,8 @@ def get_filth_dataframe(filth_list: List[Filth]) -> pd.DataFrame: def make_fake_document( paragraphs: int = 20, locale: str = 'en_US', se...
tweak make_fake_document to allow new types of filth
py
diff --git a/indra/assemblers/indranet/assembler.py b/indra/assemblers/indranet/assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/indranet/assembler.py +++ b/indra/assemblers/indranet/assembler.py @@ -141,7 +141,7 @@ class IndraNetAssembler(): ('agB_id', agB_id), ...
Assemble the df with correct column names
py
diff --git a/eventsourcing/__init__.py b/eventsourcing/__init__.py index <HASH>..<HASH> 100644 --- a/eventsourcing/__init__.py +++ b/eventsourcing/__init__.py @@ -1 +1 @@ -__version__ = "8.2.3rc0" +__version__ = "8.2.3"
Increased version number to <I>.
py
diff --git a/bananas/admin/api/schemas.py b/bananas/admin/api/schemas.py index <HASH>..<HASH> 100644 --- a/bananas/admin/api/schemas.py +++ b/bananas/admin/api/schemas.py @@ -36,8 +36,10 @@ class BananasSchema(AutoSchema): class BananasOpenAPISchemaGenerator(OpenAPISchemaGenerator): - def determine_path_prefix(...
Change how hard coded base path is set
py
diff --git a/bika/lims/browser/sample.py b/bika/lims/browser/sample.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/sample.py +++ b/bika/lims/browser/sample.py @@ -1051,7 +1051,7 @@ class SamplesPrint(BrowserView): for part in ar.getPartitions(): partcell = False co...
'NoneType' object has no attribute 'getContainer' in sample
py
diff --git a/splinter/driver/__init__.py b/splinter/driver/__init__.py index <HASH>..<HASH> 100644 --- a/splinter/driver/__init__.py +++ b/splinter/driver/__init__.py @@ -389,6 +389,12 @@ class ElementAPI(object): """ raise NotImplementedError + def mouseout(self): + """ + Moves the...
Added mouseout method to ElementAPI
py
diff --git a/redis/client.py b/redis/client.py index <HASH>..<HASH> 100755 --- a/redis/client.py +++ b/redis/client.py @@ -1259,7 +1259,10 @@ class PubSub: self.check_health() - if not block and not conn.can_read(timeout=timeout): + if( + not block + and not self...
Auto-reconnect PubSub on `get_message` (#<I>)
py
diff --git a/pyensembl/sequence_data.py b/pyensembl/sequence_data.py index <HASH>..<HASH> 100644 --- a/pyensembl/sequence_data.py +++ b/pyensembl/sequence_data.py @@ -107,7 +107,7 @@ class SequenceData(object): raise ValueError("Genome sequence data (%s) is not currently " "installed ...
Change dot to comma to fix #<I>
py
diff --git a/fntools.py b/fntools.py index <HASH>..<HASH> 100644 --- a/fntools.py +++ b/fntools.py @@ -346,26 +346,26 @@ def all_in(items, collection): return all(are_in(items, collection)) -def issorted(coll): - """Determine if a collection is sorted +def monotony(seq): + """Determine the monotony of a ...
Rename issorted -> monotony
py
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -20,7 +20,7 @@ if DJANGO_VERSION < (2, 0): 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware', ] -] + if DJANGO_VERSION ...
fix syntax ../tests/settings.py
py
diff --git a/perf/tests/test_system.py b/perf/tests/test_system.py index <HASH>..<HASH> 100644 --- a/perf/tests/test_system.py +++ b/perf/tests/test_system.py @@ -9,13 +9,14 @@ class SystemTests(unittest.TestCase): def test_show(self): args = [sys.executable, '-m', 'perf', 'system', 'show'] proc ...
test_system: more info on failure
py
diff --git a/salt/modules/pkgin.py b/salt/modules/pkgin.py index <HASH>..<HASH> 100644 --- a/salt/modules/pkgin.py +++ b/salt/modules/pkgin.py @@ -377,7 +377,7 @@ def upgrade(): return {} old = list_pkgs() - call = __salt__['cmd.ret_all']('{0} -y fug'.format(pkgin)) + call = __salt__['cmd.run_all'...
pkgin: fix upgrade Fix typo introduced in <URL>
py
diff --git a/tests/test_workspacebuilder.py b/tests/test_workspacebuilder.py index <HASH>..<HASH> 100644 --- a/tests/test_workspacebuilder.py +++ b/tests/test_workspacebuilder.py @@ -322,6 +322,7 @@ def test_blank_pane_count(session): assert len(window4._panes) == 2 +@flaky(max_runs=5, min_passes=1) def test_...
decorate start_directory builder test with retries
py
diff --git a/luma/core/cmdline.py b/luma/core/cmdline.py index <HASH>..<HASH> 100644 --- a/luma/core/cmdline.py +++ b/luma/core/cmdline.py @@ -190,11 +190,16 @@ def create_device(args, display_types=None): elif args.display in display_types.get('lcd'): import luma.lcd.device - import luma.lcd.aux...
Support luma.lcd.aux (if present) (#<I>) * Support luma.lcd.aux (if present) * Rework params passed to backlit device
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( description='Name registrations on the Bitcoin blockchain with external storage', keywords='blockchain bitcoin btc cryptocurrency name key value store data', packages=find_packages(), - ...
add bin/blockstack-core and bin/blockstack-snapshots
py
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -59,7 +59,9 @@ class OpenVSwitch(Plugin): # Capture cached routes "ovs-appctl ovs/route/show", # Capture tnl arp ta...
[openvswitch] Capture a list of listening ports Often tunnels require to listen on a specific ports which can be the standard one or another.
py
diff --git a/littlechef/chef.py b/littlechef/chef.py index <HASH>..<HASH> 100644 --- a/littlechef/chef.py +++ b/littlechef/chef.py @@ -147,7 +147,7 @@ def _synchronize_node(configfile, node): if env.gateway: ssh_key_file = '.ssh/'+os.path.basename(' '.join(env.ssh_config.lookup(env.host_string)['identityf...
Disable strict host key checking for last hop nodes.
py
diff --git a/pyqrcode/__init__.py b/pyqrcode/__init__.py index <HASH>..<HASH> 100644 --- a/pyqrcode/__init__.py +++ b/pyqrcode/__init__.py @@ -153,6 +153,14 @@ class QRCode: #Save the code for easier reference self.code = self.builder.code + + def __str__(self): + return rep...
Added str and repr methods to QRCode class.
py
diff --git a/datadog_checks_downloader/datadog_checks/downloader/parameters.py b/datadog_checks_downloader/datadog_checks/downloader/parameters.py index <HASH>..<HASH> 100644 --- a/datadog_checks_downloader/datadog_checks/downloader/parameters.py +++ b/datadog_checks_downloader/datadog_checks/downloader/parameters.py @...
make a new exception for param subs, and add comments (#<I>)
py
diff --git a/anyconfig/compat.py b/anyconfig/compat.py index <HASH>..<HASH> 100644 --- a/anyconfig/compat.py +++ b/anyconfig/compat.py @@ -8,6 +8,15 @@ import itertools import locale import sys +try: + from logging import NullHandler +except ImportError: # python < 2.7 doesn't have it. + import logging + + ...
add logging NullHandler if it's missing (python < <I>)
py
diff --git a/hmmlearn/tests/test_gmm_hmm.py b/hmmlearn/tests/test_gmm_hmm.py index <HASH>..<HASH> 100644 --- a/hmmlearn/tests/test_gmm_hmm.py +++ b/hmmlearn/tests/test_gmm_hmm.py @@ -9,6 +9,7 @@ from hmmlearn import hmm from . import log_likelihood_increasing, make_covar_matrix, normalized +pytestmark = pytest.mar...
XFail old GMMHMM tests Don't pass since <I>f<I>, and use the scikit-learn GMM class which is deprecated. Mark them as xfail for now. Mark test_fit_zero_variance for full covariance as xfail, since it has never worked (since <I> at least).
py
diff --git a/src/ossos/core/ossos/__version__.py b/src/ossos/core/ossos/__version__.py index <HASH>..<HASH> 100644 --- a/src/ossos/core/ossos/__version__.py +++ b/src/ossos/core/ossos/__version__.py @@ -1 +1 @@ -version = "0.5.2" +version = "0.5.3"
This version does placeing of markers correctly. There are lots of markers now.... maybe too many. Let the complaining begin.
py
diff --git a/allauth/socialaccount/providers/facebook/views.py b/allauth/socialaccount/providers/facebook/views.py index <HASH>..<HASH> 100644 --- a/allauth/socialaccount/providers/facebook/views.py +++ b/allauth/socialaccount/providers/facebook/views.py @@ -35,7 +35,7 @@ def compute_appsecret_proof(app, token): d...
chore(facebook): fb_complete_login(): derive provider from app
py
diff --git a/apiritif/loadgen.py b/apiritif/loadgen.py index <HASH>..<HASH> 100644 --- a/apiritif/loadgen.py +++ b/apiritif/loadgen.py @@ -257,7 +257,7 @@ class LDJSONSampleWriter(object): self._write_sample(sample, test_count, success_count) def _write_sample(self, sample, test_count, success_c...
Use universl endline with text mode
py
diff --git a/tabu/sampler.py b/tabu/sampler.py index <HASH>..<HASH> 100644 --- a/tabu/sampler.py +++ b/tabu/sampler.py @@ -87,13 +87,14 @@ class TabuSampler(dimod.Sampler): :obj:`~dimod.SampleSet`: A `dimod` :obj:`.~dimod.SampleSet` object. Examples: - This example provides samples fo...
Simplify TabuSampler example
py
diff --git a/Lib/ufo2fdk/fdkBridge.py b/Lib/ufo2fdk/fdkBridge.py index <HASH>..<HASH> 100644 --- a/Lib/ufo2fdk/fdkBridge.py +++ b/Lib/ufo2fdk/fdkBridge.py @@ -143,6 +143,11 @@ def checkOutlines(fontPath, removeOverlap=True, correctContourDirection=True): stderr, stdout = _execute(c) allStderr.append(s...
Patch from Ben Kiel that fixes a situation in which checkOutlines would not be run even if it was asked to. Thanks, Ben!
py
diff --git a/stagpy/commands.py b/stagpy/commands.py index <HASH>..<HASH> 100644 --- a/stagpy/commands.py +++ b/stagpy/commands.py @@ -45,6 +45,8 @@ def _pretty_print(key_val, sep=': ', min_col_width=39, text_width=None): """ if text_width is None: text_width = get_terminal_size().columns + if tex...
Cmds config and var handle narrow outputs better These don't crash anymore if the terminal width is smaller than the minimal authorized size of columns. The output is also cleaner on narrow terminals by reducing the indentation.
py
diff --git a/tests/commands/test_usage.py b/tests/commands/test_usage.py index <HASH>..<HASH> 100644 --- a/tests/commands/test_usage.py +++ b/tests/commands/test_usage.py @@ -24,6 +24,13 @@ def test_command_check_googlefonts(): """Test if `fontbakery check-googlefonts` can run successfully`.""" subprocess.check_o...
Add usage test to run one test from the googlefonts specification
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,9 @@ if USE_MYPYC: from mypyc.build import mypycify opt_level = os.getenv("MYPYC_OPT_LEVEL", "3") - ext_modules = mypycify(mypyc_targets, opt_level=opt_level, verbose=True) + ext_modules = mypycify(...
shrink binary wheels by removing debugging info
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 @@ -24,6 +24,7 @@ class EventBaseQATestCase1(risk.CompleteTestCase, risk.FixtureBasedQATestCa...
skip risk peb qa test as we are waiting for scientific input Former-commit-id: 3baebe8bd4fd3a<I>ab<I>d6eaedfd4
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100755 --- a/python/setup.py +++ b/python/setup.py @@ -62,6 +62,7 @@ setup( 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.1', + 'Programming Langua...
Add Python <I> category to setup.py.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,6 @@ setup(name='persephone', 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.4'...
Removed support for Python <I>
py
diff --git a/juju/client/jujudata.py b/juju/client/jujudata.py index <HASH>..<HASH> 100644 --- a/juju/client/jujudata.py +++ b/juju/client/jujudata.py @@ -121,7 +121,8 @@ class FileJujuData(JujuData): '''Provide access to the Juju client configuration files. Any configuration file is read once and then cached...
Correctly handle the path if it's missing
py
diff --git a/confutils/__init__.py b/confutils/__init__.py index <HASH>..<HASH> 100644 --- a/confutils/__init__.py +++ b/confutils/__init__.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals __author__ = "Raphaël Barrois <raphael.barrois+confutils@polytechnique.org>" -__version__ = '0.3.0' +__version__ = '0...
Version bump to <I>.
py
diff --git a/iapws/iapws08.py b/iapws/iapws08.py index <HASH>..<HASH> 100644 --- a/iapws/iapws08.py +++ b/iapws/iapws08.py @@ -625,6 +625,7 @@ def _ThCond_SeaWater(T, P, S): DL = a*(1000*S)**(1+b) return DL + def _Tension_SeaWater(T, S): """Equation for the surface tension of seawater @@ -671,6 +672...
Correct flake8 E<I> complaints. E<I> expected 2 blank lines, found 1
py
diff --git a/claripy/solvers.py b/claripy/solvers.py index <HASH>..<HASH> 100644 --- a/claripy/solvers.py +++ b/claripy/solvers.py @@ -75,6 +75,9 @@ class SolverComposite( template_solver = Solver() if template_solver is None else template_solver super(SolverComposite, self).__init__(template_solver, ...
a repr for the composite solver
py
diff --git a/great_expectations/dataset/base.py b/great_expectations/dataset/base.py index <HASH>..<HASH> 100644 --- a/great_expectations/dataset/base.py +++ b/great_expectations/dataset/base.py @@ -6,6 +6,7 @@ import copy from functools import wraps import traceback import warnings +from six import string_types ...
Support all string-type arguments in column_map_expectation decorator via six.
py
diff --git a/hearthstone/entities.py b/hearthstone/entities.py index <HASH>..<HASH> 100644 --- a/hearthstone/entities.py +++ b/hearthstone/entities.py @@ -308,7 +308,7 @@ class Card(Entity): bool(tags.get(GameTag.COLLECTIBLE, 0)) ) - return card_type.playable + return CardType(card_type).playable def _...
Coerce card type int to CardType in `can_be_in_deck`
py
diff --git a/example/image-classification/common/data.py b/example/image-classification/common/data.py index <HASH>..<HASH> 100755 --- a/example/image-classification/common/data.py +++ b/example/image-classification/common/data.py @@ -194,7 +194,6 @@ def get_rec_iter(args, kv=None): std_r = rgb_s...
Removing the re-size for validation data, which breaking the validation accuracy of CIFAR training (#<I>)
py
diff --git a/django_tenants/test/cases.py b/django_tenants/test/cases.py index <HASH>..<HASH> 100644 --- a/django_tenants/test/cases.py +++ b/django_tenants/test/cases.py @@ -176,8 +176,8 @@ class FastTenantTestCase(TenantTestCase): WHERE pg_stat_activity.datname = %s AND pid <> pg_backend_pid();"...
Fixed another problem with #<I>
py
diff --git a/tests/functional/test_awsclient.py b/tests/functional/test_awsclient.py index <HASH>..<HASH> 100644 --- a/tests/functional/test_awsclient.py +++ b/tests/functional/test_awsclient.py @@ -1757,13 +1757,6 @@ def test_can_delete_sqs_event_source(stubbed_session): lambda_stub = stubbed_session.stub('lambda...
Fix test to not trigger a retry
py
diff --git a/aiolifx/msgtypes.py b/aiolifx/msgtypes.py index <HASH>..<HASH> 100644 --- a/aiolifx/msgtypes.py +++ b/aiolifx/msgtypes.py @@ -469,7 +469,7 @@ class MultiZoneStateMultiZone(Message): index = little_endian(bitstring.pack("8", self.index)) payload = count + index for color in self.c...
Use bytes for payload concatenation
py
diff --git a/plugins/provenance/server/resource.py b/plugins/provenance/server/resource.py index <HASH>..<HASH> 100644 --- a/plugins/provenance/server/resource.py +++ b/plugins/provenance/server/resource.py @@ -357,7 +357,7 @@ class ResourceExt(Resource): beacuse we want to know its id. We record it here, ins...
Fix provenance plugin interaction with thumbnails
py
diff --git a/userena/managers.py b/userena/managers.py index <HASH>..<HASH> 100644 --- a/userena/managers.py +++ b/userena/managers.py @@ -11,7 +11,8 @@ from userena.utils import generate_sha1, get_profile_model, get_datetime_now, \ get_user_model from userena import signals as userena_signals -from guardian.sh...
Update import from guardian Get rid of deprecation warning triggered by the fact that assign has been renamed to assign_perm.
py
diff --git a/rinohlib/stylesheets/matcher.py b/rinohlib/stylesheets/matcher.py index <HASH>..<HASH> 100644 --- a/rinohlib/stylesheets/matcher.py +++ b/rinohlib/stylesheets/matcher.py @@ -219,6 +219,9 @@ matcher('figure legend paragraph', Figure matcher('table of contents section', Section.like('table of contents')) ...
Selector for the ToC title Requires level=1 to score higher than 'unnumbered heading 1'!
py
diff --git a/tests/unit/netapi/rest_tornado/test_utils.py b/tests/unit/netapi/rest_tornado/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/unit/netapi/rest_tornado/test_utils.py +++ b/tests/unit/netapi/rest_tornado/test_utils.py @@ -52,6 +52,15 @@ class TestSaltnadoUtils(tornado.testing.AsyncTestCase): #...
Add test for using a Future in multiple "Any" futures
py
diff --git a/indra/ontology/standardize.py b/indra/ontology/standardize.py index <HASH>..<HASH> 100644 --- a/indra/ontology/standardize.py +++ b/indra/ontology/standardize.py @@ -105,7 +105,7 @@ def standardize_name_db_refs(db_refs, ontology=None, ns_order=None): """ db_refs = standardize_db_refs(db_refs, ont...
Add ontology to getting standard name
py
diff --git a/src/app/lookups/sqlite/psms.py b/src/app/lookups/sqlite/psms.py index <HASH>..<HASH> 100644 --- a/src/app/lookups/sqlite/psms.py +++ b/src/app/lookups/sqlite/psms.py @@ -43,7 +43,7 @@ class PSMDB(ResultLookupInterface): 'INSERT INTO ensg_proteins(gene_id, pacc_id) VALUES(?, ?)', ensg) ...
Correct column name to index on in table, fix slow mergeing ENSG tables
py
diff --git a/buildbot/db/schema/manager.py b/buildbot/db/schema/manager.py index <HASH>..<HASH> 100644 --- a/buildbot/db/schema/manager.py +++ b/buildbot/db/schema/manager.py @@ -27,7 +27,7 @@ class DBSchemaManager(object): try: c.execute("SELECT version FROM version") rows = c.fetcha...
Clarify error message when there isn't 1 row in the version table.
py
diff --git a/socialregistration/utils.py b/socialregistration/utils.py index <HASH>..<HASH> 100644 --- a/socialregistration/utils.py +++ b/socialregistration/utils.py @@ -233,7 +233,7 @@ class OAuthClient(object): # If a callback_url is provided, the callback has to include a verifier. ...
Changed the access_token request to be POST too. See #<I> and eb1ca0c2e6e<I>ac<I>
py
diff --git a/azure-kusto-data/azure/kusto/data/kusto_client.py b/azure-kusto-data/azure/kusto/data/kusto_client.py index <HASH>..<HASH> 100644 --- a/azure-kusto-data/azure/kusto/data/kusto_client.py +++ b/azure-kusto-data/azure/kusto/data/kusto_client.py @@ -222,7 +222,7 @@ class KustoClient(object): self.kust...
Updating client appliction ID
py
diff --git a/crosscat/utils/sample_utils.py b/crosscat/utils/sample_utils.py index <HASH>..<HASH> 100644 --- a/crosscat/utils/sample_utils.py +++ b/crosscat/utils/sample_utils.py @@ -24,6 +24,8 @@ import math from collections import Counter # from scipy.misc import logsumexp + +import copy import numpy # import c...
Deep copy to prevent changing X_L and X_D up scope
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup(name='iampoliciesgonewild', - version='1.0', + version='1.0.6', description='AWS IAM Policy Expander Minimizer', author='Patrick Kelley', autho...
Version bump to <I> for pypi
py
diff --git a/tornado/web.py b/tornado/web.py index <HASH>..<HASH> 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -2046,6 +2046,7 @@ def decode_signed_value(secret, name, value, max_age_days=31): return None if parts[1].startswith(b("0")): logging.warning("Tampered cookie %r", value) + ...
return None when a secure-cookie is forged
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -9,7 +9,7 @@ from py.test import raises -from werkzeug.utils import MultiDict +from werkzeug.utils import MultiDict, lazy_property def test_multidict(): md = MultiDict()...
[svn] A test for lazy_property. --HG-- branch : trunk
py
diff --git a/seriously/SeriouslyCommands.py b/seriously/SeriouslyCommands.py index <HASH>..<HASH> 100755 --- a/seriously/SeriouslyCommands.py +++ b/seriously/SeriouslyCommands.py @@ -209,6 +209,19 @@ def nPr(n, k): return 1 return math.factorial(n)/math.factorial(n-k) +def isqrt(n): + lo=1 + hi=n ...
URGENT: BUG-FIX
py
diff --git a/librosa/segment.py b/librosa/segment.py index <HASH>..<HASH> 100644 --- a/librosa/segment.py +++ b/librosa/segment.py @@ -80,7 +80,7 @@ def recurrence_matrix(data, k=None, width=1, metric='sqeuclidean', sym=False): feature matrix (d-by-t) - k : int > 0 or None the number of nea...
revised default recurrence k upwards
py
diff --git a/theanets/trainer.py b/theanets/trainer.py index <HASH>..<HASH> 100644 --- a/theanets/trainer.py +++ b/theanets/trainer.py @@ -222,6 +222,8 @@ class NAG(SGD): # gradient at that new model position and performs the usual velocity # and parameter updates. + self.params = network.par...
Manually establish parameters for NAG ... yuk, but needed for the moment.
py
diff --git a/maintenance_mode/version.py b/maintenance_mode/version.py index <HASH>..<HASH> 100644 --- a/maintenance_mode/version.py +++ b/maintenance_mode/version.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -__version__ = '0.7.2' +__version__ = '0.8.0'
Updated version [ci skip]
py
diff --git a/mailchimp3/entities/automationemailqueues.py b/mailchimp3/entities/automationemailqueues.py index <HASH>..<HASH> 100644 --- a/mailchimp3/entities/automationemailqueues.py +++ b/mailchimp3/entities/automationemailqueues.py @@ -51,7 +51,7 @@ class AutomationEmailQueues(BaseApi): raise KeyError('...
#<I> fix path for creating Automation Email Queue
py
diff --git a/schema_salad/ref_resolver.py b/schema_salad/ref_resolver.py index <HASH>..<HASH> 100644 --- a/schema_salad/ref_resolver.py +++ b/schema_salad/ref_resolver.py @@ -140,7 +140,12 @@ class DefaultFetcher(Fetcher): return resp.text elif scheme == 'file': try: - ...
windows compatibility issue: after path split windows path contain / before drive name
py
diff --git a/cirq-core/cirq/circuits/circuit_operation.py b/cirq-core/cirq/circuits/circuit_operation.py index <HASH>..<HASH> 100644 --- a/cirq-core/cirq/circuits/circuit_operation.py +++ b/cirq-core/cirq/circuits/circuit_operation.py @@ -630,9 +630,27 @@ class CircuitOperation(ops.Operation): return self.repl...
Document CircuitOperation methods. (#<I>)
py
diff --git a/graphics.py b/graphics.py index <HASH>..<HASH> 100644 --- a/graphics.py +++ b/graphics.py @@ -1,4 +1,5 @@ import random +import copy import console import colors @@ -125,7 +126,7 @@ class Canvas(object): class Sprite(object): def __init__(self, image, pos=(0, 0), color=None, char=None): - ...
Changed sprite definition to make copy of image, so it can be reused by a different sprite, not sure if nessacery.
py
diff --git a/CIM15/IEC61970/WiresPhaseModel/EnergyConsumerPhase.py b/CIM15/IEC61970/WiresPhaseModel/EnergyConsumerPhase.py index <HASH>..<HASH> 100644 --- a/CIM15/IEC61970/WiresPhaseModel/EnergyConsumerPhase.py +++ b/CIM15/IEC61970/WiresPhaseModel/EnergyConsumerPhase.py @@ -22,11 +22,13 @@ from CIM15.IEC61970.Core.Powe...
Added phase attribute to EnergyConsumerPhase
py
diff --git a/aslack/slack_bot.py b/aslack/slack_bot.py index <HASH>..<HASH> 100644 --- a/aslack/slack_bot.py +++ b/aslack/slack_bot.py @@ -150,11 +150,13 @@ class SlackBot: data.get('text', '').startswith(self.address_as)) @classmethod - async def from_api_token(cls, token, api_cls=SlackBotAp...
Allow SlackBot creation from environment/user input token
py
diff --git a/ocrd/ocrd/workspace.py b/ocrd/ocrd/workspace.py index <HASH>..<HASH> 100644 --- a/ocrd/ocrd/workspace.py +++ b/ocrd/ocrd/workspace.py @@ -77,8 +77,7 @@ class Workspace(): """ # os.chdir(self.directory) # log.info('f=%s' % f) - oldpwd = getcwd() - try: + wit...
workspace: replace try/finally with pushd_popd
py
diff --git a/discord/guild.py b/discord/guild.py index <HASH>..<HASH> 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -3371,8 +3371,7 @@ class Guild(Hashable): raise ClientException('Intents.members must be enabled to use this.') if not self._state.is_guild_evicted(self): - aw...
Fix Guild.chunk() returning list of members
py
diff --git a/tests/test_data.py b/tests/test_data.py index <HASH>..<HASH> 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -129,3 +129,7 @@ class TestData(object): path = dallinger.data.export("12345-12345-12345-12345", local=True) archive = ZipFile(path) assert 'data/info.csv' in ...
Another failing test, more to the point
py
diff --git a/utils/wall.py b/utils/wall.py index <HASH>..<HASH> 100755 --- a/utils/wall.py +++ b/utils/wall.py @@ -16,6 +16,7 @@ print """<!doctype html> <html> <head> + <meta charset="utf-8"> <title>congrats @dancohen</title> <style> body {
set charset in the html, just in case
py
diff --git a/tests/app/settings.py b/tests/app/settings.py index <HASH>..<HASH> 100644 --- a/tests/app/settings.py +++ b/tests/app/settings.py @@ -23,6 +23,7 @@ INSTALLED_APPS = [ 'wagtail.wagtailusers', 'wagtail.wagtailsites', 'wagtail.wagtailsnippets', + 'wagtail.wagtailsearch', 'django.contr...
Add wagtailsearch to test installed apps
py
diff --git a/dipper/models/__init__.py b/dipper/models/__init__.py index <HASH>..<HASH> 100644 --- a/dipper/models/__init__.py +++ b/dipper/models/__init__.py @@ -1,6 +1,6 @@ # import re # import urllib # from rdflib import Namespace, URIRef, Literal -# from rdflib.namespace import OWL, RDF, DC +# from rdflib.namesp...
change import namespace from DC to DCTERMS
py
diff --git a/tests/basics/string_join.py b/tests/basics/string_join.py index <HASH>..<HASH> 100644 --- a/tests/basics/string_join.py +++ b/tests/basics/string_join.py @@ -14,6 +14,11 @@ print(','.join('abc' for i in range(5))) print(b','.join([b'abc', b'123'])) try: + ''.join(None) +except TypeError: + print(...
tests/basics/string_join.py: Add test case where argument is not iterable.
py
diff --git a/tweepy/asynchronous/streaming.py b/tweepy/asynchronous/streaming.py index <HASH>..<HASH> 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -82,9 +82,9 @@ class AsyncStream: if self.session is None or self.session.closed: self.session = aiohttp.C...
Update the User-Agent header based on AsyncStream.user_agent Even if AsyncStream.session is already initialized/set
py
diff --git a/sentry_hipchat_ac/mentions.py b/sentry_hipchat_ac/mentions.py index <HASH>..<HASH> 100644 --- a/sentry_hipchat_ac/mentions.py +++ b/sentry_hipchat_ac/mentions.py @@ -10,7 +10,7 @@ from django.conf import settings MAX_RECENT = 15 -RECENT_HOURS = 12 +RECENT_HOURS = 24 * 30 cluster = make_rb_cluster...
Bump timeout to <I> days
py
diff --git a/isort/parse.py b/isort/parse.py index <HASH>..<HASH> 100644 --- a/isort/parse.py +++ b/isort/parse.py @@ -380,6 +380,7 @@ def file_contents(contents: str, config: Config = DEFAULT_CONFIG) -> ParsedConte ] = associated_comment if associated_comment in commen...
Fix comment attaching, caught by missed coverage
py
diff --git a/src/rstcheck/runner.py b/src/rstcheck/runner.py index <HASH>..<HASH> 100644 --- a/src/rstcheck/runner.py +++ b/src/rstcheck/runner.py @@ -55,11 +55,11 @@ class RstcheckMainRunner: Clear the current file list. Then get the file and directory paths specified with the init base config and se...
fix runner update_file_list - copy check_paths list to not exhaust it - check if path to append is a file
py
diff --git a/george/gp.py b/george/gp.py index <HASH>..<HASH> 100644 --- a/george/gp.py +++ b/george/gp.py @@ -80,6 +80,25 @@ class GP(ModelSet): ("kernel", kernels.EmptyKernel() if kernel is None else kernel), ]) + # Default behavior for fit_mean and fit_white_noise. If a constant is + ...
default behavior for fit_mean and fit_white_noise
py
diff --git a/tchannel/tornado/hyperbahn.py b/tchannel/tornado/hyperbahn.py index <HASH>..<HASH> 100644 --- a/tchannel/tornado/hyperbahn.py +++ b/tchannel/tornado/hyperbahn.py @@ -29,8 +29,6 @@ import tornado.gen import tornado.ioloop from ..errors import AdvertiseError -from ..errors import ProtocolError -from ..er...
make advertise to retry on all exceptions for now. Keep it alive.
py
diff --git a/sregistry/defaults.py b/sregistry/defaults.py index <HASH>..<HASH> 100644 --- a/sregistry/defaults.py +++ b/sregistry/defaults.py @@ -97,6 +97,13 @@ SREGISTRY_DATABASE = None SREGISTRY_STORAGE = None SREGISTRY_BASE = None +# If sqlalchemy isn't installed, user doesn't have support for database +try: + ...
adding disabling of database if sqlalchemy not found
py
diff --git a/grove/amplification/grover.py b/grove/amplification/grover.py index <HASH>..<HASH> 100644 --- a/grove/amplification/grover.py +++ b/grove/amplification/grover.py @@ -43,7 +43,7 @@ class Grover(object): :param bitstring_map: dict with string keys corresponding to bitstrings, and integer...
reverting docstring changes
py
diff --git a/properties/array.py b/properties/array.py index <HASH>..<HASH> 100644 --- a/properties/array.py +++ b/properties/array.py @@ -68,13 +68,11 @@ class Array(Property): if not isinstance(value, tuple): raise TypeError("{}: Invalid shape - must be a tuple " "(e...
Remove bad reference to name in array errors
py
diff --git a/pecan/tests/test_base.py b/pecan/tests/test_base.py index <HASH>..<HASH> 100644 --- a/pecan/tests/test_base.py +++ b/pecan/tests/test_base.py @@ -725,6 +725,23 @@ class TestAbort(unittest.TestCase): assert r.status_int == 401 +class TestSriptName(unittest.TestCase): + + def setUp(self): + ...
add a test to demonstrate the problem
py
diff --git a/planet/cli/types.py b/planet/cli/types.py index <HASH>..<HASH> 100644 --- a/planet/cli/types.py +++ b/planet/cli/types.py @@ -55,24 +55,6 @@ class CommaSeparatedFloat(click.types.StringParamType): return ret -class CommaSeparatedChoice(click.types.StringParamType): - def __init__(self, *arg...
Removed the CommaSeparatedChoice class.
py
diff --git a/libre/apps/data_drivers/views.py b/libre/apps/data_drivers/views.py index <HASH>..<HASH> 100644 --- a/libre/apps/data_drivers/views.py +++ b/libre/apps/data_drivers/views.py @@ -87,7 +87,7 @@ class SourceGetAll(generics.GenericAPIView): 'args': getattr(self, 'args', ()), 'kwargs':...
Fix error when asking for a view Options
py
diff --git a/safe/gui/tools/minimum_needs/needs_calculator_dialog.py b/safe/gui/tools/minimum_needs/needs_calculator_dialog.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/minimum_needs/needs_calculator_dialog.py +++ b/safe/gui/tools/minimum_needs/needs_calculator_dialog.py @@ -119,7 +119,7 @@ class NeedsCalculator...
Fix <I> - fix typo introduced in previous commit
py
diff --git a/python/nano/src/bigdl/nano/deps/neural_compressor/tensorflow/metric.py b/python/nano/src/bigdl/nano/deps/neural_compressor/tensorflow/metric.py index <HASH>..<HASH> 100644 --- a/python/nano/src/bigdl/nano/deps/neural_compressor/tensorflow/metric.py +++ b/python/nano/src/bigdl/nano/deps/neural_compressor/te...
fix tf inc metric format (#<I>) * fix tf inc metric format * re-run actions * Apply suggestions from code review
py