in_source_id
stringlengths
13
58
issue
stringlengths
3
241k
before_files
listlengths
0
3
after_files
listlengths
0
3
pr_diff
stringlengths
109
107M
pex-tool__pex-804
Release 2.0.2 On the docket: + [x] Add a test of pypi index rendering. (#799) + [x] Fix `iter_compatible_interpreters` path biasing. (#798) + [x] Fix current platform handling. #801
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.1'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.2'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 52bfe2f01..80e4b80d7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,22 @@ Release Notes ============= +2.0.2 +----- + +This is a hotfix release that fixes a bug exposed when Pex was asked to use an +interpreter with a non-canonical path as well as fixes for 'curre...
pex-tool__pex-743
Release 1.6.8 On the docket: + [x] Fixup pex re-exec during bootstrap. #741 + [x] Pex should not re-exec when the current interpreter satifies constraints #709 + [x] Pex should not lose PEX_PYTHON or PEX_PYTHON_PATH when re-exec-ing #710 + [x] Fix resolution of `setup.py` project extras. #739 Deferred: ...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.7'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.8'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index d753c6bb2..a32083e64 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,21 @@ Release Notes ============= +1.6.8 +----- + +* Fixup pex re-exec during bootstrap. (#741) + `PR #741 <https://github.com/pantsbuild/pex/pull/741>`_ + +* Fix resolution of `setup.py` project...
pex-tool__pex-691
Release 1.6.4 On the docket: + [x] Restore pex.pex_bootstrapper.is_compressed API #684 + [ ] Release more flexible pex binaries. #654 + [x] If an `--interpreter-constraint` is set, it should always be honored. #656
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.3'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.4'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index c6e494f18..5979452d2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,9 +1,31 @@ Release Notes ============= +1.6.4 +----- + +This release un-breaks `lambdex <https://github.com/wickman/lambdex>`_. + +* Restore ``pex.pex_bootstrapper.is_compressed`` API. (#685) + `PR #6...
pex-tool__pex-702
Release 1.6.6 On the docket: + [x] Release more flexible pex binaries. #654 + [x] If sys.executable is not on PATH a pex will re-exec itself forever. #700
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.5'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.6'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 39ebf2bce..808b715ed 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,18 @@ Release Notes ============= +1.6.6 +----- + +This is the first release including only a single PEX pex, which +supports execution under all interpreters pex supports. + +* Fix pex bootstrap ...
ethereum__consensus-specs-1130
BLS and testing Decided I wanted to get this out to explain the current state of testing, and **collect feedback** (implementers please comment) on what you need from testing, and your feelings about BLS usage in tests. # BLS and testing The two pain-points to get a pretty (and large) set of test-vectors out for ...
[ { "content": "import sys\nimport function_puller\n\n\ndef build_phase0_spec(sourcefile, outfile):\n code_lines = []\n code_lines.append(\"\"\"\nfrom typing import (\n Any,\n Dict,\n List,\n NewType,\n Tuple,\n)\nfrom eth2spec.utils.minimal_ssz import *\nfrom eth2spec.utils.bls_stub import *...
[ { "content": "import sys\nimport function_puller\n\n\ndef build_phase0_spec(sourcefile, outfile):\n code_lines = []\n code_lines.append(\"\"\"\nfrom typing import (\n Any,\n Dict,\n List,\n NewType,\n Tuple,\n)\nfrom eth2spec.utils.minimal_ssz import *\nfrom eth2spec.utils.bls import *\n\n\...
diff --git a/Makefile b/Makefile index 73d8adea89..86303680d3 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ install_test: cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; pip3 install -r requirements-testing.txt; test: $(PY_SPEC_ALL_TARGETS) - cd $(PY_SPEC_DIR); . venv/bin/activate; python -m...
pex-tool__pex-822
Release 2.0.3 On the docket: + [x] Pex should trust any host passed via `--index` or `--find-links`. #812 + [x] A cache should always be used by `pex.resolver.resolve`. #809 + [x] Use the resolve cache to skip installs. #815 + [x] Parallelize resolve. #818 + [x] Cache sdist & local project builds #817 + [x] Uni...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.2'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.3'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 80e4b80d7..42a5e1252 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,26 @@ Release Notes ============= +2.0.3 +----- + +This release fixes a regression in handling explicitly requested `--index` or +`--find-links` http (insecure) repos. In addition, performance of ...
mabel-dev__opteryx-1641
🪲 Python 3.9 tests stalling ### Thank you for taking the time to report a problem with Opteryx. _To help us to respond to your request we ask that you try to provide the below detail about the bug._ **Describe the bug** _A clear and specific description of what the bug is. What the error, incorrect or unexpected b...
[ { "content": "__build__ = 477\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agre...
[ { "content": "__build__ = 482\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agre...
diff --git a/.github/workflows/regression_suite.yaml b/.github/workflows/regression_suite.yaml index ef2373725..dac54768e 100644 --- a/.github/workflows/regression_suite.yaml +++ b/.github/workflows/regression_suite.yaml @@ -11,7 +11,7 @@ jobs: max-parallel: 4 fail-fast: false matrix: - pyth...
pex-tool__pex-910
Release 2.1.5 On the docket: + [x] Kill `Pip.spawn_install_wheel` `overwrite` arg. #907 + [x] Silence pip warnings about Python 2.7. #908
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.4'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.5'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 8d19aed0e..80c591fe1 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,18 @@ Release Notes ============= +2.1.5 +----- + +* Silence pip warnings about Python 2.7. (#908) + `PR #908 <https://github.com/pantsbuild/pexpull/908>`_ + +* Kill `Pip.spawn_install_wheel` `ov...
mabel-dev__opteryx-1695
✨ Memory Pool Optimizations ### Thanks for stopping by to let us know something could be better! **Is your feature request related to a problem? Please describe.** _A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]_ **Describe the solution you'd like** _A clear and conci...
[ { "content": "__build__ = 527\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agre...
[ { "content": "__build__ = 532\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agre...
diff --git a/opteryx/__version__.py b/opteryx/__version__.py index a2313e19e..f9db5e2cc 100644 --- a/opteryx/__version__.py +++ b/opteryx/__version__.py @@ -1,4 +1,4 @@ -__build__ = 527 +__build__ = 532 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
gammapy__gammapy-5151
Defaults for `methods` in signature of `SafeMaskMaker.__init__` is confusing ``` def __init__( self, methods=("aeff-default",), aeff_percent=10, bias_percent=10, position=None, fixed_offset=None, offset_max="3 deg", irfs="DL4", ): ``` ...
[ { "content": "# Licensed under a 3-clause BSD style license - see LICENSE.rst\nimport logging\nimport numpy as np\nfrom astropy import units as u\nfrom astropy.coordinates import Angle\nfrom gammapy.irf import EDispKernelMap\nfrom gammapy.maps import Map\nfrom gammapy.modeling.models import TemplateSpectralMode...
[ { "content": "# Licensed under a 3-clause BSD style license - see LICENSE.rst\nimport logging\nimport numpy as np\nfrom astropy import units as u\nfrom astropy.coordinates import Angle\nfrom gammapy.irf import EDispKernelMap\nfrom gammapy.maps import Map\nfrom gammapy.modeling.models import TemplateSpectralMode...
diff --git a/gammapy/makers/safe.py b/gammapy/makers/safe.py index 09c381c9f1..73d9b60b8c 100644 --- a/gammapy/makers/safe.py +++ b/gammapy/makers/safe.py @@ -62,7 +62,7 @@ class SafeMaskMaker(Maker): def __init__( self, - methods=("aeff-default",), + methods=["aeff-default"], aef...
pex-tool__pex-797
Release 2.0.1 On the docket: + [x] pex --index-url=... fails in 2.0.0 #794
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.0'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.1'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 2b97c531c..52bfe2f01 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.0.1 +----- + +This is a htofix release that fixes a bug when specifying a custom index +(`-i`/`--index`/`--index-url`) via the CLI. + +* Fix #794 issue by add ...
pex-tool__pex-891
Release 2.1.3 On the docket: + [x] Error eagerly if an interpreter binary doesn't exist #886 + [x] The pip-powered resolve in pex 2 will re-tokenize --find-links pages on each transitive requirement #887
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.2'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.3'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index ea14e891f..a8a961167 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,23 @@ Release Notes ============= +2.1.3 +----- + +This release fixes a performance regression in which pip +would re-tokenize --find-links pages unnecessarily. +The parsed pages are now cached in...
pex-tool__pex-836
Release 2.1.0 On the docket: The prime motivator: + [x] Pex does not download foreign abi3 wheels correctly #823 Changes to support the above as well as others: + [x] Fix pex resolving for foreign platforms. #835 + [x] Use pypa/packaging. #831 + [x] Upgrade vendored setuptools to 42.0.2. #832 + [x] De-vend...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.3'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.0'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 42a5e1252..330d89a06 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,49 @@ Release Notes ============= +2.1.0 +----- + +This release restores and improves support for building and running +multiplatform pexes. Foreign `linux*` platform builds now include +`manylinu...
pex-tool__pex-945
Release 2.1.8 On the docket: + [x] Cache pip.pex. #937 + [x] Ensure the interpreter path is a file #938 + [x] Support an unzip toggle for PEXes. #939 + [x] Better support unzip mode PEXes. #941
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.7'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.8'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 199e0d5db..b306c05b0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,27 @@ Release Notes ============= +2.1.8 +----- + +This release brings enhanced performance when using the Pex CLI or API to resolve requirements and +improved performance for many PEXed applicati...
fossasia__open-event-server-2429
Add filter "Checked In" and "Not checked in" to attendees In order to easily sort "checked in" and "not checked-in" it would be good to have the relevant options in the filters next to "completed, pending, expired". ![screenshot from 2016-08-23 08 33 47](https://cloud.githubusercontent.com/assets/1583873/17882481/fa7e...
[ { "content": "# -*- coding: utf-8 -*-\n\n##\n# Module for helper static variables\n##\n\n# Event Licences\n\nEVENT_LICENCES = {\n # Licence Name : ( Long Name, Description, Licence URL, Licence Logo, Licence Compact Logo )\n 'All rights reserved': (\n 'All rights reserved',\n u'The copyright...
[ { "content": "# -*- coding: utf-8 -*-\n\n##\n# Module for helper static variables\n##\n\n# Event Licences\n\nEVENT_LICENCES = {\n # Licence Name : ( Long Name, Description, Licence URL, Licence Logo, Licence Compact Logo )\n 'All rights reserved': (\n 'All rights reserved',\n u'The copyright...
diff --git a/app/helpers/static.py b/app/helpers/static.py index 2de510161d..67a0b9635c 100644 --- a/app/helpers/static.py +++ b/app/helpers/static.py @@ -210,7 +210,7 @@ ('SGD', True, True), ('THB', True, True), ('TWD', True, True), - + ('USD', True, True), } # Event Images with Event Topics and ...
Uberspace__lab-28
Change project name to lab in config
[ { "content": "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n#\n# Uberspace 7 lab documentation build configuration file, created by\n# sphinx-quickstart on Tue Feb 13 12:19:29 2018.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible config...
[ { "content": "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n#\n# Uberspace 7 lab documentation build configuration file, created by\n# sphinx-quickstart on Tue Feb 13 12:19:29 2018.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible config...
diff --git a/source/_templates/breadcrumbs.html b/source/_templates/breadcrumbs.html index 39d3706f..81a84c88 100755 --- a/source/_templates/breadcrumbs.html +++ b/source/_templates/breadcrumbs.html @@ -32,7 +32,7 @@ <ul class="wy-breadcrumbs"> {% block breadcrumbs %} - <li><a href="{{ pathto(master_doc)...
pennersr__django-allauth-2388
Error when 500 template contains a django-allauth template tag **Error message**: - `AttributeError: 'NoneType' object has no attribute 'POST'` **How to reproduce**: 1) Create a 500 template (`500.html` in your template directory) that includes a template tag from django-allauth. For me, it was `Google Sign In` b...
[ { "content": "import base64\nimport importlib\nimport json\nimport random\nimport re\nimport string\nimport unicodedata\nfrom collections import OrderedDict\n\nfrom django.contrib.auth import get_user_model\nfrom django.contrib.sites.models import Site\nfrom django.core.exceptions import ImproperlyConfigured\nf...
[ { "content": "import base64\nimport importlib\nimport json\nimport random\nimport re\nimport string\nimport unicodedata\nfrom collections import OrderedDict\n\nfrom django.contrib.auth import get_user_model\nfrom django.contrib.sites.models import Site\nfrom django.core.exceptions import ImproperlyConfigured\nf...
diff --git a/AUTHORS b/AUTHORS index 588e9b7a77..642ae957c4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -66,6 +66,7 @@ Jeff Triplett Jeremy Satterfield Jerome Leclanche Jesse Gerard Brands +Jihoon Park Jiyoon Ha Joe Vanderstelt John Bazik diff --git a/allauth/utils.py b/allauth/utils.py index fe366eae8e..d2c58cda68 100...
hylang__hy-1343
REPL history is lost on (quit) REPL history is not flushed to disk if the REPL is exited using `(quit)`. A workaround is to remember to use `CTRL-D` to exit the REPL. Would be nice if `(quit)` also worked.
[ { "content": "# Copyright 2017 the authors.\n# This file is part of Hy, which is free software licensed under the Expat\n# license. See the LICENSE.\n\nimport contextlib\nimport os\nimport re\nimport sys\n\nimport hy.macros\nimport hy.compiler\nfrom hy._compat import builtins, string_types\n\n\ndocomplete = Tru...
[ { "content": "# Copyright 2017 the authors.\n# This file is part of Hy, which is free software licensed under the Expat\n# license. See the LICENSE.\n\nimport contextlib\nimport os\nimport re\nimport sys\n\nimport hy.macros\nimport hy.compiler\nfrom hy._compat import builtins, string_types\n\n\ndocomplete = Tru...
diff --git a/NEWS b/NEWS index 3785792ec..300db30e5 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,8 @@ Changes from 0.13.0 * String literals should no longer be interpreted as special forms or macros * Tag macros (née sharp macros) whose names begin with `!` are no longer mistaken for shebang lines + * Fixe...
google-research__text-to-text-transfer-transformer-351
Unable to import tensorflow_gcs_config in t5_trivia colab notebook Upon running line `import tensorflow_gcs_config` (in t5_trivia colab notebook, setup section) I get this error, ``` --------------------------------------------------------------------------- NotImplementedError Traceback (most ...
[ { "content": "# Copyright 2020 The T5 Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by appl...
[ { "content": "# Copyright 2020 The T5 Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by appl...
diff --git a/t5/version.py b/t5/version.py index f3b47b22..e50b2461 100644 --- a/t5/version.py +++ b/t5/version.py @@ -18,4 +18,4 @@ Stored in a separate file so that setup.py can reference the version without pulling in all the dependencies in __init__.py. """ -__version__ = '0.6.3' +__version__ = '0.6.4'
espnet__espnet-913
matplotlib.use('Agg') fail It result in plot fail ``` _tkinter.TclError: no display name and no $DISPLAY environment variable ``` I fixed this by applying a patch on `espnet/nets/pytorch_backend/transformer/plot.py` ``` @@ -1,5 +1,6 @@ import logging - +import matplotlib +matplotlib.use('Agg') import matp...
[ { "content": "import logging\n\nimport matplotlib.pyplot as plt\n\nfrom espnet.asr import asr_utils\n\n\ndef _plot_and_save_attention(att_w, filename):\n # dynamically import matplotlib due to not found error\n from matplotlib.ticker import MaxNLocator\n import os\n d = os.path.dirname(filename)\n ...
[ { "content": "import logging\n\nfrom espnet.asr import asr_utils\nimport matplotlib.pyplot as plt\n\n\ndef _plot_and_save_attention(att_w, filename):\n # dynamically import matplotlib due to not found error\n from matplotlib.ticker import MaxNLocator\n import os\n d = os.path.dirname(filename)\n ...
diff --git a/espnet/nets/pytorch_backend/transformer/plot.py b/espnet/nets/pytorch_backend/transformer/plot.py index 66985df55e0..af5f0ef6e68 100644 --- a/espnet/nets/pytorch_backend/transformer/plot.py +++ b/espnet/nets/pytorch_backend/transformer/plot.py @@ -1,8 +1,7 @@ import logging -import matplotlib.pyplot as ...
mkdocs__mkdocs-1921
Unexpected behaviour with page.is_homepage Starting a new site and rolling my own theme. Came across some slightly odd behaviour. Mkdocs version 1.0.4 Python version 3.7.1 **Expected:** `page.is_homepage` evaluates to True on the home (index.md) of the site, and false on all other pages. **Actual:** `page.i...
[ { "content": "# coding: utf-8\n\nfrom __future__ import unicode_literals\n\nimport os\nimport io\nimport datetime\nimport logging\n\nimport markdown\nfrom markdown.extensions import Extension\nfrom markdown.treeprocessors import Treeprocessor\nfrom markdown.util import AMP_SUBSTITUTE\n\nfrom mkdocs.structure.to...
[ { "content": "# coding: utf-8\n\nfrom __future__ import unicode_literals\n\nimport os\nimport io\nimport datetime\nimport logging\n\nimport markdown\nfrom markdown.extensions import Extension\nfrom markdown.treeprocessors import Treeprocessor\nfrom markdown.util import AMP_SUBSTITUTE\n\nfrom mkdocs.structure.to...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index bb33917c3d..35564ffab2 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -56,6 +56,7 @@ your global navigation uses more than one level, things will likely be broken. ### Other Changes and Additions to Version 1....
pex-tool__pex-975
Release 2.1.10 On the docket: + [x] Improve Pex packaging. (#961) + [x] Make the interpreter cache deterministic. (#960) + [x] Fix deprecation warning for `rU` mode (#956) + [x] Fix runtime resolve error message generation. (#955) + [x] Kill dead code. (#954) + [x] Many Pex tests fail under Python 2.7 in CI #967 ...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.9'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.1.10'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 12c003ef3..bc1013393 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,53 @@ Release Notes ============= +2.1.10 +------ + +This release focuses on the resolver API and resolution performance. Pex 2 resolving using Pip is +now at least at performance parity with Pex ...
numba__numba-1356
Use CPython allocator in NRT NRT should optionally use the CPython memory allocation functions (when imported from CPython). This would allow Numba-allocated memory to be seen by other utilities such as `sys.getallocatedblocks()`, `sys.debugmallocstats()`, and `tracemalloc`.
[ { "content": "from __future__ import print_function, absolute_import, division\n\nfrom collections import namedtuple\n\nfrom . import atomicops\nfrom llvmlite import binding as ll\n\nfrom numba.utils import finalize as _finalize\nfrom . import _nrt_python as _nrt\n\n_nrt_mstats = namedtuple(\"nrt_mstats\", [\"a...
[ { "content": "from __future__ import print_function, absolute_import, division\n\nfrom collections import namedtuple\n\nfrom . import atomicops\nfrom llvmlite import binding as ll\n\nfrom numba.utils import finalize as _finalize\nfrom . import _nrt_python as _nrt\n\n_nrt_mstats = namedtuple(\"nrt_mstats\", [\"a...
diff --git a/numba/_pymodule.h b/numba/_pymodule.h index 89787ce4d6d..182817a0aa1 100644 --- a/numba/_pymodule.h +++ b/numba/_pymodule.h @@ -38,8 +38,9 @@ #define Py_uhash_t unsigned long #endif -#if PY_MAJOR_VERSION < 3 || (PY_MAJOR_VERSION == 3 && Py_MINOR_VERSION < 4) +#if PY_MAJOR_VERSION < 3 || (PY_MAJOR_V...
DjangoGirls__djangogirls-785
return paginator.Paginator(self._items(), self.limit) Sentry Issue: [DJANGO-GIRLS-WEBSITE-3V](https://sentry.io/organizations/django-girls/issues/3236790374/?referrer=github_integration) ``` return paginator.Paginator(self._items(), self.limit) ```
[ { "content": "from django.contrib.sitemaps import Sitemap\n\nfrom .models import Story\n\n\nclass BlogSiteMap(Sitemap):\n priority = 0.5\n\n def items(self):\n return Story.objects.all()\n\n def location(self, item):\n url = item.post_url\n if url is not None and 'http://' in url:\...
[ { "content": "from django.contrib.sitemaps import Sitemap\n\nfrom .models import Story\n\n\nclass BlogSiteMap(Sitemap):\n priority = 0.5\n\n def items(self):\n return Story.objects.all().order_by('-created')\n\n def location(self, item):\n url = item.post_url\n if url is not None a...
diff --git a/story/sitemap.py b/story/sitemap.py index 95f2d36b2..44a8eb71f 100644 --- a/story/sitemap.py +++ b/story/sitemap.py @@ -7,7 +7,7 @@ class BlogSiteMap(Sitemap): priority = 0.5 def items(self): - return Story.objects.all() + return Story.objects.all().order_by('-created') def...
mlcommons__GaNDLF-537
Radiology DataLoader takes up a *lot* memory during certain conditions **Describe the bug** During sanity checking of subjects, the queue construction seems to take up a lot of memory. **To Reproduce** Steps to reproduce the behavior: 1. Have a ridiculous number of subjects on a small machine (e.g., 10k on a mach...
[ { "content": "#!/usr/bin/env python\n\n\"\"\"The setup script.\"\"\"\n\n\nimport os\nfrom setuptools import setup, find_packages\nfrom setuptools.command.install import install\nfrom setuptools.command.develop import develop\nfrom setuptools.command.egg_info import egg_info\n\nwith open(\"README.md\") as readme...
[ { "content": "#!/usr/bin/env python\n\n\"\"\"The setup script.\"\"\"\n\n\nimport os\nfrom setuptools import setup, find_packages\nfrom setuptools.command.install import install\nfrom setuptools.command.develop import develop\nfrom setuptools.command.egg_info import egg_info\n\nwith open(\"README.md\") as readme...
diff --git a/setup.py b/setup.py index 74d1422d8..46241f78e 100644 --- a/setup.py +++ b/setup.py @@ -53,6 +53,7 @@ def run(self): "numpy==1.22.0", "scipy", "SimpleITK!=2.0.*", + "SimpleITK!=2.2.1", # https://github.com/mlcommons/GaNDLF/issues/536 "torchvision", "tqdm", "torchio==0.18.7...
pex-tool__pex-792
Release 2.0.0 On the docket: + [x] Use pip for resolving and building distributions. #788 + [x] Pex defaults to reproduceable builds. #791 That one issue closes out a slew of others, partially documented in #686.
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.12'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '2.0.0'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index ae7de56f8..2b97c531c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,58 @@ Release Notes ============= +2.0.0 +----- + +Pex 2.0.0 is cut on the advent of a large, mostly internal change for typical +use cases: it now uses vendored pip to perform resolves and wheel ...
pex-tool__pex-1191
Release 2.1.26 On the docket: + [x] Pex requirement parsing is tripped up by files in the CWD with the same name as requirements' project names. #1188
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.25\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.26\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index f63fa42fa..03ecea3f8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.26 +------ + +This is a hotfix release that fixes requirement parsing when there is a local file in the CWD with +the same name as the project name of a remo...
pex-tool__pex-1139
Release 2.1.22 On the docket: + [x] Fix `--help-variables` docs. #1113 + [x] pex binary hangs on startup at atomic_directory #1119 + [x] pex vendoring does not (always) isolate itself from a colliding setuptools install in site-packages #1031 + [x] Remove long deprecated support for _pex module. #1135
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.21\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.22\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index c7101cdd1..9a14e88b8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,76 @@ Release Notes ============= +2.1.22 +------ + +This release fixes a deadlock that could be experienced when building +PEX files in highly concurrent environments in addition to fixing +`pex ...
pex-tool__pex-777
Release 1.6.12 On the docket: + [x] PythonInterpreter: support python binary names with single letter suffixes #769 + [x] Pex should support some form of verifiably reproducible resolve. #772
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.11'\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = '1.6.12'\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 6c2163b2d..ae7de56f8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,18 @@ Release Notes ============= +1.6.12 +------ + +This release adds the `--intransitive` option to support pre-resolved requirements +lists and allows for python binaries built under Gentoo nam...
pex-tool__pex-1750
Release 2.1.85 On the docket: + [x] PEX interpreters should support all underlying Python interpreter options. #1745
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.84\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.85\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 0edc4617a..3ecf6a075 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,21 @@ Release Notes ============= +2.1.85 +------ + +This PyCon US 2022 release brings full support for Python interpreter +emulation when a PEX is run in interpreter mode (without an entry point ...
pex-tool__pex-1709
Release 2.1.77 On the docket: + [x] Fix pathologic lock creation slowness. #1707 + [x] Support uncompressed PEXes. (#1705)
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.76\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.77\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 1e0fb931f..2f87648a4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,10 +1,23 @@ Release Notes ============= +2.1.77 +------ + +This release fixes pathologically slow cases of lock creation as well as +introducing support for ``--no-compression`` to allow picking the th...
pex-tool__pex-1679
Release 2.1.73 On the docket: + [x] Unexpected distribution hash #1683 + [x] Pex fails to parse wheel tags correctly when resolving from a lock. #1676 + [x] `pex3 lock create --style universal` does not fully patch ambient interpreter properties. #1681
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.72\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.73\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index da8f81916..b2b079c4a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,27 @@ Release Notes ============= +2.1.73 +------ + +This is a hotfix for various PEX issues: + +#. ``--requirements-pex`` handling was broken by #1661 in the 2.1.71 + release and is now fixed. ...
pex-tool__pex-1275
Release 2.1.34 On the docket: + [x] Allow command-line arguments to be read from a file #1271 + [x] Issue when running a module inside pex file #1018 + [x] Guard against concurrent re-imports. #1270 + [x] Ensure Pip logs to stderr. #1268
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.33\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.34\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 0e5749f8f..b2a99154a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,26 @@ Release Notes ============= +2.1.34 +------ + +Beyond bugfixes for a few important edge cases, this release includes +new support for @argfiles on the command line from @jjhelmus. These +can...
pex-tool__pex-1450
Release 2.1.50 On the docket: + [x] Fix zipapp layout identification. #1448
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.49\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.50\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 4cf9ec11a..f05e62f6f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,17 @@ Release Notes ============= +2.1.50 +------ + +This is another hotfix of the 2.1.48 release's ``--layout`` feature that +fixes identification of ``--layout zipapp`` PEXes that have had their...
pex-tool__pex-1148
PexInfo.copy does not copy its collection attributes. The copy method was oversimplified in #1127 and now only copies the dict backing the non-collection attributes of PexInfo.
[ { "content": "# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\nfrom __future__ import absolute_import\n\nimport json\nimport os\n\nfrom pex import pex_warnings\nfrom pex.common import can_write_dir, open_zip, safe_mkdtemp\nfro...
[ { "content": "# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\nfrom __future__ import absolute_import\n\nimport json\nimport os\n\nfrom pex import pex_warnings\nfrom pex.common import can_write_dir, open_zip, safe_mkdtemp\nfro...
diff --git a/pex/pex_info.py b/pex/pex_info.py index 24c2bf524..5a9dcb43c 100644 --- a/pex/pex_info.py +++ b/pex/pex_info.py @@ -394,7 +394,7 @@ def dump(self): def copy(self): # type: () -> PexInfo - return PexInfo(self._pex_info) + return PexInfo(self.as_json_dict()) @staticmethod...
pex-tool__pex-1377
Release 2.1.43 On the docket: + [x] Support more verbose output for interpreter info. (#1347) + [x] Fix Pex emitting warnings about its Pip PEX venv. (#1351) + [x] Fix execution modes. (#1353) + [x] Warn for PEX env vars unsupported by venv. (#1354) + [x] Do not suppress pex output in bidst_pex (#1358) + [x] Us...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.42\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.43\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index fd894df7f..713eaf4ec 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,39 @@ Release Notes ============= +2.1.43 +------ + +* Fix dist-info metadata discovery. (#1376) + `PR #1376 <https://github.com/pantsbuild/pex/pull/1376>`_ + +* Fix ``--platform`` resolve handli...
pex-tool__pex-1838
Release 2.1.96 On the docket: + [x] PEX_EXTRA_SYS_PATH propagation can break subprocesses run against other venvs. #1836
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.95\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.96\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index a66e2c6c4..bd4f2b4fe 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,16 @@ Release Notes ============= +2.1.96 +------ + +This is a hotfix release that fixes ``--venv`` mode +``PEX_EXTRA_SYS_PATH`` propogation introduced in Pex 2.1.95 to only +apply to ``sys.execut...
pex-tool__pex-1140
Release 2.1.23 On the docket: + [x] Upgrade Pex to Pip 20.3.1. #1133
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.22\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.23\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 9a14e88b8..3e999fa51 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,21 @@ Release Notes ============= +2.1.23 +------ + +This release upgrades Pex to the latest Pip which includes support for +the new 2020-resolver (see: +https://pip.pypa.io/en/stable/user_guide/#...
rotki__rotki-2262
Wrong Binance asset mapping for STX ## Problem Definition This was reported by a user via email. They own some STX in binance. For Rotki STX is Stox (https://www.coingecko.com/en/coins/stox) but in Binance it's another token not called Stacks (https://www.coingecko.com/en/coins/stack). We support it in Rotki as bloc...
[ { "content": "from dataclasses import dataclass, field\nfrom functools import total_ordering\nfrom typing import Any, Optional, Type, TypeVar\n\nfrom rotkehlchen.assets.resolver import AssetResolver\nfrom rotkehlchen.errors import DeserializationError, UnknownAsset, UnsupportedAsset\nfrom rotkehlchen.typing imp...
[ { "content": "from dataclasses import dataclass, field\nfrom functools import total_ordering\nfrom typing import Any, Optional, Type, TypeVar\n\nfrom rotkehlchen.assets.resolver import AssetResolver\nfrom rotkehlchen.errors import DeserializationError, UnknownAsset, UnsupportedAsset\nfrom rotkehlchen.typing imp...
diff --git a/docs/changelog.rst b/docs/changelog.rst index a5f1e33579..cd069973b1 100755 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,7 @@ Changelog ========= +* :bug:`2261` Users who had STX in Binance should now see it mapped properly to blockstack and not stox. * :bug:`-` Users will now see the ...
projectmesa__mesa-1437
v1.1.0 Safford Release Milestone: https://github.com/projectmesa/mesa/milestone/31 Highlighted changes: - #1376 > 6x perf speedup for add/remove agent in `ContinuousSpace` - #1391 correctness fix for `SimultaneousActivation` and `StagedActivation` - #1399 make `self.running = True` optional. We need to tell exist...
[ { "content": "\"\"\"\nMesa Agent-Based Modeling Framework\n\nCore Objects: Model, and Agent.\n\n\"\"\"\nimport datetime\n\nfrom mesa.model import Model\nfrom mesa.agent import Agent\n\nimport mesa.time as time\nimport mesa.space as space\nimport mesa.flat.visualization as visualization\nfrom mesa.datacollection...
[ { "content": "\"\"\"\nMesa Agent-Based Modeling Framework\n\nCore Objects: Model, and Agent.\n\n\"\"\"\nimport datetime\n\nfrom mesa.model import Model\nfrom mesa.agent import Agent\n\nimport mesa.time as time\nimport mesa.space as space\nimport mesa.flat.visualization as visualization\nfrom mesa.datacollection...
diff --git a/HISTORY.rst b/HISTORY.rst index 640c93a0c59..55afb0b1840 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,59 @@ Release History --------------- +1.1.0 (2022-10-10) Safford +++++++++++++++++++++++++++ + +**Special notes** + +* Perf: ContinuousSpace: speed-up add/remove agents #1376. This is a ~6x p...
pex-tool__pex-1057
Release 2.1.17 On the docket: + [x] TypeError when resolving local platforms. #1043 + [x] No such file for interpreter's binary name #1009 + [x] Pex resources leak while bootstrapping pants #1050 + [x] Pex PEX perf regression #1054
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.16\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.17\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index f1e69a75b..118247d4d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,46 @@ Release Notes ============= +2.1.17 +------ + +This release fixes a bug in ``--resolve-local-platforms`` handling that made it unusable in 2.1.16 +(#1043) as well as fixing a long standing f...
pytorch__ignite-2907
Issue with Enum on Python3.11 ## 🐛 Bug description Importing `ignite.distributed` fails on Python3.11. To reproduce: ```bash python3.11 -m pip install pytorch-ignite python3.11 -c 'import ignite.distributed' ``` I get the following `AttributeError`: ```python Traceback (most recent call last): Fil...
[ { "content": "import numbers\nimport warnings\nimport weakref\nfrom collections.abc import Sequence\nfrom enum import Enum\nfrom types import DynamicClassAttribute\nfrom typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, TYPE_CHECKING, Union\n\nfrom torch.utils.data import DataLoader\n\nfrom...
[ { "content": "import numbers\nimport warnings\nimport weakref\nfrom collections.abc import Sequence\nfrom enum import Enum\nfrom types import DynamicClassAttribute\nfrom typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, TYPE_CHECKING, Union\n\nfrom torch.utils.data import DataLoader\n\nfrom...
diff --git a/ignite/engine/events.py b/ignite/engine/events.py index a80277c525d3..9dd99348492b 100644 --- a/ignite/engine/events.py +++ b/ignite/engine/events.py @@ -237,7 +237,10 @@ def function_before_backprop(engine): # ... """ - pass + def __new__(cls, value: str) -> "EventEnum": + ...
pex-tool__pex-1673
Release 2.1.72 On the docket: + [x] Fix Locker to prune un-downloaded entries. (#1666) + [x] Fix venv creation to ignore ambient PEX env vars. #1669 + [x] Lockfiles: requirement might not be compatible with requested interpreter constraints #1667
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.71\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.72\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index e7c692766..da8f81916 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.72 +------ + +This release fixes an old bug with ``--venv`` PEXes initially executed +with either ``PEX_MODULE`` or ``PEX_SCRIPT`` active in the environment....
pex-tool__pex-1610
Release 2.1.66 On the docket: + [x] Support specifying foreign platforms in full detail. #1597 + [x] Respect PEX_ROOT in PEXEnvironment.mount. #1599 + [x] Be able to see what .pex file is run from the list of system processes #1604
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.65\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.66\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index c524a7ef1..31b6db792 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,36 @@ Release Notes ============= +2.1.66 +------ + +This release brings a new ``--complete-platform`` Pex CLI option that +can be used instead of ``--platform`` when more detailed foreign +platfo...
pex-tool__pex-1733
Release 2.1.82 On the docket: + [x] Pex resolve checking does not allow resolved pre-releases when --no-pre. #1730
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.81\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.82\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index d79994b8a..76a815eff 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.82 +------ + +This is a hotfix release for a regression in prerelease version handling +introduced in the 2.1.81 release by #1727. + +* Fix prerelease handli...
pex-tool__pex-1834
Release 2.1.95 On the docket: + [x] Lock creation should skip Windows-only requirements and / or allow selecting target platforms (OS classes). #1821 + [x] Feature request: "universal" lock mode can reject unsupported platforms #1595 + [x] Avoid ENOEXEC for --venv shebangs. #1828 + [x] pex3 lock export does't seem...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.94\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.95\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index b40dc81c0..a66e2c6c4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,49 @@ Release Notes ============= +2.1.95 +------ + +This release brings two new ``pex3 lock`` features for +``--style universal`` locks. + +By default, universal locks are created to target all o...
pex-tool__pex-1319
Release 2.1.39 On the docket: + [x] Running opvault 0.4.9 pex leads to infinite recursion in setup tools #1316
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.38\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.39\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 778a61032..d63bfcf3e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.39 +------ + +A hotfix that fixes a bug present since 2.1.25 that results in infinite +recursion in PEX runtime resolves when handling dependency cycles. + +...
pex-tool__pex-1288
Release 2.1.35 On the docket: + [x] Ensure venv pex does not enter a re-exec loop. #1286 + [x] Improve resolve error information. #1287 + [x] Expose Pex tools via a pex-tools console script. #1279 + [x] Fix auto-created `--venv` core scripts. (#1278)
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.34\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.35\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index b2a99154a..fd0770874 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,25 @@ Release Notes ============= +2.1.35 +------ + +This release hardens a few aspects of `--venv` mode PEXes. An infinite +re-exec loop in venv `pex` scripts is fixed and the `activate` family +...
pex-tool__pex-1844
Release 2.1.97 On the docket: + [x] Avoid ENOEXEC for Pex internal --venvs. #1843
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.96\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.97\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index bd4f2b4fe..cfaab5109 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,16 @@ Release Notes ============= +2.1.97 +------ + +This release patches a hole left by #1828 in the Pex 2.1.95 release +whereby, although you could run a PEX under a too-long PEX_ROOT you +could...
pex-tool__pex-1761
Release 2.1.87 On the docket: + [ ] A relative --tmpdir foils pex3 lock create. #1758
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.86\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.87\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 37e7ea169..8a8cac55a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,15 +1,23 @@ Release Notes ============= +2.1.87 +------ + +This release fixes ``pex3 lock create`` to handle relative ``--tmpdir``. + +* Fix lock save detection to be more robust. (#1760) + `PR #1760 ...
pex-tool__pex-1419
Release 2.1.46 On the docket: + [x] Fix Pip proprietary URL env marker handling. #1417 + [x] Un-reify installed wheel script shebangs. #1410 + [x] Support deterministic repository extract tool. #1411 + [x] support setuptools scripts #1379
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.45\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.46\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index c829f74d5..26dc72d40 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,32 @@ Release Notes ============= +2.1.46 +------ + +This release improves PEX file build reproducibility and requirement +parsing of environment markers in Pip's proprietary URL format. + +Also, ...
pex-tool__pex-1664
Release 2.1.71 On the docket: + [x] Secure Pex against sha1 collision attacks. #1662 + [x] Problems building venvs from certain distributions. #1656
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.70\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.71\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index d8bc7c6e8..e7c692766 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,19 @@ Release Notes ============= +2.1.71 +------ + +This release fixes the instability introduced in 2.1.68 by switching to +a more robust means of determining venv layouts. Along the way it +upg...
pex-tool__pex-1559
Release 2.1.61 On the docket: + [x] Merge packages for --venv-site-packages-copies. #1557
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.60\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.61\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 76c9fd97b..35792bd9e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,16 @@ Release Notes ============= +2.1.61 +------ + +This release fixes a regression in Pex ``--venv`` mode compatibility +with distributions that are members of a namespace package that was +intr...
pex-tool__pex-1446
Release 2.1.49 On the docket: + [ ] Avoid re-using old ~/.pex/code/ caches. #1444
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.48\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.49\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 52558ddeb..4cf9ec11a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,17 @@ Release Notes ============= +2.1.49 +------ + +This is a hotfix release that fixes the new ``--layout {zipapp,packed}`` +modes for PEX files with no user code & just third party dependencies...
pex-tool__pex-1482
Release 2.1.51 On the docket: + [ ] UnicodeDecodeError when packaging after upgrading to v2.1.46 #1479
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.50\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.51\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index f05e62f6f..07f84eada 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,17 @@ Release Notes ============= +2.1.51 +------ + +This release fixes both PEX creation and ``--venv`` creation to handle +distributions that contain scripts with non-ascii characters in them +w...
pypi__warehouse-3165
Add a "shortlink" for projects **From user testing:** When viewing projects on PyPI, some users type the URL directly if they know the project name. We should create a shortlink like`pypi.org/p/myproject` which would redirect to `pypi.org/projects/myproject` cc @di for feedback / guidance. --- **Good Fir...
[ { "content": "# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, softw...
[ { "content": "# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, softw...
diff --git a/tests/unit/test_routes.py b/tests/unit/test_routes.py index 362b91010524..1d9607ca39a7 100644 --- a/tests/unit/test_routes.py +++ b/tests/unit/test_routes.py @@ -269,6 +269,7 @@ def add_policy(name, filename): ] assert config.add_redirect.calls == [ + pretend.call("/p/{name}/", "/project...
ivy-llc__ivy-23142
ifft
[ { "content": "# local\nimport ivy\nfrom ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back\nfrom ivy.func_wrapper import with_unsupported_dtypes\n\n\n@to_ivy_arrays_and_back\ndef fft(a, n=None, axis=-1, norm=None):\n if norm is None:\n norm = \"backward\"\n return ivy.fft(a, ax...
[ { "content": "# local\nimport ivy\nfrom ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back\nfrom ivy.func_wrapper import with_unsupported_dtypes\n\n\n@to_ivy_arrays_and_back\ndef fft(a, n=None, axis=-1, norm=None):\n if norm is None:\n norm = \"backward\"\n return ivy.fft(a, ax...
diff --git a/ivy/functional/frontends/jax/numpy/fft.py b/ivy/functional/frontends/jax/numpy/fft.py index 7a62b524d67e8..16d9cb97e67b2 100644 --- a/ivy/functional/frontends/jax/numpy/fft.py +++ b/ivy/functional/frontends/jax/numpy/fft.py @@ -27,3 +27,10 @@ def fftshift(x, axes=None, name=None): roll = ivy.roll(x, s...
pex-tool__pex-1251
Release 2.1.31 On the docket: + [x] When Pex is run from a Pex PEX its isolation is broken. #1232 + [x] The `--venv` mode `pex` script does not have a `__name__ == '__main__'` guard breaking multiprocessing. #1236 + [x] The `--seed` mode for a `--venv` PEX is unsafe. #1239 + [x] The venv `pex` script handles entryp...
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.30\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.31\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index fa1eefff1..85a8bdc9b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,38 @@ Release Notes ============= +2.1.31 +------ + +This release primarily hardens Pex venvs fixing several bugs. + +* Fix Pex isolation. (#1250) + `PR #1250 <https://github.com/pantsbuild/pex/p...
pex-tool__pex-1502
Release 2.1.53 On the docket: + [x] pex stops interpreter search if even one intepreter fails to identify itself #1494 + [x] Add support for setting custom venv prompts. #1499 + [x] How to know whether we are running from within pex #1485
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.52\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.53\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index e3cb3fcdf..72ae8ff25 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,20 @@ Release Notes ============= +2.1.53 +------ + +This release fixes a bug identifying certain interpreters on macOS +Monterey. Additionally, Pex now exposes the ``PEX`` environment +variable i...
pex-tool__pex-1314
Release 2.1.38 On the docket: + [ ] PEX direct requirement metadata for resolves via Pip is incorrect. #1311
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.37\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.38\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index f66b63894..778a61032 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,16 @@ Release Notes ============= +2.1.38 +------ + +A hotfix that finishes work started in 2.1.37 by #1304 to align Pip +based resolve results with ``--pex-repository`` based resolve results +for...
pex-tool__pex-1547
Release 2.1.59 On the docket: + [x] Add knob for --venv site-packages symlinking. #1543 + [x] Fix Pex to identify Python 3.10 interpreters. #1545
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.58\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.59\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index c8533e860..6f5b53a3e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,21 @@ Release Notes ============= +2.1.59 +------ + +This release adds the boolean option ``--venv-site-packages-copies`` to +control whether ``--venv`` execution mode PEXes create their venv with...
pex-tool__pex-1255
Release 2.1.32 On the docket: + [x] Venv `pex` and bin scripts can run afoul of shebang length limits. #1252
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.31\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.32\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 85a8bdc9b..d72ec401a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.32 +------ + +This is a hotfix release that fixes ``--venv`` mode shebangs being too long for some Linux +environments. + +* Guard against too long ``--venv`...
pytest-dev__pytest-django-881
admin_client is not checking for login success `client.login` inside `admin_client` can return `False` in the case when there's an existing admin user with a password set to something other than `'password'`. Perhaps, `admin_client` should use `force_login` instead?
[ { "content": "\"\"\"All pytest-django fixtures\"\"\"\n\n\nimport os\nfrom contextlib import contextmanager\nfrom functools import partial\n\nimport pytest\n\nfrom . import live_server_helper\nfrom .django_compat import is_django_unittest\nfrom .lazy_django import skip_if_no_django\n\n__all__ = [\n \"django_d...
[ { "content": "\"\"\"All pytest-django fixtures\"\"\"\n\n\nimport os\nfrom contextlib import contextmanager\nfrom functools import partial\n\nimport pytest\n\nfrom . import live_server_helper\nfrom .django_compat import is_django_unittest\nfrom .lazy_django import skip_if_no_django\n\n__all__ = [\n \"django_d...
diff --git a/docs/helpers.rst b/docs/helpers.rst index 03434faf7..d70ffe2d0 100644 --- a/docs/helpers.rst +++ b/docs/helpers.rst @@ -158,14 +158,18 @@ Example response = client.get('/') assert response.content == 'Foobar' -To use `client` as an authenticated standard user, call its `login()` method ...
scverse__scanpy-2566
pyproject.toml should refer to `igraph` and not `python-igraph` ### Please make sure these conditions are met - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of scanpy. - [X] (optional) I have confirmed this bug exists on the master branc...
[ { "content": "\"\"\"Logging and Profiling\n\"\"\"\nimport logging\nimport sys\nfrom functools import update_wrapper, partial\nfrom logging import CRITICAL, ERROR, WARNING, INFO, DEBUG\nfrom datetime import datetime, timedelta, timezone\nfrom typing import Optional, IO\nimport warnings\n\nimport anndata.logging\...
[ { "content": "\"\"\"Logging and Profiling\n\"\"\"\nimport logging\nimport sys\nfrom functools import update_wrapper, partial\nfrom logging import CRITICAL, ERROR, WARNING, INFO, DEBUG\nfrom datetime import datetime, timedelta, timezone\nfrom typing import Optional, IO\nimport warnings\n\nimport anndata.logging\...
diff --git a/.gitignore b/.gitignore index ed60829903..74a7fdcc33 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ /scanpy/tests/notebooks/figures/ # Environment management +/hatch.toml /Pipfile /Pipfile.lock /requirements*.lock diff --git a/docs/installation.md b/docs/installation.md index b8b75e1a9d....
pex-tool__pex-1618
Release 2.1.67 On the docket: + [x] Expand --platform syntax: support full versions. #1614
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.66\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.67\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 7ade9666f..3d9366907 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,20 @@ Release Notes ============= +2.1.67 +------ + +This release brings support for `--platform` arguments with a +3-component PYVER portion. This supports working around +`python_full_version` e...
Bitmessage__PyBitmessage-1387
Better logging Using the built-in python logging module I've made various log levels possible and made the creation of a log file a matter of changing the configuration in debug.py. The python logging module is thread-safe so we can safely replace all `print` calls with calls to `logger`. I only replaced some of them m...
[ { "content": "#!/usr/bin/env python2\n\"\"\"\nCheck dependendies and give recommendations about how to satisfy them\n\nLimitations:\n\n * Does not detect whether packages are already installed. Solving this requires writing more of a configuration\n management system. Or we could switch to an existing one...
[ { "content": "#!/usr/bin/env python2\n\"\"\"\nCheck dependendies and give recommendations about how to satisfy them\n\nLimitations:\n\n * Does not detect whether packages are already installed. Solving this requires writing more of a configuration\n management system. Or we could switch to an existing one...
diff --git a/checkdeps.py b/checkdeps.py index c0e1005199..03782037e8 100755 --- a/checkdeps.py +++ b/checkdeps.py @@ -22,7 +22,7 @@ from setup import EXTRAS_REQUIRE except ImportError: HAVE_SETUPTOOLS = False - EXTRAS_REQUIRE = [] + EXTRAS_REQUIRE = {} from importlib import import_module
liqd__a4-meinberlin-4706
#6460 Previous/Next Button Poll Request Results no backround color **URL:** https://meinberlin-dev.liqd.net/projekte/test-poll-merge-running-poll-with-user-content/ **user:** any **expected behaviour:** Previous/Next button on the poll request results has a pink background. **behaviour:** Button has no background. O...
[ { "content": "from django.contrib import messages\nfrom django.db import transaction\nfrom django.urls import reverse\nfrom django.utils.translation import gettext_lazy as _\nfrom django.views import generic\n\nfrom adhocracy4.categories import filters as category_filters\nfrom adhocracy4.exports.views import D...
[ { "content": "from django.contrib import messages\nfrom django.db import transaction\nfrom django.urls import reverse\nfrom django.utils.translation import gettext_lazy as _\nfrom django.views import generic\n\nfrom adhocracy4.categories import filters as category_filters\nfrom adhocracy4.exports.views import D...
diff --git a/meinberlin/apps/ideas/views.py b/meinberlin/apps/ideas/views.py index fb0f02f039..2bd994b679 100644 --- a/meinberlin/apps/ideas/views.py +++ b/meinberlin/apps/ideas/views.py @@ -55,7 +55,7 @@ class IdeaFilterSet(a4_filters.DefaultsFilterSet): class Meta: model = models.Idea - fields ...
pwndbg__pwndbg-1104
`dX` commands truncate output longer than native word size ### Example The screenshot below shows pwndbg commands issued when debugging an x86 program. Note that some of the data printed by the `dd` command is omitted by the `dq` command: ![dX issue](https://user-images.githubusercontent.com/16000770/186494094-3c455...
[ { "content": "\"\"\"\nCompatibility functionality for Windbg users.\n\"\"\"\n\nimport argparse\nimport codecs\nimport math\nimport sys\nfrom builtins import str\n\nimport gdb\n\nimport pwndbg.arch\nimport pwndbg.commands\nimport pwndbg.memory\nimport pwndbg.strings\nimport pwndbg.symbol\nimport pwndbg.typeinfo\...
[ { "content": "\"\"\"\nCompatibility functionality for Windbg users.\n\"\"\"\n\nimport argparse\nimport codecs\nimport math\nimport sys\nfrom builtins import str\n\nimport gdb\n\nimport pwndbg.arch\nimport pwndbg.commands\nimport pwndbg.memory\nimport pwndbg.strings\nimport pwndbg.symbol\nimport pwndbg.typeinfo\...
diff --git a/pwndbg/commands/windbg.py b/pwndbg/commands/windbg.py index f02bb70d6e4..e81af32eeaf 100644 --- a/pwndbg/commands/windbg.py +++ b/pwndbg/commands/windbg.py @@ -190,7 +190,7 @@ def dX(size, address, count, to_string=False, repeat=False): def enhex(size, value): - value = value & pwndbg.arch.ptrmask ...
readthedocs__readthedocs.org-10610
Change profile edit form success page Currently, when a user saves the profile edit form, the success page is not the profile form page, the user gets redirected to the profile public view page. This is quite confusing UX but might be baked into Allauth. I would expect this end up on the profile edit form page instead....
[ { "content": "\"\"\"Views for creating, editing and viewing site-specific user profiles.\"\"\"\n\nfrom allauth.account.views import LoginView as AllAuthLoginView\nfrom allauth.account.views import LogoutView as AllAuthLogoutView\nfrom django.conf import settings\nfrom django.contrib import messages\nfrom django...
[ { "content": "\"\"\"Views for creating, editing and viewing site-specific user profiles.\"\"\"\n\nfrom allauth.account.views import LoginView as AllAuthLoginView\nfrom allauth.account.views import LogoutView as AllAuthLogoutView\nfrom django.conf import settings\nfrom django.contrib import messages\nfrom django...
diff --git a/readthedocs/profiles/views.py b/readthedocs/profiles/views.py index 97607e0eda5..00f72266458 100644 --- a/readthedocs/profiles/views.py +++ b/readthedocs/profiles/views.py @@ -61,8 +61,7 @@ def get_object(self): def get_success_url(self): return reverse( - 'profiles_profile_detai...
pex-tool__pex-1859
Release 2.1.100 On the docket: + [x] Using --target-system linux --target-system mac can still lead to failed attempts to lock Windows requirements. #1856
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.99\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.100\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 134903f81..4c6cf4cb8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.100 +------- + +This release fixes a hole in the lock creation ``--target-system`` +feature added in #1823 in Pex 2.1.95. + +* Fix lock creation ``--target-s...
microsoft__Qcodes-5046
Update Sphinx favicon config Thanks for using [Sphinx Favicon](https://github.com/tcmetzger/sphinx-favicon) in your project! I just released version 1.0 of the extension, which brings one breaking change: to better conform with Python standards, we changed the module name to `sphinx_favicon` (instead of `sphinx-favicon...
[ { "content": "#!/usr/bin/env python3\n#\n# QCoDeS documentation build configuration file, created by\n# sphinx-quickstart on Thu Jun 2 10:41:37 2016.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this...
[ { "content": "#!/usr/bin/env python3\n#\n# QCoDeS documentation build configuration file, created by\n# sphinx-quickstart on Thu Jun 2 10:41:37 2016.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this...
diff --git a/docs/conf.py b/docs/conf.py index f199041d57f..de9b9b3413f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -78,7 +78,7 @@ "sphinxcontrib.towncrier", "autodocsumm", "sphinx_issues", - "sphinx-favicon", + "sphinx_favicon", ] # include special __xxx__ that DO have a docstring diff --g...
codespell-project__codespell-89
Makefile is broken The makefile is no longer working, since there is no longer a codespell.py
[ { "content": "#! /usr/bin/env python\n\n# adapted from mne-python\n\nimport os\nfrom os import path as op\n\ntry:\n import setuptools # noqa to allow --develop\nexcept Exception:\n pass\nfrom distutils.core import setup\n\nfrom codespell_lib import __version__\n\nDISTNAME = 'codespell'\nDESCRIPTION = \"\...
[ { "content": "#! /usr/bin/env python\n\n# adapted from mne-python\n\nimport os\nfrom os import path as op\n\ntry:\n import setuptools # noqa to allow --develop\nexcept Exception:\n pass\nfrom distutils.core import setup\n\nfrom codespell_lib import __version__\n\nDISTNAME = 'codespell'\nDESCRIPTION = \"\...
diff --git a/README.rst b/README.rst index cc19f4cf8f..44b4f0b749 100644 --- a/README.rst +++ b/README.rst @@ -31,7 +31,7 @@ You can use ``pip`` to install codespell with e.g.:: Usage ----- -Check usage with ``./codespell.py -h``. There are a few command line options. +Check usage with ``codespell -h``. There are a...
OpenEnergyPlatform__oeplatform-495
The data versioning does not track change types Change tables do not store the types of changes. "_type" has to be injected into queries
[ { "content": "###########\n# Parsers #\n###########\nimport decimal\nimport re\nfrom datetime import datetime, date\n\nimport geoalchemy2 # Although this import seems unused is has to be here\nimport sqlalchemy as sa\nfrom sqlalchemy import (\n Column,\n MetaData,\n Table,\n and_,\n not_,\n c...
[ { "content": "###########\n# Parsers #\n###########\nimport decimal\nimport re\nfrom datetime import datetime, date\n\nimport geoalchemy2 # Although this import seems unused is has to be here\nimport sqlalchemy as sa\nfrom sqlalchemy import (\n Column,\n MetaData,\n Table,\n and_,\n not_,\n c...
diff --git a/api/parser.py b/api/parser.py index 3c76c36ef..8e0f4abba 100644 --- a/api/parser.py +++ b/api/parser.py @@ -98,6 +98,7 @@ def set_meta_info(method, user, message=None): val_dict = {} val_dict["_user"] = user # TODO: Add user handling val_dict["_message"] = message + val_dict["_type"] = m...
bridgecrewio__checkov-2810
HCL2 parser cannot parse functions with comments interleaved in the arguments. **Describe the issue** The HCL2 parser fails to parse a file that contains an expression with a Terraform function call that contains comments interleaved within the arguments. **Example Value** A file that contains the following exaple...
[ { "content": "#!/usr/bin/env python\nimport logging\nimport os\nfrom importlib import util\nfrom os import path\n\nimport setuptools\nfrom setuptools import setup\n\n# read the contents of your README file\nthis_directory = path.abspath(path.dirname(__file__))\nwith open(path.join(this_directory, \"README.md\")...
[ { "content": "#!/usr/bin/env python\nimport logging\nimport os\nfrom importlib import util\nfrom os import path\n\nimport setuptools\nfrom setuptools import setup\n\n# read the contents of your README file\nthis_directory = path.abspath(path.dirname(__file__))\nwith open(path.join(this_directory, \"README.md\")...
diff --git a/Pipfile b/Pipfile index 1f3262d62c..c27ece993d 100644 --- a/Pipfile +++ b/Pipfile @@ -33,7 +33,7 @@ dlint = "*" # # REMINDER: Update "install_requires" deps on setup.py when changing # -bc-python-hcl2 = "==0.3.38" +bc-python-hcl2 = "==0.3.39" deep_merge = "*" tabulate = "*" colorama="*" diff --git a/...
bridgecrewio__checkov-3151
Terraform parsing error string with escaped backslash at the end **Describe the issue** Checkov crashes if it encounters an escaped backslash (`"\\"`) at the end of a string. **Examples** Minimal example to reproduce the error: ```terraform variable "slash" { default = "\\" } output "slash" { value...
[ { "content": "#!/usr/bin/env python\nimport logging\nimport os\nfrom importlib import util\nfrom os import path\n\nimport setuptools\nfrom setuptools import setup\n\n# read the contents of your README file\nthis_directory = path.abspath(path.dirname(__file__))\nwith open(path.join(this_directory, \"README.md\")...
[ { "content": "#!/usr/bin/env python\nimport logging\nimport os\nfrom importlib import util\nfrom os import path\n\nimport setuptools\nfrom setuptools import setup\n\n# read the contents of your README file\nthis_directory = path.abspath(path.dirname(__file__))\nwith open(path.join(this_directory, \"README.md\")...
diff --git a/Pipfile b/Pipfile index 7a57559a95..e164b06aed 100644 --- a/Pipfile +++ b/Pipfile @@ -41,7 +41,7 @@ flake8-bugbear = "*" # # REMINDER: Update "install_requires" deps on setup.py when changing # -bc-python-hcl2 = "==0.3.42" +bc-python-hcl2 = "==0.3.44" deep_merge = "*" tabulate = "*" colorama="*" diff...
litestar-org__litestar-1633
StaticFilesConfig and virtual directories I'm trying to write a ``FileSystemProtocol`` to load files from the package data using [importlib_resources](https://importlib-resources.readthedocs.io/en/latest/using.html#). But because ``directories`` is defined as ``DirectoryPath``, pydantic checks if the given directories ...
[ { "content": "from __future__ import annotations\n\nimport argparse\nimport importlib.metadata\nimport json\nimport os\nimport shutil\nimport subprocess\nfrom contextlib import contextmanager\nfrom pathlib import Path\nfrom typing import TypedDict\n\nREDIRECT_TEMPLATE = \"\"\"\n<!DOCTYPE HTML>\n<html lang=\"en-...
[ { "content": "from __future__ import annotations\n\nimport argparse\nimport importlib.metadata\nimport json\nimport os\nimport shutil\nimport subprocess\nfrom contextlib import contextmanager\nfrom pathlib import Path\nfrom typing import TypedDict\n\nREDIRECT_TEMPLATE = \"\"\"\n<!DOCTYPE HTML>\n<html lang=\"en-...
diff --git a/tools/build_docs.py b/tools/build_docs.py index 46e577e3e5..34b4f48b4a 100644 --- a/tools/build_docs.py +++ b/tools/build_docs.py @@ -90,7 +90,7 @@ def main() -> None: build( output_dir=args.output, version=args.version, - ignore_missing_output=args.ignore_missing_output, + ...
zulip__zulip-8684
lint rules: Prevent `return undefined;` We should sweep the code to replace `return undefined;` with `return;`, and then make a lint rule for it, either via eslint (if they support that) or by making a custom rule.
[ { "content": "ZULIP_VERSION = \"1.7.1+git\"\n\n# Bump the minor PROVISION_VERSION to indicate that folks should provision\n# only when going from an old version of the code to a newer version. Bump\n# the major version to indicate that folks should provision in both\n# directions.\n\n# Typically, adding a depen...
[ { "content": "ZULIP_VERSION = \"1.7.1+git\"\n\n# Bump the minor PROVISION_VERSION to indicate that folks should provision\n# only when going from an old version of the code to a newer version. Bump\n# the major version to indicate that folks should provision in both\n# directions.\n\n# Typically, adding a depen...
diff --git a/.eslintrc.json b/.eslintrc.json index 7c680d38220ce..db7c93bd78cad 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -172,6 +172,9 @@ "common": false, "panels": false }, + "plugins": [ + "eslint-plugin-empty-returns" + ], "rules": { "array-callback-return...
pex-tool__pex-2240
Release 2.1.146 On the docket: + [x] Fix non executable venv sys path bug #2236
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.145\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.146\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.md b/CHANGES.md index e0b86c7d2..e4578df2c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,12 @@ # Release Notes +## 2.1.146 + +This release brings a fix by new contributor @yjabri for the `__pex__` +import hook that gets it working properly for `--venv` mode PEXes. + +* Fix non executable v...
pex-tool__pex-2042
Release 2.1.121 On the docket: + [x] Building Pex with requirements.txt that includes local directory + Python version specifier fails #2037 + [x] Failed to resolve compatible distributions when building Pex from .whl with local dependencies #2038
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.120\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.121\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 992b31e92..052808652 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,18 @@ Release Notes ============= +2.1.121 +------- + +This release fixes two bugs brought to light trying to interoperate with +Poetry projects. + +* Support space separated markers in URL reqs. ...
pex-tool__pex-2245
Release 2.1.147 On the docket: + [x] pex does not use .pip/pip.conf to resolve packages #336 / #838
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.146\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.147\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.md b/CHANGES.md index e4578df2c..70201b9bb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,13 @@ # Release Notes +## 2.1.147 + +Add support for `--use-pip-config` to allow the Pip Pex calls to read +`PIP_*` env vars and Pip configuration files. This can be particularly +useful for picking up...
pex-tool__pex-1947
Release 2.1.110 On the docket: + [x] PEX runtime sys.path scrubbing is imperfect. #1944
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.109\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.110\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index cc087a1ee..79be2e8ea 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,17 @@ Release Notes ============= +2.1.110 +------- + +This release fixes Pex runtime ``sys.path`` scrubbing for cases where +Pex is not the main entry point. An important example of this is in +L...
ivy-llc__ivy-26758
igamma
[ { "content": "# global\nfrom typing import Any\nimport itertools\nimport string\nimport builtins\n\n# local\nimport ivy\nfrom ivy.func_wrapper import with_supported_dtypes\nfrom ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back\nfrom ivy.func_wrapper import with_unsupported_dtypes, fronten...
[ { "content": "# global\nfrom typing import Any\nimport itertools\nimport string\nimport builtins\n\n# local\nimport ivy\nfrom ivy.func_wrapper import with_supported_dtypes\nfrom ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back\nfrom ivy.func_wrapper import with_unsupported_dtypes, fronten...
diff --git a/ivy/functional/frontends/jax/lax/operators.py b/ivy/functional/frontends/jax/lax/operators.py index e456a89ff4e01..488e60b4335e2 100644 --- a/ivy/functional/frontends/jax/lax/operators.py +++ b/ivy/functional/frontends/jax/lax/operators.py @@ -454,6 +454,11 @@ def gt(x, y): return ivy.greater(x, y) ...
docker__docker-py-635
Can't use multiple of same host path in binds Reference for issue is docker/compose#983 The `convert_volume_binds` is using the dict key to get the host path to bind. Because of this, it is impossible to do the equivalent of `docker run -v /foo:/bar -v /foo:baz`.
[ { "content": "# Copyright 2013 dotCloud inc.\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n# http://www.apache.org/licenses/LICENSE-2.0\n\n# Unless requir...
[ { "content": "# Copyright 2013 dotCloud inc.\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n# http://www.apache.org/licenses/LICENSE-2.0\n\n# Unless requir...
diff --git a/docker/utils/utils.py b/docker/utils/utils.py index e4a3c9e64..724af4650 100644 --- a/docker/utils/utils.py +++ b/docker/utils/utils.py @@ -174,6 +174,9 @@ def convert_port_bindings(port_bindings): def convert_volume_binds(binds): + if isinstance(binds, list): + return binds + result = ...
pex-tool__pex-2143
Release 2.1.135 On the docket: + [x] Add Support for Pip 23.1.1. #2133 + [x] Introduce pex3 venv inspect. #2135 + [x] Add support for Pip 23.1.2. #2142 + [x] Introduce pex3 venv create. #2140
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.134\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.135\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 46b9ed061..5730d24ef 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,42 @@ Release Notes ============= +2.1.135 +------- + +This release brings support for ``pex3 venv {inspect,create}`` for +working with venvs directly using Pex. Previously, a PEX built with +``--...
Kinto__kinto-1304
Cannot import name `Utc` While trying to debug #1299 I encountered the following error: ``` $ make serve ... ~/.virtualenvs/test/bin/kinto migrate --ini config/kinto.ini Traceback (most recent call last): File "~/.virtualenvs/test/bin/kinto", line 11, in <module> load_entry_point('kinto', 'console_scripts'...
[ { "content": "import codecs\nimport os\nfrom setuptools import setup, find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\ndef read_file(filename):\n \"\"\"Open a related file and return its content.\"\"\"\n with codecs.open(os.path.join(here, filename), encoding='utf-8') as f:\n ...
[ { "content": "import codecs\nimport os\nfrom setuptools import setup, find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\ndef read_file(filename):\n \"\"\"Open a related file and return its content.\"\"\"\n with codecs.open(os.path.join(here, filename), encoding='utf-8') as f:\n ...
diff --git a/setup.py b/setup.py index 1ffb4863d..7515b388d 100644 --- a/setup.py +++ b/setup.py @@ -18,8 +18,7 @@ def read_file(filename): REQUIREMENTS = [ 'bcrypt', - 'iso8601==0.1.11', # Refs #1301 - 'colander >= 1.3.2', + 'colander >= 1.4.0', 'cornice >= 2.4', 'cornice_swagger >= 0.5.1',...
pex-tool__pex-2278
Release 2.1.150 On the docket: + [x] Add support for Pip 23.3.1. #2276 + [x] Support .egg-info dist metadata. #2264
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.149\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.150\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.md b/CHANGES.md index d8ccde54f..9c6d8a052 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Release Notes +## 2.1.150 + +This release brings support for `--pip-version 23.3.1`. + +* Add support for Pip 23.3.1. (#2276) + ## 2.1.149 Fix `--style universal` lock handing of `none` ABI...
pex-tool__pex-2226
Release 2.1.144 On the docket: + [x] Traverse directories in stable order when building a PEX #2220
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.143\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.144\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.md b/CHANGES.md index 51e6cf86f..8b6c19d5f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,12 @@ # Release Notes +## 2.1.144 + +This release fixes Pex to build PEX files with deterministic file order +regardless of the operating system / file system the PEX was built on. + +* Traverse direct...
pex-tool__pex-1922
Release 2.1.106 On the docket: + [x] Providing a direct reference to a wheel with a local version fails to resolve #1919
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.105\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.106\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 4d8d4f999..15da265af 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,17 +1,26 @@ Release Notes ============= +2.1.106 +------- + +This release fixes a long standing bug in handling direct reference +requirements with a local version component. + +* Unquote path componen...
pex-tool__pex-2219
Release 2.1.143 On the docket: + [x] pex fails to build pycryptodome due to filename too long #2087
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.142\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.143\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.md b/CHANGES.md index 5bbc1c157..51e6cf86f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Release Notes +## 2.1.143 + +This release fixes Pex to work by default under eCryptFS home dirs. + +* Guard against too long filenames on eCryptFS. (#2217) + ## 2.1.142 This release fixes P...
pex-tool__pex-2062
Release 2.1.123 On the docket: + [x] Create lockfile for xmlsec fails #2063 + [x] Internal not enough values to unpack error for pex3 lock create 'pip @ https://github.com/pypa/pip/archive/22.0.2.zip' ... #2057 + [x] Pex lock creation does not handle wheels with non {cp,pp,py} pyver tag. #2059
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.122\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.123\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 869877089..978a81753 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,17 +1,51 @@ Release Notes ============= +2.1.123 +------- + +This release fixes a few ``pex3 lock create`` bugs. + +There was a regression introduced in Pex 2.1.122 where projects that +used a PEP-518 ...
pex-tool__pex-1925
Release 2.1.107 On the docket: + [x] `git` username replaced with `****` redaction in lockfile for `git+ssh` direct references #1918
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.106\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.107\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 15da265af..be93a0e4d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.107 +------- + +This release fixes an issue handling credentials in git+ssh VCS urls +when creating locks. + +* Fix locks for git+ssh with credentials. (#192...
pex-tool__pex-1864
Release 2.1.101 On the docket: + [x] Pex fails to find RECORD for python-certifi-win32 1.6.1 #1861
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.100\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.101\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 4c6cf4cb8..d02e8c1cc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.101 +------- + +This release fixes a corner-case revealed by python-certifi-win32 1.6.1 +that was not previously handled when installing certain distribution...
zulip__zulip-12366
Scrollbar drag can result in unintended click actions Split off from #11792: > * on the settings pages, if you click on the scrollbar, drag it down, and then release your click when the mouse is outside the settings modal (e.g. below it or to the right), it closes the settings modal. I don't know if this is an exist...
[ { "content": "ZULIP_VERSION = \"2.0.3+git\"\nLATEST_MAJOR_VERSION = \"2.0\"\nLATEST_RELEASE_VERSION = \"2.0.3\"\nLATEST_RELEASE_ANNOUNCEMENT = \"https://blog.zulip.org/2019/03/01/zulip-2-0-released/\"\n\n# Bump the minor PROVISION_VERSION to indicate that folks should provision\n# only when going from an old ve...
[ { "content": "ZULIP_VERSION = \"2.0.3+git\"\nLATEST_MAJOR_VERSION = \"2.0\"\nLATEST_RELEASE_VERSION = \"2.0.3\"\nLATEST_RELEASE_ANNOUNCEMENT = \"https://blog.zulip.org/2019/03/01/zulip-2-0-released/\"\n\n# Bump the minor PROVISION_VERSION to indicate that folks should provision\n# only when going from an old ve...
diff --git a/package.json b/package.json index 7072781bf8cae..58195f9d7ddb6 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "plotly.js": "1.37.1", "sass-loader": "7.0.1", "script-loader": "0.7.2", - "simplebar": "^4.0.0-alpha.9", + "simplebar": "^4.0.0", "sortablejs": "^1.7.0", ...
pex-tool__pex-2034
Release 2.1.120 On the docket: + [x] Support REPL command history #2019 + [x] Using --complete-platform with --resolve-local-platforms should build sdists when local platform provides a subset of complete-platforms #2026 + [x] A loose layout, venv-with-symlink PEX creates brittle symlinks #2023
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.119\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.120\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index a7c5d4575..992b31e92 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,29 @@ Release Notes ============= +2.1.120 +------- + +This release completes the ``--complete-platform`` fix started in +Pex 2.1.116 by #1991. That fix did not work in all cases but now does. + +...
pex-tool__pex-2095
Release 2.1.129 On the docket: + [x] Pex resolves VCS and local project requirements from locks incorrectly. #2092
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.128\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.129\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index d4a3a0197..46c800c11 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,16 @@ Release Notes ============= +2.1.129 +------- + +This release fixes a bug downloading a VCS requirement from a lock when +the ambient Python interpreter used to run Pex does not meet the +``...
pex-tool__pex-2000
Release 2.1.117 On the docket: + [x] Published pex on github no longer works with PyPy since 2.1.109 #1995
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.116\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.117\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 3f75d503d..20955dbe7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,21 @@ Release Notes ============= +2.1.117 +------- + +This release fixes a bug introduced in Pex 2.1.109 where the released +Pex PEX could not be executed by PyPy interpreters. More generally, an...
pex-tool__pex-1997
Release 2.1.116 On the docket: + [x] The --resolve-local-platforms option does not work with --complete-platforms #1899
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.115\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.116\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 94f0b27b4..3f75d503d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.116 +------- + +This release fixes a bug in ``--resolve-local-platforms`` when +``--complete-platform`` was used. + +* Check for --complete-platforms match w...
pex-tool__pex-1942
Release 2.1.109 On the docket: + [x] pex does not support musllinux wheels #1933 + [x] Empty string PEX_PATH="" env var causes CWD (.) to be added bootstrapped pex_path #1936
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.108\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.109\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index f1a94fcc9..cc087a1ee 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,20 @@ Release Notes ============= +2.1.109 +------- + +This release brings musllinux wheel support and a fix for a regression +introduced in Pex 2.1.105 by #1902 that caused ``PEX_PATH=`` (an +exp...
DataDog__integrations-extras-1031
Collect clock_time_seconds metric from cert-manager cert-manager v1.5+ exposes a `clock_time` metric which reports the current seconds since the Unix Epoch See: https://github.com/jetstack/cert-manager/pull/4105 It would be useful to collect this metric in DataDog so we can alert on seconds until a given certificat...
[ { "content": "# (C) Datadog, Inc. 2019-present\n# All rights reserved\n# Licensed under a 3-clause BSD style license (see LICENSE)\n\nCERT_METRICS = {\n 'certmanager_certificate_ready_status': 'certificate.ready_status',\n 'certmanager_certificate_expiration_timestamp_seconds': 'certificate.expiration_tim...
[ { "content": "# (C) Datadog, Inc. 2019-present\n# All rights reserved\n# Licensed under a 3-clause BSD style license (see LICENSE)\n\nCERT_METRICS = {\n 'certmanager_certificate_ready_status': 'certificate.ready_status',\n 'certmanager_certificate_expiration_timestamp_seconds': 'certificate.expiration_tim...
diff --git a/cert_manager/datadog_checks/cert_manager/metrics.py b/cert_manager/datadog_checks/cert_manager/metrics.py index f098835222..7df0d19522 100644 --- a/cert_manager/datadog_checks/cert_manager/metrics.py +++ b/cert_manager/datadog_checks/cert_manager/metrics.py @@ -8,6 +8,7 @@ } CONTROLLER_METRICS = { + ...
pex-tool__pex-2086
Release 2.1.127 On the docket: + [x] Pex fails to subset a "foo @ file:///bar" URL lock. #2083
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.126\"\n", "path": "pex/version.py" } ]
[ { "content": "# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).\n# Licensed under the Apache License, Version 2.0 (see LICENSE).\n\n__version__ = \"2.1.127\"\n", "path": "pex/version.py" } ]
diff --git a/CHANGES.rst b/CHANGES.rst index 112d072a0..b7c71cb3c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Release Notes ============= +2.1.127 +------- + +This release fixes `--lock` resolve sub-setting for local project +requirements. + +* Fix lock subsetting for local projects. (#2085) + `PR ...