repo
stringclasses
32 values
instance_id
stringlengths
13
37
base_commit
stringlengths
40
40
patch
stringlengths
1
1.89M
test_patch
stringclasses
1 value
problem_statement
stringlengths
304
69k
hints_text
stringlengths
0
246k
created_at
stringlengths
20
20
version
stringclasses
1 value
FAIL_TO_PASS
stringclasses
1 value
PASS_TO_PASS
stringclasses
1 value
environment_setup_commit
stringclasses
1 value
traceback
stringlengths
64
23.4k
__index_level_0__
int64
29
19k
pantsbuild/pants
pantsbuild__pants-10879
31cdbc84c9f9fc086050593ae1fad68e7d4c0cae
diff --git a/src/python/pants/engine/internals/scheduler.py b/src/python/pants/engine/internals/scheduler.py --- a/src/python/pants/engine/internals/scheduler.py +++ b/src/python/pants/engine/internals/scheduler.py @@ -283,8 +283,8 @@ def _run_and_return_roots(self, session, execution_request): def lease_files_in_graph(self, session): self._native.lib.lease_files_in_graph(self._scheduler, session) - def garbage_collect_store(self): - self._native.lib.garbage_collect_store(self._scheduler) + def garbage_collect_store(self, target_size_bytes: int) -> None: + self._native.lib.garbage_collect_store(self._scheduler, target_size_bytes) def new_session( self, @@ -613,5 +613,5 @@ def materialize_directories( def lease_files_in_graph(self): self._scheduler.lease_files_in_graph(self._session) - def garbage_collect_store(self): - self._scheduler.garbage_collect_store() + def garbage_collect_store(self, target_size_bytes: int) -> None: + self._scheduler.garbage_collect_store(target_size_bytes) diff --git a/src/python/pants/pantsd/service/store_gc_service.py b/src/python/pants/pantsd/service/store_gc_service.py --- a/src/python/pants/pantsd/service/store_gc_service.py +++ b/src/python/pants/pantsd/service/store_gc_service.py @@ -13,14 +13,19 @@ class StoreGCService(PantsService): This service both ensures that in-use files continue to be present in the engine's Store, and performs occasional garbage collection to bound the size of the engine's Store. + + NB: The lease extension interval should be significantly less than the rust-side + sharded_lmdb::DEFAULT_LEASE_TIME to ensure that valid leases are extended well before they + might expire. """ def __init__( self, scheduler: Scheduler, period_secs=10, - lease_extension_interval_secs=(30 * 60), - gc_interval_secs=(4 * 60 * 60), + lease_extension_interval_secs=(15 * 60), + gc_interval_secs=(1 * 60 * 60), + target_size_bytes=(4 * 1024 * 1024 * 1024), ): super().__init__() self._scheduler_session = scheduler.new_session( @@ -31,6 +36,7 @@ def __init__( self._period_secs = period_secs self._lease_extension_interval_secs = lease_extension_interval_secs self._gc_interval_secs = gc_interval_secs + self._target_size_bytes = target_size_bytes self._set_next_gc() self._set_next_lease_extension() @@ -53,7 +59,7 @@ def _maybe_garbage_collect(self): if time.time() < self._next_gc: return self._logger.info("Garbage collecting store") - self._scheduler_session.garbage_collect_store() + self._scheduler_session.garbage_collect_store(self._target_size_bytes) self._logger.info("Done garbage collecting store") self._set_next_gc()
Digest does not exist when switching repos with pantsd off in one, on in the other ``` 18:08:49.83 [WARN] <unknown>:882: DeprecationWarning: invalid escape sequence \d 18:08:52.21 [WARN] Completed: Find PEX Python - No bootstrap Python executable could be found from the option `interpreter_search_paths` in the `[python-setup]` scope. Will attempt to run PEXes directly. 18:08:53.11 [WARN] /data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/base/exception_sink.py:359: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats process_title=setproctitle.getproctitle(), 18:08:53.11 [ERROR] 1 Exception encountered: Engine traceback: in select in `binary` goal in pants.backend.python.rules.create_python_binary.create_python_binary in pants.backend.python.rules.pex.two_step_create_pex in pants.backend.python.rules.pex.create_pex Traceback (no traceback): <pants native internals> Exception: String("Digest Digest(Fingerprint<97adba2ad1bfef3ba1b37d6b119e15498ed2a60392241b5ea7c28c602826dd6c>, 97) did not exist in the Store.") Traceback (most recent call last): File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 255, in run engine_result = self._run_v2() File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 166, in _run_v2 return self._maybe_run_v2_body(goals, poll=False) File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 183, in _maybe_run_v2_body return self.graph_session.run_goal_rules( File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/init/engine_initializer.py", line 130, in run_goal_rules exit_code = self.scheduler_session.run_goal_rule( File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 561, in run_goal_rule self._raise_on_error([t for _, t in throws]) File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 520, in _raise_on_error raise ExecutionError( pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered: Engine traceback: in select in `binary` goal in pants.backend.python.rules.create_python_binary.create_python_binary in pants.backend.python.rules.pex.two_step_create_pex in pants.backend.python.rules.pex.create_pex Traceback (no traceback): <pants native internals> Exception: String("Digest Digest(Fingerprint<97adba2ad1bfef3ba1b37d6b119e15498ed2a60392241b5ea7c28c602826dd6c>, 97) did not exist in the Store.") ```
sometime, I see this extra error info: ``` in pants.backend.python.rules.create_python_binary.create_python_binary in pants.backend.python.rules.pex.two_step_create_pex in pants.backend.python.rules.pex.create_pex Traceback (no traceback): <pants native internals> Exception: String("Digest Digest(Fingerprint<3dcdb1a3bd62e17cef0250301a85627cdd844605c1e1a514076b429cd39e6870>, 97) did not exist in the Store.") Fatal Python error: This thread state must be current when releasing Python runtime state: finalizing (tstate=0x556a5a059f10) Thread 0x00007f9609246700 (most recent call first): <no Python frame> Thread 0x00007f9603fff700 (most recent call first): <no Python frame> Current thread 0x00007f9609045700 (most recent call first): <no Python frame> Thread 0x00007f9608e44700 (most recent call first): File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 4269 in postParse File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1408 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 3552 in parseImpl File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 4005 in parseImpl File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 3417 in parseImpl File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 3400 in parseImpl File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 3552 in parseImpl File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 3417 in parseImpl File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402 in _parseNoCache File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/pyparsing.py", line 1644 in parseString File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 98 in __init__ File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3119 in __init__ File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3109 in parse_requirements File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/backend/python/rules/pex_from_targets.py", line 209 in pex_from_targets File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/engine/internals/native.py", line 67 in generator_send Thread 0x00007f9611881080 (most recent call first): <no Python frame> Aborted (core dumped) ``` @stuhood @gshuflin . @asherf mentioned that this occurs on a machine where some repositories are using `pantsd` and some aren't. That should be accounted for in the lease extension code, but it might still have a gap. Determining whether the missing digest is an "inner" node (below a "root" digest that was kept alive) would likely be interesting. Added to the `2.0.x` milestone. I got this when running in the TC codebase (no pantsd) after just having had run in Pants's codebase (with pantsd): ``` Engine traceback: in select in `typecheck` goal in Typecheck using MyPy in pants.backend.python.util_rules.pex.create_pex in pants.backend.python.util_rules.pex_cli.setup_pex_cli_process in Find PEX Python in Find binary path in pants.engine.process.remove_platform_information Traceback (no traceback): <pants native internals> Exception: Bytes from stdout Digest Digest(Fingerprint<55fd2022c440089e0812a6a9dc5affeba6ba3d30715595dfde9092125d93909b>, 93) not found in store ```
2020-09-29T21:29:05Z
[]
[]
Traceback (most recent call last): File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 255, in run engine_result = self._run_v2() File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 166, in _run_v2 return self._maybe_run_v2_body(goals, poll=False) File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 183, in _maybe_run_v2_body return self.graph_session.run_goal_rules( File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/init/engine_initializer.py", line 130, in run_goal_rules exit_code = self.scheduler_session.run_goal_rule( File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 561, in run_goal_rule self._raise_on_error([t for _, t in throws]) File "/data/home/asher/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0a1_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 520, in _raise_on_error raise ExecutionError( pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
15,773
pantsbuild/pants
pantsbuild__pants-11092
bf5e78945b16b5f2312e146d4708ce50f9e866c0
diff --git a/src/python/pants/pantsd/pants_daemon.py b/src/python/pants/pantsd/pants_daemon.py --- a/src/python/pants/pantsd/pants_daemon.py +++ b/src/python/pants/pantsd/pants_daemon.py @@ -170,24 +170,20 @@ def _pantsd_logging(self) -> Iterator[None]: self._logger.debug("Logging reinitialized in pantsd context") yield - def _write_nailgun_port(self): - """Write the nailgun port to a well known file.""" - self.write_socket(self._server.port()) - - def _initialize_pid(self): - """Writes out our pid and metadata. + def _initialize_metadata(self) -> None: + """Writes out our pid and other metadata. - Once written, does a one-time read of the pid to confirm that we haven't raced another - process starting. + Order matters a bit here, because technically all that is necessary to connect is the port, + and Services are lazily initialized by the core when a connection is established. Our pid + needs to be on disk before that happens. """ # Write the pidfile. The SchedulerService will monitor it after a grace period. - pid = os.getpid() - self._logger.debug(f"pantsd running with PID: {pid}") - self.write_pid(pid=pid) - self.write_metadata_by_name( - "pantsd", self.FINGERPRINT_KEY, ensure_text(self.options_fingerprint) - ) + self.write_pid() + self.write_process_name() + self.write_fingerprint(ensure_text(self.options_fingerprint)) + self._logger.debug(f"pantsd running with PID: {self.pid}") + self.write_socket(self._server.port()) def run_sync(self): """Synchronously run pantsd.""" @@ -208,12 +204,7 @@ def run_sync(self): # Set the process name in ps output to 'pantsd' vs './pants compile src/etc:: -ldebug'. set_process_title(f"pantsd [{self._build_root}]") - # Write our pid and the server's port to .pids. Order matters a bit here, because - # technically all that is necessary to connect is the port, and Services are lazily - # initialized by the core when a connection is established. Our pid needs to be on - # disk before that happens. - self._initialize_pid() - self._write_nailgun_port() + self._initialize_metadata() # Check periodically whether the core is valid, and exit if it is not. while self._core.is_valid(): diff --git a/src/python/pants/pantsd/process_manager.py b/src/python/pants/pantsd/process_manager.py --- a/src/python/pants/pantsd/process_manager.py +++ b/src/python/pants/pantsd/process_manager.py @@ -4,12 +4,11 @@ import logging import os import signal -import subprocess import sys import time import traceback from abc import ABCMeta -from contextlib import contextmanager +from hashlib import sha256 from typing import Callable, Optional, cast import psutil @@ -20,24 +19,18 @@ from pants.option.scope import GLOBAL_SCOPE from pants.process.lock import OwnerPrintingInterProcessFileLock from pants.util.dirutil import read_file, rm_rf, safe_file_dump, safe_mkdir -from pants.util.memo import memoized_property +from pants.util.memo import memoized_classproperty, memoized_property logger = logging.getLogger(__name__) -@contextmanager -def swallow_psutil_exceptions(): - """A contextmanager that swallows standard psutil access exceptions.""" - try: - yield - except (psutil.AccessDenied, psutil.NoSuchProcess): - # This masks common, but usually benign psutil process access exceptions that might be seen - # when accessing attributes/methods on psutil.Process objects. - pass - - class ProcessMetadataManager: - """"Manages contextual, on-disk process metadata.""" + """Manages contextual, on-disk process metadata. + + Metadata is stored under a per-host fingerprinted directory, and a nested per-named-process + directory. The per-host directory defends against attempting to use process metadata that has + been mounted into virtual machines or docker images. + """ class MetadataError(Exception): pass @@ -53,6 +46,25 @@ def __init__(self, metadata_base_dir: str) -> None: super().__init__() self._metadata_base_dir = metadata_base_dir + @memoized_classproperty + def host_fingerprint(cls) -> str: + """A fingerprint that attempts to identify the potential scope of a live process. + + See the class pydoc. + + In the absence of kernel hotswapping, a new uname means a restart or virtual machine, both + of which mean that process metadata is invalid. Additionally, docker generates a random + hostname per instance, which improves the reliability of this hash. + + TODO: It would be nice to be able to use `uptime` (e.g. https://crates.io/crates/uptime_lib) + to identify reboots, but it's more challenging than it should be because it would involve + subtracting from the current time, which might hit aliasing issues. + """ + hasher = sha256() + for component in os.uname(): + hasher.update(component.encode()) + return hasher.hexdigest()[:12] + @staticmethod def _maybe_cast(item, caster): """Given a casting function, attempt to cast to that type while masking common cast @@ -139,23 +151,19 @@ def file_waiter(): return cls._deadline_until(file_waiter, ongoing_msg, completed_msg, timeout=timeout) - @staticmethod - def _get_metadata_dir_by_name(name, metadata_base_dir): + @classmethod + def _get_metadata_dir_by_name(cls, name: str, metadata_base_dir: str) -> str: """Retrieve the metadata dir by name. This should always live outside of the workdir to survive a clean-all. """ - return os.path.join(metadata_base_dir, name) - - def _maybe_init_metadata_dir_by_name(self, name): - """Initialize the metadata directory for a named identity if it doesn't exist.""" - safe_mkdir(self.__class__._get_metadata_dir_by_name(name, self._metadata_base_dir)) + return os.path.join(metadata_base_dir, cls.host_fingerprint, name) - def _metadata_file_path(self, name, metadata_key): + def _metadata_file_path(self, name, metadata_key) -> str: return self.metadata_file_path(name, metadata_key, self._metadata_base_dir) @classmethod - def metadata_file_path(cls, name, metadata_key, metadata_base_dir): + def metadata_file_path(cls, name, metadata_key, metadata_base_dir) -> str: return os.path.join(cls._get_metadata_dir_by_name(name, metadata_base_dir), metadata_key) def read_metadata_by_name(self, name, metadata_key, caster=None): @@ -172,14 +180,14 @@ def read_metadata_by_name(self, name, metadata_key, caster=None): except (IOError, OSError): return None - def write_metadata_by_name(self, name, metadata_key, metadata_value): + def write_metadata_by_name(self, name, metadata_key, metadata_value) -> None: """Write process metadata using a named identity. :param string name: The ProcessMetadataManager identity/name (e.g. 'pantsd'). :param string metadata_key: The metadata key (e.g. 'pid'). :param string metadata_value: The metadata value (e.g. '1729'). """ - self._maybe_init_metadata_dir_by_name(name) + safe_mkdir(self._get_metadata_dir_by_name(name, self._metadata_base_dir)) file_path = self._metadata_file_path(name, metadata_key) safe_file_dump(file_path, metadata_value) @@ -201,7 +209,7 @@ def await_metadata_by_name( self._wait_for_file(file_path, ongoing_msg, completed_msg, timeout=timeout) return self.read_metadata_by_name(name, metadata_key, caster) - def purge_metadata_by_name(self, name): + def purge_metadata_by_name(self, name) -> None: """Purge a processes metadata directory. :raises: `ProcessManager.MetadataError` when OSError is encountered on metadata dir removal. @@ -222,10 +230,10 @@ class ProcessManager(ProcessMetadataManager): Not intended to be thread-safe. """ - class InvalidCommandOutput(Exception): + class NonResponsiveProcess(Exception): pass - class NonResponsiveProcess(Exception): + class NotStarted(Exception): pass class ExecutionError(Exception): @@ -242,42 +250,26 @@ def __repr__(self): KILL_WAIT_SEC = 5 KILL_CHAIN = (signal.SIGTERM, signal.SIGKILL) - def __init__( - self, - name, - metadata_base_dir: str, - pid=None, - socket=None, - process_name=None, - ): + SOCKET_KEY = "socket" + PROCESS_NAME_KEY = "process_name" + PID_KEY = "pid" + FINGERPRINT_KEY = "fingerprint" + + def __init__(self, name: str, metadata_base_dir: str): """ :param string name: The process identity/name (e.g. 'pantsd' or 'ng_Zinc'). - :param int pid: The process pid. Overrides fetching of the self.pid @property. - :param string socket: The socket metadata. Overrides fetching of the self.socket @property. - :param string process_name: The process name for cmdline executable name matching. :param str metadata_base_dir: The overridden base directory for process metadata. """ super().__init__(metadata_base_dir) self._name = name.lower().strip() - self._pid = pid - self._socket = socket - self._process_name = process_name + # TODO: Extract process spawning code. self._buildroot = get_buildroot() - self._process = None @property def name(self): """The logical name/label of the process.""" return self._name - @property - def process_name(self): - """The logical process name. - - If defined, this is compared to exe_name for stale pid checking. - """ - return self._process_name - @memoized_property def lifecycle_lock(self): """An identity-keyed inter-process lock for safeguarding lifecycle and other operations.""" @@ -290,53 +282,46 @@ def lifecycle_lock(self): ) @property - def cmdline(self): - """The process commandline. e.g. ['/usr/bin/python2.7', 'pants.pex']. - - :returns: The command line or else `None` if the underlying process has died. - """ - with swallow_psutil_exceptions(): - process = self._as_process() - if process: - return process.cmdline() - return None + def fingerprint(self): + """The fingerprint of the current process. - @property - def cmd(self): - """The first element of the process commandline e.g. '/usr/bin/python2.7'. + This reads the current fingerprint from the `ProcessManager` metadata. - :returns: The first element of the process command line or else `None` if the underlying - process has died. + :returns: The fingerprint of the running process as read from ProcessManager metadata or `None`. + :rtype: string """ - return (self.cmdline or [None])[0] + return self.read_metadata_by_name(self.name, self.FINGERPRINT_KEY) @property def pid(self): """The running processes pid (or None).""" - return self._pid or self.read_metadata_by_name(self._name, "pid", int) + return self.read_metadata_by_name(self._name, self.PID_KEY, int) + + @property + def process_name(self): + """The process name, to be compared to the psutil exe_name for stale pid checking.""" + return self.read_metadata_by_name(self._name, self.PROCESS_NAME_KEY, str) @property def socket(self): """The running processes socket/port information (or None).""" - return self._socket or self.read_metadata_by_name(self._name, "socket", int) + return self.read_metadata_by_name(self._name, self.SOCKET_KEY, int) - @classmethod - def get_subprocess_output(cls, command, ignore_stderr=True, **kwargs): - """Get the output of an executed command. + def has_current_fingerprint(self, fingerprint): + """Determines if a new fingerprint is the current fingerprint of the running process. - :param command: An iterable representing the command to execute (e.g. ['ls', '-al']). - :param ignore_stderr: Whether or not to ignore stderr output vs interleave it with stdout. - :raises: `ProcessManager.ExecutionError` on `OSError` or `CalledProcessError`. - :returns: The output of the command. + :param string fingerprint: The new fingerprint to compare to. + :rtype: bool """ - if ignore_stderr is False: - kwargs.setdefault("stderr", subprocess.STDOUT) + return fingerprint == self.fingerprint - try: - return subprocess.check_output(command, **kwargs).decode().strip() - except (OSError, subprocess.CalledProcessError) as e: - subprocess_output = getattr(e, "output", "").strip() - raise cls.ExecutionError(str(e), subprocess_output) + def needs_restart(self, fingerprint): + """Determines if the current ProcessManager needs to be started or restarted. + + :param string fingerprint: The new fingerprint to compare to. + :rtype: bool + """ + return self.is_dead() or not self.has_current_fingerprint(fingerprint) def await_pid(self, timeout: float) -> int: """Wait up to a given timeout for a process to write pid metadata.""" @@ -344,7 +329,7 @@ def await_pid(self, timeout: float) -> int: int, self.await_metadata_by_name( self._name, - "pid", + self.PID_KEY, f"{self._name} to start", f"{self._name} started", timeout, @@ -358,7 +343,7 @@ def await_socket(self, timeout: float) -> int: int, self.await_metadata_by_name( self._name, - "socket", + self.SOCKET_KEY, f"{self._name} socket to be opened", f"{self._name} socket opened", timeout, @@ -366,14 +351,22 @@ def await_socket(self, timeout: float) -> int: ), ) - def write_pid(self, pid=None): - """Write the current processes PID to the pidfile location.""" - pid = pid or os.getpid() - self.write_metadata_by_name(self._name, "pid", str(pid)) + def write_pid(self, pid: Optional[int] = None): + """Write the current process's PID.""" + pid = os.getpid() if pid is None else pid + self.write_metadata_by_name(self._name, self.PID_KEY, str(pid)) + + def write_process_name(self, process_name: Optional[str] = None): + """Write the current process's name.""" + process_name = process_name or self._as_process().name() + self.write_metadata_by_name(self._name, self.PROCESS_NAME_KEY, process_name) - def write_socket(self, socket_info): + def write_socket(self, socket_info: int): """Write the local processes socket information (TCP port or UNIX socket).""" - self.write_metadata_by_name(self._name, "socket", str(socket_info)) + self.write_metadata_by_name(self._name, self.SOCKET_KEY, str(socket_info)) + + def write_fingerprint(self, fingerprint: str) -> None: + self.write_metadata_by_name(self._name, self.FINGERPRINT_KEY, fingerprint) def _as_process(self): """Returns a psutil `Process` object wrapping our pid. @@ -385,10 +378,12 @@ def _as_process(self): :returns: a psutil Process object or else None if we have no pid. :rtype: :class:`psutil.Process` :raises: :class:`psutil.NoSuchProcess` if the process identified by our pid has died. + :raises: :class:`self.NotStarted` if no pid has been recorded for this process. """ - if self._process is None and self.pid: - self._process = psutil.Process(self.pid) - return self._process + pid = self.pid + if not pid: + raise self.NotStarted() + return psutil.Process(pid) def is_dead(self): """Return a boolean indicating whether the process is dead or not.""" @@ -417,7 +412,7 @@ def is_alive(self, extended_check=None): # Extended checking. (extended_check and not extended_check(process)) ) - except (psutil.NoSuchProcess, psutil.AccessDenied): + except (self.NotStarted, psutil.NoSuchProcess, psutil.AccessDenied): # On some platforms, accessing attributes of a zombie'd Process results in NoSuchProcess. return False @@ -522,63 +517,7 @@ def post_fork_parent(self): """Post-fork parent callback for subclasses.""" -class FingerprintedProcessManager(ProcessManager): - """A `ProcessManager` subclass that provides a general strategy for process fingerprinting.""" - - FINGERPRINT_KEY = "fingerprint" - FINGERPRINT_CMD_KEY: Optional[str] = None - FINGERPRINT_CMD_SEP = "=" - - @property - def fingerprint(self): - """The fingerprint of the current process. - - This can either read the current fingerprint from the running process's psutil.Process.cmdline - (if the managed process supports that) or from the `ProcessManager` metadata. - - :returns: The fingerprint of the running process as read from the process table, ProcessManager - metadata or `None`. - :rtype: string - """ - return self.parse_fingerprint(self.cmdline) or self.read_metadata_by_name( - self.name, self.FINGERPRINT_KEY - ) - - def parse_fingerprint(self, cmdline, key=None, sep=None): - """Given a psutil.Process.cmdline, parse and return a fingerprint. - - :param list cmdline: The psutil.Process.cmdline of the current process. - :param string key: The key for fingerprint discovery. - :param string sep: The key/value separator for fingerprint discovery. - :returns: The parsed fingerprint or `None`. - :rtype: string or `None` - """ - key = key or self.FINGERPRINT_CMD_KEY - if key: - sep = sep or self.FINGERPRINT_CMD_SEP - cmdline = cmdline or [] - for cmd_part in cmdline: - if cmd_part.startswith("{}{}".format(key, sep)): - return cmd_part.split(sep)[1] - - def has_current_fingerprint(self, fingerprint): - """Determines if a new fingerprint is the current fingerprint of the running process. - - :param string fingerprint: The new fingerprint to compare to. - :rtype: bool - """ - return fingerprint == self.fingerprint - - def needs_restart(self, fingerprint): - """Determines if the current ProcessManager needs to be started or restarted. - - :param string fingerprint: The new fingerprint to compare to. - :rtype: bool - """ - return self.is_dead() or not self.has_current_fingerprint(fingerprint) - - -class PantsDaemonProcessManager(FingerprintedProcessManager, metaclass=ABCMeta): +class PantsDaemonProcessManager(ProcessManager, metaclass=ABCMeta): """An ABC for classes that interact with pantsd's metadata. This is extended by both a pantsd client handle, and by the server: the client reads process
pantsd client killed by SIGTERM while waiting for pantsd Running pants `2.0.0b0` inside a docker container (without any obvious sources of signals arriving), a `pantsd` _client_ is receiving a SIGTERM while attempting to restart a `pantsd` _server_. ``` + ./pants --version --print-exception-stacktrace 22:23:36.18 [ERROR] Traceback (most recent call last): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/bin/pants_exe.py", line 36, in main exit_code = runner.run(start_time) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/bin/pants_runner.py", line 86, in run return remote_runner.run() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/bin/remote_pants_runner.py", line 91, in run pantsd_handle = self._client.maybe_launch() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/pants_daemon_client.py", line 36, in maybe_launch return self._launch() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/pants_daemon_client.py", line 56, in _launch self.terminate() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 505, in terminate if self._deadline_until( File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 166, in _deadline_until time.sleep(wait_interval) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/base/exception_sink.py", line 93, in handle_sigterm raise self.SignalHandledNonLocalExit(signum, "SIGTERM") pants.base.exception_sink.SignalHandler.SignalHandledNonLocalExit ``` This is fairly suspicious, and I wonder whether pids are getting crossed such that the client is actually killing itself.
This is a slightly different stack trace I'm getting, but it seems to be related. This is from running multiple rounds of somethign like this: ``` docker run -u $CI_USER:$CI_GROUP -v (pwd):/my/build/dir build-image:$CI_TAG ``` So that `.pids` gets filled up with PIDs that apply to pantsd versions that are not at all in the same container (this is what i suspect). ``` + ./pants --tag=app_image --changed-since=origin/trunk --changed-dependees=transitive filter 18:04:24.24 [WARN] pantsd was unresponsive on port 33696, retrying (1/3) 18:04:27.25 [WARN] pantsd was unresponsive on port 33696, retrying (2/3) 18:04:27.25 [WARN] /home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_common.py:713: ResourceWarning: unclosed file <_io.BufferedReader name='/proc/45/stat'> return open(fname, "rb", **kwargs) 18:04:27.25 [ERROR] Traceback (most recent call last): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/nailgun/nailgun_client.py", line 235, in try_connect sock.connect(self._address) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/bin/remote_pants_runner.py", line 136, in run return self._connect_and_execute(pantsd_handle) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/bin/remote_pants_runner.py", line 193, in _connect_and_execute return client.execute(self._args[0], self._args[1:], modified_env) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/nailgun/nailgun_client.py", line 280, in execute sock = self.try_connect() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/nailgun/nailgun_client.py", line 241, in try_connect raise self.NailgunConnectionError( pants.nailgun.nailgun_client.NailgunClient.NailgunConnectionError: ("Problem connecting to nailgun server (address: 127.0.0.1:33696): ConnectionRefusedError(111, 'Connection refused')", ConnectionRefusedError(111, 'Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_common.py", line 449, in wrapper ret = self._cache[fun] AttributeError: _cache During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/bin/pants_exe.py", line 36, in main exit_code = runner.run(start_time) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/bin/pants_runner.py", line 82, in run return remote_runner.run() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/bin/remote_pants_runner.py", line 152, in run pantsd_handle = self._client.restart() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/pantsd/pants_daemon_client.py", line 49, in restart return self._launch() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/pantsd/pants_daemon_client.py", line 56, in _launch self.terminate() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 462, in terminate if self._deadline_until( File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 105, in _deadline_until if closure(): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 395, in is_dead return not self.is_alive() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 412, in is_alive (process.status() == psutil.STATUS_ZOMBIE) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/__init__.py", line 695, in status return self._proc.status() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_pslinux.py", line 1516, in wrapper return fun(self, *args, **kwargs) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_pslinux.py", line 2021, in status letter = self._parse_stat_file()['status'] File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_pslinux.py", line 1516, in wrapper return fun(self, *args, **kwargs) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_common.py", line 452, in wrapper return fun(self) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_pslinux.py", line 1558, in _parse_stat_file with open_binary("%s/%s/stat" % (self._procfs_path, self.pid)) as f: File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/psutil/_common.py", line 713, in open_binary return open(fname, "rb", **kwargs) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0rc2_py38/lib/python3.8/site-packages/pants/base/exception_sink.py", line 111, in handle_sigterm raise self.SignalHandledNonLocalExit(signum, "SIGTERM") pants.base.exception_sink.SignalHandler.SignalHandledNonLocalExit ``` Getting also this kind of error: ``` 15:04:08.50 [WARN] pantsd was unresponsive on port 38824, retrying (1/3) 15:04:11.51 [WARN] pantsd was unresponsive on port 38824, retrying (2/3) 15:04:11.52 [WARN] /root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_common.py:713: ResourceWarning: unclosed file <_io.BufferedReader name='/proc/219/stat'> return open(fname, "rb", **kwargs) 15:04:11.52 [ERROR] Traceback (most recent call last): File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/java/nailgun_client.py", line 235, in try_connect sock.connect(self._address) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/bin/remote_pants_runner.py", line 102, in run return self._connect_and_execute(pantsd_handle) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/bin/remote_pants_runner.py", line 159, in _connect_and_execute return client.execute(self._args[0], self._args[1:], modified_env) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/java/nailgun_client.py", line 280, in execute sock = self.try_connect() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/java/nailgun_client.py", line 243, in try_connect wrapped_exc=e, pants.java.nailgun_client.NailgunClient.NailgunConnectionError: ("Problem connecting to nailgun server (address: 127.0.0.1:38824): ConnectionRefusedError(111, 'Connection refused')", ConnectionRefusedError(111, 'Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_common.py", line 449, in wrapper ret = self._cache[fun] AttributeError: _cache During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/bin/pants_exe.py", line 36, in main exit_code = runner.run(start_time) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/bin/pants_runner.py", line 82, in run return remote_runner.run() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/bin/remote_pants_runner.py", line 118, in run pantsd_handle = self._client.restart() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/pantsd/pants_daemon_client.py", line 49, in restart return self._launch() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/pantsd/pants_daemon_client.py", line 56, in _launch self.terminate() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/pantsd/process_manager.py", line 509, in terminate timeout=kill_wait, File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/pantsd/process_manager.py", line 148, in _deadline_until if closure(): File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/pantsd/process_manager.py", line 438, in is_dead return not self.is_alive() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/pantsd/process_manager.py", line 455, in is_alive (process.status() == psutil.STATUS_ZOMBIE) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/__init__.py", line 695, in status return self._proc.status() File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_pslinux.py", line 1516, in wrapper return fun(self, *args, **kwargs) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_pslinux.py", line 2021, in status letter = self._parse_stat_file()['status'] File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_pslinux.py", line 1516, in wrapper return fun(self, *args, **kwargs) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_common.py", line 452, in wrapper return fun(self) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_pslinux.py", line 1558, in _parse_stat_file with open_binary("%s/%s/stat" % (self._procfs_path, self.pid)) as f: File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/psutil/_common.py", line 713, in open_binary return open(fname, "rb", **kwargs) File "/root/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b1_py36/lib/python3.6/site-packages/pants/base/exception_sink.py", line 100, in handle_sigterm raise self.SignalHandledNonLocalExit(signum, "SIGTERM") pants.base.exception_sink.SignalHandler.SignalHandledNonLocalExit ``` Sorry for the trouble folks! Looking at this one today. @ifalex : I don't expect that it is related to this issue, but note that [2.0.0 final](https://pypi.org/project/pantsbuild.pants/2.0.0/) has been released! I haven't been able to repro this (likely because I'm running docker-on-osx rather than docker-on-linux), but I think that I have a pretty good idea of what is happening, and why: there is a fairly glaring hole in what we fingerprint to decide whether a `pantsd` instance is usable which should prevent us from even trying to connect in the docker case: we don't include "host"/"instance" information in the fingerprint, only options values. Will try to get a fix out Monday.
2020-11-02T19:54:27Z
[]
[]
Traceback (most recent call last): File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/bin/pants_exe.py", line 36, in main exit_code = runner.run(start_time) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/bin/pants_runner.py", line 86, in run return remote_runner.run() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/bin/remote_pants_runner.py", line 91, in run pantsd_handle = self._client.maybe_launch() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/pants_daemon_client.py", line 36, in maybe_launch return self._launch() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/pants_daemon_client.py", line 56, in _launch self.terminate() File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 505, in terminate if self._deadline_until( File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/pantsd/process_manager.py", line 166, in _deadline_until time.sleep(wait_interval) File "/home/code/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0b0_py38/lib/python3.8/site-packages/pants/base/exception_sink.py", line 93, in handle_sigterm raise self.SignalHandledNonLocalExit(signum, "SIGTERM") pants.base.exception_sink.SignalHandler.SignalHandledNonLocalExit
15,778
pantsbuild/pants
pantsbuild__pants-11115
9501b3c456b8be6557c919aac44c691703a07d15
diff --git a/src/python/pants/build_graph/address.py b/src/python/pants/build_graph/address.py --- a/src/python/pants/build_graph/address.py +++ b/src/python/pants/build_graph/address.py @@ -6,12 +6,13 @@ from pathlib import PurePath from typing import Optional, Sequence +from pants.base.deprecated import warn_or_error from pants.engine.engine_aware import EngineAwareParameter from pants.util.dirutil import fast_relpath, longest_dir_prefix from pants.util.strutil import strip_prefix # Currently unused, but reserved for possible future needs. -BANNED_CHARS_IN_TARGET_NAME = frozenset("@!?=") +BANNED_CHARS_IN_TARGET_NAME = frozenset(r"@!?/\:=") class InvalidSpecPath(ValueError): @@ -40,13 +41,6 @@ def __post_init__(self): f"Address spec {self.path_component}:{self.target_component} has no name part." ) - banned_chars = BANNED_CHARS_IN_TARGET_NAME & set(self.target_component) - if banned_chars: - raise InvalidTargetName( - f"Banned chars found in target name. {banned_chars} not allowed in target " - f"name: {self.target_component}" - ) - # A root is okay. if self.path_component == "": return @@ -233,10 +227,35 @@ def __init__( """ self.spec_path = spec_path self._relative_file_path = relative_file_path + # If the target_name is the same as the default name would be, we normalize to None. - self._target_name = ( - target_name if target_name and target_name != os.path.basename(self.spec_path) else None - ) + self._target_name: Optional[str] + if target_name and target_name != os.path.basename(self.spec_path): + banned_chars = BANNED_CHARS_IN_TARGET_NAME & set(target_name) + deprecated_banned_chars = banned_chars & set(r"/\:") + if deprecated_banned_chars: + warn_or_error( + removal_version="2.2.0.dev1", + deprecated_entity_description=( + r"Using any of the `\`, `/`, or `:` characters in a target name." + ), + hint=( + f"The target name {target_name} (defined in directory {self.spec_path}) " + f"contains deprecated characters (`{deprecated_banned_chars}`), which will " + "cause some usecases to fail. Please replace these characters with another " + "separator character like `_` or `-`." + ), + ) + elif banned_chars: + raise InvalidTargetName( + f"The target name {target_name} (defined in directory {self.spec_path}) " + f"contains banned characters (`{banned_chars}`). Please replace these " + "characters with another separator character like `_` or `-`." + ) + self._target_name = target_name + else: + self._target_name = None + self._hash = hash((self.spec_path, self._relative_file_path, self._target_name)) if PurePath(spec_path).name.startswith("BUILD"): raise InvalidSpecPath(
Lint Goal Failing on pants.engine.internals.build_files.resolve_address Because of InvalidTargetName We have been using `pants` for a while. Some of our oldest code that was ported to `pants` and runs fine under v1.25 is having trouble under v2.0.0. Is `house/cellar` an invalid name for a `python_library` target? ``` python_library( name="house/cellar", sources=[ ... ``` When I run `./pants --changed-since='origin/master' lint` with changes in projects that contains targets with `/` in their name, I trigger the following code: https://github.com/pantsbuild/pants/blob/79e2b09b8d077ff1f1d42ef97dcf0a8ee25fd455/src/python/pants/build_graph/address.py#L172-L178 Part of the error output looks like: ``` Engine traceback: in select in pants.core.goals.lint.lint in pants.engine.internals.graph.resolve_targets in pants.engine.internals.graph.resolve_unexpanded_targets in pants.engine.internals.build_files.strip_address_origins in pants.engine.internals.graph.resolve_addresses_with_origins in pants.engine.internals.build_files.addresses_with_origins_from_address_specs in pants.engine.internals.build_files.resolve_address Traceback (most recent call last): File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/native.py", line 69, in generator_send res = func.send(arg) File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/build_files.py", line 66, in resolve_address return address_input.file_to_address() File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/build_graph/address.py", line 176, in file_to_address "A target may only be defined in a directory containing a file that it owns in " pants.build_graph.address.InvalidTargetName: A target may only be defined in a directory containing a file that it owns in the filesystem: `../../house/cellar` is not at-or-above the file `house/cellar/__init__.py`. ``` When I run `./pants lint //:house/cellar` it works as expected. ## Added Complication That Might Be Very Relevant This target is defined in a `BUILD` file at the top of the repo. When I ran debug, I get back changed addresses that look like `Address(//action/cellar/mouse.py:../../action/cellar_tests)`. Shouldn't it look like `Address(//action/cellar/mouse.py://action/cellar_tests)`? I don't think whatever is generating the `Address()` objects is handling targets defined in top level `BUILD` files correctly.
In trying to find a way to tell which commit causes it to fail, I ran `./pants --changed-since='master' list`. It fails on `list`, too. I think I've confirmed this is the problem: ``` In [5]: parent_count = 2 ...: expected_prefix = f"..{os.path.sep}" * parent_count ...: target_component = "../../house_cellar" ...: if target_component[: target_component.rfind(os.path.sep) + 1] != expected_prefix: ...: print("error") ...: else: ...: print("don't panic") ...: don't panic In [6]: parent_count = 2 ...: expected_prefix = f"..{os.path.sep}" * parent_count ...: target_component = "../../house/cellar" ...: if target_component[: target_component.rfind(os.path.sep) + 1] != expected_prefix: ...: print("error") ...: else: ...: print("don't panic") ...: error ``` If you have the target name (`house/cellar`) without the `../../` prefix, then this check can take into account target names with `/`. Otherwise, we need to make names with `/` in them invalid. Why is this check done? What parts of the codebase won't work if we violate this rule: "A target may only be defined in a directory containing a file that it owns in the filesystem"? I've verified that this did not produce an error in v1.25.
2020-11-09T18:45:23Z
[]
[]
Traceback (most recent call last): File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/native.py", line 69, in generator_send res = func.send(arg) File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/build_files.py", line 66, in resolve_address return address_input.file_to_address() File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/build_graph/address.py", line 176, in file_to_address "A target may only be defined in a directory containing a file that it owns in " pants.build_graph.address.InvalidTargetName: A target may only be defined in a directory containing a file that it owns in the filesystem: `../../house/cellar` is not at-or-above the file `house/cellar/__init__.py`.
15,779
pantsbuild/pants
pantsbuild__pants-11121
1f8f2180c80194906840eaf63fd98070ee16f06c
diff --git a/src/python/pants/build_graph/address.py b/src/python/pants/build_graph/address.py --- a/src/python/pants/build_graph/address.py +++ b/src/python/pants/build_graph/address.py @@ -11,7 +11,7 @@ from pants.util.strutil import strip_prefix # @ is currently unused, but reserved for possible future needs. -BANNED_CHARS_IN_TARGET_NAME = frozenset("@") +BANNED_CHARS_IN_TARGET_NAME = frozenset(r"@!?/\:=") def parse_spec( @@ -204,14 +204,26 @@ def check_target_name(cls, spec_path: str, name: str) -> None: ) banned_chars = BANNED_CHARS_IN_TARGET_NAME & set(name) - - if banned_chars: - raise InvalidTargetName( - "banned chars found in target name", - "{banned_chars} not allowed in target name: {name}".format( - banned_chars=banned_chars, name=name + deprecated_banned_chars = banned_chars & set(r"/\:!=?") + if deprecated_banned_chars: + warn_or_error( + removal_version="2.2.0.dev1", + deprecated_entity_description=( + r"Using any of the `\`, `/`, `:`, `!`, `=`, or `?` characters in a target name." + ), + hint=( + f"The target name {name} (defined in directory {spec_path}) " + f"contains deprecated characters (`{deprecated_banned_chars}`), which will " + "cause some usecases to fail. Please replace these characters with another " + "separator character like `_` or `-`." ), ) + elif banned_chars: + raise InvalidTargetName( + f"The target name {name} (defined in directory {spec_path}) " + f"contains banned characters (`{banned_chars}`). Please replace these " + "characters with another separator character like `_` or `-`." + ) def __init__(self, spec_path: str, target_name: str) -> None: """
Lint Goal Failing on pants.engine.internals.build_files.resolve_address Because of InvalidTargetName We have been using `pants` for a while. Some of our oldest code that was ported to `pants` and runs fine under v1.25 is having trouble under v2.0.0. Is `house/cellar` an invalid name for a `python_library` target? ``` python_library( name="house/cellar", sources=[ ... ``` When I run `./pants --changed-since='origin/master' lint` with changes in projects that contains targets with `/` in their name, I trigger the following code: https://github.com/pantsbuild/pants/blob/79e2b09b8d077ff1f1d42ef97dcf0a8ee25fd455/src/python/pants/build_graph/address.py#L172-L178 Part of the error output looks like: ``` Engine traceback: in select in pants.core.goals.lint.lint in pants.engine.internals.graph.resolve_targets in pants.engine.internals.graph.resolve_unexpanded_targets in pants.engine.internals.build_files.strip_address_origins in pants.engine.internals.graph.resolve_addresses_with_origins in pants.engine.internals.build_files.addresses_with_origins_from_address_specs in pants.engine.internals.build_files.resolve_address Traceback (most recent call last): File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/native.py", line 69, in generator_send res = func.send(arg) File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/build_files.py", line 66, in resolve_address return address_input.file_to_address() File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/build_graph/address.py", line 176, in file_to_address "A target may only be defined in a directory containing a file that it owns in " pants.build_graph.address.InvalidTargetName: A target may only be defined in a directory containing a file that it owns in the filesystem: `../../house/cellar` is not at-or-above the file `house/cellar/__init__.py`. ``` When I run `./pants lint //:house/cellar` it works as expected. ## Added Complication That Might Be Very Relevant This target is defined in a `BUILD` file at the top of the repo. When I ran debug, I get back changed addresses that look like `Address(//action/cellar/mouse.py:../../action/cellar_tests)`. Shouldn't it look like `Address(//action/cellar/mouse.py://action/cellar_tests)`? I don't think whatever is generating the `Address()` objects is handling targets defined in top level `BUILD` files correctly.
In trying to find a way to tell which commit causes it to fail, I ran `./pants --changed-since='master' list`. It fails on `list`, too. I think I've confirmed this is the problem: ``` In [5]: parent_count = 2 ...: expected_prefix = f"..{os.path.sep}" * parent_count ...: target_component = "../../house_cellar" ...: if target_component[: target_component.rfind(os.path.sep) + 1] != expected_prefix: ...: print("error") ...: else: ...: print("don't panic") ...: don't panic In [6]: parent_count = 2 ...: expected_prefix = f"..{os.path.sep}" * parent_count ...: target_component = "../../house/cellar" ...: if target_component[: target_component.rfind(os.path.sep) + 1] != expected_prefix: ...: print("error") ...: else: ...: print("don't panic") ...: error ``` If you have the target name (`house/cellar`) without the `../../` prefix, then this check can take into account target names with `/`. Otherwise, we need to make names with `/` in them invalid. Why is this check done? What parts of the codebase won't work if we violate this rule: "A target may only be defined in a directory containing a file that it owns in the filesystem"? I've verified that this did not produce an error in v1.25. @rcuza : Sorry for the trouble here. As you've discovered, `2.0.x` no longer supports slashes in target names, and it doesn't look like we can/should readd that support. I've opened #11115 to improve the error message for this case to suggest renaming the target. With a little search and replace magic, I was able to refactor our target names without much pain. Having a warning in v1.30 and better error messages will help other people migrating a lot.
2020-11-10T17:52:05Z
[]
[]
Traceback (most recent call last): File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/native.py", line 69, in generator_send res = func.send(arg) File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/build_files.py", line 66, in resolve_address return address_input.file_to_address() File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/build_graph/address.py", line 176, in file_to_address "A target may only be defined in a directory containing a file that it owns in " pants.build_graph.address.InvalidTargetName: A target may only be defined in a directory containing a file that it owns in the filesystem: `../../house/cellar` is not at-or-above the file `house/cellar/__init__.py`.
15,780
pantsbuild/pants
pantsbuild__pants-11122
5982f03e8f390cb3cb6a3689b5d0d94018857494
diff --git a/src/python/pants/build_graph/address.py b/src/python/pants/build_graph/address.py --- a/src/python/pants/build_graph/address.py +++ b/src/python/pants/build_graph/address.py @@ -6,13 +6,13 @@ from pathlib import PurePath from typing import Optional, Sequence -from pants.base.deprecated import deprecated +from pants.base.deprecated import deprecated, warn_or_error from pants.engine.engine_aware import EngineAwareParameter from pants.util.dirutil import fast_relpath, longest_dir_prefix from pants.util.strutil import strip_prefix # Currently unused, but reserved for possible future needs. -BANNED_CHARS_IN_TARGET_NAME = frozenset("@!?=") +BANNED_CHARS_IN_TARGET_NAME = frozenset(r"@!?/\:=") class InvalidSpecPath(ValueError): @@ -41,13 +41,6 @@ def __post_init__(self): f"Address spec {self.path_component}:{self.target_component} has no name part." ) - banned_chars = BANNED_CHARS_IN_TARGET_NAME & set(self.target_component) - if banned_chars: - raise InvalidTargetName( - f"Banned chars found in target name. {banned_chars} not allowed in target " - f"name: {self.target_component}" - ) - # A root is okay. if self.path_component == "": return @@ -257,10 +250,35 @@ def __init__( """ self.spec_path = spec_path self._relative_file_path = relative_file_path + # If the target_name is the same as the default name would be, we normalize to None. - self._target_name = ( - target_name if target_name and target_name != os.path.basename(self.spec_path) else None - ) + self._target_name: Optional[str] + if target_name and target_name != os.path.basename(self.spec_path): + banned_chars = BANNED_CHARS_IN_TARGET_NAME & set(target_name) + deprecated_banned_chars = banned_chars & set(r"/\:") + if deprecated_banned_chars: + warn_or_error( + removal_version="2.2.0.dev1", + deprecated_entity_description=( + r"Using any of the `\`, `/`, or `:` characters in a target name." + ), + hint=( + f"The target name {target_name} (defined in directory {self.spec_path}) " + f"contains deprecated characters (`{deprecated_banned_chars}`), which will " + "cause some usecases to fail. Please replace these characters with another " + "separator character like `_` or `-`." + ), + ) + elif banned_chars: + raise InvalidTargetName( + f"The target name {target_name} (defined in directory {self.spec_path}) " + f"contains banned characters (`{banned_chars}`). Please replace these " + "characters with another separator character like `_` or `-`." + ) + self._target_name = target_name + else: + self._target_name = None + self._hash = hash((self.spec_path, self._relative_file_path, self._target_name)) if PurePath(spec_path).name.startswith("BUILD"): raise InvalidSpecPath(
Lint Goal Failing on pants.engine.internals.build_files.resolve_address Because of InvalidTargetName We have been using `pants` for a while. Some of our oldest code that was ported to `pants` and runs fine under v1.25 is having trouble under v2.0.0. Is `house/cellar` an invalid name for a `python_library` target? ``` python_library( name="house/cellar", sources=[ ... ``` When I run `./pants --changed-since='origin/master' lint` with changes in projects that contains targets with `/` in their name, I trigger the following code: https://github.com/pantsbuild/pants/blob/79e2b09b8d077ff1f1d42ef97dcf0a8ee25fd455/src/python/pants/build_graph/address.py#L172-L178 Part of the error output looks like: ``` Engine traceback: in select in pants.core.goals.lint.lint in pants.engine.internals.graph.resolve_targets in pants.engine.internals.graph.resolve_unexpanded_targets in pants.engine.internals.build_files.strip_address_origins in pants.engine.internals.graph.resolve_addresses_with_origins in pants.engine.internals.build_files.addresses_with_origins_from_address_specs in pants.engine.internals.build_files.resolve_address Traceback (most recent call last): File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/native.py", line 69, in generator_send res = func.send(arg) File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/build_files.py", line 66, in resolve_address return address_input.file_to_address() File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/build_graph/address.py", line 176, in file_to_address "A target may only be defined in a directory containing a file that it owns in " pants.build_graph.address.InvalidTargetName: A target may only be defined in a directory containing a file that it owns in the filesystem: `../../house/cellar` is not at-or-above the file `house/cellar/__init__.py`. ``` When I run `./pants lint //:house/cellar` it works as expected. ## Added Complication That Might Be Very Relevant This target is defined in a `BUILD` file at the top of the repo. When I ran debug, I get back changed addresses that look like `Address(//action/cellar/mouse.py:../../action/cellar_tests)`. Shouldn't it look like `Address(//action/cellar/mouse.py://action/cellar_tests)`? I don't think whatever is generating the `Address()` objects is handling targets defined in top level `BUILD` files correctly.
In trying to find a way to tell which commit causes it to fail, I ran `./pants --changed-since='master' list`. It fails on `list`, too. I think I've confirmed this is the problem: ``` In [5]: parent_count = 2 ...: expected_prefix = f"..{os.path.sep}" * parent_count ...: target_component = "../../house_cellar" ...: if target_component[: target_component.rfind(os.path.sep) + 1] != expected_prefix: ...: print("error") ...: else: ...: print("don't panic") ...: don't panic In [6]: parent_count = 2 ...: expected_prefix = f"..{os.path.sep}" * parent_count ...: target_component = "../../house/cellar" ...: if target_component[: target_component.rfind(os.path.sep) + 1] != expected_prefix: ...: print("error") ...: else: ...: print("don't panic") ...: error ``` If you have the target name (`house/cellar`) without the `../../` prefix, then this check can take into account target names with `/`. Otherwise, we need to make names with `/` in them invalid. Why is this check done? What parts of the codebase won't work if we violate this rule: "A target may only be defined in a directory containing a file that it owns in the filesystem"? I've verified that this did not produce an error in v1.25. @rcuza : Sorry for the trouble here. As you've discovered, `2.0.x` no longer supports slashes in target names, and it doesn't look like we can/should readd that support. I've opened #11115 to improve the error message for this case to suggest renaming the target. With a little search and replace magic, I was able to refactor our target names without much pain. Having a warning in v1.30 and better error messages will help other people migrating a lot.
2020-11-10T18:10:18Z
[]
[]
Traceback (most recent call last): File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/native.py", line 69, in generator_send res = func.send(arg) File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/engine/internals/build_files.py", line 66, in resolve_address return address_input.file_to_address() File "/Users/myaccount/.cache/pants/setup/bootstrap-Darwin-x86_64/2.0.0_py36/lib/python3.6/site-packages/pants/build_graph/address.py", line 176, in file_to_address "A target may only be defined in a directory containing a file that it owns in " pants.build_graph.address.InvalidTargetName: A target may only be defined in a directory containing a file that it owns in the filesystem: `../../house/cellar` is not at-or-above the file `house/cellar/__init__.py`.
15,781
pantsbuild/pants
pantsbuild__pants-12280
8b4543b5f98cdc14b925364907d9ad80262815fb
diff --git a/src/python/pants/backend/python/macros/poetry_requirements.py b/src/python/pants/backend/python/macros/poetry_requirements.py --- a/src/python/pants/backend/python/macros/poetry_requirements.py +++ b/src/python/pants/backend/python/macros/poetry_requirements.py @@ -6,14 +6,15 @@ import itertools import logging import os -from pathlib import Path -from typing import Any, Iterable, Mapping, Optional +from dataclasses import dataclass +from pathlib import Path, PurePath +from typing import Any, Iterable, Iterator, Mapping, Optional import toml from packaging.version import InvalidVersion, Version from pkg_resources import Requirement -from pants.base.build_environment import get_buildroot +from pants.base.parse_context import ParseContext logger = logging.getLogger(__name__) @@ -67,12 +68,10 @@ def parse_str_version(proj_name: str, attributes: str, fp: str) -> str: parsed_version = Version(req[1:]) except InvalidVersion: raise InvalidVersion( - ( - f'Failed to parse requirement {proj_name} = "{req}" in {fp}' - "loaded by the poetry_requirements macro.\n\nIf you believe this requirement is " - "valid, consider opening an issue at https://github.com/pantsbuild/pants/issues" - "so that we can update Pants's Poetry macro to support this." - ) + f'Failed to parse requirement {proj_name} = "{req}" in {fp} loaded by the ' + "poetry_requirements macro.\n\nIf you believe this requirement is valid, " + "consider opening an issue at https://github.com/pantsbuild/pants/issues so " + "that we can update Pants' Poetry macro to support this." ) max_ver = get_max_caret(parsed_version) if is_caret else get_max_tilde(parsed_version) @@ -109,7 +108,68 @@ def prepend(version: str) -> str: ) -def handle_dict_attr(proj_name: str, attributes: dict[str, str], fp: str) -> str: +@dataclass(frozen=True) +class PyProjectToml: + build_root: PurePath + toml_relpath: PurePath + toml_contents: str + + @classmethod + def create(cls, parse_context: ParseContext, pyproject_toml_relpath: str) -> PyProjectToml: + build_root = Path(parse_context.build_root) + toml_relpath = PurePath(parse_context.rel_path, pyproject_toml_relpath) + return cls( + build_root=build_root, + toml_relpath=toml_relpath, + toml_contents=(build_root / toml_relpath).read_text(), + ) + + def parse(self) -> Mapping[str, Any]: + return toml.loads(self.toml_contents) + + def _non_pants_project_abs_path(self, path: Path) -> Path | None: + resolved = path.resolve() + if resolved.is_file(): + return resolved + + try: + resolved.relative_to(self.build_root) + except ValueError: + return resolved + + return None + + def non_pants_project_abs_path(self, path: str) -> Path | None: + """Determine if the given path represents a non-Pants controlled project. + + If the path points to a file, it's assumed the file is a distribution ( a wheel or sdist) + and the absolute path of that file is returned. + + If the path points to a directory and that directory is outside of the build root, it's + assumed the directory is the root of a buildable Python project (i.e.: it contains a + pyproject.toml or setup.py) and the absolute path of the project is returned. + + Otherwise, `None` is returned since the directory lies inside the build root and is assumed + to be a Pants controlled project. + """ + # TODO(John Sirois): This leaves the case where the path is a Python project directory + # inside the build root that the user actually wants Pex / Pip to build. A concrete case + # for this would be a repo where third party is partially handled with vendored exploded + # source distributions. If someone in the wild needs the described case, plumb a + # PoetryRequirements parameter that can list paths to treat as Pants controlled or + # vice-versa. + given_path = Path(path) + if given_path.is_absolute(): + return self._non_pants_project_abs_path(given_path) + else: + return self._non_pants_project_abs_path( + Path(self.build_root / self.toml_relpath).parent / given_path + ) + + +def handle_dict_attr( + proj_name: str, attributes: dict[str, str], pyproject_toml: PyProjectToml +) -> str | None: def produce_match(sep: str, feat: Optional[str]) -> str: return f"{sep}{feat}" if feat else "" @@ -122,14 +182,23 @@ def produce_match(sep: str, feat: Optional[str]) -> str: return f"{proj_name} @ git+{git_lookup}{tag_lookup}{branch_lookup}{rev_lookup}" version_lookup = attributes.get("version") + path_lookup = attributes.get("path") if path_lookup is not None: - return f"{proj_name} @ file://{path_lookup}" + non_pants_project_abs_path = pyproject_toml.non_pants_project_abs_path(path_lookup) + if non_pants_project_abs_path: + return f"{proj_name} @ file://{non_pants_project_abs_path}" + # An internal path will be handled by normal Pants dependencies and dependency inference; + # i.e.: it never represents a third party requirement. + return None + url_lookup = attributes.get("url") if url_lookup is not None: return f"{proj_name} @ {url_lookup}" + if version_lookup is not None: markers_lookup = produce_match(";", attributes.get("markers")) + fp = str(pyproject_toml.toml_relpath) python_lookup = parse_python_constraint(attributes.get("python"), fp) version_parsed = parse_str_version(proj_name, version_lookup, fp) return ( @@ -138,51 +207,50 @@ def produce_match(sep: str, feat: Optional[str]) -> str: f"{' and ' if python_lookup and markers_lookup else (';' if python_lookup else '')}" f"{python_lookup}" ) - else: - raise AssertionError( - ( - f"{proj_name} is not formatted correctly; at" - " minimum provide either a version, url, path or git location for" - " your dependency. " - ) - ) + + raise AssertionError( + f"{proj_name} is not formatted correctly; at minimum provide either a version, url, path " + "or git location for your dependency. " + ) def parse_single_dependency( - proj_name: str, attributes: str | dict[str, Any] | list[dict[str, Any]], fp: str -) -> tuple[Requirement, ...]: + proj_name: str, + attributes: str | dict[str, Any] | list[dict[str, Any]], + pyproject_toml: PyProjectToml, +) -> Iterator[Requirement]: if isinstance(attributes, str): # E.g. `foo = "~1.1~'. - return (Requirement.parse(parse_str_version(proj_name, attributes, fp)),) + yield Requirement.parse( + parse_str_version(proj_name, attributes, str(pyproject_toml.toml_relpath)) + ) elif isinstance(attributes, dict): # E.g. `foo = {version = "~1.1"}`. - return (Requirement.parse(handle_dict_attr(proj_name, attributes, fp)),) + req_str = handle_dict_attr(proj_name, attributes, pyproject_toml) + if req_str: + yield Requirement.parse(req_str) elif isinstance(attributes, list): # E.g. ` foo = [{version = "1.1","python" = "2.7"}, {version = "1.1","python" = "2.7"}] - return tuple( - Requirement.parse(handle_dict_attr(proj_name, attr, fp)) for attr in attributes - ) + for attr in attributes: + req_str = handle_dict_attr(proj_name, attr, pyproject_toml) + if req_str: + yield Requirement.parse(req_str) else: raise AssertionError( - ( - "Error: invalid poetry requirement format. Expected " - " type of requirement attributes to be string," - f"dict, or list, but was of type {type(attributes).__name__}." - ) + "Error: invalid poetry requirement format. Expected type of requirement attributes to " + f"be string, dict, or list, but was of type {type(attributes).__name__}." ) -def parse_pyproject_toml(toml_contents: str, file_path: str) -> set[Requirement]: - parsed = toml.loads(toml_contents) +def parse_pyproject_toml(pyproject_toml: PyProjectToml) -> set[Requirement]: + parsed = pyproject_toml.parse() try: poetry_vals = parsed["tool"]["poetry"] except KeyError: raise KeyError( - ( - f"No section `tool.poetry` found in {file_path}, which" - "is loaded by Pants from a `poetry_requirements` macro. " - "Did you mean to set up Poetry?" - ) + f"No section `tool.poetry` found in {pyproject_toml.toml_relpath}, which " + "is loaded by Pants from a `poetry_requirements` macro. " + "Did you mean to set up Poetry?" ) dependencies = poetry_vals.get("dependencies", {}) # N.B.: The "python" dependency is a special dependency required by Poetry that only serves to @@ -193,17 +261,15 @@ def parse_pyproject_toml(toml_contents: str, file_path: str) -> set[Requirement] dev_dependencies = poetry_vals.get("dev-dependencies", {}) if not dependencies and not dev_dependencies: logger.warning( - ( - "No requirements defined in poetry.tools.dependencies and" - f" poetry.tools.dev-dependencies in {file_path}, which is loaded by Pants" - " from a poetry_requirements macro. Did you mean to populate these" - " with requirements?" - ) + "No requirements defined in poetry.tools.dependencies and " + f"poetry.tools.dev-dependencies in {pyproject_toml.toml_relpath}, which is loaded " + "by Pants from a poetry_requirements macro. Did you mean to populate these " + "with requirements?" ) return set( itertools.chain.from_iterable( - parse_single_dependency(proj, attr, file_path) + parse_single_dependency(proj, attr, pyproject_toml) for proj, attr in {**dependencies, **dev_dependencies}.items() ) ) @@ -267,9 +333,8 @@ def __call__( ) requirements_dep = f":{req_file_tgt.name}" - req_file = Path(get_buildroot(), self._parse_context.rel_path, pyproject_toml_relpath) requirements = parse_pyproject_toml( - req_file.read_text(), str(req_file.relative_to(get_buildroot())) + PyProjectToml.create(self._parse_context, pyproject_toml_relpath) ) for parsed_req in requirements: proj_name = parsed_req.project_name diff --git a/src/python/pants/base/parse_context.py b/src/python/pants/base/parse_context.py --- a/src/python/pants/base/parse_context.py +++ b/src/python/pants/base/parse_context.py @@ -19,13 +19,16 @@ class ParseContext: in its `__init__`). """ - def __init__(self, type_aliases: Mapping[str, Any], rel_path_oracle: RelPathOracle) -> None: + def __init__( + self, build_root: str, type_aliases: Mapping[str, Any], rel_path_oracle: RelPathOracle + ) -> None: """Create a ParseContext. + :param build_root: The absolute path to the build root. :param type_aliases: A dictionary of BUILD file symbols. :param rel_path_oracle: An oracle than can be queried for the current BUILD file path. """ - + self._build_root = build_root self._type_aliases = type_aliases self._rel_path_oracle = rel_path_oracle @@ -56,3 +59,8 @@ def rel_path(self) -> str: :API: public """ return self._rel_path_oracle.rel_path() + + @property + def build_root(self) -> str: + """Absolute path of the build root.""" + return self._build_root diff --git a/src/python/pants/engine/internals/parser.py b/src/python/pants/engine/internals/parser.py --- a/src/python/pants/engine/internals/parser.py +++ b/src/python/pants/engine/internals/parser.py @@ -59,14 +59,19 @@ def parsed_targets(self) -> list[TargetAdaptor]: class Parser: def __init__( - self, *, target_type_aliases: Iterable[str], object_aliases: BuildFileAliases + self, + *, + build_root: str, + target_type_aliases: Iterable[str], + object_aliases: BuildFileAliases, ) -> None: self._symbols, self._parse_state = self._generate_symbols( - target_type_aliases, object_aliases + build_root, target_type_aliases, object_aliases ) @staticmethod def _generate_symbols( + build_root: str, target_type_aliases: Iterable[str], object_aliases: BuildFileAliases, ) -> tuple[dict[str, Any], ParseState]: @@ -96,7 +101,9 @@ def __call__(self, **kwargs: Any) -> TargetAdaptor: symbols: dict[str, Any] = dict(object_aliases.objects) symbols.update((alias, Registrar(alias)) for alias in target_type_aliases) - parse_context = ParseContext(type_aliases=symbols, rel_path_oracle=parse_state) + parse_context = ParseContext( + build_root=build_root, type_aliases=symbols, rel_path_oracle=parse_state + ) for alias, object_factory in object_aliases.context_aware_object_factories.items(): symbols[alias] = object_factory(parse_context) diff --git a/src/python/pants/init/engine_initializer.py b/src/python/pants/init/engine_initializer.py --- a/src/python/pants/init/engine_initializer.py +++ b/src/python/pants/init/engine_initializer.py @@ -210,7 +210,7 @@ def setup_graph_extended( native_engine_visualize_to: Optional[str] = None, watch_filesystem: bool = True, ) -> GraphScheduler: - build_root = build_root or get_buildroot() + build_root_path = build_root or get_buildroot() rules = build_configuration.rules union_membership = UnionMembership.from_rules(build_configuration.union_rules) @@ -221,6 +221,7 @@ def setup_graph_extended( @rule def parser_singleton() -> Parser: return Parser( + build_root=build_root_path, target_type_aliases=registered_target_types.aliases, object_aliases=build_configuration.registered_aliases, ) @@ -283,7 +284,7 @@ def ensure_optional_absolute_path(v: Optional[str]) -> Optional[str]: scheduler = Scheduler( ignore_patterns=pants_ignore_patterns, use_gitignore=use_gitignore, - build_root=build_root, + build_root=build_root_path, local_execution_root_dir=ensure_absolute_path(local_execution_root_dir), named_caches_dir=ensure_absolute_path(named_caches_dir), ca_certs_path=ensure_optional_absolute_path(ca_certs_path),
[poetry] Cannot depend on relative paths (non-local file URIs are not supported on this platform) I have a demo project using pants with poetry to test out the new functionality coming out in pants 2.6.0 :tada: Repo is here: https://github.com/ehiggs/pants-poetry-test-repos There are currently two experiments: simple and multirepo-1. Simple works when we cd into the directory and run: `PANTS_SHA=0182de9814c7694eed2b9407e3577684db26ea2e ./pants run .:simple-app` and it runs a Flask application on `localhost:5000`. Go to `http://localhost:5000/hello` to see it respond. Great! Next, the main reason to use pants with poetry is to have multiple poetry packages in the same git repo. Let's try it in the multirepo-1 dir: `PANTS_SHA=0182de9814c7694eed2b9407e3577684db26ea2e ./pants run project-app:project-app` This gives the following log/error: ``` $ PANTS_SHA=0182de9814c7694eed2b9407e3577684db26ea2e ./pants run project-app:project-app 11:09:55.79 [WARN] Unmatched globs from project-models's `sources` field: ["project-models/*.py", "project-models/*.pyi"], excludes: ["project-models/*_test.py", "project-models/*_test.pyi", "project-models/conftest.py", "project-models/test_*.py", "project-models/test_*.pyi", "project-models/tests.py", "project-models/tests.pyi"] Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to (https://www.pantsbuild.org/v2.6/docs/troubleshooting#pants-cannot-find-a-file-in-your-project). ⠁ 11:09:56.88 [INFO] Completed: Building requirements.pex with 2 requirements: Flask==2.0.1, project-models@ file://../project-models 11:09:56.88 [ERROR] Exception caught: (pants.engine.internals.scheduler.ExecutionError) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 234, in _run_inner return self._perform_run(goals) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 173, in _perform_run return self._perform_run_body(goals, poll=False) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 190, in _perform_run_body return self.graph_session.run_goal_rules( File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/init/engine_initializer.py", line 135, in run_goal_rules exit_code = self.scheduler_session.run_goal_rule( File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 533, in run_goal_rule self._raise_on_error([t for _, t in throws]) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 501, in _raise_on_error raise ExecutionError( Exception message: 1 Exception encountered: ProcessExecutionFailure: Process 'Building requirements.pex with 2 requirements: Flask==2.0.1, project-models@ file://../project-models' failed with exit code 1. stdout: stderr: ERROR: Exception: Traceback (most recent call last): File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/commands/download.py", line 109, in run reqs = self.get_requirements(args, options, finder, session) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 350, in get_requirements req_to_add = install_req_from_line( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/constructors.py", line 401, in install_req_from_line return InstallRequirement( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 150, in __init__ self.local_file_path = self.link.file_path File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/models/link.py", line 124, in file_path return url_to_path(self.url) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/utils/urls.py", line 49, in url_to_path raise ValueError( ValueError: non-local file URIs are not supported on this platform: 'file://../project-models' pid 48321 -> /home/ehiggs/.cache/pants/named_caches/pex_root/venvs/7fbdc9731d96d42f0de338b2dfbc6bbed1c938e7/832e95f85413646e8b7b056ab4e60414f83d7397/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /home/ehiggs/.cache/pants/named_caches/pex_root --log /tmp/process-executionCRaMON/.tmp/tmpgf2p8f6a/pip.log download --dest /tmp/process-executionCRaMON/.tmp/tmp1n9z18nb/usr.bin.python3.9 Flask==2.0.1 project-models@ file://../project-models --index-url https://pypi.org/simple/ --find-links https://binaries.pantsbuild.org/wheels/pantsbuild.pants/0182de9814c7694eed2b9407e3577684db26ea2e/2.6.0rc0%2Bgit0182de98/index.html --retries 5 --timeout 15 exited with 2 and STDERR: None ``` However, if we cd into project-app and run the following it works: ``` python3 -mvenv venv . venv/bin/activate poetry install --no-dev --no-root ./app.py ``` There exists this bug in pip that poetry doesn't seem to run into: https://github.com/pypa/pip/issues/6658
Thanks for the example repo. It looks like the real problem is that Pants is trying to turn local path dependencies that are inside the project build root into requirements. Pants should probably instead omit those and let normal dep-inference find them. IOW: Those particular poetry.lock entries represent 1st party local dependencies. @wilsonliam and @Eric-Arellano have thought about this more though so maybe I'm missing something. I've added a top level pyproject.toml file now which, if used for `poetry install` also runs into the same issue where the top level dir is used for the relative paths: ``` poetry install --no-dev --no-root Installing dependencies from lock file Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them. Package operations: 1 install, 0 updates, 0 removals • Installing project-app (0.1.0 /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/project-app): Failed EnvCommandError Command ['/home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/pip', 'install', '--no-deps', '-U', '/home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/project-app'] errored with the following return code 1, and output: Processing ./project-app Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/python3 /tmp/tmp37dww03z_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnnl4a7fs cwd: /tmp/pip-req-build-fyxae4me Complete output (16 lines): Traceback (most recent call last): File "/tmp/tmp37dww03z_in_process.py", line 280, in <module> main() File "/tmp/tmp37dww03z_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/tmp/tmp37dww03z_in_process.py", line 133, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/factory.py", line 93, in create_poetry self.create_dependency(name, constraint, root_dir=package.root_dir) File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/factory.py", line 244, in create_dependency dependency = DirectoryDependency( File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/packages/directory_dependency.py", line 41, in __init__ raise ValueError("Directory {} does not exist".format(self._path)) ValueError: Directory ../project-models does not exist ---------------------------------------- WARNING: Discarding file:///home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/project-app. Command errored out with exit status 1: /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/python3 /tmp/tmp37dww03z_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnnl4a7fs Check the logs for full command output. ERROR: Command errored out with exit status 1: /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/python3 /tmp/tmp37dww03z_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnnl4a7fs Check the logs for full command output. at ~/.poetry/lib/poetry/utils/env.py:1075 in _run 1071│ output = subprocess.check_output( 1072│ cmd, stderr=subprocess.STDOUT, **kwargs 1073│ ) 1074│ except CalledProcessError as e: → 1075│ raise EnvCommandError(e, input=input_) 1076│ 1077│ return decode(output) 1078│ 1079│ def execute(self, bin, *args, **kwargs): ``` So in this situation, I think pants isn't doing worse than poetry; but I do think this is exactly the situation that pants should be handling, if I understood correctly. Yeah, both cases @ehiggs would be handled by Pants _not_ parsing poetry.lock entries that are local (under the build root) projects into requirements IIUC. This feature is fresh and I think your use case was simply missed innocently. Our biggest challenge integrating most tools is not being experts in those tools ourselves. So your example helps. Thanks. I'm new to pants and poetry is looking at building functionality for multi package repositories that overlaps a lot so I'm not quite sure which is the responsibility of which project. Relevant poetry tickets: https://github.com/python-poetry/poetry/issues/936 https://github.com/python-poetry/poetry/issues/2270
2021-07-05T02:32:18Z
[]
[]
Traceback (most recent call last): File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/commands/download.py", line 109, in run reqs = self.get_requirements(args, options, finder, session) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 350, in get_requirements req_to_add = install_req_from_line( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/constructors.py", line 401, in install_req_from_line return InstallRequirement( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 150, in __init__ self.local_file_path = self.link.file_path File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/models/link.py", line 124, in file_path return url_to_path(self.url) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/utils/urls.py", line 49, in url_to_path raise ValueError( ValueError: non-local file URIs are not supported on this platform: 'file://../project-models'
15,851
pantsbuild/pants
pantsbuild__pants-12296
fe813d28c6f068cf3fd2066553baa6ab01b3e466
diff --git a/src/python/pants/backend/python/macros/poetry_requirements.py b/src/python/pants/backend/python/macros/poetry_requirements.py --- a/src/python/pants/backend/python/macros/poetry_requirements.py +++ b/src/python/pants/backend/python/macros/poetry_requirements.py @@ -6,14 +6,15 @@ import itertools import logging import os -from pathlib import Path -from typing import Any, Iterable, Mapping, Optional +from dataclasses import dataclass +from pathlib import Path, PurePath +from typing import Any, Iterable, Iterator, Mapping, Optional import toml from packaging.version import InvalidVersion, Version from pkg_resources import Requirement -from pants.base.build_environment import get_buildroot +from pants.base.parse_context import ParseContext logger = logging.getLogger(__name__) @@ -67,12 +68,10 @@ def parse_str_version(proj_name: str, attributes: str, fp: str) -> str: parsed_version = Version(req[1:]) except InvalidVersion: raise InvalidVersion( - ( - f'Failed to parse requirement {proj_name} = "{req}" in {fp}' - "loaded by the poetry_requirements macro.\n\nIf you believe this requirement is " - "valid, consider opening an issue at https://github.com/pantsbuild/pants/issues" - "so that we can update Pants's Poetry macro to support this." - ) + f'Failed to parse requirement {proj_name} = "{req}" in {fp} loaded by the ' + "poetry_requirements macro.\n\nIf you believe this requirement is valid, " + "consider opening an issue at https://github.com/pantsbuild/pants/issues so " + "that we can update Pants' Poetry macro to support this." ) max_ver = get_max_caret(parsed_version) if is_caret else get_max_tilde(parsed_version) @@ -109,7 +108,68 @@ def prepend(version: str) -> str: ) -def handle_dict_attr(proj_name: str, attributes: dict[str, str], fp: str) -> str: +@dataclass(frozen=True) +class PyProjectToml: + build_root: PurePath + toml_relpath: PurePath + toml_contents: str + + @classmethod + def create(cls, parse_context: ParseContext, pyproject_toml_relpath: str) -> PyProjectToml: + build_root = Path(parse_context.build_root) + toml_relpath = PurePath(parse_context.rel_path, pyproject_toml_relpath) + return cls( + build_root=build_root, + toml_relpath=toml_relpath, + toml_contents=(build_root / toml_relpath).read_text(), + ) + + def parse(self) -> Mapping[str, Any]: + return toml.loads(self.toml_contents) + + def _non_pants_project_abs_path(self, path: Path) -> Path | None: + resolved = path.resolve() + if resolved.is_file(): + return resolved + + try: + resolved.relative_to(self.build_root) + except ValueError: + return resolved + + return None + + def non_pants_project_abs_path(self, path: str) -> Path | None: + """Determine if the given path represents a non-Pants controlled project. + + If the path points to a file, it's assumed the file is a distribution ( a wheel or sdist) + and the absolute path of that file is returned. + + If the path points to a directory and that directory is outside of the build root, it's + assumed the directory is the root of a buildable Python project (i.e.: it contains a + pyproject.toml or setup.py) and the absolute path of the project is returned. + + Otherwise, `None` is returned since the directory lies inside the build root and is assumed + to be a Pants controlled project. + """ + # TODO(John Sirois): This leaves the case where the path is a Python project directory + # inside the build root that the user actually wants Pex / Pip to build. A concrete case + # for this would be a repo where third party is partially handled with vendored exploded + # source distributions. If someone in the wild needs the described case, plumb a + # PoetryRequirements parameter that can list paths to treat as Pants controlled or + # vice-versa. + given_path = Path(path) + if given_path.is_absolute(): + return self._non_pants_project_abs_path(given_path) + else: + return self._non_pants_project_abs_path( + Path(self.build_root / self.toml_relpath).parent / given_path + ) + + +def handle_dict_attr( + proj_name: str, attributes: dict[str, str], pyproject_toml: PyProjectToml +) -> str | None: def produce_match(sep: str, feat: Optional[str]) -> str: return f"{sep}{feat}" if feat else "" @@ -122,14 +182,23 @@ def produce_match(sep: str, feat: Optional[str]) -> str: return f"{proj_name} @ git+{git_lookup}{tag_lookup}{branch_lookup}{rev_lookup}" version_lookup = attributes.get("version") + path_lookup = attributes.get("path") if path_lookup is not None: - return f"{proj_name} @ file://{path_lookup}" + non_pants_project_abs_path = pyproject_toml.non_pants_project_abs_path(path_lookup) + if non_pants_project_abs_path: + return f"{proj_name} @ file://{non_pants_project_abs_path}" + # An internal path will be handled by normal Pants dependencies and dependency inference; + # i.e.: it never represents a third party requirement. + return None + url_lookup = attributes.get("url") if url_lookup is not None: return f"{proj_name} @ {url_lookup}" + if version_lookup is not None: markers_lookup = produce_match(";", attributes.get("markers")) + fp = str(pyproject_toml.toml_relpath) python_lookup = parse_python_constraint(attributes.get("python"), fp) version_parsed = parse_str_version(proj_name, version_lookup, fp) return ( @@ -138,51 +207,50 @@ def produce_match(sep: str, feat: Optional[str]) -> str: f"{' and ' if python_lookup and markers_lookup else (';' if python_lookup else '')}" f"{python_lookup}" ) - else: - raise AssertionError( - ( - f"{proj_name} is not formatted correctly; at" - " minimum provide either a version, url, path or git location for" - " your dependency. " - ) - ) + + raise AssertionError( + f"{proj_name} is not formatted correctly; at minimum provide either a version, url, path " + "or git location for your dependency. " + ) def parse_single_dependency( - proj_name: str, attributes: str | dict[str, Any] | list[dict[str, Any]], fp: str -) -> tuple[Requirement, ...]: + proj_name: str, + attributes: str | dict[str, Any] | list[dict[str, Any]], + pyproject_toml: PyProjectToml, +) -> Iterator[Requirement]: if isinstance(attributes, str): # E.g. `foo = "~1.1~'. - return (Requirement.parse(parse_str_version(proj_name, attributes, fp)),) + yield Requirement.parse( + parse_str_version(proj_name, attributes, str(pyproject_toml.toml_relpath)) + ) elif isinstance(attributes, dict): # E.g. `foo = {version = "~1.1"}`. - return (Requirement.parse(handle_dict_attr(proj_name, attributes, fp)),) + req_str = handle_dict_attr(proj_name, attributes, pyproject_toml) + if req_str: + yield Requirement.parse(req_str) elif isinstance(attributes, list): # E.g. ` foo = [{version = "1.1","python" = "2.7"}, {version = "1.1","python" = "2.7"}] - return tuple( - Requirement.parse(handle_dict_attr(proj_name, attr, fp)) for attr in attributes - ) + for attr in attributes: + req_str = handle_dict_attr(proj_name, attr, pyproject_toml) + if req_str: + yield Requirement.parse(req_str) else: raise AssertionError( - ( - "Error: invalid poetry requirement format. Expected " - " type of requirement attributes to be string," - f"dict, or list, but was of type {type(attributes).__name__}." - ) + "Error: invalid poetry requirement format. Expected type of requirement attributes to " + f"be string, dict, or list, but was of type {type(attributes).__name__}." ) -def parse_pyproject_toml(toml_contents: str, file_path: str) -> set[Requirement]: - parsed = toml.loads(toml_contents) +def parse_pyproject_toml(pyproject_toml: PyProjectToml) -> set[Requirement]: + parsed = pyproject_toml.parse() try: poetry_vals = parsed["tool"]["poetry"] except KeyError: raise KeyError( - ( - f"No section `tool.poetry` found in {file_path}, which" - "is loaded by Pants from a `poetry_requirements` macro. " - "Did you mean to set up Poetry?" - ) + f"No section `tool.poetry` found in {pyproject_toml.toml_relpath}, which " + "is loaded by Pants from a `poetry_requirements` macro. " + "Did you mean to set up Poetry?" ) dependencies = poetry_vals.get("dependencies", {}) # N.B.: The "python" dependency is a special dependency required by Poetry that only serves to @@ -193,17 +261,15 @@ def parse_pyproject_toml(toml_contents: str, file_path: str) -> set[Requirement] dev_dependencies = poetry_vals.get("dev-dependencies", {}) if not dependencies and not dev_dependencies: logger.warning( - ( - "No requirements defined in poetry.tools.dependencies and" - f" poetry.tools.dev-dependencies in {file_path}, which is loaded by Pants" - " from a poetry_requirements macro. Did you mean to populate these" - " with requirements?" - ) + "No requirements defined in poetry.tools.dependencies and " + f"poetry.tools.dev-dependencies in {pyproject_toml.toml_relpath}, which is loaded " + "by Pants from a poetry_requirements macro. Did you mean to populate these " + "with requirements?" ) return set( itertools.chain.from_iterable( - parse_single_dependency(proj, attr, file_path) + parse_single_dependency(proj, attr, pyproject_toml) for proj, attr in {**dependencies, **dev_dependencies}.items() ) ) @@ -267,9 +333,8 @@ def __call__( ) requirements_dep = f":{req_file_tgt.name}" - req_file = Path(get_buildroot(), self._parse_context.rel_path, pyproject_toml_relpath) requirements = parse_pyproject_toml( - req_file.read_text(), str(req_file.relative_to(get_buildroot())) + PyProjectToml.create(self._parse_context, pyproject_toml_relpath) ) for parsed_req in requirements: proj_name = parsed_req.project_name diff --git a/src/python/pants/base/parse_context.py b/src/python/pants/base/parse_context.py --- a/src/python/pants/base/parse_context.py +++ b/src/python/pants/base/parse_context.py @@ -19,13 +19,16 @@ class ParseContext: in its `__init__`). """ - def __init__(self, type_aliases: Mapping[str, Any], rel_path_oracle: RelPathOracle) -> None: + def __init__( + self, build_root: str, type_aliases: Mapping[str, Any], rel_path_oracle: RelPathOracle + ) -> None: """Create a ParseContext. + :param build_root: The absolute path to the build root. :param type_aliases: A dictionary of BUILD file symbols. :param rel_path_oracle: An oracle than can be queried for the current BUILD file path. """ - + self._build_root = build_root self._type_aliases = type_aliases self._rel_path_oracle = rel_path_oracle @@ -56,3 +59,8 @@ def rel_path(self) -> str: :API: public """ return self._rel_path_oracle.rel_path() + + @property + def build_root(self) -> str: + """Absolute path of the build root.""" + return self._build_root diff --git a/src/python/pants/engine/internals/parser.py b/src/python/pants/engine/internals/parser.py --- a/src/python/pants/engine/internals/parser.py +++ b/src/python/pants/engine/internals/parser.py @@ -59,14 +59,19 @@ def parsed_targets(self) -> list[TargetAdaptor]: class Parser: def __init__( - self, *, target_type_aliases: Iterable[str], object_aliases: BuildFileAliases + self, + *, + build_root: str, + target_type_aliases: Iterable[str], + object_aliases: BuildFileAliases, ) -> None: self._symbols, self._parse_state = self._generate_symbols( - target_type_aliases, object_aliases + build_root, target_type_aliases, object_aliases ) @staticmethod def _generate_symbols( + build_root: str, target_type_aliases: Iterable[str], object_aliases: BuildFileAliases, ) -> tuple[dict[str, Any], ParseState]: @@ -96,7 +101,9 @@ def __call__(self, **kwargs: Any) -> TargetAdaptor: symbols: dict[str, Any] = dict(object_aliases.objects) symbols.update((alias, Registrar(alias)) for alias in target_type_aliases) - parse_context = ParseContext(type_aliases=symbols, rel_path_oracle=parse_state) + parse_context = ParseContext( + build_root=build_root, type_aliases=symbols, rel_path_oracle=parse_state + ) for alias, object_factory in object_aliases.context_aware_object_factories.items(): symbols[alias] = object_factory(parse_context) diff --git a/src/python/pants/init/engine_initializer.py b/src/python/pants/init/engine_initializer.py --- a/src/python/pants/init/engine_initializer.py +++ b/src/python/pants/init/engine_initializer.py @@ -210,7 +210,7 @@ def setup_graph_extended( native_engine_visualize_to: Optional[str] = None, watch_filesystem: bool = True, ) -> GraphScheduler: - build_root = build_root or get_buildroot() + build_root_path = build_root or get_buildroot() rules = build_configuration.rules union_membership = UnionMembership.from_rules(build_configuration.union_rules) @@ -221,6 +221,7 @@ def setup_graph_extended( @rule def parser_singleton() -> Parser: return Parser( + build_root=build_root_path, target_type_aliases=registered_target_types.aliases, object_aliases=build_configuration.registered_aliases, ) @@ -283,7 +284,7 @@ def ensure_optional_absolute_path(v: Optional[str]) -> Optional[str]: scheduler = Scheduler( ignore_patterns=pants_ignore_patterns, use_gitignore=use_gitignore, - build_root=build_root, + build_root=build_root_path, local_execution_root_dir=ensure_absolute_path(local_execution_root_dir), named_caches_dir=ensure_absolute_path(named_caches_dir), ca_certs_path=ensure_optional_absolute_path(ca_certs_path),
[poetry] Cannot depend on relative paths (non-local file URIs are not supported on this platform) I have a demo project using pants with poetry to test out the new functionality coming out in pants 2.6.0 :tada: Repo is here: https://github.com/ehiggs/pants-poetry-test-repos There are currently two experiments: simple and multirepo-1. Simple works when we cd into the directory and run: `PANTS_SHA=0182de9814c7694eed2b9407e3577684db26ea2e ./pants run .:simple-app` and it runs a Flask application on `localhost:5000`. Go to `http://localhost:5000/hello` to see it respond. Great! Next, the main reason to use pants with poetry is to have multiple poetry packages in the same git repo. Let's try it in the multirepo-1 dir: `PANTS_SHA=0182de9814c7694eed2b9407e3577684db26ea2e ./pants run project-app:project-app` This gives the following log/error: ``` $ PANTS_SHA=0182de9814c7694eed2b9407e3577684db26ea2e ./pants run project-app:project-app 11:09:55.79 [WARN] Unmatched globs from project-models's `sources` field: ["project-models/*.py", "project-models/*.pyi"], excludes: ["project-models/*_test.py", "project-models/*_test.pyi", "project-models/conftest.py", "project-models/test_*.py", "project-models/test_*.pyi", "project-models/tests.py", "project-models/tests.pyi"] Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to (https://www.pantsbuild.org/v2.6/docs/troubleshooting#pants-cannot-find-a-file-in-your-project). ⠁ 11:09:56.88 [INFO] Completed: Building requirements.pex with 2 requirements: Flask==2.0.1, project-models@ file://../project-models 11:09:56.88 [ERROR] Exception caught: (pants.engine.internals.scheduler.ExecutionError) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 234, in _run_inner return self._perform_run(goals) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 173, in _perform_run return self._perform_run_body(goals, poll=False) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 190, in _perform_run_body return self.graph_session.run_goal_rules( File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/init/engine_initializer.py", line 135, in run_goal_rules exit_code = self.scheduler_session.run_goal_rule( File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 533, in run_goal_rule self._raise_on_error([t for _, t in throws]) File "/home/ehiggs/.cache/pants/setup/bootstrap-Linux-x86_64/2.6.0rc0+git0182de98_py39/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 501, in _raise_on_error raise ExecutionError( Exception message: 1 Exception encountered: ProcessExecutionFailure: Process 'Building requirements.pex with 2 requirements: Flask==2.0.1, project-models@ file://../project-models' failed with exit code 1. stdout: stderr: ERROR: Exception: Traceback (most recent call last): File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/commands/download.py", line 109, in run reqs = self.get_requirements(args, options, finder, session) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 350, in get_requirements req_to_add = install_req_from_line( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/constructors.py", line 401, in install_req_from_line return InstallRequirement( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 150, in __init__ self.local_file_path = self.link.file_path File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/models/link.py", line 124, in file_path return url_to_path(self.url) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/utils/urls.py", line 49, in url_to_path raise ValueError( ValueError: non-local file URIs are not supported on this platform: 'file://../project-models' pid 48321 -> /home/ehiggs/.cache/pants/named_caches/pex_root/venvs/7fbdc9731d96d42f0de338b2dfbc6bbed1c938e7/832e95f85413646e8b7b056ab4e60414f83d7397/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /home/ehiggs/.cache/pants/named_caches/pex_root --log /tmp/process-executionCRaMON/.tmp/tmpgf2p8f6a/pip.log download --dest /tmp/process-executionCRaMON/.tmp/tmp1n9z18nb/usr.bin.python3.9 Flask==2.0.1 project-models@ file://../project-models --index-url https://pypi.org/simple/ --find-links https://binaries.pantsbuild.org/wheels/pantsbuild.pants/0182de9814c7694eed2b9407e3577684db26ea2e/2.6.0rc0%2Bgit0182de98/index.html --retries 5 --timeout 15 exited with 2 and STDERR: None ``` However, if we cd into project-app and run the following it works: ``` python3 -mvenv venv . venv/bin/activate poetry install --no-dev --no-root ./app.py ``` There exists this bug in pip that poetry doesn't seem to run into: https://github.com/pypa/pip/issues/6658
Thanks for the example repo. It looks like the real problem is that Pants is trying to turn local path dependencies that are inside the project build root into requirements. Pants should probably instead omit those and let normal dep-inference find them. IOW: Those particular poetry.lock entries represent 1st party local dependencies. @wilsonliam and @Eric-Arellano have thought about this more though so maybe I'm missing something. I've added a top level pyproject.toml file now which, if used for `poetry install` also runs into the same issue where the top level dir is used for the relative paths: ``` poetry install --no-dev --no-root Installing dependencies from lock file Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them. Package operations: 1 install, 0 updates, 0 removals • Installing project-app (0.1.0 /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/project-app): Failed EnvCommandError Command ['/home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/pip', 'install', '--no-deps', '-U', '/home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/project-app'] errored with the following return code 1, and output: Processing ./project-app Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/python3 /tmp/tmp37dww03z_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnnl4a7fs cwd: /tmp/pip-req-build-fyxae4me Complete output (16 lines): Traceback (most recent call last): File "/tmp/tmp37dww03z_in_process.py", line 280, in <module> main() File "/tmp/tmp37dww03z_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/tmp/tmp37dww03z_in_process.py", line 133, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/factory.py", line 93, in create_poetry self.create_dependency(name, constraint, root_dir=package.root_dir) File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/factory.py", line 244, in create_dependency dependency = DirectoryDependency( File "/tmp/pip-build-env-gc3oqup5/overlay/lib/python3.9/site-packages/poetry/core/packages/directory_dependency.py", line 41, in __init__ raise ValueError("Directory {} does not exist".format(self._path)) ValueError: Directory ../project-models does not exist ---------------------------------------- WARNING: Discarding file:///home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/project-app. Command errored out with exit status 1: /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/python3 /tmp/tmp37dww03z_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnnl4a7fs Check the logs for full command output. ERROR: Command errored out with exit status 1: /home/ehiggs/src/work/pants-poetry-test-repos/multirepo-1/venv/bin/python3 /tmp/tmp37dww03z_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnnl4a7fs Check the logs for full command output. at ~/.poetry/lib/poetry/utils/env.py:1075 in _run 1071│ output = subprocess.check_output( 1072│ cmd, stderr=subprocess.STDOUT, **kwargs 1073│ ) 1074│ except CalledProcessError as e: → 1075│ raise EnvCommandError(e, input=input_) 1076│ 1077│ return decode(output) 1078│ 1079│ def execute(self, bin, *args, **kwargs): ``` So in this situation, I think pants isn't doing worse than poetry; but I do think this is exactly the situation that pants should be handling, if I understood correctly. Yeah, both cases @ehiggs would be handled by Pants _not_ parsing poetry.lock entries that are local (under the build root) projects into requirements IIUC. This feature is fresh and I think your use case was simply missed innocently. Our biggest challenge integrating most tools is not being experts in those tools ourselves. So your example helps. Thanks. I'm new to pants and poetry is looking at building functionality for multi package repositories that overlaps a lot so I'm not quite sure which is the responsibility of which project. Relevant poetry tickets: https://github.com/python-poetry/poetry/issues/936 https://github.com/python-poetry/poetry/issues/2270 @ehiggs with #12280 and the following diff in your example `multirepo-1`: ```diff $ git diff diff --git a/multirepo-1/pants.toml b/multirepo-1/pants.toml index 43be261..e1292f0 100644 --- a/multirepo-1/pants.toml +++ b/multirepo-1/pants.toml @@ -1,9 +1,18 @@ [GLOBAL] print_stacktrace = false -pants_version = "2.6.x" +pants_version = "2.6.0rc0" backend_packages = [ "pants.backend.python", "pants.backend.python.lint.black", "pants.backend.python.lint.flake8" ] + +[source] +root_patterns = [ + "/project-app", + "/project-models", +] + +[python-setup] +interpreter_constraints = ["==3.9.*"] ``` I find success: ```console $ ../../../pantsbuild/jsirois-pants/pants run :: 20:51:44.40 [INFO] Initializing scheduler... 20:51:44.55 [INFO] Scheduler initialized. 20:51:44.59 [WARN] Unmatched globs from project-models's `sources` field: ["project-models/*.py", "project-models/*.pyi"], excludes: ["project-models/*_test.py", "project-models/*_test.pyi", "project-models/conftest.py", "project-models/test_*.py", "project-models/test_*.pyi", "project-models/tests.py", "project-models/tests.pyi"] Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to https://www.pantsbuild.org/v2.6/docs/troubleshooting#pants-cannot-find-a-file-in-your-project. * Serving Flask app '__main__' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) ^CInterrupted by user. $ ```
2021-07-07T20:48:46Z
[]
[]
Traceback (most recent call last): File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/commands/download.py", line 109, in run reqs = self.get_requirements(args, options, finder, session) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 350, in get_requirements req_to_add = install_req_from_line( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/constructors.py", line 401, in install_req_from_line return InstallRequirement( File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 150, in __init__ self.local_file_path = self.link.file_path File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/models/link.py", line 124, in file_path return url_to_path(self.url) File "/home/ehiggs/.cache/pants/named_caches/pex_root/venvs/short/cece6f83/lib/python3.9/site-packages/pip/_internal/utils/urls.py", line 49, in url_to_path raise ValueError( ValueError: non-local file URIs are not supported on this platform: 'file://../project-models'
15,854
pantsbuild/pants
pantsbuild__pants-12337
b0b7b0b914fd9df86be64e0948a87a01ccbce528
diff --git a/src/python/pants/engine/goal.py b/src/python/pants/engine/goal.py --- a/src/python/pants/engine/goal.py +++ b/src/python/pants/engine/goal.py @@ -8,6 +8,7 @@ from typing_extensions import final +from pants.option.scope import ScopeInfo from pants.option.subsystem import Subsystem from pants.util.meta import classproperty @@ -37,6 +38,10 @@ def list(console: Console, list_subsystem: ListSubsystem) -> List: # it should declare the union types that must have members. required_union_implementations: Tuple[Type, ...] = () + @classmethod + def create_scope_info(cls, **scope_info_kwargs) -> ScopeInfo: + return super().create_scope_info(is_goal=True, **scope_info_kwargs) + @classproperty @abstractmethod def name(cls): diff --git a/src/python/pants/option/arg_splitter.py b/src/python/pants/option/arg_splitter.py --- a/src/python/pants/option/arg_splitter.py +++ b/src/python/pants/option/arg_splitter.py @@ -90,6 +90,7 @@ def __init__(self, known_scope_infos: Iterable[ScopeInfo], buildroot: str) -> No "help-advanced", "help-all", } + self._known_goal_scopes = {si.scope for si in known_scope_infos if si.is_goal} self._unconsumed_args: List[ str ] = [] # In reverse order, for efficient popping off the end. @@ -171,7 +172,10 @@ def assign_flag_to_scope(flg: str, default_scope: str) -> None: while scope: if not self._check_for_help_request(scope.lower()): add_scope(scope) - goals.add(scope.partition(".")[0]) + if scope in self._known_goal_scopes: + goals.add(scope.partition(".")[0]) + else: + unknown_scopes.append(scope) for flag in flags: assign_flag_to_scope(flag, scope) scope, flags = self._consume_scope() diff --git a/src/python/pants/option/optionable.py b/src/python/pants/option/optionable.py --- a/src/python/pants/option/optionable.py +++ b/src/python/pants/option/optionable.py @@ -94,12 +94,17 @@ def validate_scope_name_component(cls, s: str) -> None: f"dash-separated-words, with words consisting only of lower-case letters and digits." ) + @classmethod + def create_scope_info(cls, **scope_info_kwargs) -> ScopeInfo: + """One place to create scope info, to allow subclasses to inject custom scope args.""" + return ScopeInfo(**scope_info_kwargs) + @classmethod def get_scope_info(cls) -> ScopeInfo: """Returns a ScopeInfo instance representing this Optionable's options scope.""" if cls.options_scope is None: raise OptionsError(f"{cls.__name__} must set options_scope.") - return ScopeInfo(scope=cast(str, cls.options_scope), optionable_cls=cls) + return cls.create_scope_info(scope=cast(str, cls.options_scope), optionable_cls=cls) @classmethod def subscope(cls, scope) -> str: diff --git a/src/python/pants/option/scope.py b/src/python/pants/option/scope.py --- a/src/python/pants/option/scope.py +++ b/src/python/pants/option/scope.py @@ -34,6 +34,9 @@ class ScopeInfo: removal_version: Optional[str] = None removal_hint: Optional[str] = None + # command line goal scope flag + is_goal: bool = False + @property def description(self) -> str: return cast(str, getattr(self.optionable_cls, "help")) diff --git a/src/python/pants/option/subsystem.py b/src/python/pants/option/subsystem.py --- a/src/python/pants/option/subsystem.py +++ b/src/python/pants/option/subsystem.py @@ -96,7 +96,7 @@ def get_scope_info(cls, subscope=None) -> ScopeInfo: if subscope is None: return super().get_scope_info() else: - return ScopeInfo(cls.subscope(subscope), cls) + return cls.create_scope_info(scope=cls.subscope(subscope), optionable_cls=cls) def __init__(self, scope: str, options: OptionValueContainer) -> None: super().__init__() @@ -191,9 +191,9 @@ def collect_scope_infos(optionable_cls, scoped_to, removal_version=None, removal if scoped_to == GLOBAL_SCOPE else optionable_cls.subscope(scoped_to) ) - scope_info = ScopeInfo( - scope, - optionable_cls, + scope_info = cls.create_scope_info( + scope=scope, + optionable_cls=optionable_cls, removal_version=removal_version, removal_hint=removal_hint, )
key error bug when invoking pex without arguments ``` $ ./pants -ldebug pex 15:55:18.96 [DEBUG] acquiring lock: <pants.pantsd.lock.OwnerPrintingInterProcessFileLock object at 0x10a7f1f70> 15:55:18.96 [DEBUG] releasing lock: <pants.pantsd.lock.OwnerPrintingInterProcessFileLock object at 0x10a7f1f70> 15:55:18.96 [DEBUG] Connecting to pantsd on port 62729 15:55:18.97 [DEBUG] Connecting to pantsd on port 62729 attempt 1/3 15:55:18.97 [DEBUG] Connected to pantsd 15:55:19.00 [DEBUG] Launching 1 roots (poll=false). 15:55:19.02 [DEBUG] Starting: pants.backend.python.util_rules.pex.build_pex 15:55:19.02 [DEBUG] Starting: Find Python interpreter to bootstrap PEX 15:55:19.02 [DEBUG] Canceled: pants.backend.python.util_rules.pex.build_pex 15:55:19.02 [DEBUG] Starting: Find Python interpreter for constraints 15:55:19.02 [DEBUG] Canceled: Find Python interpreter for constraints 15:55:19.02 [DEBUG] Starting: Find Python interpreter to bootstrap PEX 15:55:19.02 [DEBUG] Completed: Find Python interpreter to bootstrap PEX - Selected /Users/aadt/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py38.venv/bin/python to bootstrap PEXes with. 15:55:19.02 [DEBUG] Completed: Find Python interpreter to bootstrap PEX - Selected /Users/aadt/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py38.venv/bin/python to bootstrap PEXes with. 15:55:19.02 [DEBUG] Starting: pants.backend.python.util_rules.pex.build_pex 15:55:19.02 [DEBUG] Starting: Find Python interpreter for constraints 15:55:19.02 [DEBUG] Completed: Find Python interpreter for constraints - Selected /usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/bin/python3.8 to run PEXes with. 15:55:19.02 [DEBUG] Completed: pants.backend.python.util_rules.pex.build_pex 15:55:19.02 [DEBUG] computed 1 nodes in 0.028035 seconds. there are 127 total nodes. 15:55:19.07 [DEBUG] Launching 1 roots (poll=false). 15:55:19.07 [DEBUG] computed 1 nodes in 0.000628 seconds. there are 127 total nodes. 15:55:19.13 [DEBUG] specs are: Specs(address_specs=AddressSpecs(literals=(), globs=(), filter_by_global_options=True), filesystem_specs=FilesystemSpecs(includes=(), ignores=())) 15:55:19.13 [DEBUG] changed_options are: ChangedOptions(since=None, diffspec=None, dependees=<DependeesOption.NONE: 'none'>) 15:55:19.13 [DEBUG] Launching 1 roots (poll=false). 15:55:19.13 [DEBUG] computed 1 nodes in 0.004937 seconds. there are 788 total nodes. 15:55:19.13 [DEBUG] BuildSense plugin is disabled. 15:55:19.13 [ERROR] Exception caught: (builtins.KeyError) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 234, in _run_inner return self._perform_run(goals) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 173, in _perform_run return self._perform_run_body(goals, poll=False) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 190, in _perform_run_body return self.graph_session.run_goal_rules( File "/Users/aadt/src/github/kaos/pants/src/python/pants/init/engine_initializer.py", line 122, in run_goal_rules goal_product = self.goal_map[goal] Exception message: 'pex' Traceback (most recent call last): File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 234, in _run_inner return self._perform_run(goals) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 173, in _perform_run return self._perform_run_body(goals, poll=False) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 190, in _perform_run_body return self.graph_session.run_goal_rules( File "/Users/aadt/src/github/kaos/pants/src/python/pants/init/engine_initializer.py", line 122, in run_goal_rules goal_product = self.goal_map[goal] KeyError: 'pex' (Use --no-process-execution-local-cleanup to inspect chroots. See https://www.pantsbuild.org/v2.7/docs/troubleshooting for common issues. Consider reaching out for help: https://www.pantsbuild.org/v2.7/docs/getting-help.) ```
2021-07-13T20:01:10Z
[]
[]
Traceback (most recent call last): File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 234, in _run_inner return self._perform_run(goals) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 173, in _perform_run return self._perform_run_body(goals, poll=False) File "/Users/aadt/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 190, in _perform_run_body return self.graph_session.run_goal_rules( File "/Users/aadt/src/github/kaos/pants/src/python/pants/init/engine_initializer.py", line 122, in run_goal_rules goal_product = self.goal_map[goal] KeyError: 'pex'
15,857
pantsbuild/pants
pantsbuild__pants-13690
f071882e3c7dc4a27a7c499e9d251cc85a95999b
diff --git a/src/python/pants/backend/python/util_rules/local_dists.py b/src/python/pants/backend/python/util_rules/local_dists.py --- a/src/python/pants/backend/python/util_rules/local_dists.py +++ b/src/python/pants/backend/python/util_rules/local_dists.py @@ -60,6 +60,13 @@ class LocalDistsPex: Can be consumed from another PEX, e.g., by adding to PEX_PATH. + The PEX will only contain locally built dists and not their dependencies. For Pants generated + `setup.py` / `pyproject.toml`, the dependencies will be included in the standard resolve process + that the locally-built dists PEX is adjoined to via PEX_PATH. For hand-made `setup.py` / + `pyproject.toml` with 3rdparty dependencies not hand-mirrored into BUILD file dependencies, this + will lead to issues. See https://github.com/pantsbuild/pants/issues/13587#issuecomment-974863636 + for one way to fix this corner which is intentionally punted on for now. + Lists the files provided by the dists on sys.path, so they can be subtracted from sources digests, to prevent the same file ending up on sys.path twice. """ @@ -132,6 +139,7 @@ async def build_local_dists( interpreter_constraints=request.interpreter_constraints, additional_inputs=wheels_digest, internal_only=request.internal_only, + additional_args=["--intransitive"], ), )
Issue with package local dist into pex **Describe the bug** When I attempt to build a pex that depends on a local dist, it fails when PEX is creating a symlink (see logs below). ( Using this feature: #13306 ) Verified with a simpler case in the example repo that what I try to do works. **Pants version** 2.8.0rc5 (also observed on latest `main`) **OS** MacOS **Additional info** This is the process and resulting exception from the debug logs: ``` 11:52:03.82 [DEBUG] Running Extracting 12 requirements to build demo.pex from repository.pex: PyYAML==5.3.1, backoff==1.10.0, blinker==1.4, click==7.1.2, codetiming==1.2.0, enum34==1.1.10, gevent==20.9.0, marshmallow==3.9.0, packaging==20.9, pluggy==0.13.1, prometheus-client==0.9.0, transitions==0.8.4 under semaphore with concurrency id: 12 11:52:03.85 [DEBUG] spawned local process as Some(82860) for Process { argv: ["/Users/x/.pyenv/versions/3.7.12/bin/python", "./pex", "--cert", ".cacert.pem", "--python-path", "/Users/x/.pyenv/versions/3.7.12/bin:/Users/x/.pyenv/versions/3.8.11/bin:/Users/x/.pyenv/versions/3.9.7/bin:/usr/local/bin:/root/pyenv/bin", "--tmpdir", ".tmp", "--output-file", "demo.pex", "--requirements-pex", "local_dists.pex", "--pex-repository", "repository.pex", "--interpreter-constraint", "CPython<4,>=3.8", "--no-emit-warnings", "--jobs", "6", "--manylinux", "manylinux2014", "--entry-point", "bazooka.cli:main", "--sources-directory=source_files", "--constraints", "constraints.txt", "PyYAML==5.3.1", "backoff==1.10.0", "blinker==1.4", "click==7.1.2", "codetiming==1.2.0", "enum34==1.1.10", "gevent==20.9.0", "marshmallow==3.9.0", "packaging==20.9", "pluggy==0.13.1", "prometheus-client==0.9.0", "transitions==0.8.4"], env: {"CPPFLAGS": "", "LANG": "en_US.UTF-8", "LDFLAGS": "", "PATH": "/Users/x/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py38.venv/bin:/Users/x/src/svs/python/bazooka/.dev-env/bin:/Users/x/.cargo/bin:/Users/x/.nvm/versions/node/v14.15.1/bin:/Users/x/.pyenv/shims:/Users/x/.pyenv/bin:/Users/x/Library/Python/3.7/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/gettext/bin:/usr/local/opt/curl/bin:/Users/x/bin:/Users/x/src/svs/go/bin/:/Users/x/.jenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/puppetlabs/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS", "PEX_IGNORE_RCFILES": "true", "PEX_PYTHON_PATH": "/Users/x/.pyenv/versions/3.7.12/bin:/Users/x/.pyenv/versions/3.8.11/bin:/Users/x/.pyenv/versions/3.9.7/bin:/usr/local/bin:/root/pyenv/bin", "PEX_ROOT": ".cache/pex_root"}, working_directory: None, input_files: Digest { hash: Fingerprint<5bf6d09f5c6be72dc85edcf960884054b444c8d2cf8f8cab320260704a915adf>, size_bytes: 604 }, output_files: {RelativePath("demo.pex")}, output_directories: {}, timeout: None, execution_slot_variable: None, description: "Extracting 12 requirements to build demo.pex from repository.pex: PyYAML==5.3.1, backoff==1.10.0, blinker==1.4, click==7.1.2, codetiming==1.2.0, enum34==1.1.10, gevent==20.9.0, marshmallow==3.9.0, packaging==20.9, pluggy==0.13.1, prometheus-client==0.9.0, transitions==0.8.4", level: Info, append_only_caches: {CacheName("pex_root"): CacheDest(".cache/pex_root")}, jdk_home: None, platform_constraint: Some(Macos_x86_64), use_nailgun: Digest { hash: Fingerprint<e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855>, size_bytes: 0 }, cache_scope: Successful } [...] 11:52:05.97 [ERROR] 1 Exception encountered: ProcessExecutionFailure: Process 'Extracting 12 requirements to build demo.pex from repository.pex: PyYAML==5.3.1, backoff==1.10.0, blinker==1.4, click==7.1.2, codetiming==1.2.0, enum34==1.1.10, gevent==20.9.0, marshmallow==3.9.0, packaging==20.9, pluggy==0.13.1, prometheus-client==0.9.0, transitions==0.8.4' failed with exit code 1. stdout: stderr: Traceback (most recent call last): File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 476, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 401, in _wrap_coverage return runner(*args) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 432, in _wrap_profiling return runner(*args) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 532, in _execute return self.execute_entry(self._pex_info.entry_point) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 668, in execute_entry return self.execute_pkg_resources(entry_point) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 700, in execute_pkg_resources return runner() File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 672, in main env=env, File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 692, in do_main cache=ENV.PEX_ROOT, File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 600, in build_pex pex_builder.add_distribution(installed_dist.distribution) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/pex_builder.py", line 458, in add_distribution dist_hash = self._add_dist_dir(dist.location, dist_name) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/pex_builder.py", line 421, in _add_dist_dir self._copy_or_link(path, target_dir, label=dist_name) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/pex_builder.py", line 541, in _copy_or_link self._chroot.symlink(src, dst, label) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/common.py", line 686, in symlink os.symlink(abs_src, abs_dst) FileExistsError: [Errno 17] File exists: '/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/12138e788771deb6b7f0447e95d3ff330c080b4d/PyYAML-5.3.1-cp38-cp38-macosx_11_0_x86_64.whl' -> '/private/var/folders/8j/c8jf_msj009947wyw82xvdkw0000gn/T/process-execution0ijeeU/.tmp/tmp1qqqi41k/.deps/PyYAML-5.3.1-cp38-cp38-macosx_11_0_x86_64.whl' ``` Any pointers as to what to look for etc appreciated. Will keep digging see what I can come up with..
Hmm... I think I see where it goes wrong. The `local_dists.pex` does not only have my local dist, but also all the required dependencies in there... So when the PEX builder assembles the environment, it adds all dists from `local_dists.pex` and then all required dists from `repository.pex`, but those has already been added from the local_dists, and BOOM. Not sure what the correct solution is here, but it feels like the PEX builder could play nice and realize if adding the same dist again, just skip and move on to the next one. The correct fix might be that pants should only include local dists and no 3rdparty ones in `local_dists.pex`, as the name suggests. Could it be this "harmless" feat I've run into? https://github.com/pantsbuild/pants/blob/41ac4a2c79a19543f80be56f21198b588541ed18/src/python/pants/backend/python/util_rules/pex_from_targets.py#L231-L237 EDIT: Nope. OK, I now know how to reproduce the issue, and it presents itself as soon as the local dist has _any_ dependencies at all. So, I don't think it is viable that the `local_dist.pex` is built with only local dists without any 3rdparty deps, as that would result in a "broken" pex. So I'm inclined to think the best way forward is to make PEX aware that requirements may also be satisfied from the `--requirements-pex`. Confirming that the fix suggested in pantsbuild/pex#1517 solves my use case. @kaos does this solve your use case? It passes Pants tests, but before investing time in beefing those up to emulate your use case I was hoping you could give this edit a burn. ```diff $ git diff diff --git a/src/python/pants/backend/python/util_rules/local_dists.py b/src/python/pants/backend/python/util_rules/local_dists.py index fc9458445..60033dcbd 100644 --- a/src/python/pants/backend/python/util_rules/local_dists.py +++ b/src/python/pants/backend/python/util_rules/local_dists.py @@ -132,6 +132,7 @@ async def build_local_dists( interpreter_constraints=request.interpreter_constraints, additional_inputs=wheels_digest, internal_only=request.internal_only, + additional_args=["--intransitive"], ), ) ``` > So, I don't think it is viable that the local_dist.pex is built with only local dists without any 3rdparty deps, as that would result in a "broken" pex. So I'm inclined to think the best way forward is to make PEX aware that requirements may also be satisfied from the --requirements-pex. I think that was actually the right tactic. The local PEX is a hack and can be "broken" since its never exposed to or used by end users. It's just there to emulate building a wheel for each local dist and then adding that wheel to another PEX. Great. I thought it would require changes to pex itself how PEXes are built to get that behavior where not all dependencies are included. Hence my unviable conclusion.. Will try this out, thanks! Profit! > The correct fix might be that pants should only include local dists and no 3rdparty ones in local_dists.pex, as the name suggests. I was onto it before overthinking it in the wrong direction :P Should've spotted there was a pex flag for it already ;) Thank you @jsirois for digging it out for me. @benjyw do you see any issues with building the local_dists.pex `--intransitive`? For ~setup.py generated by Pants, the wheel transitive deps will jive with the Pants maintained deps. For hand-crafted setup.py, they might not, but - IIUC, the intent is that the hand-crafted setup.py is for those who know what they're doing / for building native extensions. Hmmm, on balance I see no problem with using `--intransitive`. The failure mode is - handwritten setup.py with requirements that aren't expressed as BUILD file deps, and there be dragons in other ways too, so I'm fine breaking that case. Ok. The other thing I was looking at was eliminating the --requirements-pex / PEX_PATH hack in place to add local dists to the resolves in various goals. That would make this all more robust and do the right thing with extra requirements. Did you look into that and reject it? There is some muscle that needs to be applied to get this to work with lockfiles, but that's doable; so I was guessing you just took an expedient approach to unblock real users that did not exercise any of these corners. IIRC I used PEX_PATH because local dists are first-party code, and users might be iterating on them, so invoking a resolve on every change is a big and ~unexpected performance hit in that iteration. Imagine tweaking your code and having to wait ten minutes to re-resolve a bunch of unrelated third party things. OK, thanks for that background @benjyw. I'm hesitating on the 1-liner above to fix @kaos's issue though since the current fast solution has caveats / accepted bugs / corners and the 1 line fix will just change these caveats / accepted bugs / corners to new ones. It probably makes sense to fix the whac-a-mole sooner rather than later. It seems to me we could have fast and correct with `--intransitive` PEXes that we gathered all top-level requirements from and mixed into resolves. So if the local dists PEX had just 1 local dist, we'd look at that dist and gather its `Requires-Dist` metadata and for each of those: 1. Add to the resolve if the required project is not already in the resolve. 2. Adjust the requirements in the current resolve does have the project already (AND the specifiers). If only local dist code changes, but not requirements, then resolves will be unperturbed, vice versa, and both combined as well. Also, with 2 you might get an unsatisfiable constraint on a given project and the resolve would blow up fast - which is correct and what we want. So I'm not sure why just building the local dists pex `--intransitive` isn't enough? Any of its requirements would be brought in via dep inference or explicit dep anyway, no? Since they'd be in the transitive dep closure of whatever root you're building. @benjyw that works if and only if the user-provided `setup.py` / `pyproject.toml` does not declare dependencies or if it does and the user makes sure to repeat these in the `python_distribution.dependencies`. @kaos IIUC you must have a `setup.py` or `pyproject.toml` that declares its own dependencies directly. Is that right? Do you also re-declare these as `python_distribution.dependencies`? The advantage of actually inspecting the local dist wheels after they are built is the `Requires-Dist` metadata cuts through this. You're sure the Pants resolve process is getting all the requirements it needs to succeed or fail. @jsirois Yes, I have a `pyproject.toml` with a `[tool.poetry.dependencies]` and a `poetry_requirements` target in the BUILD file. Also using a `constraints.txt` file generated by a `poetry export`. No custom setup.py, relying on getting that generated. Also, I don't have any 3rdparty deps listed on the `python_distribution`s, rely on inference for that. The pex I'm building have deps to all the local dists I want to include. Some excerpts, in case it helps show my setup more clearly.. ```python pex_binary( name="bazooka-cdi", description="Bazooka as a CDI server module, with the mongo backend.", entry_point="cdi.cli:main", restartable=True, dependencies=[ "bazooka:dist", "bazooka_storage_mongo:dist", ":bazooka-plugins", ], ) target( name="bazooka-plugins", dependencies=[ "bazooka_access_control:dist", "bazooka_admin:dist", "bazooka_cdi:dist", "bazooka_cron:dist", "bazooka_flask:dist", "bazooka_flask_graph:dist", "bazooka_flask_rest:dist", "bazooka_legacy_api:dist", "bazooka_metrics:dist", "bazooka_profile:dist", "bazooka_puppet:dist", "bazooka_puppet_svs:dist", "bazooka_hooks:dist", # Mutually exclusive plugins, include in final target as required. # "bazooka_storage_mongo:dist", # "bazooka_storage_pony:dist", ], ) ``` Each of those dists are uniform, using this macro (disclaimer: unfinished code): ```python def bazooka_dist(name, summary, console_scripts=None, plugins=None, entry_points=None, dist=None, provides=None): python_sources() python_distribution( name=f"dist", sdist=False, wheel=True, provides=python_artifact( name=name, version="0.0.1", # version="$VERSION_PYTHON", summary=summary, classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", # License :: OSI Approved :: ... "Operating System :: Linux", "Programming Language :: Python", ], **(provides or {}), ), entry_points={ "console_scripts": console_scripts or {}, "bazooka": plugins or {}, **(entry_points or {}), }, **(dist or {}), ) def bazooka_plugin(name, summary, entry_point=None, **kwargs): bazooka_dist( name, summary, plugins={name.split("-", 1)[-1]: entry_point or name.replace("-", "_")}, **kwargs ) ``` And typically used like: ```python bazooka_dist( "bazooka", "Deployment Orchestrator for Application Releases", console_scripts={"bazooka": "bazooka.cli:main"}, dist={"pypi_repositories":["@svs"]}, ) # And for the plugins.. bazooka_plugin("bazooka-admin", "Admin plugin for Bazooka") ``` @kaos so you're using dependencies on local dists not to get your own CPython extension (C) code compiled but just to get the wheel metadata (`<name>-<ver>.dist-info/entry_points.txt`) needed for a pure Python plugin mechanism?. @jsirois Yes, precisely. Aha - OK. This is not the use case I've been worrying about. In your case, the 1 line fix will work just fine. Its the C extension code case with custom `setup.py` / `pyproject.toml` that can fail / have install requirements we don't account for properly. Alright, enough kvetching. I'd rather we did the right thing so this was all bulletproof, but that will take more work than I can invest at the present moment. I'll proceed with the 1-liner.
2021-11-22T14:28:12Z
[]
[]
Traceback (most recent call last): File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 476, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 401, in _wrap_coverage return runner(*args) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 432, in _wrap_profiling return runner(*args) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 532, in _execute return self.execute_entry(self._pex_info.entry_point) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 668, in execute_entry return self.execute_pkg_resources(entry_point) File "/Users/x/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 700, in execute_pkg_resources return runner() File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 672, in main env=env, File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 692, in do_main cache=ENV.PEX_ROOT, File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 600, in build_pex pex_builder.add_distribution(installed_dist.distribution) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/pex_builder.py", line 458, in add_distribution dist_hash = self._add_dist_dir(dist.location, dist_name) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/pex_builder.py", line 421, in _add_dist_dir self._copy_or_link(path, target_dir, label=dist_name) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/pex_builder.py", line 541, in _copy_or_link self._chroot.symlink(src, dst, label) File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/common.py", line 686, in symlink os.symlink(abs_src, abs_dst) FileExistsError: [Errno 17] File exists: '/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/12138e788771deb6b7f0447e95d3ff330c080b4d/PyYAML-5.3.1-cp38-cp38-macosx_11_0_x86_64.whl' -> '/private/var/folders/8j/c8jf_msj009947wyw82xvdkw0000gn/T/process-execution0ijeeU/.tmp/tmp1qqqi41k/.deps/PyYAML-5.3.1-cp38-cp38-macosx_11_0_x86_64.whl'
15,935
pantsbuild/pants
pantsbuild__pants-13748
961a52c9cdba841752527e7064d2ff09c421ae12
diff --git a/src/python/pants/backend/python/goals/run_pex_binary.py b/src/python/pants/backend/python/goals/run_pex_binary.py --- a/src/python/pants/backend/python/goals/run_pex_binary.py +++ b/src/python/pants/backend/python/goals/run_pex_binary.py @@ -12,11 +12,11 @@ ) from pants.backend.python.util_rules.interpreter_constraints import InterpreterConstraints from pants.backend.python.util_rules.local_dists import LocalDistsPex, LocalDistsPexRequest -from pants.backend.python.util_rules.pex import Pex, PexRequest +from pants.backend.python.util_rules.pex import Pex from pants.backend.python.util_rules.pex_environment import PexEnvironment from pants.backend.python.util_rules.pex_from_targets import ( InterpreterConstraintsRequest, - RequirementsPexRequest, + PexFromTargetsRequest, ) from pants.backend.python.util_rules.python_sources import ( PythonSourceFiles, @@ -50,15 +50,17 @@ async def create_pex_binary_run_request( InterpreterConstraints, InterpreterConstraintsRequest(addresses) ) - entry_point_pex_get = Get( + pex_get = Get( Pex, - PexRequest( + PexFromTargetsRequest( + [field_set.address], output_filename=f"{field_set.address.target_name}.pex", internal_only=True, + include_source_files=False, # Note that the file for first-party entry points is not in the PEX itself. In that # case, it's loaded by setting `PEX_EXTRA_SYS_PATH`. main=entry_point.val or field_set.script.value, - interpreter_constraints=interpreter_constraints, + resolve_and_lockfile=field_set.resolve.resolve_and_lockfile(python_setup), additional_args=( *field_set.generate_additional_args(pex_binary_defaults), # N.B.: Since we cobble together the runtime environment via PEX_EXTRA_SYS_PATH @@ -68,20 +70,10 @@ async def create_pex_binary_run_request( ), ), ) - requirements_pex_get = Get( - Pex, - RequirementsPexRequest( - addresses=[field_set.address], - internal_only=True, - resolve_and_lockfile=field_set.resolve.resolve_and_lockfile(python_setup), - ), - ) sources_get = Get( PythonSourceFiles, PythonSourceFilesRequest(transitive_targets.closure, include_files=True) ) - entry_point_pex, requirements_pex, sources = await MultiGet( - entry_point_pex_get, requirements_pex_get, sources_get - ) + pex, sources = await MultiGet(pex_get, sources_get) local_dists = await Get( LocalDistsPex, @@ -97,10 +89,9 @@ async def create_pex_binary_run_request( Digest, MergeDigests( [ - entry_point_pex.digest, + pex.digest, local_dists.pex.digest, local_dists.remaining_sources.source_files.snapshot.digest, - requirements_pex.digest, ] ), ) @@ -109,14 +100,12 @@ def in_chroot(relpath: str) -> str: return os.path.join("{chroot}", relpath) complete_pex_env = pex_env.in_workspace() - args = complete_pex_env.create_argv( - in_chroot(entry_point_pex.name), python=entry_point_pex.python - ) + args = complete_pex_env.create_argv(in_chroot(pex.name), python=pex.python) chrooted_source_roots = [in_chroot(sr) for sr in sources.source_roots] extra_env = { - **complete_pex_env.environment_dict(python_configured=entry_point_pex.python is not None), - "PEX_PATH": ":".join([in_chroot(requirements_pex.name), in_chroot(local_dists.pex.name)]), + **complete_pex_env.environment_dict(python_configured=pex.python is not None), + "PEX_PATH": in_chroot(local_dists.pex.name), "PEX_EXTRA_SYS_PATH": os.pathsep.join(chrooted_source_roots), }
Pants run `pex_binary` script broken **Describe the bug** I get: ``` $ PANTS_SHA=961a52c9cdba841752527e7064d2ff09c421ae12 ./pants run :test -- moo [...] 11:26:44.87 [ERROR] 1 Exception encountered: ProcessExecutionFailure: Process 'Building test.pex' failed with exit code 1. stdout: stderr: Traceback (most recent call last): [...] File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/dae57b1c3877fc0567acc0103c6437da021bcfdf/pex-2.1.56-py2.py3-none-any.whl/pex/pex_builder.py", line 386, in set_script script, ", ".join(str(d) for d in distributions) pex.pex_builder.InvalidExecutableSpecification: Could not find script 'cowsay' in any distribution within PEX! ``` **Pants version** Bleeding edge. **OS** MacOS. **Additional info** This works on `2.9.0.dev2`. Also, running `./pants package :test` produces a working pex, so it is only `run` that is affected. Reproduction: ```toml [GLOBAL] pants_version = "2.9.0.dev2" backend_packages = [ "pants.backend.python", ] ``` ```python python_requirement( name="cowsay", requirements=["cowsay==4.0"] ) pex_binary( name="test", script="cowsay", dependencies=[":cowsay"] ) ```
This was broken by #13693 OK, I've narrowed it down being due to that the requirements pex are split from the entry point pex, so when `main` is a script that comes from a requirement, we can't build the entry point pex: https://github.com/pantsbuild/pants/blob/961a52c9cdba841752527e7064d2ff09c421ae12/src/python/pants/backend/python/goals/run_pex_binary.py#L60
2021-11-30T12:54:35Z
[]
[]
Traceback (most recent call last): [...] File "/Users/x/.cache/pants/named_caches/pex_root/installed_wheels/dae57b1c3877fc0567acc0103c6437da021bcfdf/pex-2.1.56-py2.py3-none-any.whl/pex/pex_builder.py", line 386, in set_script script, ", ".join(str(d) for d in distributions) pex.pex_builder.InvalidExecutableSpecification: Could not find script 'cowsay' in any distribution within PEX!
15,944
pantsbuild/pants
pantsbuild__pants-13856
72607859db0d1e6182518b0da7df04ec86137543
diff --git a/src/python/pants/engine/target.py b/src/python/pants/engine/target.py --- a/src/python/pants/engine/target.py +++ b/src/python/pants/engine/target.py @@ -1576,6 +1576,12 @@ def validate_resolved_files(self, files: Sequence[str]) -> None: To enforce that there are only a certain number of resulting files, such as binary targets checking for only 0-1 sources, set the class property `expected_num_files`. """ + + if not self.required and not self.value: + # If this field isn't required or set, validation is done against the default value + # which is probably not valuable (See #13851). + return None + if self.expected_file_extensions is not None: bad_files = [ fp for fp in files if not PurePath(fp).suffix in self.expected_file_extensions
`jvm_artifact` `jar` field incorrectly validated during `tailor` During `./pants tailor`, the `jvm_artifact(jar=..)` field is validated as having 1 file, even when it has not been set for the target. That fails with: ``` Engine traceback: in select in pants.core.goals.tailor.tailor in pants.backend.scala.goals.tailor.find_putative_targets in pants.core.goals.tailor.determine_all_owned_sources in pants.engine.internals.graph.resolve_source_paths (3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind) Traceback (most recent call last): File "src/python/pants/engine/internals/selectors.py", line 705, in native_engine_generator_send res = func.send(arg) File "src/python/pants/engine/internals/graph.py", line 853, in resolve_source_paths sources_field.validate_resolved_files(paths.files) File "src/python/pants/engine/target.py", line 1613, in validate_resolved_files f"The {repr(self.alias)} field in target {self.address} must have " pants.engine.target.InvalidFieldException: The 'jar' field in target 3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind must have 1 file, but it had 0 files. ``` Ideally, this validation would not trigger for a field which is set to `required=False` unless it was actually set. Much less ideal would be setting: ```diff diff --git a/src/python/pants/jvm/target_types.py b/src/python/pants/jvm/target_types.py index 27dbeebb66..9d3045c9f3 100644 --- a/src/python/pants/jvm/target_types.py +++ b/src/python/pants/jvm/target_types.py @@ -60,6 +60,7 @@ class JvmArtifactUrlField(StringField): class JvmArtifactJarSourceField(SingleSourceField): alias = "jar" expected_file_extensions = (".jar",) + expected_num_files = range(0, 2) required = False help = "A JAR file that provides this artifact to the lockfile resolver, instead of a maven repository." ```
Thanks! I'll look into this soon.
2021-12-10T18:14:21Z
[]
[]
Traceback (most recent call last): File "src/python/pants/engine/internals/selectors.py", line 705, in native_engine_generator_send res = func.send(arg) File "src/python/pants/engine/internals/graph.py", line 853, in resolve_source_paths sources_field.validate_resolved_files(paths.files) File "src/python/pants/engine/target.py", line 1613, in validate_resolved_files f"The {repr(self.alias)} field in target {self.address} must have " pants.engine.target.InvalidFieldException: The 'jar' field in target 3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind must have 1 file, but it had 0 files.
15,958
pantsbuild/pants
pantsbuild__pants-14058
0b1ef20b59d8188149e2ba2aeba8b383c9e2c4a9
diff --git a/src/python/pants/init/plugin_resolver.py b/src/python/pants/init/plugin_resolver.py --- a/src/python/pants/init/plugin_resolver.py +++ b/src/python/pants/init/plugin_resolver.py @@ -1,13 +1,15 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). +from __future__ import annotations + import logging import site import sys from dataclasses import dataclass -from typing import Optional, TypeVar, cast +from typing import Optional, cast -from pkg_resources import WorkingSet +from pkg_resources import Requirement, WorkingSet from pkg_resources import working_set as global_working_set from pants.backend.python.util_rules.interpreter_constraints import InterpreterConstraints @@ -21,20 +23,19 @@ from pants.init.bootstrap_scheduler import BootstrapScheduler from pants.option.global_options import GlobalOptions from pants.option.options_bootstrapper import OptionsBootstrapper -from pants.option.subsystem import Subsystem from pants.util.logging import LogLevel logger = logging.getLogger(__name__) -S = TypeVar("S", bound=Subsystem) - - @dataclass(frozen=True) class PluginsRequest: # Interpreter constraints to resolve for, or None to resolve for the interpreter that Pants is # running under. - interpreter_constraints: Optional[InterpreterConstraints] = None + interpreter_constraints: InterpreterConstraints | None + # Requirement constraints to resolve with. If plugins will be loaded into the global working_set + # (i.e., onto the `sys.path`), then these should be the current contents of the working_set. + constraints: tuple[Requirement, ...] class ResolvedPluginDistributions(DeduplicatedCollection[str]): @@ -53,6 +54,7 @@ async def resolve_plugins( """ requirements = PexRequirements( req_strings=sorted(global_options.options.plugins), + constraints_strings=(str(constraint) for constraint in request.constraints), ) if not requirements: return ResolvedPluginDistributions() @@ -100,27 +102,22 @@ async def resolve_plugins( class PluginResolver: - def __init__( - self, - scheduler: BootstrapScheduler, - interpreter_constraints: Optional[InterpreterConstraints] = None, - ) -> None: + def __init__(self, scheduler: BootstrapScheduler) -> None: self._scheduler = scheduler - self._request = PluginsRequest(interpreter_constraints) def resolve( self, options_bootstrapper: OptionsBootstrapper, env: CompleteEnvironment, + interpreter_constraints: Optional[InterpreterConstraints] = None, working_set: Optional[WorkingSet] = None, ) -> WorkingSet: - """Resolves any configured plugins and adds them to the global working set. - - :param working_set: The working set to add the resolved plugins to instead of the global - working set (for testing). - """ + """Resolves any configured plugins and adds them to the working_set.""" working_set = working_set or global_working_set - for resolved_plugin_location in self._resolve_plugins(options_bootstrapper, env): + request = PluginsRequest( + interpreter_constraints, tuple(dist.as_requirement() for dist in working_set) + ) + for resolved_plugin_location in self._resolve_plugins(options_bootstrapper, env, request): site.addsitedir( resolved_plugin_location ) # Activate any .pth files plugin wheels may have. @@ -131,6 +128,7 @@ def _resolve_plugins( self, options_bootstrapper: OptionsBootstrapper, env: CompleteEnvironment, + request: PluginsRequest, ) -> ResolvedPluginDistributions: session = self._scheduler.scheduler.new_session( "plugin_resolver", @@ -143,7 +141,7 @@ def _resolve_plugins( ) return cast( ResolvedPluginDistributions, - session.product_request(ResolvedPluginDistributions, [self._request])[0], + session.product_request(ResolvedPluginDistributions, [request])[0], )
Fix or disable compatibility checks for plugin loading During loading of Pants plugins, [we use `pkg_resources`](https://github.com/pantsbuild/pants/blob/0e05e862d2efdc3fab886ddb0b4fc3fad3c8d36c/src/python/pants/init/extension_loader.py#L75-L99) to resolve plugin requirements, and then add them to our "working set". But the way that we use the API currently validates constraints when it adds to a working set, such that the version already on the `sys.path` (usually added by Pants' virtualenv setup script) is a fixed version (because after the virtualenv is created, knowledge of whether a range requirement was used "is lost" (?)), as is the version being added (because its only added to the working set after the resolve has completed, afaict). When ranges are used (which would otherwise be compatible) this can result in an error like: ``` 09:35:46.95 [ERROR] (requests 2.27.0 (.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages), Requirement.parse('requests==2.26.0')) Traceback (most recent call last): File "src/pants/src/python/pants/bin/daemon_pants_runner.py", line 124, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "src/pants/src/python/pants/pantsd/pants_daemon_core.py", line 130, in prepare options_bootstrapper, env, raise_=True File "src/pants/src/python/pants/init/options_initializer.py", line 108, in build_config_and_options self._plugin_resolver, options_bootstrapper, env File "src/pants/src/python/pants/init/options_initializer.py", line 59, in _initialize_build_configuration bootstrap_options.backend_packages, File "src/pants/src/python/pants/init/extension_loader.py", line 42, in load_backends_and_plugins load_plugins(bc_builder, plugins, working_set) File "src/pants/src/python/pants/init/extension_loader.py", line 97, in load_plugins rules = entries["rules"].load()() File ".cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in load self.require(*args, **kwargs) File ".cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2472, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File ".cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (requests 2.27.0 (.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages), Requirement.parse('requests==2.26.0')) ``` ---- To fix this, we should either: 1. Actually apply the original range requirement in the check: `pantsbuild.pants` uses `requests>=2.25.1`, and so should be compatible with a plugin specifying a fixed version in that range 2. Disable the requirement compatibility checks Note that doing a single resolve for both pants and its plugins would be an attractive option, but isn't viable because we're planning to move to distributing Pants as a PEX (and eventually a native binary) via #12397.
Thanks for filing this bug, I just began running in to this today 😱 Is the short-term solution for end-users to update the pants plugin? > Thanks for filing this bug, I just began running in to this today 😱 Is the short-term solution for end-users to update the pants plugin? That's correct. #9736 is related here since the current 3rdparty dep issue is fake. > #9736 is related here since the current 3rdparty dep issue is fake. I don't think that it is fake in this case: both Pants and the plugin _do_ use `requests`, and this is a runtime issue (using the plugin in Pants) rather than a plugin-build-time issue like #9736 (where the transitive deps of a `pants_requirement` target conflict with the dependencies of a plugin).
2022-01-04T01:40:05Z
[]
[]
Traceback (most recent call last): File "src/pants/src/python/pants/bin/daemon_pants_runner.py", line 124, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "src/pants/src/python/pants/pantsd/pants_daemon_core.py", line 130, in prepare options_bootstrapper, env, raise_=True File "src/pants/src/python/pants/init/options_initializer.py", line 108, in build_config_and_options self._plugin_resolver, options_bootstrapper, env File "src/pants/src/python/pants/init/options_initializer.py", line 59, in _initialize_build_configuration bootstrap_options.backend_packages, File "src/pants/src/python/pants/init/extension_loader.py", line 42, in load_backends_and_plugins load_plugins(bc_builder, plugins, working_set) File "src/pants/src/python/pants/init/extension_loader.py", line 97, in load_plugins rules = entries["rules"].load()() File ".cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in load self.require(*args, **kwargs) File ".cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2472, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File ".cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (requests 2.27.0 (.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/lib/python3.7/site-packages), Requirement.parse('requests==2.26.0'))
15,982
pantsbuild/pants
pantsbuild__pants-14819
73fc4969fc444b251b2e7237efc257bec1b0a2ad
diff --git a/src/python/pants/option/global_options.py b/src/python/pants/option/global_options.py --- a/src/python/pants/option/global_options.py +++ b/src/python/pants/option/global_options.py @@ -1519,13 +1519,16 @@ def compute_pantsd_invalidation_globs( for glob in potentially_absolute_globs: # NB: We use `relpath` here because these paths are untrusted, and might need to be # normalized in addition to being relativized. - glob_relpath = os.path.relpath(glob, buildroot) + glob_relpath = ( + os.path.relpath(glob, buildroot) if os.path.isabs(glob) else os.path.normpath(glob) + ) if glob_relpath == "." or glob_relpath.startswith(".."): logger.debug( f"Changes to {glob}, outside of the buildroot, will not be invalidated." ) - else: - invalidation_globs.update([glob_relpath, glob_relpath + "/**"]) + continue + + invalidation_globs.update([glob_relpath, glob_relpath + "/**"]) # Explicitly specified globs are already relative, and are added verbatim. invalidation_globs.update(
Pants Pex releases broke w/ venv mode They originally worked when added for 2.4.0.dev0 in https://github.com/pantsbuild/pants/pull/11591, but broke somewhere in between there and 2.4.0.0rc1 (no PEX releases between then, which was unintentional). ``` ❯ wget https://github.com/pantsbuild/pants/releases/download/release_2.4.0rc1/pants.2.4.0rc1.pex ❯ mv pants.2.4.0rc1.pex dist ❯ cd dist ❯ ./pants.2.4.0rc1.pex --print-stacktrace 15:46:51.05 [INFO] initializing scheduler... 15:46:51.14 [ERROR] no path specified Traceback (most recent call last): File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 125, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 129, in prepare self._initialize(options_fingerprint, options_bootstrapper, env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 104, in _initialize raise e File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 98, in _initialize self._services = self._services_constructor(bootstrap_options_values, self._scheduler) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon.py", line 91, in _setup_services bootstrap_options, File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/option/global_options.py", line 1386, in compute_pantsd_invalidation_globs glob_relpath = os.path.relpath(glob, buildroot) File "/data/home/eric/.pyenv/versions/3.7.9/lib/python3.7/posixpath.py", line 457, in relpath raise ValueError("no path specified") ValueError: no path specified ``` I time boxed myself investigating this, so am not sure why this is happening yet. However, using `--unzip` mode fixes the issue. -- Beyond the underlying Pex issue this might reveal, it shows the need for our release process to add a smoke test to building PEXes, something as simple as running `--version`.
The issue is a sys.path entry of `""` - i.e.: cwd. https://github.com/pantsbuild/pants/blob/d401cc5f790e2a5444379c24e70079de909f4d53/src/python/pants/option/global_options.py#L1364-L1374 Changing the relpath line to `glob_relpath = os.path.relpath(glob or os.getcwd(), buildroot)` fixes. More generally, the relpath should only be attempted for globs that are absolute paths in the first place.
2022-03-16T23:47:44Z
[]
[]
Traceback (most recent call last): File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 125, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 129, in prepare self._initialize(options_fingerprint, options_bootstrapper, env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 104, in _initialize raise e File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 98, in _initialize self._services = self._services_constructor(bootstrap_options_values, self._scheduler) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon.py", line 91, in _setup_services bootstrap_options, File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/option/global_options.py", line 1386, in compute_pantsd_invalidation_globs glob_relpath = os.path.relpath(glob, buildroot) File "/data/home/eric/.pyenv/versions/3.7.9/lib/python3.7/posixpath.py", line 457, in relpath raise ValueError("no path specified") ValueError: no path specified
16,022
pantsbuild/pants
pantsbuild__pants-14822
3baf5a1c7c2e96fdaff288b1927a936899b0ee11
diff --git a/src/python/pants/option/global_options.py b/src/python/pants/option/global_options.py --- a/src/python/pants/option/global_options.py +++ b/src/python/pants/option/global_options.py @@ -1563,13 +1563,16 @@ def compute_pantsd_invalidation_globs( for glob in potentially_absolute_globs: # NB: We use `relpath` here because these paths are untrusted, and might need to be # normalized in addition to being relativized. - glob_relpath = os.path.relpath(glob, buildroot) + glob_relpath = ( + os.path.relpath(glob, buildroot) if os.path.isabs(glob) else os.path.normpath(glob) + ) if glob_relpath == "." or glob_relpath.startswith(".."): logger.debug( f"Changes to {glob}, outside of the buildroot, will not be invalidated." ) - else: - invalidation_globs.update([glob_relpath, glob_relpath + "/**"]) + continue + + invalidation_globs.update([glob_relpath, glob_relpath + "/**"]) # Explicitly specified globs are already relative, and are added verbatim. invalidation_globs.update(
Pants Pex releases broke w/ venv mode They originally worked when added for 2.4.0.dev0 in https://github.com/pantsbuild/pants/pull/11591, but broke somewhere in between there and 2.4.0.0rc1 (no PEX releases between then, which was unintentional). ``` ❯ wget https://github.com/pantsbuild/pants/releases/download/release_2.4.0rc1/pants.2.4.0rc1.pex ❯ mv pants.2.4.0rc1.pex dist ❯ cd dist ❯ ./pants.2.4.0rc1.pex --print-stacktrace 15:46:51.05 [INFO] initializing scheduler... 15:46:51.14 [ERROR] no path specified Traceback (most recent call last): File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 125, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 129, in prepare self._initialize(options_fingerprint, options_bootstrapper, env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 104, in _initialize raise e File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 98, in _initialize self._services = self._services_constructor(bootstrap_options_values, self._scheduler) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon.py", line 91, in _setup_services bootstrap_options, File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/option/global_options.py", line 1386, in compute_pantsd_invalidation_globs glob_relpath = os.path.relpath(glob, buildroot) File "/data/home/eric/.pyenv/versions/3.7.9/lib/python3.7/posixpath.py", line 457, in relpath raise ValueError("no path specified") ValueError: no path specified ``` I time boxed myself investigating this, so am not sure why this is happening yet. However, using `--unzip` mode fixes the issue. -- Beyond the underlying Pex issue this might reveal, it shows the need for our release process to add a smoke test to building PEXes, something as simple as running `--version`.
The issue is a sys.path entry of `""` - i.e.: cwd. https://github.com/pantsbuild/pants/blob/d401cc5f790e2a5444379c24e70079de909f4d53/src/python/pants/option/global_options.py#L1364-L1374 Changing the relpath line to `glob_relpath = os.path.relpath(glob or os.getcwd(), buildroot)` fixes. More generally, the relpath should only be attempted for globs that are absolute paths in the first place.
2022-03-17T01:06:09Z
[]
[]
Traceback (most recent call last): File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 125, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 129, in prepare self._initialize(options_fingerprint, options_bootstrapper, env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 104, in _initialize raise e File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 98, in _initialize self._services = self._services_constructor(bootstrap_options_values, self._scheduler) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon.py", line 91, in _setup_services bootstrap_options, File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/option/global_options.py", line 1386, in compute_pantsd_invalidation_globs glob_relpath = os.path.relpath(glob, buildroot) File "/data/home/eric/.pyenv/versions/3.7.9/lib/python3.7/posixpath.py", line 457, in relpath raise ValueError("no path specified") ValueError: no path specified
16,023
pantsbuild/pants
pantsbuild__pants-14875
dc59219906f8d4dde15fa74f3acd3f36d63f8bc9
diff --git a/src/python/pants/backend/python/util_rules/pex_cli.py b/src/python/pants/backend/python/util_rules/pex_cli.py --- a/src/python/pants/backend/python/util_rules/pex_cli.py +++ b/src/python/pants/backend/python/util_rules/pex_cli.py @@ -39,9 +39,9 @@ class PexCli(TemplatedExternalTool): name = "pex" help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)." - default_version = "v2.1.72" + default_version = "v2.1.73" default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex" - version_constraints = ">=2.1.72,<3.0" + version_constraints = ">=2.1.73,<3.0" @classproperty def default_known_versions(cls): @@ -50,8 +50,8 @@ def default_known_versions(cls): ( cls.default_version, plat, - "fe5bd1fddf306e40d1828169dfd65c9faed98d2d98ebaba2753d99a91343014d", - "3723386", + "0f30b06c02743393b745497580a410d28055b0de022a27cbb8e460845a6ba1c9", + "3723175", ) ) for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64"]
Third party dependencies installation fail with bug using pex resolver in pants 2.11.0rc0 **Describe the bug** Using `pants@2.11.0rc0` and the pex resolver, lockfile generation works fine but the installation fails: ```sh 10:45:58.20 [INFO] Completed: Installing default.lock for the resolve `default` 10:45:58.20 [ERROR] 1 Exception encountered: ProcessExecutionFailure: Process 'Installing default.lock for the resolve `default`' failed with exit code 1. stdout: stderr: Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3) ``` **Pants version** 2.11.0rc0 **OS** ubuntu-20.04 **Additional info** Dependencies: ```toml [tool.poetry.dependencies] python = "~3.8" aio-pika = "~7.1.0" aiobotocore = "~2.1.2" aioredis = "~2.0.1" albumentations = "~1.1" alembic = "~1.7.7" anyio = "~3.5" awscli = "~1.22.24" boto3 = "~1.20.24" botocore = "~1.23.24" click = "~8.0.4" docstring-parser = "~0.13.0" fastapi = "~0.75.0" grpcio = "~1.44" hiredis = "~2.0.0" imageio = "~2.16.1" itsdangerous = "~2.1.1" javaobj-py3 = "~0.4.3" jpeg4py = "~0.1.4" jsonargparse = {extras = ["signatures"], version = "~4.4.0"} numpy = "~1.22.3" nvidia-dali-cuda110 = "~1.11.1" onnxruntime = "~1.10.0" opencv-python = "4.5.1.48" pillow = "~9.0.1" protobuf = "~3.19.4" psycopg2-binary = "2.8.6" pydantic = "~1.9.0" pytorch-lightning = "~1.5.10" pyyaml = "~5.4.1" requests = "~2.27.1" rich = "~11.2.0" s3fs = "~2022.2.0" s3transfer = "~0.5.2" scikit-image = "~0.19.2" scikit-learn = "~1.0.2" scipy = "~1.8.0" setuptools = "~59.5.0" sqlalchemy = "~1.4.32" starlette = "~0.17.1" tensorboard = "~2.8.0" torch = "~1.10.2" torchvision = "~0.11.3" tqdm = "~4.63.0" wandb = "~0.12.11" wheel = "~0.37.1" ``` pants.toml: ```toml ..... [python] interpreter_constraints = ["==3.8.*"] lockfile_generator = "pex" tailor_ignore_solitary_init_files = false enable_resolves = true default_resolve = "default" [python.resolves] default = "default.lock" [python-infer] inits = true [python-bootstrap] search_path = ["<PYENV>", "<PATH>"] [python-repos] indexes.add = ["https://developer.download.nvidia.com/compute/redist"] ```
@obendidi can you include the contents of default.lock? This will be very hard to debug without that. Sure: <details> <summary>default.lock</summary> ```js // This lockfile was autogenerated by Pants. To regenerate, run: // // ./pants generate-lockfiles --resolve=default // // --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE --- // { // "version": 2, // "valid_for_interpreter_constraints": [ // "CPython==3.8.*" // ], // "generated_with_requirements": [ // "aio-pika<7.2.0,>=7.1.0", // "aiobotocore<2.2.0,>=2.1.2", // "aioredis<2.1.0,>=2.0.1", // "albumentations<1.2.0,>=1.1", // "alembic<1.8.0,>=1.7.7", // "anyio<3.6.0,>=3.5", // "awscli<1.23.0,>=1.22.24", // "black==22.1.0", // "boto3<1.21.0,>=1.20.24", // "botocore<1.24.0,>=1.23.24", // "click<8.1.0,>=8.0.4", // "docstring-parser<0.14.0,>=0.13.0", // "fastapi<0.76.0,>=0.75.0", // "flake8==4.0.1", // "grpcio<1.45.0,>=1.44", // "hiredis<2.1.0,>=2.0.0", // "imageio<2.17.0,>=2.16.1", // "isort==5.10.1", // "itsdangerous<2.2.0,>=2.1.1", // "javaobj-py3<0.5.0,>=0.4.3", // "jpeg4py<0.2.0,>=0.1.4", // "jsonargparse[signatures]<4.5.0,>=4.4.0", // "mypy==0.930", // "numpy<1.23.0,>=1.22.3", // "nvidia-dali-cuda110<1.12.0,>=1.11.1", // "onnxruntime<1.11.0,>=1.10.0", // "opencv-python==4.5.1.48", // "pillow<9.1.0,>=9.0.1", // "protobuf<3.20.0,>=3.19.4", // "psycopg2-binary==2.8.6", // "pydantic<1.10.0,>=1.9.0", // "pytest-cov==3.0.0", // "pytest-icdiff==0.5", // "pytest==7.1.0", // "pytorch-lightning<1.6.0,>=1.5.10", // "pyyaml<5.5.0,>=5.4.1", // "requests<2.28.0,>=2.27.1", // "rich<11.3.0,>=11.2.0", // "s3fs<2022.3.0,>=2022.2.0", // "s3transfer<0.6.0,>=0.5.2", // "scikit-image<0.20.0,>=0.19.2", // "scikit-learn<1.1.0,>=1.0.2", // "scipy<1.9.0,>=1.8.0", // "setuptools<59.6.0,>=59.5.0", // "sqlalchemy<1.5.0,>=1.4.32", // "starlette<0.18.0,>=0.17.1", // "tensorboard<2.9.0,>=2.8.0", // "torch<1.11.0,>=1.10.2", // "torchvision<0.12.0,>=0.11.3", // "tqdm<4.64.0,>=4.63.0", // "wandb<0.13.0,>=0.12.11", // "wheel<0.38.0,>=0.37.1" // ] // } // --- END PANTS LOCKFILE METADATA --- { "allow_builds": true, "allow_prereleases": false, "allow_wheels": true, "build_isolation": true, "constraints": [], "locked_resolves": [ { "locked_requirements": [ { "artifacts": [ { "algorithm": "sha256", "hash": "84e6dcdc69c947d0c13e5457d056bd43cade4c2393dce00d684aedea77ddc2a3", "url": "https://files.pythonhosted.org/packages/2c/03/e3e19d3faf430ede32e41221b294e37952e06acc96781c417ac25d4a0324/absl_py-1.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ac511215c01ee9ae47b19716599e8ccfa746f2e18de72bdf641b79b22afa27ea", "url": "https://files.pythonhosted.org/packages/bc/44/3ab719b4fea06882351cd9f9582c15ba5b4d376992ac40c3ed377761a172/absl-py-1.0.0.tar.gz" } ], "project_name": "absl-py", "requires_dists": [ "six" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f7803c6b5ced5fe8b4c2119065c213283e3bccb035c13d88b0c256bbc3fe6cb6", "url": "https://files.pythonhosted.org/packages/40/4a/58001977a471696af67ce91e859d8c07878822f52c0398c06512c3d3d861/aio_pika-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dec14ddb7e22d04ddc46f656899f7f3a592431cb618719aa7e03dfe85311be17", "url": "https://files.pythonhosted.org/packages/17/c3/bc912ef97202bb888295d08ac48e7629e97ef496d8f027d7825db8195a00/aio-pika-7.1.0.tar.gz" } ], "project_name": "aio-pika", "requires_dists": [ "aiomisc~=15.6.8; extra == \"develop\"", "aiormq~=6.2.3", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "nox; extra == \"develop\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "shortuuid; extra == \"develop\"", "sphinx-autobuild; extra == \"develop\"", "sphinx; extra == \"develop\"", "timeout-decorator; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": "<4,>3.6", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "00fd7f43cc0484d8ed274fd0be492aa16a7fea679dbea96a602bb722ca4c2d22", "url": "https://files.pythonhosted.org/packages/4e/8d/01035d9b56893bd3b5d6eb4505d3ed1383d124b1c9c2b6024c175681c64b/aiobotocore-2.1.2.tar.gz" } ], "project_name": "aiobotocore", "requires_dists": [ "aiohttp>=3.3.1", "aioitertools>=0.5.1", "awscli<1.22.25,>=1.22.24; extra == \"awscli\"", "boto3<1.20.25,>=1.20.24; extra == \"boto3\"", "botocore<1.23.25,>=1.23.24", "wrapt>=1.10.10" ], "requires_python": ">=3.6", "version": "2.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "04d48b8ce6ab3cf2097b1855e1505181bdd05586ca275f2505514a6e274e8e75", "url": "https://files.pythonhosted.org/packages/e4/eb/2e5c66f6ab8bf1fa9743552ec49bd8deb9a8ad385545bbd60c8f50529e21/aiohttp-3.8.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "2ed076098b171573161eb146afcb9129b5ff63308960aeca4b676d9d3c35e700", "url": "https://files.pythonhosted.org/packages/17/ab/36da1a4b5d2685acdc84117b32588b1edb4033b40cfbdf27a219bd6a4c6d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "31d1e1c0dbf19ebccbfd62eff461518dcb1e307b195e93bba60c965a4dcf1ba0", "url": "https://files.pythonhosted.org/packages/20/0b/c077ca31bba80ed7c1c81a7505e7e339ef82ab3d9ee679c09b3ffb04cdd5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "11691cf4dc5b94236ccc609b70fec991234e7ef8d4c02dd0c9668d1e486f5abf", "url": "https://files.pythonhosted.org/packages/38/71/e1db3f96fa85f77906ef002a08fa8d02dbdb3292180d41eb1b17ddab72bf/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "589c72667a5febd36f1315aa6e5f56dd4aa4862df295cb51c769d16142ddd7cd", "url": "https://files.pythonhosted.org/packages/54/ab/5e5d0e042b9b149efd867eaaf4a6c94c51ccdf3f955564e0fce1dbfbcb4d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "bb01ba6b0d3f6c68b89fce7305080145d4877ad3acaed424bae4d4ee75faa950", "url": "https://files.pythonhosted.org/packages/55/a5/2912baebc80570a34a2103a34e3c65b84e93bcf20f6e09fbe335ce27e3cf/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "11a67c0d562e07067c4e86bffc1553f2cf5b664d6111c894671b2b8712f3aba5", "url": "https://files.pythonhosted.org/packages/58/54/f4c1bac24b2365c2eb8d5205822b3ea41e40e1c471060c2409b9dbf05be5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578", "url": "https://files.pythonhosted.org/packages/5a/86/5f63de7a202550269a617a5d57859a2961f3396ecd1739a70b92224766bc/aiohttp-3.8.1.tar.gz" }, { "algorithm": "sha256", "hash": "c3d6a4d0619e09dcd61021debf7059955c2004fa29f48788a3dfaf9c9901a7cd", "url": "https://files.pythonhosted.org/packages/5e/34/a5d2619c062e6fed7224fb920e93b1d8ad055bb3b1b544e754c864c978a0/aiohttp-3.8.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "8b7ef7cbd4fec9a1e811a5de813311ed4f7ac7d93e0fda233c9b3e1428f7dd7b", "url": "https://files.pythonhosted.org/packages/79/5c/573d590ebff44e927aa0820b194a46c15253808725f82f23aa13440808ef/aiohttp-3.8.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "844a9b460871ee0a0b0b68a64890dae9c415e513db0f4a7e3cab41a0f2fedf33", "url": "https://files.pythonhosted.org/packages/81/31/baf1ff4e36da246dc3ff2e0c12f2f7688b4f394ad21e29e3ef4ba864d035/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "44db35a9e15d6fe5c40d74952e803b1d96e964f683b5a78c3cc64eb177878155", "url": "https://files.pythonhosted.org/packages/9f/bc/5928e69637252150176b3604f7c386a9184358fcc7338c0b8c55a7908523/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0c7ebbbde809ff4e970824b2b6cb7e4222be6b95a296e46c03cf050878fc1785", "url": "https://files.pythonhosted.org/packages/cf/6a/acf689f13f39700cfa526f6bff2d10dfd29aa21cbc0d3a5cf0f153298a74/aiohttp-3.8.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "086f92daf51a032d062ec5f58af5ca6a44d082c35299c96376a41cbb33034675", "url": "https://files.pythonhosted.org/packages/ed/af/cf551e595af1979ba74c280d94aa0c351e634285608ac70cb6def374f661/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "7d08744e9bae2ca9c382581f7dce1273fe3c9bae94ff572c3626e8da5b193c6a", "url": "https://files.pythonhosted.org/packages/f1/ca/603261545a757915fb30446a9d7a394cd934865a8eac3c18ce638df90687/aiohttp-3.8.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "718626a174e7e467f0558954f94af117b7d4695d48eb980146016afa4b580b2e", "url": "https://files.pythonhosted.org/packages/ff/a6/184cd63b06ea05edfcfba946fed3da7afb2f0b7e3237fb1b2c056cce57f6/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "aiohttp", "requires_dists": [ "Brotli; extra == \"speedups\"", "aiodns; extra == \"speedups\"", "aiosignal>=1.1.2", "async-timeout<5.0,>=4.0.0a3", "asynctest==0.13.0; python_version < \"3.8\"", "attrs>=17.3.0", "cchardet; extra == \"speedups\"", "charset-normalizer<3.0,>=2.0", "frozenlist>=1.1.1", "idna-ssl>=1.0; python_version < \"3.7\"", "multidict<7.0,>=4.5", "typing-extensions>=3.7.4; python_version < \"3.8\"", "yarl<2.0,>=1.0" ], "requires_python": ">=3.6", "version": "3.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a2ea2a39ebf272a2fbb58bfdb73e1daeeb6686edbbc8082215dfc8b8ffffa6e8", "url": "https://files.pythonhosted.org/packages/b4/20/8af729fab3df6827407b060211ffffe79e0d220fba0c4f768de599f3cbe3/aioitertools-0.10.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7d1d1d4a03d462c5a0840787d3df098f125847e0d38b833b30f8f8cbc45a1420", "url": "https://files.pythonhosted.org/packages/c2/9c/36180745f894257a50b1473fa348daf996b959d66f5985bbc868e44ef3ee/aioitertools-0.10.0.tar.gz" } ], "project_name": "aioitertools", "requires_dists": [ "typing_extensions>=4.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9ac0d0b3b485d293b8ca1987e6de8658d7dafcca1cddfcd1d506cae8cdebfdd6", "url": "https://files.pythonhosted.org/packages/9b/a9/0da089c3ae7a31cbcd2dcf0214f6f571e1295d292b6139e2bac68ec081d0/aioredis-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eaa51aaf993f2d71f54b70527c440437ba65340588afeb786cd87c55c89cd98e", "url": "https://files.pythonhosted.org/packages/2e/cf/9eb144a0b05809ffc5d29045c4b51039000ea275bc1268d0351c9e7dfc06/aioredis-2.0.1.tar.gz" } ], "project_name": "aioredis", "requires_dists": [ "async-timeout", "hiredis>=1.0; implementation_name == \"cpython\" and extra == \"hiredis\"", "typing-extensions" ], "requires_python": ">=3.6", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "95f0da57edd55f214a2e6c5b7ac98fa58a7c33911acd0d3315e86926b2dd2605", "url": "https://files.pythonhosted.org/packages/aa/2b/e104ac73ea2679a90a41cb943f17034177179f5c225d5cea83910ac7ad25/aiormq-6.2.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db6c1e6e384f1d4dafe19f8df70c6dfc994932b40f4e542690016023ff8e952b", "url": "https://files.pythonhosted.org/packages/ed/e9/5d28ab240de260351b509441506a9ca93fc5c2ab081afb0ab7c5f663512d/aiormq-6.2.3.tar.gz" } ], "project_name": "aiormq", "requires_dists": [ "aiomisc~=11.0; extra == \"develop\"", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "pamqp==3.0.1; python_version < \"3.7\"", "pamqp==3.1.0; python_version >= \"3.7\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": ">=3.6", "version": "6.2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a", "url": "https://files.pythonhosted.org/packages/3b/87/fe94898f2d44a93a35d5aa74671ed28094d80753a1113d68b799fab6dc22/aiosignal-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2", "url": "https://files.pythonhosted.org/packages/27/6b/a89fbcfae70cf53f066ec22591938296889d3cc58fec1e1c393b10e8d71d/aiosignal-1.2.0.tar.gz" } ], "project_name": "aiosignal", "requires_dists": [ "frozenlist>=1.1.0" ], "requires_python": ">=3.6", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6acf78a5f9504bd36c4a8e18eed29f7103c2fa6a7ba5be399c6088820cc88a8a", "url": "https://files.pythonhosted.org/packages/75/27/a8b0a738f8423b7ef9d0c9f8e73d5867395dbdae563c1655e9548cf700b9/albumentations-1.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60b067b3093908bcc52adb2aa5d44f57ebdbb8ab57a47b0b42f3dc1d3b1ce824", "url": "https://files.pythonhosted.org/packages/c8/a2/ab0ddadd960b4caf824063783d24174119cbddae409ff99fbe6fd45c63ec/albumentations-1.1.0.tar.gz" } ], "project_name": "albumentations", "requires_dists": [ "PyYAML", "imgaug>=0.4.0; extra == \"develop\"", "imgaug>=0.4.0; extra == \"imgaug\"", "numpy>=1.11.1", "opencv-python-headless>=4.1.1", "pytest; extra == \"develop\"", "pytest; extra == \"tests\"", "qudida>=0.0.4", "scikit-image>=0.16.1", "scipy" ], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "29be0856ec7591c39f4e1cb10f198045d890e6e2274cf8da80cb5e721a09642b", "url": "https://files.pythonhosted.org/packages/b3/e2/8d48220731b7279911c43e95cd182961a703b939de6822b00de3ea0d3159/alembic-1.7.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4961248173ead7ce8a21efb3de378f13b8398e6630fab0eb258dc74a8af24c58", "url": "https://files.pythonhosted.org/packages/30/b9/5526b43a4c54d177ab14af0af4b5c31d73db33d1ad3e30976d3b023e0594/alembic-1.7.7.tar.gz" } ], "project_name": "alembic", "requires_dists": [ "Mako", "SQLAlchemy>=1.3.0", "importlib-metadata; python_version < \"3.9\"", "importlib-resources; python_version < \"3.9\"", "python-dateutil; extra == \"tz\"" ], "requires_python": ">=3.6", "version": "1.7.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e", "url": "https://files.pythonhosted.org/packages/b1/ae/9a8af72d6f0c551943903eefcf93c3a29898fb7b594603c0d70679c199b1/anyio-3.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6", "url": "https://files.pythonhosted.org/packages/4f/d0/b957c0679a9bd0ed334e2e584102f077c3e703f83d099464c3d9569b7c8a/anyio-3.5.0.tar.gz" } ], "project_name": "anyio", "requires_dists": [ "contextlib2; python_version < \"3.7\" and extra == \"test\"", "contextvars; python_version < \"3.7\"", "coverage[toml]>=4.5; extra == \"test\"", "dataclasses; python_version < \"3.7\"", "hypothesis>=4.0; extra == \"test\"", "idna>=2.8", "mock>=4; python_version < \"3.8\" and extra == \"test\"", "packaging; extra == \"doc\"", "pytest-mock>=3.6.1; extra == \"test\"", "pytest>=6.0; extra == \"test\"", "sniffio>=1.1", "sphinx-autodoc-typehints>=1.2.0; extra == \"doc\"", "sphinx-rtd-theme; extra == \"doc\"", "trio>=0.16; extra == \"trio\"", "trustme; extra == \"test\"", "typing-extensions; python_version < \"3.8\"", "uvloop<0.15; (python_version < \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"", "uvloop>=0.15; (python_version >= \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"" ], "requires_python": ">=3.6.2", "version": "3.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c", "url": "https://files.pythonhosted.org/packages/d6/c1/8991e7c5385b897b8c020cdaad718c5b087a6626d1d11a23e1ea87e325a7/async_timeout-4.0.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15", "url": "https://files.pythonhosted.org/packages/54/6e/9678f7b2993537452710ffb1750c62d2c26df438aa621ad5fa9d1507a43a/async-timeout-4.0.2.tar.gz" } ], "project_name": "async-timeout", "requires_dists": [ "typing-extensions>=3.6.5; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "4.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197", "url": "https://files.pythonhosted.org/packages/2c/a0/da5f49008ec6e9a658dbf5d7310a4debd397bce0b4db03cf8a410066bb87/atomicwrites-1.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a", "url": "https://files.pythonhosted.org/packages/55/8d/74a75635f2c3c914ab5b3850112fd4b0c8039975ecb320e4449aa363ba54/atomicwrites-1.4.0.tar.gz" } ], "project_name": "atomicwrites", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", "url": "https://files.pythonhosted.org/packages/be/be/7abce643bfdf8ca01c48afa2ddf8308c2308b0c3b239a44e57d020afa0ef/attrs-21.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd", "url": "https://files.pythonhosted.org/packages/d7/77/ebb15fc26d0f815839ecd897b919ed6d85c050feeb83e100e020df9153d2/attrs-21.4.0.tar.gz" } ], "project_name": "attrs", "requires_dists": [ "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"dev\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests_no_zope\"", "coverage[toml]>=5.0.2; extra == \"dev\"", "coverage[toml]>=5.0.2; extra == \"tests\"", "coverage[toml]>=5.0.2; extra == \"tests_no_zope\"", "furo; extra == \"dev\"", "furo; extra == \"docs\"", "hypothesis; extra == \"dev\"", "hypothesis; extra == \"tests\"", "hypothesis; extra == \"tests_no_zope\"", "mypy; extra == \"dev\"", "mypy; extra == \"tests\"", "mypy; extra == \"tests_no_zope\"", "pre-commit; extra == \"dev\"", "pympler; extra == \"dev\"", "pympler; extra == \"tests\"", "pympler; extra == \"tests_no_zope\"", "pytest-mypy-plugins; extra == \"dev\"", "pytest-mypy-plugins; extra == \"tests\"", "pytest-mypy-plugins; extra == \"tests_no_zope\"", "pytest>=4.3.0; extra == \"dev\"", "pytest>=4.3.0; extra == \"tests\"", "pytest>=4.3.0; extra == \"tests_no_zope\"", "six; extra == \"dev\"", "six; extra == \"tests\"", "six; extra == \"tests_no_zope\"", "sphinx-notfound-page; extra == \"dev\"", "sphinx-notfound-page; extra == \"docs\"", "sphinx; extra == \"dev\"", "sphinx; extra == \"docs\"", "zope.interface; extra == \"dev\"", "zope.interface; extra == \"docs\"", "zope.interface; extra == \"tests\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "21.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "87708701ccd390109bfa3c8f974a425fd0fce3abf7ef681a1fb889d1f6bb7a1f", "url": "https://files.pythonhosted.org/packages/0a/3c/c2d48f848050b66894ef0e95cf498f175d4d93bfc53a329bff80bd42d4cf/awscli-1.22.24-py3-none-any.whl" } ], "project_name": "awscli", "requires_dists": [ "PyYAML<5.5,>=3.10", "botocore==1.23.24", "colorama<0.4.4,>=0.2.5", "docutils<0.16,>=0.10", "rsa<4.8,>=3.1.2", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.22.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d", "url": "https://files.pythonhosted.org/packages/a5/59/bd6d44da2b364fd2bd7a0b2ce2edfe200b79faad1cde14ce5ef13d504393/black-22.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3", "url": "https://files.pythonhosted.org/packages/08/b2/dbd7330ffe13571e17b7f905f7639ba77f01282ff1ecd94f3278c50ebb32/black-22.1.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61", "url": "https://files.pythonhosted.org/packages/0b/7f/384cf21254346f4cd535fa8bf2531ff2b3f1307680199e28ea949c3ecb89/black-22.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912", "url": "https://files.pythonhosted.org/packages/3e/c4/95eea7bd67b37c54b7322ff3595fd3d679345e2b89ceca48fe3ec10df52c/black-22.1.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5", "url": "https://files.pythonhosted.org/packages/42/58/8a3443a5034685152270f9012a9d196c9f165791ed3f2777307708b15f6c/black-22.1.0.tar.gz" }, { "algorithm": "sha256", "hash": "6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd", "url": "https://files.pythonhosted.org/packages/66/83/47fa3811eea48edbbea09a07fd137f593e10af2f481f965855eb09a17e20/black-22.1.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3", "url": "https://files.pythonhosted.org/packages/9b/78/42a83acaf953b3ea5d6067c72f795a4df4b3eb540123cc2a59ec797d174b/black-22.1.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "black", "requires_dists": [ "aiohttp>=3.7.4; extra == \"d\"", "click>=8.0.0", "colorama>=0.4.3; extra == \"colorama\"", "dataclasses>=0.6; python_version < \"3.7\"", "ipython>=7.8.0; extra == \"jupyter\"", "mypy-extensions>=0.4.3", "pathspec>=0.9.0", "platformdirs>=2", "tokenize-rt>=3.2.0; extra == \"jupyter\"", "tomli>=1.1.0", "typed-ast>=1.4.2; python_version < \"3.8\" and implementation_name == \"cpython\"", "typing-extensions>=3.10.0.0; python_version < \"3.10\"", "uvloop>=0.15.2; extra == \"uvloop\"" ], "requires_python": ">=3.6.2", "version": "22.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8f08e8e94bf107c5e9866684e9aadf8d9f60abed0cfe5c1dba4e7328674a1986", "url": "https://files.pythonhosted.org/packages/4a/15/d854221077e22acd05c190778c29b14398bce0cee0fed34a6979d320546e/boto3-1.20.24-py3-none-any.whl" } ], "project_name": "boto3", "requires_dists": [ "botocore<1.24.0,>=1.23.24", "botocore[crt]<2.0a0,>=1.21.0; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.20.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e78d48c50c8c013fb9b362c6202fece2fe868edfd89b51968080180bdff41617", "url": "https://files.pythonhosted.org/packages/ef/05/cb9048c57f77ab9fa6970d2c88bd92471dc4ccc4bcf5b59c645db9cbdedc/botocore-1.23.24-py3-none-any.whl" } ], "project_name": "botocore", "requires_dists": [ "awscrt==0.12.5; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "python-dateutil<3.0.0,>=2.1", "urllib3<1.27,>=1.25.4" ], "requires_python": ">=3.6", "version": "1.23.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8fecd4203a38af17928be7b90689d8083603073622229ca7077b72d8e5a976e4", "url": "https://files.pythonhosted.org/packages/19/99/ace1769546388976b45e93445bb04c6df95e96363f03fbb56f916da5ebde/cachetools-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "486471dfa8799eb7ec503a8059e263db000cdda20075ce5e48903087f79d5fd6", "url": "https://files.pythonhosted.org/packages/ad/81/539036a8716b4e0a96f77540194bb1e863a24b8e9bc9ddd74e30f1653df5/cachetools-5.0.0.tar.gz" } ], "project_name": "cachetools", "requires_dists": [], "requires_python": "~=3.7", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569", "url": "https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872", "url": "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz" } ], "project_name": "certifi", "requires_dists": [], "requires_python": null, "version": "2021.10.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443", "url": "https://files.pythonhosted.org/packages/b6/15/a50bf922c5f025665a9671c5ef063c3f384303d422f6b1d3134510cc044e/cffi-1.15.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954", "url": "https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz" }, { "algorithm": "sha256", "hash": "0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20", "url": "https://files.pythonhosted.org/packages/25/ba/a1d3428797f25a42530adb2c8cce1655863b6a37ece63465a16b5e939a43/cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6", "url": "https://files.pythonhosted.org/packages/33/e7/afbae3b77e10929dd5ccdf9ae99c39ec4085148888ff4507000429937166/cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c", "url": "https://files.pythonhosted.org/packages/46/ab/b8dbd36f793cc3492ad26148e0ee0cad38fd47105ff30295e2cd88cc62e2/cffi-1.15.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880", "url": "https://files.pythonhosted.org/packages/5e/f0/693b6c7fea52d1afad55d1bfa3e5991a9075d98ac66330ab404dbc69ec8d/cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e", "url": "https://files.pythonhosted.org/packages/97/5b/88b6fde78749406ddd15ef89466927e688912ff9ff3248d9f41b4551362a/cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024", "url": "https://files.pythonhosted.org/packages/e5/fe/1dac7533ddb73767df8ba26183a9375dde2ee136aec7c92c9fb3038108e3/cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728", "url": "https://files.pythonhosted.org/packages/f5/7b/dba03f566c1966b2f23e95fbbe1b6d8e2b98450f0b779f2b5ce38470447f/cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" } ], "project_name": "cffi", "requires_dists": [ "pycparser" ], "requires_python": null, "version": "1.15" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df", "url": "https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597", "url": "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz" } ], "project_name": "charset-normalizer", "requires_dists": [ "unicodedata2; extra == \"unicode_backport\"" ], "requires_python": ">=3.5.0", "version": "2.0.12" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", "url": "https://files.pythonhosted.org/packages/4a/a8/0b2ced25639fb20cc1c9784de90a8c25f9504a7f18cd8b5397bd61696d7d/click-8.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb", "url": "https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz" } ], "project_name": "click", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-metadata; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "8.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff", "url": "https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl" } ], "project_name": "colorama", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9", "url": "https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60", "url": "https://files.pythonhosted.org/packages/60/48/a60f593447e8f0894ebb7f6e6c1f25dafc5e89c5879fdc9360ae93ff83f0/commonmark-0.9.1.tar.gz" } ], "project_name": "commonmark", "requires_dists": [ "flake8==3.7.8; extra == \"test\"", "future>=0.14.0; python_version < \"3\"", "hypothesis==3.55.3; extra == \"test\"" ], "requires_python": null, "version": "0.9.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "18d520c6860515a771708937d2f78f63cc47ab3b80cb78e86573b0a760161faf", "url": "https://files.pythonhosted.org/packages/93/20/cce510ad6ee47ad3e3a9993bc83eaa8df5aead5c0b68b769f10fc7daad45/coverage-6.3.2-pp36.pp37.pp38-none-any.whl" }, { "algorithm": "sha256", "hash": "fd9e830e9d8d89b20ab1e5af09b32d33e1a08ef4c4e14411e559556fd788e6b2", "url": "https://files.pythonhosted.org/packages/03/22/38506bc2af4fc49bb49cb76c52ed4523ff80277ad98fd46e981736419fb2/coverage-6.3.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "8fbbdc8d55990eac1b0919ca69eb5a988a802b854488c34b8f37f3e2025fa90d", "url": "https://files.pythonhosted.org/packages/0c/58/25b4d208e0f6f00e19440385f360dc9891f8fa5ab62c11da52eb226fd9cd/coverage-6.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9baff2a45ae1f17c8078452e9e5962e518eab705e50a0aa8083733ea7d45f3a6", "url": "https://files.pythonhosted.org/packages/0d/ac/31bb95db096b26455416aa8d8804a2a3ed93c60dc339b737b939f3f30b7b/coverage-6.3.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "07e6db90cd9686c767dcc593dff16c8c09f9814f5e9c51034066cad3373b914d", "url": "https://files.pythonhosted.org/packages/13/e5/eaec94d3037f4300a23303819f066b72cb0c18b7789505a0a56e1e765a8e/coverage-6.3.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "68353fe7cdf91f109fc7d474461b46e7f1f14e533e911a2a2cbb8b0fc8613cf1", "url": "https://files.pythonhosted.org/packages/1c/f7/3e6cdff1210a670793aad0f87e0bc357054431450893a867302c372da6c2/coverage-6.3.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7331dbf301b7289013175087636bbaf5b2405e57259dd2c42fdcc9fcc47325e", "url": "https://files.pythonhosted.org/packages/3a/f4/35d8789ec3d50d099ebdd3d7d062b58075135bdfa0fe93efded481407dec/coverage-6.3.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "03e2a7826086b91ef345ff18742ee9fc47a6839ccd517061ef8fa1976e652ce9", "url": "https://files.pythonhosted.org/packages/74/fb/f481628033d42f6f6021af8a9a13d913707221e139567f39b09b337421b9/coverage-6.3.2.tar.gz" }, { "algorithm": "sha256", "hash": "8cf5cfcb1521dc3255d845d9dca3ff204b3229401994ef8d1984b32746bb45ca", "url": "https://files.pythonhosted.org/packages/82/34/1920e7a59217c8bc841ad5de12813802e0db7cb5c6d6395acd1f9e78253b/coverage-6.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2c6dbb42f3ad25760010c45191e9757e7dce981cbfb90e42feef301d71540059", "url": "https://files.pythonhosted.org/packages/8e/39/d3bc33bea5180ed18feba96de51b5deba6e330e2fc3b487f3117fcf391bc/coverage-6.3.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c76aeef1b95aff3905fb2ae2d96e319caca5b76fa41d3470b19d4e4a3a313512", "url": "https://files.pythonhosted.org/packages/f2/45/824cb20113fa6a2bf97b6f4a592361a30460f8f24335e033f2d31ee1a487/coverage-6.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ec6bc7fe73a938933d4178c9b23c4e0568e43e220aef9472c4f6044bfc6dd0f0", "url": "https://files.pythonhosted.org/packages/fe/ae/1574d61ed41a8d82a5643affcd9beb7f626cbcab3d09c8a714054f670d75/coverage-6.3.2-cp38-cp38-musllinux_1_1_aarch64.whl" } ], "project_name": "coverage", "requires_dists": [ "tomli; extra == \"toml\"" ], "requires_python": ">=3.7", "version": "6.3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49", "url": "https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4", "url": "https://files.pythonhosted.org/packages/c5/e6/d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009/docker-pycreds-0.4.0.tar.gz" } ], "project_name": "docker-pycreds", "requires_dists": [ "six>=1.4.0" ], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "66dd7eac7232202bf220fd98a5f11491863c01f958a75fdd535c7eccac9ced78", "url": "https://files.pythonhosted.org/packages/e7/18/8476fa1363bf038caf7b88cab473c6f9a821a5886c98364bf43d6fdea8a7/docstring_parser-0.13.tar.gz" } ], "project_name": "docstring-parser", "requires_dists": [ "black; extra == \"test\"", "pytest; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.13" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6c4f696463b79f1fb8ba0c594b63840ebd41f059e92b31957c46b74a4599b6d0", "url": "https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99", "url": "https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61/docutils-0.15.2.tar.gz" } ], "project_name": "docutils", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.15.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "43d12891b78fc497a50623e9c7c24640c569489f060acd9ce2c4902080487a93", "url": "https://files.pythonhosted.org/packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "124774ce4cb3322841965f559669b233a0b8d343ea24fdd8b293253c077220d7", "url": "https://files.pythonhosted.org/packages/6d/0b/64ecaddaa9d6d4bbf40422664650f7ec45de9281306c69f22f16f92c510c/fastapi-0.75.0.tar.gz" } ], "project_name": "fastapi", "requires_dists": [ "anyio[trio]<4.0.0,>=3.2.1; extra == \"test\"", "autoflake<2.0.0,>=1.4.0; extra == \"dev\"", "black==21.9b0; extra == \"test\"", "databases[sqlite]<0.6.0,>=0.3.2; extra == \"test\"", "email_validator<2.0.0,>=1.1.1; extra == \"all\"", "email_validator<2.0.0,>=1.1.1; extra == \"test\"", "flake8<4.0.0,>=3.8.3; extra == \"dev\"", "flake8<4.0.0,>=3.8.3; extra == \"test\"", "flask<3.0.0,>=1.1.2; extra == \"test\"", "httpx<0.19.0,>=0.14.0; extra == \"test\"", "isort<6.0.0,>=5.0.6; extra == \"test\"", "itsdangerous<3.0.0,>=1.1.0; extra == \"all\"", "jinja2<4.0.0,>=2.11.2; extra == \"all\"", "mdx-include<2.0.0,>=1.4.1; extra == \"doc\"", "mkdocs-markdownextradata-plugin<0.3.0,>=0.1.7; extra == \"doc\"", "mkdocs-material<9.0.0,>=8.1.4; extra == \"doc\"", "mkdocs<2.0.0,>=1.1.2; extra == \"doc\"", "mypy==0.910; extra == \"test\"", "orjson<4.0.0,>=3.2.1; extra == \"all\"", "orjson<4.0.0,>=3.2.1; extra == \"test\"", "passlib[bcrypt]<2.0.0,>=1.7.2; extra == \"dev\"", "peewee<4.0.0,>=3.13.3; extra == \"test\"", "pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2", "pytest-cov<4.0.0,>=2.12.0; extra == \"test\"", "pytest<7.0.0,>=6.2.4; extra == \"test\"", "python-jose[cryptography]<4.0.0,>=3.3.0; extra == \"dev\"", "python-multipart<0.0.6,>=0.0.5; extra == \"all\"", "python-multipart<0.0.6,>=0.0.5; extra == \"test\"", "pyyaml<6.0.0,>=5.3.1; extra == \"all\"", "pyyaml<6.0.0,>=5.3.1; extra == \"doc\"", "requests<3.0.0,>=2.24.0; extra == \"all\"", "requests<3.0.0,>=2.24.0; extra == \"test\"", "sqlalchemy<1.5.0,>=1.3.18; extra == \"test\"", "starlette==0.17.1", "typer-cli<0.0.13,>=0.0.12; extra == \"doc\"", "types-dataclasses==0.1.7; extra == \"test\" and python_version < \"3.7\"", "types-orjson==3.6.0; extra == \"test\"", "types-ujson==0.1.1; extra == \"test\"", "ujson<5.0.0,>=4.0.1; extra == \"all\"", "ujson<5.0.0,>=4.0.1; extra == \"test\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"all\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"dev\"" ], "requires_python": ">=3.6.1", "version": "0.75" }, { "artifacts": [ { "algorithm": "sha256", "hash": "479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d", "url": "https://files.pythonhosted.org/packages/34/39/cde2c8a227abb4f9ce62fe55586b920f438f1d2903a1a22514d0b982c333/flake8-4.0.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d", "url": "https://files.pythonhosted.org/packages/e6/84/d8db922289195c435779b4ca3a3f583f263f87e67954f7b2e83c8da21f48/flake8-4.0.1.tar.gz" } ], "project_name": "flake8", "requires_dists": [ "importlib-metadata<4.3; python_version < \"3.8\"", "mccabe<0.7.0,>=0.6.0", "pycodestyle<2.9.0,>=2.8.0", "pyflakes<2.5.0,>=2.4.0" ], "requires_python": ">=3.6", "version": "4.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3751954f0604580d3219ae49a85fafec9d85eec599c0b96226e1bc0b48e57474", "url": "https://files.pythonhosted.org/packages/3d/d0/26033c70d642fbc1e35d3619cf3210986fb953c173b1226709f75056c149/flatbuffers-2.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "12158ab0272375eab8db2d663ae97370c33f152b27801fa6024e1d6105fd4dd2", "url": "https://files.pythonhosted.org/packages/10/41/09e9ab2134895b82466fada08b69b800f9a724bc81fcca3d4474ce48ffce/flatbuffers-2.0.tar.gz" } ], "project_name": "flatbuffers", "requires_dists": [], "requires_python": null, "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f20baa05eaa2bcd5404c445ec51aed1c268d62600362dc6cfe04fae34a424bd9", "url": "https://files.pythonhosted.org/packages/db/d7/a18b9586dbed333e7106497a863105b70f0f8b02be690cafbac728108c33/frozenlist-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "aff388be97ef2677ae185e72dc500d19ecaf31b698986800d3fc4f399a5e30a5", "url": "https://files.pythonhosted.org/packages/27/0f/e90231d20dc520d94977cc5f4aa22cc25f1f3f60984c0161cacc2455ac2c/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "30530930410855c451bea83f7b272fb1c495ed9d5cc72895ac29e91279401db3", "url": "https://files.pythonhosted.org/packages/27/bf/e5580ee57ff1d13369afa00f76041cddef1479302212bca2fc5e28b04a12/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "871d42623ae15eb0b0e9df65baeee6976b2e161d0ba93155411d58ff27483ad8", "url": "https://files.pythonhosted.org/packages/3b/76/3d7c273b91e6dc914859f8752d42b763f39ae83782ec9a063a526c816977/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "40dff8962b8eba91fd3848d857203f0bd704b5f1fa2b3fc9af64901a190bba08", "url": "https://files.pythonhosted.org/packages/41/c9/d6041d7c59e9e6300777362ac63fcaebe52c7529ce11e1fc3457e79c4a88/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "40ec383bc194accba825fbb7d0ef3dda5736ceab2375462f1d8672d9f6b68d07", "url": "https://files.pythonhosted.org/packages/58/a1/c7864e112750c9db984504410439162461f5c0e0defaf6cd4f691a6f1936/frozenlist-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e982878792c971cbd60ee510c4ee5bf089a8246226dea1f2138aa0bb67aff148", "url": "https://files.pythonhosted.org/packages/63/32/d294f2807bb9738ef817c536cea274ca92db09631c9bf5363006b9e0a0cb/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "006d3595e7d4108a12025ddf415ae0f6c9e736e726a5db0183326fd191b14c5e", "url": "https://files.pythonhosted.org/packages/67/9b/1d7d4600c554466b35c08710a685b595d734ac7a5ad435b62a41e523bc5b/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "8c905a5186d77111f02144fab5b849ab524f1e876a1e75205cd1386a9be4b00a", "url": "https://files.pythonhosted.org/packages/73/cb/f59ce1c5ed397ef2ad48f4ff275c88891b853d0958c0a3b3314a4d271247/frozenlist-1.3.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "9f892d6a94ec5c7b785e548e42722e6f3a52f5f32a8461e82ac3e67a3bd073f1", "url": "https://files.pythonhosted.org/packages/9f/95/781f7ab716cf0484808b41be6663e19fb1499478d985f9a4cb849126ab36/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "92e650bd09b5dda929523b9f8e7f99b24deac61240ecc1a32aeba487afcd970f", "url": "https://files.pythonhosted.org/packages/aa/4a/cf7d70fda15ca8db585a52fa56b46285284e5fe622ffb88ece85108fe5be/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2fdc3cd845e5a1f71a0c3518528bfdbfe2efaf9886d6f49eacc5ee4fd9a10953", "url": "https://files.pythonhosted.org/packages/c9/2e/459161a83044c8a823e3e8b50b949e30e13660db2e80b38ebc2484e65a21/frozenlist-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c6c321dd013e8fc20735b92cb4892c115f5cdb82c817b1e5b07f6b95d952b2f0", "url": "https://files.pythonhosted.org/packages/cb/33/df01f848ea55bdc3b9cf0abbbfa06b331f67af78c9ef1cf79d48e8ce2e04/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "b5009062d78a8c6890d50b4e53b0ddda31841b3935c1937e2ed8c1bda1c7fb9d", "url": "https://files.pythonhosted.org/packages/f0/f3/68f7ea79bfc62ad514179cdfeef7ed590be196643b552584064e326e10d7/frozenlist-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b", "url": "https://files.pythonhosted.org/packages/f4/f7/8dfeb76d2a52bcea2b0718427af954ffec98be1d34cd8f282034b3e36829/frozenlist-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "768efd082074bb203c934e83a61654ed4931ef02412c2fbdecea0cff7ecd0274", "url": "https://files.pythonhosted.org/packages/fc/8a/1ac3824da6435a042a43d5a8c68c53bb04acf0998338f85a4b0ccdd44465/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" } ], "project_name": "frozenlist", "requires_dists": [], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "eb9c9d9aee49d23028deefffe53e87c55d3515512c63f57e893710301001449a", "url": "https://files.pythonhosted.org/packages/b4/80/cd21f093faef23c03b9fc1274be7a3bfd63b809d2f06a1cff92e00cacfcc/fsspec-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "20322c659538501f52f6caa73b08b2ff570b7e8ea30a86559721d090e473ad5c", "url": "https://files.pythonhosted.org/packages/47/d1/53c0b8e6bd4082a7fdee652b96d30b4c433e277793da6e650eabe73fc2cb/fsspec-2022.2.0.tar.gz" } ], "project_name": "fsspec", "requires_dists": [ "adlfs; extra == \"abfs\"", "adlfs; extra == \"adl\"", "aiohttp; extra == \"http\"", "dask; extra == \"dask\"", "distributed; extra == \"dask\"", "dropbox; extra == \"dropbox\"", "dropboxdrivefs; extra == \"dropbox\"", "fusepy; extra == \"fuse\"", "gcsfs; extra == \"gcs\"", "gcsfs; extra == \"gs\"", "importlib-metadata; python_version < \"3.8\" and extra == \"entrypoints\"", "libarchive-c; extra == \"libarchive\"", "ocifs; extra == \"oci\"", "panel; extra == \"gui\"", "paramiko; extra == \"sftp\"", "paramiko; extra == \"ssh\"", "pyarrow>=1; extra == \"arrow\"", "pyarrow>=1; extra == \"hdfs\"", "pygit2; extra == \"git\"", "requests; extra == \"dropbox\"", "requests; extra == \"github\"", "requests; extra == \"http\"", "s3fs; extra == \"s3\"", "smbprotocol; extra == \"smb\"" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d", "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz" } ], "project_name": "future", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.18.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd", "url": "https://files.pythonhosted.org/packages/a3/7c/5d747655049bfbf75b5fcec57c8115896cb78d6fafa84f6d3ef4c0f13a98/gitdb-4.0.9-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa", "url": "https://files.pythonhosted.org/packages/fc/44/64e02ef96f20b347385f0e9c03098659cb5a1285d36c3d17c56e534d80cf/gitdb-4.0.9.tar.gz" } ], "project_name": "gitdb", "requires_dists": [ "smmap<6,>=3.0.1" ], "requires_python": ">=3.6", "version": "4.0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5b68b000463593e05ff2b261acff0ff0972df8ab1b70d3cdbd41b546c8b8fc3d", "url": "https://files.pythonhosted.org/packages/83/32/ce68915670da6fd6b1e3fb4b3554b4462512f6441dddd194fc0f4f6ec653/GitPython-3.1.27-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1c885ce809e8ba2d88a29befeb385fcea06338d3640712b59ca623c220bb5704", "url": "https://files.pythonhosted.org/packages/d6/39/5b91b6c40570dc1c753359de7492404ba8fe7d71af40b618a780c7ad1fc7/GitPython-3.1.27.tar.gz" } ], "project_name": "gitpython", "requires_dists": [ "gitdb<5,>=4.0.1", "typing-extensions>=3.7.4.3; python_version < \"3.8\"" ], "requires_python": ">=3.7", "version": "3.1.27" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3ba4d63cb29c1e6d5ffcc1c0623c03cf02ede6240a072f213084749574e691ab", "url": "https://files.pythonhosted.org/packages/21/6c/e784c6883689fae9d1c5f82d995ddc82c284daa514edd5ba67ea38d88341/google_auth-2.6.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60d449f8142c742db760f4c0be39121bc8d9be855555d784c252deaca1ced3f5", "url": "https://files.pythonhosted.org/packages/61/82/ff343c5917420acf0089d51355d1d693d724ac0be30d099a95e504af9920/google-auth-2.6.2.tar.gz" } ], "project_name": "google-auth", "requires_dists": [ "aiohttp<4.0.0dev,>=3.6.2; python_version >= \"3.6\" and extra == \"aiohttp\"", "cachetools<6.0,>=2.0.0", "enum34>=1.1.10; python_version < \"3.4\"", "pyasn1-modules>=0.2.1", "pyopenssl>=20.0.0; extra == \"pyopenssl\"", "pyu2f>=0.1.5; extra == \"reauth\"", "requests<3.0.0dev,>=2.20.0; extra == \"aiohttp\"", "rsa<4.6; python_version < \"3.6\"", "rsa<5,>=3.1.4; python_version >= \"3.6\"", "six>=1.9.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.6.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3f2a6e802eebbb6fb736a370fbf3b055edcb6b52878bf2f26330b5e041316c73", "url": "https://files.pythonhosted.org/packages/b1/0e/0636cc1448a7abc444fb1b3a63655e294e0d2d49092dc3de05241be6d43c/google_auth_oauthlib-0.4.6-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a90a072f6993f2c327067bf65270046384cda5a8ecb20b94ea9a687f1f233a7a", "url": "https://files.pythonhosted.org/packages/30/21/b84fa7ef834d4b126faad13da6e582c8f888e196326b9d6aab1ae303df4f/google-auth-oauthlib-0.4.6.tar.gz" } ], "project_name": "google-auth-oauthlib", "requires_dists": [ "click>=6.0.0; extra == \"tool\"", "google-auth>=1.0.0", "requests-oauthlib>=0.7.0" ], "requires_python": ">=3.6", "version": "0.4.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8d2f1fb53a421b410751887eb4ff21386d119ef9cde3797bf5e7ed49fb51a3b3", "url": "https://files.pythonhosted.org/packages/4e/33/2eb5b46e3f1f46b24ff09d04ff227520273820f6be9e2176ea5e39063b3f/greenlet-1.1.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f3acda1924472472ddd60c29e5b9db0cec629fbe3c5c5accb74d6d6d14773478", "url": "https://files.pythonhosted.org/packages/07/97/6f07d888c4fce65ec4fb2177e75d45e604789eb075a09946dd7e7f88e790/greenlet-1.1.2-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a", "url": "https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341/greenlet-1.1.2.tar.gz" }, { "algorithm": "sha256", "hash": "288c6a76705dc54fba69fbcb59904ae4ad768b4c768839b8ca5fdadec6dd8cfd", "url": "https://files.pythonhosted.org/packages/30/1c/5f4df8816093dbfc8ded8b53ab672223deeb39e9dec6a48aaf278c52df99/greenlet-1.1.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "00e44c8afdbe5467e4f7b5851be223be68adb4272f44696ee71fe46b7036a711", "url": "https://files.pythonhosted.org/packages/72/2d/53428626ef5cd9837701cfc49d2a60ecefe8e0737c345b5547b1d88dd739/greenlet-1.1.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "eb6ea6da4c787111adf40f697b4e58732ee0942b5d3bd8f435277643329ba627", "url": "https://files.pythonhosted.org/packages/a1/b6/949a07551279b770d49efe18e1a732a53a45cf76c5f5981ee6ebd17eab19/greenlet-1.1.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "ec8c433b3ab0419100bd45b47c9c8551248a5aee30ca5e9d399a0b57ac04651b", "url": "https://files.pythonhosted.org/packages/d4/00/7474a1f27efa5c023fe114d84801fe2ded66db2fa5e72253d698b9a95a2a/greenlet-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9633b3034d3d901f0a46b7939f8c4d64427dfba6bbc5a36b1a67364cf148a1b0", "url": "https://files.pythonhosted.org/packages/e7/b3/e4f84cd23ea46676dd88c514457ca0bad7a8efe40be76cffc009fed4b16e/greenlet-1.1.2-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "e859fcb4cbe93504ea18008d1df98dee4f7766db66c435e4882ab35cf70cac43", "url": "https://files.pythonhosted.org/packages/e8/2e/a8c9772f3adb294f015775547f990aa2d9c3e2dfdcddaa4e5a9d544a6a8c/greenlet-1.1.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2bde6792f313f4e918caabc46532aa64aa27a0db05d75b20edfc5c6f46479de2", "url": "https://files.pythonhosted.org/packages/f4/4d/52cdc4fb2d9c7a226c490a19373c32a837b38205abd10010c3ade0b011ca/greenlet-1.1.2-cp38-cp38-musllinux_1_1_x86_64.whl" } ], "project_name": "greenlet", "requires_dists": [ "Sphinx; extra == \"docs\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "13343e7b840c20f43b44f0e6d3bbdc037c964f0aec9735d7cb685c407731c9ff", "url": "https://files.pythonhosted.org/packages/d5/a1/0f893b9e639c89181d519e20f10373a176e666936feb634980c19f0132fb/grpcio-1.44.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bfd36b959c3c4e945119387baed1414ea46f7116886aa23de0172302b49d7ff1", "url": "https://files.pythonhosted.org/packages/4e/05/9975d04ecb33d94e2aa9fd60d6201d2faa294be74f14ec4cf048579fe315/grpcio-1.44.0-cp38-cp38-macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "36a7bdd6ef9bca050c7ade8cba5f0e743343ea0756d5d3d520e915098a9dc503", "url": "https://files.pythonhosted.org/packages/5b/92/a00eed89bae16e48644f514c842b1cc6deaf0f79cb7dcfeda2dc514e11af/grpcio-1.44.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "dc3290d0411ddd2bd49adba5793223de8de8b01588d45e9376f1a9f7d25414f4", "url": "https://files.pythonhosted.org/packages/61/0c/dcd6f8a86de1aa29c5f597be8a21311eeaa24b0fd6f040efe60000c58a38/grpcio-1.44.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4bae1c99896045d3062ab95478411c8d5a52cb84b91a1517312629fa6cfeb50e", "url": "https://files.pythonhosted.org/packages/65/75/8b706e1170e2c7b6242b1675259e47986bb4fc490f29387989a965972e6e/grpcio-1.44.0.tar.gz" }, { "algorithm": "sha256", "hash": "e898194f76212facbaeb6d7545debff29351afa23b53ff8f0834d66611af5139", "url": "https://files.pythonhosted.org/packages/ab/4a/d3b3bcdd3eba0b9a9b0bb9752a813fb856df6aa5061da3a2900f33c50762/grpcio-1.44.0-cp38-cp38-manylinux_2_17_aarch64.whl" }, { "algorithm": "sha256", "hash": "9075c0c003c1ff14ebce8f0ba55cc692158cb55c68da09cf8b0f9fc5b749e343", "url": "https://files.pythonhosted.org/packages/b4/6f/40ae3f63c944705d5ce31cec02dd8a5bf1898ebdf828269b8da97c47adfa/grpcio-1.44.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "19e54f0c7083c8332b5a75a9081fc5127f1dbb67b6c1a32bd7fe896ef0934918", "url": "https://files.pythonhosted.org/packages/c5/7a/35c847b757de67bef35b058049481ad970a4110094cc1ca523e6e9db46cb/grpcio-1.44.0-cp38-cp38-linux_armv7l.whl" }, { "algorithm": "sha256", "hash": "ccd388b8f37b19d06e4152189726ce309e36dc03b53f2216a4ea49f09a7438e6", "url": "https://files.pythonhosted.org/packages/c7/bc/9513390807ce0265c5a072345bd57da90173ea9f82d5744a25e433a5386a/grpcio-1.44.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "8fa6584046a7cf281649975a363673fa5d9c6faf9dc923f261cc0e56713b5892", "url": "https://files.pythonhosted.org/packages/f7/10/47060cd72e190f4cbe1a579cc5c15667b3a3fc5b479619198b570e4b5838/grpcio-1.44.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" } ], "project_name": "grpcio", "requires_dists": [ "enum34>=1.0.4; python_version < \"3.4\"", "futures>=2.2.0; python_version < \"3.2\"", "grpcio-tools>=1.44.0; extra == \"protobuf\"", "six>=1.5.2" ], "requires_python": ">=3.6", "version": "1.44" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65d653df249a2f95673976e4e9dd7ce10de61cfc6e64fa7eeaa6891a9559c581", "url": "https://files.pythonhosted.org/packages/4c/48/bc57d3b4047dd0d249577b4792c1b7043935cc41925e84a20d18f42005f9/hiredis-2.0.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a", "url": "https://files.pythonhosted.org/packages/0c/39/eae11344d69ba435ec13d6bcc1a9eea3d2278324506fcd0e52d1ed8958c8/hiredis-2.0.0.tar.gz" }, { "algorithm": "sha256", "hash": "7492af15f71f75ee93d2a618ca53fea8be85e7b625e323315169977fae752426", "url": "https://files.pythonhosted.org/packages/4b/aa/ba2ce23c9f953092439abc5b795aae72e5c9e5ee43023461aab04d97fccd/hiredis-2.0.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "dcef843f8de4e2ff5e35e96ec2a4abbdf403bd0f732ead127bd27e51f38ac298", "url": "https://files.pythonhosted.org/packages/77/f5/9c0b289fe1663c5511a915979d108bc302b671c0b4fcacd3ac7ee0bcebf6/hiredis-2.0.0-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f0055f1809b911ab347a25d786deff5e10e9cf083c3c3fd2dd04e8612e8d9db", "url": "https://files.pythonhosted.org/packages/85/75/9f1305aee73bb3ffe9f0f992e520d307ddb72e1ff3fc656e2799f0a44580/hiredis-2.0.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "11d119507bb54e81f375e638225a2c057dda748f2b1deef05c2b1a5d42686048", "url": "https://files.pythonhosted.org/packages/ae/5f/dcbe5f119641f6a2df99d5520b31b003599768bdd4911729d1ac2d016c5c/hiredis-2.0.0-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3dddf681284fe16d047d3ad37415b2e9ccdc6c8986c8062dbe51ab9a358b50a5", "url": "https://files.pythonhosted.org/packages/d1/27/af30a56ea77120d72cabef1bb00e7e73c8158d49db4e9b3974a269add85b/hiredis-2.0.0-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "87c7c10d186f1743a8fd6a971ab6525d60abd5d5d200f31e073cd5e94d7e7a9d", "url": "https://files.pythonhosted.org/packages/d6/20/be0addd761a2f1ccd772c4900fa2c281af107b59ccfb519fe0794212da8f/hiredis-2.0.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "294a6697dfa41a8cba4c365dd3715abc54d29a86a40ec6405d677ca853307cfb", "url": "https://files.pythonhosted.org/packages/e8/d0/4fb9094b104d28814932d17b4a5b987e569753166e25ff7dc8e3e36af539/hiredis-2.0.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "hiredis", "requires_dists": [], "requires_python": ">=3.6", "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c72572e5ce087bc7a7748af2664764d4a805897caeefb665bdc12677fefb2212", "url": "https://files.pythonhosted.org/packages/77/6c/d029e50e4ba5c4a357b30875e46f13304873ad8541c61bdd8bbdceda55bd/icdiff-2.0.4.tar.gz" } ], "project_name": "icdiff", "requires_dists": [], "requires_python": null, "version": "2.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff", "url": "https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d", "url": "https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz" } ], "project_name": "idna", "requires_dists": [], "requires_python": ">=3.5", "version": "3.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8d17c59b6f5f3b350bbbe346e7cb7dda0399b1881d93ad01cb29b5acdb24c42", "url": "https://files.pythonhosted.org/packages/29/24/a3a7aa7f1e7f1c3a5c9fe2ff3fec8d9d17e10741eafb710f06705744b35f/imageio-2.16.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2", "url": "https://files.pythonhosted.org/packages/1d/74/1c2972a6afdf215e8706c254a75ee5af6f30f1cfad1abb55dda5d1ca8701/imageio-2.16.1.tar.gz" } ], "project_name": "imageio", "requires_dists": [ "astropy; extra == \"fits\"", "astropy; extra == \"full\"", "black; extra == \"dev\"", "black; extra == \"full\"", "black; extra == \"linting\"", "flake8; extra == \"dev\"", "flake8; extra == \"full\"", "flake8; extra == \"linting\"", "fsspec[github]; extra == \"dev\"", "fsspec[github]; extra == \"full\"", "fsspec[github]; extra == \"test\"", "gdal; extra == \"full\"", "gdal; extra == \"gdal\"", "imageio-ffmpeg; extra == \"ffmpeg\"", "imageio-ffmpeg; extra == \"full\"", "invoke; extra == \"dev\"", "invoke; extra == \"full\"", "invoke; extra == \"test\"", "itk; extra == \"full\"", "itk; extra == \"itk\"", "numpy>=1.20.0", "numpydoc; extra == \"docs\"", "numpydoc; extra == \"full\"", "pillow>=8.3.2", "psutil; extra == \"ffmpeg\"", "psutil; extra == \"full\"", "pydata-sphinx-theme; extra == \"docs\"", "pydata-sphinx-theme; extra == \"full\"", "pytest-cov; extra == \"dev\"", "pytest-cov; extra == \"full\"", "pytest-cov; extra == \"test\"", "pytest; extra == \"dev\"", "pytest; extra == \"full\"", "pytest; extra == \"test\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"full\"", "tifffile; extra == \"full\"", "tifffile; extra == \"tifffile\"", "wheel; extra == \"build\"", "wheel; extra == \"full\"" ], "requires_python": ">=3.7", "version": "2.16.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6", "url": "https://files.pythonhosted.org/packages/92/f2/c48787ca7d1e20daa185e1b6b2d4e16acd2fb5e0320bc50ffc89b91fa4d7/importlib_metadata-4.11.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539", "url": "https://files.pythonhosted.org/packages/3e/1d/964b27278cfa369fbe9041f604ab09c6e99556f8b7910781b4584b428c2f/importlib_metadata-4.11.3.tar.gz" } ], "project_name": "importlib-metadata", "requires_dists": [ "flufl.flake8; extra == \"testing\"", "importlib-resources>=1.3; python_version < \"3.9\" and extra == \"testing\"", "ipython; extra == \"perf\"", "jaraco.packaging>=9; extra == \"docs\"", "packaging; extra == \"testing\"", "pyfakefs; extra == \"testing\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-perf>=0.9.2; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "typing-extensions>=3.6.4; python_version < \"3.8\"", "zipp>=0.5" ], "requires_python": ">=3.7", "version": "4.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45", "url": "https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b", "url": "https://files.pythonhosted.org/packages/b5/d8/51ace1c1ea6609c01c7f46ca2978e11821aa0efaaa7516002ef6df000731/importlib_resources-5.4.0.tar.gz" } ], "project_name": "importlib-resources", "requires_dists": [ "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "zipp>=3.1.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "5.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", "url": "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", "url": "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz" } ], "project_name": "iniconfig", "requires_dists": [], "requires_python": null, "version": "1.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7", "url": "https://files.pythonhosted.org/packages/b8/5b/f18e227df38b94b4ee30d2502fd531bebac23946a2497e5595067a561274/isort-5.10.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951", "url": "https://files.pythonhosted.org/packages/ab/e9/964cb0b2eedd80c92f5172f1f8ae0443781a9d461c1372a3ce5762489593/isort-5.10.1.tar.gz" } ], "project_name": "isort", "requires_dists": [ "colorama<0.5.0,>=0.4.3; extra == \"colors\"", "pip-api; extra == \"requirements_deprecated_finder\"", "pipreqs; extra == \"pipfile_deprecated_finder\" or extra == \"requirements_deprecated_finder\"", "requirementslib; extra == \"pipfile_deprecated_finder\"", "setuptools; extra == \"plugins\"" ], "requires_python": "<4.0,>=3.6.1", "version": "5.10.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "935642cd4b987cdbee7210080004033af76306757ff8b4c0a506a4b6e06f02cf", "url": "https://files.pythonhosted.org/packages/76/9b/88ac47681ba6af8ee994c9e83ecdfc0048df59f8f6df5c2f766998fe87e7/itsdangerous-2.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7b7d3023cd35d9cb0c1fd91392f8c95c6fa02c59bf8ad64b8849be3401b95afb", "url": "https://files.pythonhosted.org/packages/9d/86/39f81e23f49eaf62d22248d48771dbf3bce7c52dfdf566e3d8d4c0657f15/itsdangerous-2.1.1.tar.gz" } ], "project_name": "itsdangerous", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f6ac64cab49e282cf8171d4c479de413dedbbb1a69c64499648185f974080db3", "url": "https://files.pythonhosted.org/packages/4a/ab/756d5965665633b3c7dc252397e4c111da30235eaca68af204fe53f36d1b/javaobj_py3-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38f74db3a57e9998a9774e3614afb95cb396f139f29b3fdb130c5af554435259", "url": "https://files.pythonhosted.org/packages/66/d3/0e4fa237161b3a00eea031575f46ac052a79b0908982b52794d113f43813/javaobj-py3-0.4.3.tar.gz" } ], "project_name": "javaobj-py3", "requires_dists": [ "enum34; python_version <= \"3.4\"", "typing; python_version <= \"3.4\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f", "url": "https://files.pythonhosted.org/packages/07/cb/5f001272b6faeb23c1c9e0acc04d48eaaf5c862c17709d20e3469c6e0139/jmespath-0.10.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9", "url": "https://files.pythonhosted.org/packages/3c/56/3f325b1eef9791759784aa5046a8f6a1aff8f7c898a2e34506771d3b99d8/jmespath-0.10.0.tar.gz" } ], "project_name": "jmespath", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6", "url": "https://files.pythonhosted.org/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35", "url": "https://files.pythonhosted.org/packages/92/b9/9e3616e7e00c8165fb25175c53444533bdde05f3e974d45d9fcbbe451ee6/joblib-1.1.0.tar.gz" } ], "project_name": "joblib", "requires_dists": [], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cec3adcb110bd1391659670f2fe64d2a70a0218e84fdb7b08506107946d3bdb0", "url": "https://files.pythonhosted.org/packages/b4/b7/d06702a6f2fe907f8e1eb337334163f045c833db6710fb3acf47ca2460ee/jpeg4py-0.1.4.tar.gz" } ], "project_name": "jpeg4py", "requires_dists": [ "cffi", "numpy" ], "requires_python": null, "version": "0.1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1861e1f684810b4063471c680ed08435cc9e3d410daf80a41b72b789d2771e8e", "url": "https://files.pythonhosted.org/packages/a3/85/a8e62005dda7c0dcc65764011e7e4cca9de09f2ae3a92e6a42d997372713/jsonargparse-4.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aa58091d435c2ab44ad54873e952340e20ebb967f3dbfb28b3c604ac5938e1c5", "url": "https://files.pythonhosted.org/packages/d1/1a/01ebb65cfe5224f2f8657ba9df26dd3b974beab816aca139d54eafc55256/jsonargparse-4.4.0.tar.gz" } ], "project_name": "jsonargparse", "requires_dists": [ "PyYAML>=3.13", "Sphinx>=1.7.9; extra == \"doc\"", "argcomplete>=2.0.0; extra == \"all\"", "argcomplete>=2.0.0; extra == \"argcomplete\"", "autodocsumm>=0.1.10; extra == \"doc\"", "bump2version>=0.5.11; extra == \"dev\"", "contextvars>=2.4; python_version == \"3.6\"", "coverage>=4.5.1; extra == \"dev\"", "coverage>=4.5.1; extra == \"test\"", "coverage>=4.5.1; extra == \"test_no_urls\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"all\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"dataclasses\"", "docstring-parser>=0.7.3; extra == \"all\"", "docstring-parser>=0.7.3; extra == \"signatures\"", "fsspec>=0.8.4; extra == \"all\"", "fsspec>=0.8.4; extra == \"fsspec\"", "jsonnet>=0.13.0; extra == \"all\"", "jsonnet>=0.13.0; extra == \"jsonnet\"", "jsonschema>=3.2.0; extra == \"all\"", "jsonschema>=3.2.0; extra == \"jsonschema\"", "mypy>=0.701; extra == \"dev\"", "omegaconf>=2.1.1; extra == \"all\"", "omegaconf>=2.1.1; extra == \"omegaconf\"", "pycodestyle>=2.5.0; extra == \"dev\"", "pylint>=1.8.3; extra == \"dev\"", "reconplogger>=4.4.0; extra == \"all\"", "reconplogger>=4.4.0; extra == \"reconplogger\"", "requests>=2.18.4; extra == \"all\"", "requests>=2.18.4; extra == \"urls\"", "responses>=0.12.0; extra == \"dev\"", "responses>=0.12.0; extra == \"test\"", "ruyaml>=0.20.0; extra == \"all\"", "ruyaml>=0.20.0; extra == \"ruyaml\"", "sphinx-autodoc-typehints>=1.11.1; extra == \"doc\"", "sphinx-rtd-theme>=0.4.3; extra == \"doc\"", "twine>=3.1.1; extra == \"dev\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"all\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"typing_extensions\"", "validators>=0.14.2; extra == \"all\"", "validators>=0.14.2; extra == \"urls\"" ], "requires_python": ">=3.6", "version": "4.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "23aab11fdbbb0f1051b93793a58323ff937e98e34aece1c4219675122e57e4ba", "url": "https://files.pythonhosted.org/packages/6e/01/45ab9f723a93e0ca75fba4d2c266bb041120cb4215eab94f7c78743ac7ed/Mako-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9a7c7e922b87db3686210cf49d5d767033a41d4010b284e747682c92bddd8b39", "url": "https://files.pythonhosted.org/packages/50/ec/1d687348f0954bda388bfd1330c158ba8d7dea4044fc160e74e080babdb9/Mako-1.2.0.tar.gz" } ], "project_name": "mako", "requires_dists": [ "Babel; extra == \"babel\"", "MarkupSafe>=0.9.2", "importlib-metadata; python_version < \"3.8\"", "lingua; extra == \"lingua\"", "pytest; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9923332318f843411e9932237530df53162e29dc7a4e2b91e35764583c46c9a3", "url": "https://files.pythonhosted.org/packages/9f/d4/2c7f83915d437736996b2674300c6c4b578a6f897f34e40f5c04db146719/Markdown-3.3.6-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006", "url": "https://files.pythonhosted.org/packages/15/06/d60f21eda994b044cbd496892d4d4c5c708aa597fcaded7d421513cb219b/Markdown-3.3.6.tar.gz" } ], "project_name": "markdown", "requires_dists": [ "coverage; extra == \"testing\"", "importlib-metadata>=4.4; python_version < \"3.10\"", "pyyaml; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3.3.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7", "url": "https://files.pythonhosted.org/packages/2c/81/91062a81ac8a18f557f12e2618475b53878755c016c9914c8aa207155c4e/MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1", "url": "https://files.pythonhosted.org/packages/18/a6/913b1d80fe93f7c3aa79206544b98841616c3eaa7790f37bdfb9fc13311e/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b", "url": "https://files.pythonhosted.org/packages/1d/97/2288fe498044284f39ab8950703e88abbac2abbdf65524d576157af70556/MarkupSafe-2.1.1.tar.gz" }, { "algorithm": "sha256", "hash": "0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003", "url": "https://files.pythonhosted.org/packages/3c/d3/c7ab031b14ae4e83214949acee957a8fcf6a992698edff039ee1e77eb4e1/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88", "url": "https://files.pythonhosted.org/packages/68/b5/b3aafabe7e1f71aa64ffe32fd8c767fd7db1bb304d339d8df6f2fdd2543c/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925", "url": "https://files.pythonhosted.org/packages/69/60/08791e4a971ea976f0fd58fb916d76de7c962dc8e26430564258820ac21f/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1", "url": "https://files.pythonhosted.org/packages/6c/44/cd459988fe29cb82f0482fe6b6c47ec17ae700a500634edd876075d5e1ee/MarkupSafe-2.1.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452", "url": "https://files.pythonhosted.org/packages/92/7c/3c33294e506eafa7f1c40dd283089a45652ea0f073fc0ce24419d46bfe4b/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63", "url": "https://files.pythonhosted.org/packages/be/d8/5ab7f07d8f60155c4f12b4b2dca785355b8ee7e16b2d3f00c3830add5f10/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f", "url": "https://files.pythonhosted.org/packages/d3/4f/9ea1c0a7796f7f81371b40d32aa31766b76fbdba316abf888897042e6e0f/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601", "url": "https://files.pythonhosted.org/packages/fd/f4/524d2e8f5a3727cf309c2b7df7c732038375322df1376c9e9ef3aa92fcaf/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "markupsafe", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", "url": "https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f", "url": "https://files.pythonhosted.org/packages/06/18/fa675aa501e11d6d6ca0ae73a101b2f3571a565e0f7d38e062eec18a91ee/mccabe-0.6.1.tar.gz" } ], "project_name": "mccabe", "requires_dists": [], "requires_python": null, "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8004dca28e15b86d1b1372515f32eb6f814bdf6f00952699bdeb541691091f96", "url": "https://files.pythonhosted.org/packages/24/6d/9fb21688e47bb822a1b3b836f9d305ad8e4dee3c4818f4fcdaa499a0f50e/multidict-6.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd9fc9c4849a07f3635ccffa895d57abce554b467d611a5009ba4f39b78a8849", "url": "https://files.pythonhosted.org/packages/04/c2/fc03a56aeb5991c8f345c2c8d00b0262466ef38b8fa04c9f9efccf46b6a9/multidict-6.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "e5b20e9599ba74391ca0cfbd7b328fcc20976823ba19bc573983a25b32e92b57", "url": "https://files.pythonhosted.org/packages/1a/04/2c006bdd1550f9d8f966db6851ea829434bc6e186334fc11c39e059b6538/multidict-6.0.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e875b6086e325bab7e680e4316d667fc0e5e174bb5611eb16b3ea121c8951b86", "url": "https://files.pythonhosted.org/packages/24/6c/168e7222f6bb2df35fe323e54729aef2d1095dccf044f2ee66244b467a93/multidict-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "4070613ea2227da2bfb2c35a6041e4371b0af6b0be57f424fe2318b42a748516", "url": "https://files.pythonhosted.org/packages/47/26/cecae22c6edef06ba383644961d5963ecd0fdcf8a605f48788a1368de7ec/multidict-6.0.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "9cc57c68cb9139c7cd6fc39f211b02198e69fb90ce4bc4a094cf5fe0d20fd8b0", "url": "https://files.pythonhosted.org/packages/68/a8/729f85ce29323befe25efdff8cf03132a85fe2365e7baf7a4c71d99ce3e6/multidict-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "684133b1e1fe91eda8fa7447f137c9490a064c6b7f392aa857bba83a28cfb693", "url": "https://files.pythonhosted.org/packages/8f/39/a7e04961b4c00d68aba337e3fdef9fd4f666dcd98f41725067a1de5d3399/multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e07c8e79d6e6fd37b42f3250dba122053fddb319e84b55dd3a8d6446e1a7ee49", "url": "https://files.pythonhosted.org/packages/8f/cc/8eb3fe20d9104e41202fa2477c4d5b8ca47b5e47ef02a731c9e2ef917131/multidict-6.0.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "2957489cba47c2539a8eb7ab32ff49101439ccf78eab724c828c1a54ff3ff98d", "url": "https://files.pythonhosted.org/packages/92/19/c2b7660122624a1df587a457f6074ca325b6ffc316e699edddd16c8cb741/multidict-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "47fbeedbf94bed6547d3aa632075d804867a352d86688c04e606971595460227", "url": "https://files.pythonhosted.org/packages/a3/2e/f87e45cb76df62ac7f66c1c11f285c4d620dc2f6883f884212f0ffdc8c2b/multidict-6.0.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "89171b2c769e03a953d5969b2f272efa931426355b6c0cb508022976a17fd376", "url": "https://files.pythonhosted.org/packages/b4/7a/8ac06729f3f59d0272a1069c8f7bf8eda660f558a7d1825f0c7c00af9115/multidict-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "feea820722e69451743a3d56ad74948b68bf456984d63c1a92e8347b7b88452d", "url": "https://files.pythonhosted.org/packages/b5/3a/63c8ca310f9a1f9fe91e8237a48e75c0ce9146b0420d978e8e53801f2bb6/multidict-6.0.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "497988d6b6ec6ed6f87030ec03280b696ca47dbf0648045e4e1d28b80346560d", "url": "https://files.pythonhosted.org/packages/c0/90/04a6c0926d2f5dbb1e32ffabf94543619fdfc98cff00344a26c2e43ff03f/multidict-6.0.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "5774d9218d77befa7b70d836004a768fb9aa4fdb53c97498f4d8d3f67bb9cfa9", "url": "https://files.pythonhosted.org/packages/d6/4f/3b0518f32c50e5c9aa7f868423346a4a2c926fff33dfc6aea19bc92bc19a/multidict-6.0.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0327292e745a880459ef71be14e709aaea2f783f3537588fb4ed09b6c01bca60", "url": "https://files.pythonhosted.org/packages/e6/dc/7654159cea77f16cb60837f3629dd42ac348570256abd26bf2c1fee46ad9/multidict-6.0.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013", "url": "https://files.pythonhosted.org/packages/fa/a7/71c253cdb8a1528802bac7503bf82fe674367e4055b09c28846fdfa4ab90/multidict-6.0.2.tar.gz" } ], "project_name": "multidict", "requires_dists": [], "requires_python": ">=3.7", "version": "6.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bf4a44e03040206f7c058d1f5ba02ef2d1820720c88bc4285c7d9a4269f54173", "url": "https://files.pythonhosted.org/packages/1e/57/196ea2a730cc48fbeff9af4934f1f036c07cf7eb7b4e40a09226d8c51b31/mypy-0.930-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5feb56f8bb280468fe5fc8e6f56f48f99aa0df9eed3c507a11505ee4657b5380", "url": "https://files.pythonhosted.org/packages/3d/a6/b673ca62f3c3cb98a9d79537543e047956a6833ed99c60a2e938603ab525/mypy-0.930-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "1ea7199780c1d7940b82dbc0a4e37722b4e3851264dbba81e01abecc9052d8a7", "url": "https://files.pythonhosted.org/packages/48/5c/ca1b1a2617ae63118174da0a225168a2c1631c7303315f221b5be6f79afb/mypy-0.930-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "51426262ae4714cc7dd5439814676e0992b55bcc0f6514eccb4cf8e0678962c2", "url": "https://files.pythonhosted.org/packages/8e/79/116f9828cfb88904c94640c683ca1f24d9abc89c688e31d436eba82e09a1/mypy-0.930.tar.gz" }, { "algorithm": "sha256", "hash": "70b197dd8c78fc5d2daf84bd093e8466a2b2e007eedaa85e792e513a820adbf7", "url": "https://files.pythonhosted.org/packages/9b/2a/f61022b5f459eb667f4d7e78f05baa889b6751b9f4257e416cd9c5b88cb6/mypy-0.930-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "2e9c5409e9cb81049bb03fa1009b573dea87976713e3898561567a86c4eaee01", "url": "https://files.pythonhosted.org/packages/c0/5d/1833d72ada88bdbc78b2655e55c519889337a0ae744629bad9f0b2431ad3/mypy-0.930-cp38-cp38-win_amd64.whl" } ], "project_name": "mypy", "requires_dists": [ "mypy-extensions>=0.4.3", "psutil>=4.0; extra == \"dmypy\"", "tomli>=1.1.0", "typed-ast<2,>=1.4.0; extra == \"python2\"", "typed-ast<2,>=1.4.0; python_version < \"3.8\"", "typing-extensions>=3.10" ], "requires_python": ">=3.6", "version": "0.930" }, { "artifacts": [ { "algorithm": "sha256", "hash": "090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", "url": "https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8", "url": "https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f/mypy_extensions-0.4.3.tar.gz" } ], "project_name": "mypy-extensions", "requires_dists": [ "typing>=3.5.3; python_version < \"3.5\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e85d277c89681e8fa661cf5ff0743443445049b0b68789ad55ef09340c6e0", "url": "https://files.pythonhosted.org/packages/f6/34/4913f651b8e178dde5abcf8d62495e4dcd0757a9a6840f1b1f7a290afaea/networkx-2.7.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d1194ba753e5eed07cdecd1d23c5cd7a3c772099bd8dbd2fea366788cf4de7ba", "url": "https://files.pythonhosted.org/packages/9e/9e/3d67df5d543ffd743f4ccb12c9c90929e4f48136e3062e15a6d971d91202/networkx-2.7.1.tar.gz" } ], "project_name": "networkx", "requires_dists": [ "black==22.1; extra == \"developer\"", "codecov>=2.1; extra == \"test\"", "lxml>=4.6; extra == \"extra\"", "matplotlib>=3.4; extra == \"default\"", "mypy>=0.931; extra == \"developer\"", "nb2plots>=0.6; extra == \"doc\"", "numpy>=1.19; extra == \"default\"", "numpydoc>=1.2; extra == \"doc\"", "pandas>=1.3; extra == \"default\"", "pillow>=9.0; extra == \"doc\"", "pre-commit>=2.17; extra == \"developer\"", "pydata-sphinx-theme>=0.8; extra == \"doc\"", "pydot>=1.4.2; extra == \"extra\"", "pygraphviz>=1.9; extra == \"extra\"", "pytest-cov>=3.0; extra == \"test\"", "pytest>=7.0; extra == \"test\"", "pyupgrade>=2.31; extra == \"developer\"", "scipy>=1.8; extra == \"default\"", "sphinx-gallery>=0.10; extra == \"doc\"", "sphinx>=4.4; extra == \"doc\"", "texext>=0.6.6; extra == \"doc\"" ], "requires_python": ">=3.8", "version": "2.7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c34ea7e9d13a70bf2ab64a2532fe149a9aced424cd05a2c4ba662fd989e3e45f", "url": "https://files.pythonhosted.org/packages/d8/30/2facfdcee2f9af55e6a7277c089736edfce1144acb3ccffaf3cff8781058/numpy-1.22.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e7927a589df200c5e23c57970bafbd0cd322459aa7b1ff73b7c2e84d6e3eae62", "url": "https://files.pythonhosted.org/packages/2f/0d/5a0a0bb939f4cc6db6fe777a7221c7c33bf5f5a601f5abfc82692bb4b6aa/numpy-1.22.3-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "3ca688e1b9b95d80250bca34b11a05e389b1420d00e87a0d12dc45f131f704a1", "url": "https://files.pythonhosted.org/packages/38/c0/c45c5eb0e25247d5fbb333fd0b56e570ba21cf0e3dca3abad174fb780e8c/numpy-1.22.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "201b4d0552831f7250a08d3b38de0d989d6f6e4658b709a02a73c524ccc6ffce", "url": "https://files.pythonhosted.org/packages/52/d0/d7a200f2c3d6c6a879dbdc6d762c7dbed542527333ac9a6a72c8ffab9814/numpy-1.22.3-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "f8c1f39caad2c896bc0018f699882b345b2a63708008be29b1f355ebf6f933fe", "url": "https://files.pythonhosted.org/packages/5c/51/872b5c1f40c740e9ebdad87dca8bd42fc7cb5aafab14b96d3a83fca52fd3/numpy-1.22.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18", "url": "https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip" }, { "algorithm": "sha256", "hash": "568dfd16224abddafb1cbcce2ff14f522abe037268514dd7e42c6776a1c3f8e5", "url": "https://files.pythonhosted.org/packages/e1/f0/5c3cf38272793a610cc843052e58c93b40b424e2c4a933422cd0bd6391ba/numpy-1.22.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "07a8c89a04997625236c5ecb7afe35a02af3896c8aa01890a849913a2309c676", "url": "https://files.pythonhosted.org/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl" } ], "project_name": "numpy", "requires_dists": [], "requires_python": ">=3.8", "version": "1.22.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "daffbe3b4e95bdaec64cae6ea6a7dbb43ac8b6fddc8a7407598f18a83ec8fa79", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "5271f704e5a7e97a72e28f9585b9619f90223378ca9a9c7fe54cc38a1a5c75d4", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_aarch64.whl" } ], "project_name": "nvidia-dali-cuda110", "requires_dists": [], "requires_python": "<3.11,>=3.6", "version": "1.11.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6db33440354787f9b7f3a6dbd4febf5d0f93758354060e802f6c06cb493022fe", "url": "https://files.pythonhosted.org/packages/1d/46/5ee2475e1b46a26ca0fa10d3c1d479577fde6ee289f8c6aa6d7ec33e31fd/oauthlib-3.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "23a8208d75b902797ea29fd31fa80a15ed9dc2c6c16fe73f5d346f83f6fa27a2", "url": "https://files.pythonhosted.org/packages/6e/7e/a43cec8b2df28b6494a865324f0ac4be213cb2edcf1e2a717547a93279b0/oauthlib-3.2.0.tar.gz" } ], "project_name": "oauthlib", "requires_dists": [ "blinker>=1.4.0; extra == \"signals\"", "cryptography>=3.0.0; extra == \"rsa\"", "cryptography>=3.0.0; extra == \"signedtoken\"", "pyjwt<3,>=2.0.0; extra == \"signedtoken\"" ], "requires_python": ">=3.6", "version": "3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "df0c434f4a40212e87003b1b6f38a152d2f1d6447c261cd32c28434dd765c41c", "url": "https://files.pythonhosted.org/packages/70/b2/452b2bd78a4268b3b577d5c93cc02f39fc17a4135aa7df1ca92434e2a345/onnxruntime-1.10.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7265bcd62f154f891f745d96f686ed92a0c0ca5589dc14f9203ae847e932792", "url": "https://files.pythonhosted.org/packages/28/ff/89c572d8b62567a21ed7629e34d9379d68de848cb3cc2061fd5050334d53/onnxruntime-1.10.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "2419563e9fc4f5b7dedd4b70d2249a952001c33f3186b83212ad2a7a0824c9b4", "url": "https://files.pythonhosted.org/packages/56/f3/66ceb302edeadb4e0fd6839c43ce4d366cbd7ec8960873bd42137526dde7/onnxruntime-1.10.0-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "618c84c6bff73fd6dd6fcf304eb24a804df6c11f512ddead4cc73074b60012b8", "url": "https://files.pythonhosted.org/packages/59/08/8fd20460342de561b8964731e015a847efcee45c13d18e812bb337471e69/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3913769691f7f20e13070d65bfddd9f85f862274fcc17312c3b7d3fee8af21d8", "url": "https://files.pythonhosted.org/packages/8b/74/5b30ee067fba2228d0b6bbf5c8915cadc5ce98b4c97beba978b03128d344/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "onnxruntime", "requires_dists": [ "flatbuffers", "numpy>=1.16.6", "protobuf" ], "requires_python": null, "version": "1.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "30edebc81b260bcfeb760b3600c367c5261dfb2fe41e5d1408d5357d0867b40d", "url": "https://files.pythonhosted.org/packages/00/84/1c26cfa8d202c8c42fe9db27ea0925382b2ed8f16af5d7e5d93a62c780d8/opencv_python-4.5.1.48-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c1159d91f29a85c3333edef6ca420284566d9bcdae46dda2fe7282515b48c8b6", "url": "https://files.pythonhosted.org/packages/15/ed/dcfc6baea9b557d53668c54ac33733c9b0a1e2e651bec2870e5ceb513336/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "d16144c435b816c5536d5ff012c1a2b7e93155017db7103942ff7efb98c4df1f", "url": "https://files.pythonhosted.org/packages/2a/9a/ff309b530ac1b029bfdb9af3a95eaff0f5f45f6a2dbe37b3454ae8412f4c/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "78a6db8467639383caedf1d111da3510a4ee1a0aacf2117821cae2ee8f92ce37", "url": "https://files.pythonhosted.org/packages/bb/08/9dbc183a3ac6baa95fabf749ddb531bd26256edfff5b6c2195eca26258e9/opencv-python-4.5.1.48.tar.gz" }, { "algorithm": "sha256", "hash": "b2b9ac86aec5f2dd531545cebdea1a1ef4f81ef1fb1760d78b4725f9575504f9", "url": "https://files.pythonhosted.org/packages/ca/3a/dec2efcbfa1b0261915aa2e1a94d3f8f987e259c3872060973e8c17ce7d2/opencv_python-4.5.1.48-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ffc75c614b8dc3d8102f3ba15dafd6ec0400c7ffa71a91953d41511964ee50e0", "url": "https://files.pythonhosted.org/packages/f9/67/10a3659b93f0b1108d63841100fda017cf857bd4bb24fab2faa274991f5f/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "e77d0feaff37326f62b127098264e2a7099deb476e38432b1083ce11cdedf560", "url": "https://files.pythonhosted.org/packages/fb/2b/4d9d295e1d068314684cbab7b8596a215aa92eb66d1fedc5dfa05b997cb4/opencv_python-4.5.1.48-cp38-cp38-macosx_10_13_x86_64.whl" } ], "project_name": "opencv-python", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.6", "version": "4.5.1.48" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ca4f013fa958f60fb2327fe87e6127c1ac0ab536890b1d4b00847f417b7af1ba", "url": "https://files.pythonhosted.org/packages/00/72/c8a11b6139142e5aa94ce883520e2636591f570ed1270735bfbbccc0a8f6/opencv_python_headless-4.5.5.64-cp37-abi3-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "62e31878641a8f96e773118d1eea9f34bdda87c9990a0faab04ebaafb5ae015c", "url": "https://files.pythonhosted.org/packages/27/4e/275ca1020f9a3501d4012aeb5b4669c29ebc903be23355257dd1d8697a08/opencv_python_headless-4.5.5.64-cp36-abi3-macosx_10_15_x86_64.whl" }, { "algorithm": "sha256", "hash": "567a54c1919bcf5b3d20a9830e3c511e57134de8def286ce137c3544a892f98c", "url": "https://files.pythonhosted.org/packages/43/03/13447b012f11ed59948a1f09fc791bd2fbc32afca11a49eea75a4e683d1d/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "4bdf982574bf2fefc5f82c86df7cb42e56ad627874c7c0f4d94ecf4ae8885304", "url": "https://files.pythonhosted.org/packages/45/a3/c310868db16d71c716e8861850cca20f3f9379a12605bce88519d35b0586/opencv_python_headless-4.5.5.64-cp36-abi3-win32.whl" }, { "algorithm": "sha256", "hash": "a60e9ff48854ec37be391e19dd634883cc26c2f0f814e5325b3deca33420912c", "url": "https://files.pythonhosted.org/packages/9f/8c/3a1a159cd953f955b80a479a7cedf8ee88692b87884c05a74d20f04f6f3c/opencv_python_headless-4.5.5.64-cp36-abi3-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c3c2dda44d601757a508b07d628537c49f31223ad4edd0f747a70d4c852a7b98", "url": "https://files.pythonhosted.org/packages/b4/0e/eb390a76bff15ebc453c539bcc6bfdaff5b9ca9e566441dae45eb508a138/opencv-python-headless-4.5.5.64.tar.gz" }, { "algorithm": "sha256", "hash": "3f330468c29882dbbec5af25695c5e575572c6b855cb0f9fe53e14116fd46bfc", "url": "https://files.pythonhosted.org/packages/bf/3e/9dee09e56d42a0c01d7898ceaa6ed4a8fe2763c10d7bded91ef6362e6537/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "opencv-python-headless", "requires_dists": [ "numpy>=1.13.3; python_version < \"3.7\"", "numpy>=1.14.5; python_version >= \"3.7\"", "numpy>=1.17.3; python_version >= \"3.8\"", "numpy>=1.19.3; python_version >= \"3.6\" and platform_system == \"Linux\" and platform_machine == \"aarch64\"", "numpy>=1.19.3; python_version >= \"3.9\"", "numpy>=1.21.2; python_version >= \"3.10\"", "numpy>=1.21.2; python_version >= \"3.6\" and platform_system == \"Darwin\" and platform_machine == \"arm64\"" ], "requires_python": ">=3.6", "version": "4.5.5.64" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522", "url": "https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", "url": "https://files.pythonhosted.org/packages/df/9e/d1a7217f69310c1db8fdf8ab396229f55a699ce34a203691794c5d1cad0c/packaging-21.3.tar.gz" } ], "project_name": "packaging", "requires_dists": [ "pyparsing!=3.0.5,>=2.0.2" ], "requires_python": ">=3.6", "version": "21.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e4f0886d72c6166637a5513626148bf5a7e818073a558980e9aaed8b4ccf30da", "url": "https://files.pythonhosted.org/packages/43/42/1d2cb909afb055fcf2df5285f67eeec6ad16c138b83f1304808af81c31b7/pamqp-3.1.0.tar.gz" } ], "project_name": "pamqp", "requires_dists": [ "coverage; extra == \"testing\"", "flake8-comprehensions; extra == \"testing\"", "flake8-deprecated; extra == \"testing\"", "flake8-import-order; extra == \"testing\"", "flake8-print; extra == \"testing\"", "flake8-quotes; extra == \"testing\"", "flake8-rst-docstrings; extra == \"testing\"", "flake8-tuple; extra == \"testing\"", "flake8; extra == \"testing\"", "lxml; extra == \"codegen\"", "requests; extra == \"codegen\"", "yapf; extra == \"codegen\"", "yapf; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", "url": "https://files.pythonhosted.org/packages/42/ba/a9d64c7bcbc7e3e8e5f93a52721b377e994c22d16196e2b0f1236774353a/pathspec-0.9.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1", "url": "https://files.pythonhosted.org/packages/f6/33/436c5cb94e9f8902e59d1d544eb298b83c84b9ec37b5b769c5a0ad6edb19/pathspec-0.9.0.tar.gz" } ], "project_name": "pathspec", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0", "url": "https://files.pythonhosted.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-0.1.2.tar.gz" } ], "project_name": "pathtools", "requires_dists": [], "requires_python": null, "version": "0.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2632d0f846b7c7600edf53c48f8f9f1e13e62f66a6dbc15191029d950bfed976", "url": "https://files.pythonhosted.org/packages/d1/65/cdc3720f37d9dc89a899e69248ebfccd0302ddcccf6f9b012a10e35ccd6e/Pillow-9.0.1-1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa", "url": "https://files.pythonhosted.org/packages/03/a3/f61a9a7ff7969cdef2a6e0383a346eb327495d20d25a2de5a088dbb543a6/Pillow-9.0.1.tar.gz" }, { "algorithm": "sha256", "hash": "14d4b1341ac07ae07eb2cc682f459bec932a380c3b122f5540432d8977e64eae", "url": "https://files.pythonhosted.org/packages/18/7f/58f056f31358956f8aaaf042982693d96f3d35d5a9df94acecdabb1db6f8/Pillow-9.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f7609a718b177bf171ac93cea9fd2ddc0e03e84d8fa4e887bdfc39671d46b00", "url": "https://files.pythonhosted.org/packages/40/9f/5d958243bd15fc5f7ce863aff4ae68ee160b6c93bf421af9a64c8ec4c304/Pillow-9.0.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "effb7749713d5317478bb3acb3f81d9d7c7f86726d41c1facca068a04cf5bb4c", "url": "https://files.pythonhosted.org/packages/61/2f/e735faee35d14330734be50176b4b6743bd3e9da2e9fdbe32c403fc10610/Pillow-9.0.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "335ace1a22325395c4ea88e00ba3dc89ca029bd66bd5a3c382d53e44f0ccd77e", "url": "https://files.pythonhosted.org/packages/69/49/70ed4f05d8c16c0aeb5a6ff78985e06f37441ac98ebfce51cb7c7950f239/Pillow-9.0.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "db6d9fac65bd08cea7f3540b899977c6dee9edad959fa4eaf305940d9cbd861c", "url": "https://files.pythonhosted.org/packages/91/e2/32513a5a2401867763db4c1b8fc93d44e877b9b966185dd8814087ce96f7/Pillow-9.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "a9f44cd7e162ac6191491d7249cceb02b8116b0f7e847ee33f739d7cb1ea1f70", "url": "https://files.pythonhosted.org/packages/b2/c4/1ce69eef7d5d8167acdeda81749649efa9997329489bb7f4ad2bc0242fa6/Pillow-9.0.1-pp38-pypy38_pp73-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f154d173286a5d1863637a7dcd8c3437bb557520b01bddb0be0258dcb72696b5", "url": "https://files.pythonhosted.org/packages/c9/97/f4dc557509a12bb7cce044db0ab68e1025a774b466f87e8edd51471ba894/Pillow-9.0.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5b3f092fe345c03bca1e0b687dfbb39364b21ebb8ba90e3fa707374b7915204", "url": "https://files.pythonhosted.org/packages/f3/34/04170ba6c6c58d07806b75da4ed96d39d0ba63e36a6830118434e9da9542/Pillow-9.0.1-cp38-cp38-macosx_10_10_x86_64.whl" } ], "project_name": "pillow", "requires_dists": [], "requires_python": ">=3.7", "version": "9.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227", "url": "https://files.pythonhosted.org/packages/de/de/d8b9da351517c3dece273224522d4714cfdb9a89e2e6f7f7f054a340cc2b/platformdirs-2.5.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", "url": "https://files.pythonhosted.org/packages/33/66/61da40aa546141b0d70b37fe6bb4ef1200b4b4cb98849f131b58faa9a5d2/platformdirs-2.5.1.tar.gz" } ], "project_name": "platformdirs", "requires_dists": [ "Sphinx>=4; extra == \"docs\"", "appdirs==1.4.4; extra == \"test\"", "furo>=2021.7.5b38; extra == \"docs\"", "proselint>=0.10.2; extra == \"docs\"", "pytest-cov>=2.7; extra == \"test\"", "pytest-mock>=3.6; extra == \"test\"", "pytest>=6; extra == \"test\"", "sphinx-autodoc-typehints>=1.12; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "2.5.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3", "url": "https://files.pythonhosted.org/packages/9e/01/f38e2ff29715251cf25532b9082a1589ab7e4f571ced434f98d0139336dc/pluggy-1.0.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", "url": "https://files.pythonhosted.org/packages/a1/16/db2d7de3474b6e37cbb9c008965ee63835bba517e22cdb8c35b5116b5ce1/pluggy-1.0.0.tar.gz" } ], "project_name": "pluggy", "requires_dists": [ "importlib-metadata>=0.12; python_version < \"3.8\"", "pre-commit; extra == \"dev\"", "pytest-benchmark; extra == \"testing\"", "pytest; extra == \"testing\"", "tox; extra == \"dev\"" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b6b4dcdd0c0c0d75e4d7b2f21a9e933e5b2ce62b26e1a54537f9651ae5a5c01d", "url": "https://files.pythonhosted.org/packages/4e/d1/e4ed95fdd3ef13b78630280d9e9e240aeb65cc7c544ec57106149c3942fb/pprintpp-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea826108e2c7f49dc6d66c752973c3fc9749142a798d6b254e1e301cfdbc6403", "url": "https://files.pythonhosted.org/packages/06/1a/7737e7a0774da3c3824d654993cf57adc915cb04660212f03406334d8c0b/pprintpp-0.4.0.tar.gz" } ], "project_name": "pprintpp", "requires_dists": [], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0", "url": "https://files.pythonhosted.org/packages/cf/9c/fb5d48abfe5d791cd496e4242ebcf87a4bb2e0c3dcd6e0ae68c11426a528/promise-2.3.tar.gz" } ], "project_name": "promise", "requires_dists": [ "coveralls; extra == \"test\"", "futures; extra == \"test\"", "mock; extra == \"test\"", "pytest-asyncio; extra == \"test\"", "pytest-benchmark; extra == \"test\"", "pytest-cov; extra == \"test\"", "pytest>=2.7.3; extra == \"test\"", "six", "typing>=3.6.4; python_version < \"3.5\"" ], "requires_python": null, "version": "2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8961c3a78ebfcd000920c9060a262f082f29838682b1f7201889300c1fbe0616", "url": "https://files.pythonhosted.org/packages/c6/1c/f18d97fc479b4fb6f72bbb0e41188575362e3bbd31014cf294ef0fdec8bf/protobuf-3.19.4-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7ca7da9c339ca8890d66958f5462beabd611eca6c958691a8fe6eccbd1eb0c6e", "url": "https://files.pythonhosted.org/packages/11/8f/3703b61ee707fbd9ea683d1642392af41338b8cd71d7fda76fc002a7e939/protobuf-3.19.4-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "48ed3877fa43e22bcacc852ca76d4775741f9709dd9575881a373bd3e85e54b2", "url": "https://files.pythonhosted.org/packages/2a/b8/c8282a5ccabc8aa6b4478f38da26d711458638a56b1790008783ad588792/protobuf-3.19.4-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "69da7d39e39942bd52848438462674c463e23963a1fdaa84d88df7fbd7e749b2", "url": "https://files.pythonhosted.org/packages/34/af/4b3cdb20ac3ee72ad9ed528c8653dbd1cee029f23e44209def0703119270/protobuf-3.19.4-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "b38057450a0c566cbd04890a40edf916db890f2818e8682221611d78dc32ae26", "url": "https://files.pythonhosted.org/packages/5c/71/f54505f67e12ddfa96adce2ac889206ab218c5671a933429a56ae63d156f/protobuf-3.19.4-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "9df0c10adf3e83015ced42a9a7bd64e13d06c4cf45c340d2c63020ea04499d0a", "url": "https://files.pythonhosted.org/packages/6c/49/f864b9fd6310d9a15ddae5b37d78dff1df0e2e1da476442fee062c6032b2/protobuf-3.19.4.tar.gz" }, { "algorithm": "sha256", "hash": "bd95d1dfb9c4f4563e6093a9aa19d9c186bf98fa54da5252531cc0d3a07977e7", "url": "https://files.pythonhosted.org/packages/d5/c8/64de54ef0121a1ff6309f102124c6b5a89260dc584e1871341f5199b7b85/protobuf-3.19.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "protobuf", "requires_dists": [], "requires_python": ">=3.5", "version": "3.19.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3151a58f0fbd8942ba94f7c31c7e6b310d2989f4da74fcbf28b934374e9bf841", "url": "https://files.pythonhosted.org/packages/62/d4/72fc44dfd9939851bd672e94e43d12848a98b1d2c3f6f794d54a220fe4a7/psutil-5.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "1070a9b287846a21a5d572d6dddd369517510b68710fca56b0e9e02fd24bed9a", "url": "https://files.pythonhosted.org/packages/0a/66/b2188d8e738ee52206a4ee804907f6eab5bcc9fc0e8486e7ab973a8323b7/psutil-5.9.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25", "url": "https://files.pythonhosted.org/packages/47/b6/ea8a7728f096a597f0032564e8013b705aa992a0990becd773dcc4d7b4a7/psutil-5.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "b2237f35c4bbae932ee98902a08050a27821f8f6dfa880a47195e5993af4702d", "url": "https://files.pythonhosted.org/packages/4c/95/3c0858c62ec02106cf5f3e79d74223264a6269a16996f31d5ab43abcec86/psutil-5.9.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "c3400cae15bdb449d518545cbd5b649117de54e3596ded84aacabfbb3297ead2", "url": "https://files.pythonhosted.org/packages/89/8e/2a8814f903bc06471621f6e0cd3fc1a7085868656106f31aacf2f844eea2/psutil-5.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "76cebf84aac1d6da5b63df11fe0d377b46b7b500d892284068bacccf12f20666", "url": "https://files.pythonhosted.org/packages/d0/cf/7a86fc08f821d66c528939f155079df7d0945678fc474c6a6455c909f6eb/psutil-5.9.0-cp38-cp38-win32.whl" } ], "project_name": "psutil", "requires_dists": [ "enum34; python_version <= \"3.4\" and extra == \"test\"", "ipaddress; python_version < \"3.0\" and extra == \"test\"", "mock; python_version < \"3.0\" and extra == \"test\"", "pywin32; sys_platform == \"win32\" and extra == \"test\"", "unittest2; python_version < \"3.0\" and extra == \"test\"", "wmi; sys_platform == \"win32\" and extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6", "version": "5.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8cd0fb36c7412996859cb4606a35969dd01f4ea34d9812a141cd920c3b18be77", "url": "https://files.pythonhosted.org/packages/90/20/25f1ab5810e1956029b8941c938672bbd4c72bdbe6ae14d68d59aaf24f96/psycopg2_binary-2.8.6-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bd1be66dde2b82f80afb9459fc618216753f67109b859a361cf7def5c7968729", "url": "https://files.pythonhosted.org/packages/02/1b/549967f3ce5f6e3155380728dbb9d2844c286c7408e734db88d7b9c65847/psycopg2_binary-2.8.6-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ba381aec3a5dc29634f20692349d73f2d21f17653bda1decf0b52b11d694541f", "url": "https://files.pythonhosted.org/packages/2c/85/c26507efb110f5a91f503e517f1db55f12ebecb001ff224b2cea234a07ef/psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "2dac98e85565d5688e8ab7bdea5446674a83a3945a8f416ad0110018d1501b94", "url": "https://files.pythonhosted.org/packages/b5/5a/985969fb49617701ddf10b8c6b3f53a2ffd7feaaf598277a94d62401c4d9/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a0c50db33c32594305b0ef9abc0cb7db13de7621d2cadf8392a1d9b3c437ef77", "url": "https://files.pythonhosted.org/packages/b8/63/06e08c2c19737c305777806113491f0b2beeec94a3cf4844844ea1c20f86/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0", "url": "https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz" } ], "project_name": "psycopg2-binary", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.8.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378", "url": "https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", "url": "https://files.pythonhosted.org/packages/98/ff/fec109ceb715d2a6b4c4a85a61af3b40c723a961e8828319fbcb15b868dc/py-1.11.0.tar.gz" } ], "project_name": "py", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d", "url": "https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba", "url": "https://files.pythonhosted.org/packages/a4/db/fffec68299e6d7bad3d504147f9094830b704527a7fc098b721d38cc7fa7/pyasn1-0.4.8.tar.gz" } ], "project_name": "pyasn1", "requires_dists": [], "requires_python": null, "version": "0.4.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74", "url": "https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e", "url": "https://files.pythonhosted.org/packages/88/87/72eb9ccf8a58021c542de2588a867dbefc7556e14b2866d1e40e9e2b587e/pyasn1-modules-0.2.8.tar.gz" } ], "project_name": "pyasn1-modules", "requires_dists": [ "pyasn1<0.5.0,>=0.4.6" ], "requires_python": null, "version": "0.2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20", "url": "https://files.pythonhosted.org/packages/15/94/bc43a2efb7b8615e38acde2b6624cae8c9ec86faf718ff5676c5179a7714/pycodestyle-2.8.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f", "url": "https://files.pythonhosted.org/packages/08/dc/b29daf0a202b03f57c19e7295b60d1d5e1281c45a6f5f573e41830819918/pycodestyle-2.8.0.tar.gz" } ], "project_name": "pycodestyle", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", "url": "https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206", "url": "https://files.pythonhosted.org/packages/5e/0b/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de/pycparser-2.21.tar.gz" } ], "project_name": "pycparser", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.21" }, { "artifacts": [ { "algorithm": "sha256", "hash": "085ca1de245782e9b46cefcf99deecc67d418737a1fd3f6a4f511344b613a5b3", "url": "https://files.pythonhosted.org/packages/d4/4e/00724eebf52854e65dabe2c190b4842afbda0e09817f415683a3130a123c/pydantic-1.9.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5e48ef4a8b8c066c4a31409d91d7ca372a774d0212da2787c0d32f8045b1e034", "url": "https://files.pythonhosted.org/packages/04/dc/5105af75c5c91d776d4f427949b5a06dcec7f6053c2d509c1b24f6ac6385/pydantic-1.9.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "e0896200b6a40197405af18828da49f067c2fa1f821491bc8f5bde241ef3f7d7", "url": "https://files.pythonhosted.org/packages/25/49/6df23c8b5ffbac37c9d41260249be1c948ed430eecbf372a96d1068f0230/pydantic-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "c556695b699f648c58373b542534308922c46a1cda06ea47bc9ca45ef5b39ae6", "url": "https://files.pythonhosted.org/packages/29/76/abb6ece4dcba641e86dcd3a50b63420b388160e5751d90ae2fc5bb9c17e3/pydantic-1.9.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "96f240bce182ca7fe045c76bcebfa0b0534a1bf402ed05914a6f1dadff91877f", "url": "https://files.pythonhosted.org/packages/5f/ca/ec4b2597b7ace79a05300a2e7eff8713b55745312b2acc89f74bf73f8dfc/pydantic-1.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742645059757a56ecd886faf4ed2441b9c0cd406079c2b4bee51bcc3fbcd510a", "url": "https://files.pythonhosted.org/packages/60/a3/23a8a9378ff06853bda6527a39fe317b088d760adf41cf70fc0f6110e485/pydantic-1.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "574936363cd4b9eed8acdd6b80d0143162f2eb654d96cb3a8ee91d3e64bf4cf9", "url": "https://files.pythonhosted.org/packages/78/b0/fdedac2f07344035607bfbf42217c103a6421e7845fc3cb9fd07f3fa0d2e/pydantic-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "f947352c3434e8b937e3aa8f96f47bdfe6d92779e44bb3f41e4c213ba6a32145", "url": "https://files.pythonhosted.org/packages/9f/86/fdc1381a7f8473a6d96c197b71b47a936ed3a6db28a167a19736c9749cd9/pydantic-1.9.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "7bdfdadb5994b44bd5579cfa7c9b0e1b0e540c952d56f627eb227851cda9db77", "url": "https://files.pythonhosted.org/packages/d6/17/08817636de348f6621349ebaf7a046d7df3aa1f4927dea1f504604cfd13d/pydantic-1.9.0-cp38-cp38-macosx_11_0_arm64.whl" } ], "project_name": "pydantic", "requires_dists": [ "dataclasses>=0.6; python_version < \"3.7\"", "email-validator>=1.0.3; extra == \"email\"", "python-dotenv>=0.10.4; extra == \"dotenv\"", "typing-extensions>=3.7.4.3" ], "requires_python": ">=3.6.1", "version": "1.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5dd8c4c0535854b6a52936d1256883a940e3b02006fc7118b53027c0acde181", "url": "https://files.pythonhosted.org/packages/a2/17/ff7ec2752f53ea245499b23ee64e76d12f45fcde7a5b1b445f9c58cd1ec0/pyDeprecate-0.3.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fa26870924d3475621c344045c2c01a16ba034113a902600c78e75b3fac5f72c", "url": "https://files.pythonhosted.org/packages/1b/93/bf1ab43f9306a6972762abc12104cd5b35d1e93f2a85cf4ab08a19ccf71b/pyDeprecate-0.3.1.tar.gz" } ], "project_name": "pydeprecate", "requires_dists": [], "requires_python": ">=3.6", "version": "0.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e", "url": "https://files.pythonhosted.org/packages/43/fb/38848eb494af7df9aeb2d7673ace8b213313eb7e391691a79dbaeb6a838f/pyflakes-2.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c", "url": "https://files.pythonhosted.org/packages/15/60/c577e54518086e98470e9088278247f4af1d39cb43bcbd731e2c307acd6a/pyflakes-2.4.0.tar.gz" } ], "project_name": "pyflakes", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65", "url": "https://files.pythonhosted.org/packages/1d/17/ed4d2df187995561b28f1073df24137cb750e12f9879d291cc8ab67c65d2/Pygments-2.11.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a", "url": "https://files.pythonhosted.org/packages/94/9c/cb656d06950268155f46d4f6ce25d7ffc51a0da47eadf1b164bbf23b718b/Pygments-2.11.2.tar.gz" } ], "project_name": "pygments", "requires_dists": [], "requires_python": ">=3.5", "version": "2.11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484", "url": "https://files.pythonhosted.org/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", "url": "https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b/pyparsing-3.0.7.tar.gz" } ], "project_name": "pyparsing", "requires_dists": [ "jinja2; extra == \"diagrams\"", "railroad-diagrams; extra == \"diagrams\"" ], "requires_python": ">=3.6", "version": "3.0.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b555252a95bbb2a37a97b5ac2eb050c436f7989993565f5e0c9128fcaacadd0e", "url": "https://files.pythonhosted.org/packages/36/e6/dea2b8cd72cf0600f3c2572fb5a48b01aa8e8fd8703c830dab972036c34c/pytest-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47", "url": "https://files.pythonhosted.org/packages/6e/1c/5a8a4ae3548eaa9a082a25cd6118f166d6bbe440300b3c57c4904cc47935/pytest-7.1.0.tar.gz" } ], "project_name": "pytest", "requires_dists": [ "argcomplete; extra == \"testing\"", "atomicwrites>=1.0; sys_platform == \"win32\"", "attrs>=19.2.0", "colorama; sys_platform == \"win32\"", "hypothesis>=3.56; extra == \"testing\"", "importlib-metadata>=0.12; python_version < \"3.8\"", "iniconfig", "mock; extra == \"testing\"", "nose; extra == \"testing\"", "packaging", "pluggy<2.0,>=0.12", "py>=1.8.2", "pygments>=2.7.2; extra == \"testing\"", "requests; extra == \"testing\"", "tomli>=1.0.0", "xmlschema; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6", "url": "https://files.pythonhosted.org/packages/20/49/b3e0edec68d81846f519c602ac38af9db86e1e71275528b3e814ae236063/pytest_cov-3.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470", "url": "https://files.pythonhosted.org/packages/61/41/e046526849972555928a6d31c2068410e47a31fb5ab0a77f868596811329/pytest-cov-3.0.0.tar.gz" } ], "project_name": "pytest-cov", "requires_dists": [ "coverage[toml]>=5.2.1", "fields; extra == \"testing\"", "hunter; extra == \"testing\"", "process-tests; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=4.6", "six; extra == \"testing\"", "virtualenv; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a14097f4385665cb04330e6ae09a3dd430375f717e94482af6944470ad5f100", "url": "https://files.pythonhosted.org/packages/1b/8b/52cbf350699f5264eadd06355237648306487a9137874f00147647e4f87a/pytest-icdiff-0.5.tar.gz" } ], "project_name": "pytest-icdiff", "requires_dists": [ "icdiff", "pprintpp", "pytest" ], "requires_python": ">=3.6", "version": "0.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9", "url": "https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", "url": "https://files.pythonhosted.org/packages/4c/c4/13b4776ea2d76c115c1d1b84579f3764ee6d57204f6be27119f13a61d0a9/python-dateutil-2.8.2.tar.gz" } ], "project_name": "python-dateutil", "requires_dists": [ "six>=1.5" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "2.8.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c86ed633ce8d25667797635db3ea1fe9fe6b51121d43d7031d5bdb4c5b046895", "url": "https://files.pythonhosted.org/packages/18/f1/f59b307f75db1886c96e396eec878501510677394868680b8d2b8b58c47c/pytorch_lightning-1.5.10-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "119e5a0ad0678444c0bbf95755da571e5e372ab12df7c6115ddd26e364a8ddfa", "url": "https://files.pythonhosted.org/packages/de/84/88b3bdc376d671c8ac165758a10ddb6ae1a3e034f78d75a96a1b8fdc644d/pytorch-lightning-1.5.10.tar.gz" } ], "project_name": "pytorch-lightning", "requires_dists": [ "PyYAML>=5.1", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"cpu\"", "cloudpickle>=1.3; extra == \"dev\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"cpu\"", "codecov>=2.1; extra == \"dev\"", "codecov>=2.1; extra == \"test\"", "comet-ml>=3.1.12; extra == \"all\"", "comet-ml>=3.1.12; extra == \"cpu\"", "comet-ml>=3.1.12; extra == \"dev\"", "comet-ml>=3.1.12; extra == \"loggers\"", "coverage<6.3,>5.2.0; extra == \"all\"", "coverage<6.3,>5.2.0; extra == \"cpu\"", "coverage<6.3,>5.2.0; extra == \"dev\"", "coverage<6.3,>5.2.0; extra == \"test\"", "flake8>=3.9.2; extra == \"all\"", "flake8>=3.9.2; extra == \"cpu\"", "flake8>=3.9.2; extra == \"dev\"", "flake8>=3.9.2; extra == \"test\"", "fsspec[http]!=2021.06.0,>=2021.05.0", "future>=0.17.1", "gcsfs>=2021.5.0; extra == \"all\"", "gcsfs>=2021.5.0; extra == \"cpu\"", "gcsfs>=2021.5.0; extra == \"cpu-extra\"", "gcsfs>=2021.5.0; extra == \"dev\"", "gcsfs>=2021.5.0; extra == \"extra\"", "gym>=0.17.0; extra == \"all\"", "gym>=0.17.0; extra == \"cpu\"", "gym>=0.17.0; extra == \"examples\"", "horovod>=0.21.2; extra == \"all\"", "horovod>=0.21.2; extra == \"dev\"", "horovod>=0.21.2; extra == \"extra\"", "hydra-core>=1.0.5; extra == \"all\"", "hydra-core>=1.0.5; extra == \"cpu\"", "hydra-core>=1.0.5; extra == \"cpu-extra\"", "hydra-core>=1.0.5; extra == \"dev\"", "hydra-core>=1.0.5; extra == \"extra\"", "ipython[all]; extra == \"all\"", "ipython[all]; extra == \"cpu\"", "ipython[all]; extra == \"examples\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"all\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu-extra\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"dev\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"extra\"", "matplotlib>3.1; extra == \"all\"", "matplotlib>3.1; extra == \"cpu\"", "matplotlib>3.1; extra == \"cpu-extra\"", "matplotlib>3.1; extra == \"dev\"", "matplotlib>3.1; extra == \"extra\"", "mlflow>=1.0.0; extra == \"all\"", "mlflow>=1.0.0; extra == \"cpu\"", "mlflow>=1.0.0; extra == \"dev\"", "mlflow>=1.0.0; extra == \"loggers\"", "mypy>=0.920; extra == \"all\"", "mypy>=0.920; extra == \"cpu\"", "mypy>=0.920; extra == \"dev\"", "mypy>=0.920; extra == \"test\"", "neptune-client>=0.10.0; extra == \"all\"", "neptune-client>=0.10.0; extra == \"cpu\"", "neptune-client>=0.10.0; extra == \"dev\"", "neptune-client>=0.10.0; extra == \"loggers\"", "numpy>=1.17.2", "omegaconf>=2.0.5; extra == \"all\"", "omegaconf>=2.0.5; extra == \"cpu\"", "omegaconf>=2.0.5; extra == \"cpu-extra\"", "omegaconf>=2.0.5; extra == \"dev\"", "omegaconf>=2.0.5; extra == \"extra\"", "onnxruntime; extra == \"all\"", "onnxruntime; extra == \"cpu\"", "onnxruntime; extra == \"dev\"", "onnxruntime; extra == \"test\"", "packaging>=17.0", "pandas; extra == \"all\"", "pandas; extra == \"cpu\"", "pandas; extra == \"dev\"", "pandas; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"cpu\"", "pre-commit>=1.0; extra == \"dev\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.1", "pytest-rerunfailures>=10.2; extra == \"all\"", "pytest-rerunfailures>=10.2; extra == \"cpu\"", "pytest-rerunfailures>=10.2; extra == \"dev\"", "pytest-rerunfailures>=10.2; extra == \"test\"", "pytest>=6.0; extra == \"all\"", "pytest>=6.0; extra == \"cpu\"", "pytest>=6.0; extra == \"dev\"", "pytest>=6.0; extra == \"test\"", "rich>=10.2.2; extra == \"all\"", "rich>=10.2.2; extra == \"cpu\"", "rich>=10.2.2; extra == \"cpu-extra\"", "rich>=10.2.2; extra == \"dev\"", "rich>=10.2.2; extra == \"extra\"", "scikit-learn>0.22.1; extra == \"all\"", "scikit-learn>0.22.1; extra == \"cpu\"", "scikit-learn>0.22.1; extra == \"dev\"", "scikit-learn>0.22.1; extra == \"test\"", "setuptools==59.5.0", "tensorboard>=2.2.0", "test-tube>=0.7.5; extra == \"all\"", "test-tube>=0.7.5; extra == \"cpu\"", "test-tube>=0.7.5; extra == \"dev\"", "test-tube>=0.7.5; extra == \"loggers\"", "torch>=1.7.*", "torchmetrics>=0.4.1", "torchtext>=0.8.*; extra == \"all\"", "torchtext>=0.8.*; extra == \"cpu\"", "torchtext>=0.8.*; extra == \"cpu-extra\"", "torchtext>=0.8.*; extra == \"dev\"", "torchtext>=0.8.*; extra == \"extra\"", "torchvision>=0.8.*; extra == \"all\"", "torchvision>=0.8.*; extra == \"cpu\"", "torchvision>=0.8.*; extra == \"examples\"", "tqdm>=4.41.0", "twine==3.2; extra == \"all\"", "twine==3.2; extra == \"cpu\"", "twine==3.2; extra == \"dev\"", "twine==3.2; extra == \"test\"", "typing-extensions", "wandb>=0.8.21; extra == \"all\"", "wandb>=0.8.21; extra == \"cpu\"", "wandb>=0.8.21; extra == \"dev\"", "wandb>=0.8.21; extra == \"loggers\"" ], "requires_python": ">=3.6", "version": "1.5.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3383d106fa8da0c2df30401ad056cd7a11b76d885f4bfa16ca7bcc6b4ca2831c", "url": "https://files.pythonhosted.org/packages/28/53/d8eaf1ffe27fb239c61c1b73a8f936bc7e66632b8cab08b5bdedb9fdeda5/PyWavelets-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "a555a7a85da01357d8258cb45f751881f69013f8920f8738718c60cf8a47b755", "url": "https://files.pythonhosted.org/packages/09/80/a85831bbf6dcd886435726822b972de7bd533fc0e71bb9a205d02d71684a/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "a51225d24811ba7ef5184c03bb7072db0aa9651c4370a115d4069dedfb8d2f7a", "url": "https://files.pythonhosted.org/packages/25/2c/eae94f875a0f6a60baa3907563c0c685bc17d23cae1b92fa5404d66adbd2/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "cbaa9d62052d9daf8da765fc8e7c30c38ea2b8e9e1c18841913dfb4aec671ee5", "url": "https://files.pythonhosted.org/packages/32/ab/b96b19cae562aecaa57f0cdb501be169a38ec685ddcc91f1de20f849b22e/PyWavelets-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "307ab8a4c3e5c2b8f7d3d371de4a5f019cf4b030b897c3394a4a7ad157369367", "url": "https://files.pythonhosted.org/packages/3c/f4/b14e863a7f4b146c090d9c70cd130938c4616fbc02877eef4fc747abe6a5/PyWavelets-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "d7369597e1b1d125eb4b458a36cef052beed188444e55ed21445c1196008e200", "url": "https://files.pythonhosted.org/packages/4b/20/04a0a3e43a45a459c2bcde756833b2eca9430729e89d65da35f70e99e997/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "69e9a46facf89b51e5700d10f6d831f29745471c1ab42917f2f849a257b9fd77", "url": "https://files.pythonhosted.org/packages/96/e2/a4c51bb664f3605ef7a1ca644606fd95e8ea416519585f863a99ecb7678b/PyWavelets-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "27e99818d3c26481de3c68dbe880a7fcafe661cc031b22eff4a64237fe17a7ff", "url": "https://files.pythonhosted.org/packages/a8/37/f2ed3819e8d4091cb021f9fcdb30c4266cb0625c0a34e8678e6d66fde6f1/PyWavelets-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8a5941d1f4eb1bc9569c655b63ecb31aa15b3ef0fc9b57df275892c39bccc59e", "url": "https://files.pythonhosted.org/packages/ea/16/f74ccb794053560dcb0a50d65f29c9c607ca9d8859ed4489e5a6df671303/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_universal2.whl" } ], "project_name": "pywavelets", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0f5f5786c0e09baddcd8b4b45f20a7b5d61a7e7e99846e3c799b05c7c53fa696", "url": "https://files.pythonhosted.org/packages/97/d3/24097209f6af04fcdbb40500480a0feaa62164e60bca4c9532f0e9354e47/PyYAML-5.4.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd7f6999a8070df521b6384004ef42833b9bd62cfee11a09bda1079b4b704247", "url": "https://files.pythonhosted.org/packages/06/2f/c03b2b7e6fcda2793f751c82bd2c488d4bd064720edffa2fdda9a422bec2/PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "fa5ae20527d8e831e8230cbffd9f8fe952815b2b7dae6ffec25318803a7528fc", "url": "https://files.pythonhosted.org/packages/42/55/8f1ccdce64a42eb72d5509057d53badfeaa08814cea4d1d11cadaa2d2b3d/PyYAML-5.4.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8c1be557ee92a20f184922c7b6424e8ab6691788e6d86137c5d93c1a6ec1b8fb", "url": "https://files.pythonhosted.org/packages/70/96/c7245e551b1cb496bfb95840ace55ca60f20d3d8e33d70faf8c78a976899/PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e", "url": "https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz" }, { "algorithm": "sha256", "hash": "d2d9808ea7b4af864f35ea216be506ecec180628aced0704e34aca0b040ffe46", "url": "https://files.pythonhosted.org/packages/cb/3f/2f35751408c0b2a425aa48dd79301a48418858d3366f84c75d1aa42b6e2d/PyYAML-5.4.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "bfb51918d4ff3d77c1c856a9699f8492c612cde32fd3bcd344af9be34999bfdc", "url": "https://files.pythonhosted.org/packages/d6/0d/4820527144e18e35488e6253a8b886ed0b90491fb8fff48c11ff71542529/PyYAML-5.4.1-cp38-cp38-manylinux2014_s390x.whl" } ], "project_name": "pyyaml", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "5.4.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4519714c40cd0f2e6c51e1735edae8f8b19f4efe1f33be13e9d644ca5f736dd6", "url": "https://files.pythonhosted.org/packages/f0/a1/a5f4bebaa31d109003909809d88aeb0d4b201463a9ea29308d9e4f9e7655/qudida-0.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db198e2887ab0c9aa0023e565afbff41dfb76b361f85fd5e13f780d75ba18cc8", "url": "https://files.pythonhosted.org/packages/3e/2d/bab8babd9dc9a9e4df6eb115540cee4322c1a74078fb6f3b3ebc452a22b3/qudida-0.0.4.tar.gz" } ], "project_name": "qudida", "requires_dists": [ "numpy>=0.18.0", "opencv-python-headless>=4.0.1", "scikit-learn>=0.19.1", "typing-extensions" ], "requires_python": ">=3.5.0", "version": "0.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d", "url": "https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61", "url": "https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz" } ], "project_name": "requests", "requires_dists": [ "PySocks!=1.5.7,>=1.5.6; extra == \"socks\"", "certifi>=2017.4.17", "chardet<5,>=3.0.2; extra == \"use_chardet_on_py3\"", "chardet<5,>=3.0.2; python_version < \"3\"", "charset-normalizer~=2.0.0; python_version >= \"3\"", "idna<3,>=2.5; python_version < \"3\"", "idna<4,>=2.5; python_version >= \"3\"", "urllib3<1.27,>=1.21.1", "win-inet-pton; (sys_platform == \"win32\" and python_version == \"2.7\") and extra == \"socks\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.27.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2577c501a2fb8d05a304c09d090d6e47c306fef15809d102b327cf8364bddab5", "url": "https://files.pythonhosted.org/packages/6f/bb/5deac77a9af870143c684ab46a7934038a53eb4aa975bc0687ed6ca2c610/requests_oauthlib-1.3.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "75beac4a47881eeb94d5ea5d6ad31ef88856affe2332b9aafb52c6452ccf0d7a", "url": "https://files.pythonhosted.org/packages/95/52/531ef197b426646f26b53815a7d2a67cb7a331ef098bb276db26a68ac49f/requests-oauthlib-1.3.1.tar.gz" } ], "project_name": "requests-oauthlib", "requires_dists": [ "oauthlib>=3.0.0", "oauthlib[signedtoken]>=3.0.0; extra == \"rsa\"", "requests>=2.0.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d5f49ad91fb343efcae45a2b2df04a9755e863e50413623ab8c9e74f05aee52b", "url": "https://files.pythonhosted.org/packages/74/41/6adf6aeb9b3d4a058a82fd053cbb6824432269caa0998574cb766c555287/rich-11.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a6266a5738115017bb64a66c59c717e7aa047b3ae49a011ede4abdeffc6536e", "url": "https://files.pythonhosted.org/packages/72/de/b3a53cf1dfdbdc124e8110a60d6c6da8e39d4610c82491fc862383960552/rich-11.2.0.tar.gz" } ], "project_name": "rich", "requires_dists": [ "colorama<0.5.0,>=0.4.0", "commonmark<0.10.0,>=0.9.0", "dataclasses<0.9,>=0.7; python_version < \"3.7\"", "ipywidgets<8.0.0,>=7.5.1; extra == \"jupyter\"", "pygments<3.0.0,>=2.6.0", "typing-extensions<5.0,>=3.7.4; python_version < \"3.8\"" ], "requires_python": "<4.0.0,>=3.6.2", "version": "11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "78f9a9bf4e7be0c5ded4583326e7461e3a3c5aae24073648b4bdfa797d78c9d2", "url": "https://files.pythonhosted.org/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9", "url": "https://files.pythonhosted.org/packages/db/b5/475c45a58650b0580421746504b680cd2db4e81bc941e94ca53785250269/rsa-4.7.2.tar.gz" } ], "project_name": "rsa", "requires_dists": [ "pyasn1>=0.1.3" ], "requires_python": "<4,>=3.5", "version": "4.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "62cc021e4b192942cb51667a4b5299e948476f318838df7a693ed7a3628fcb8d", "url": "https://files.pythonhosted.org/packages/ff/10/683249cebdb8893fefdc08d8260eba7f4bacc908281b54f01f25f679ae32/s3fs-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4611d0f7e41e5bc9dac3009070e0ad37da87a42f6def75b4813c06f7e404a738", "url": "https://files.pythonhosted.org/packages/68/8d/f04b74e58637399e57f2da566553a07b1370d45b798e0a15ae34aa1db01a/s3fs-2022.2.0.tar.gz" } ], "project_name": "s3fs", "requires_dists": [ "aiobotocore[awscli]~=2.1.0; extra == \"awscli\"", "aiobotocore[boto3]~=2.1.0; extra == \"boto3\"", "aiobotocore~=2.1.0", "aiohttp<=4", "fsspec==2022.02.0" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7a6f4c4d1fdb9a2b640244008e142cbc2cd3ae34b386584ef044dd0f27101971", "url": "https://files.pythonhosted.org/packages/7b/9c/f51775ebe7df5a7aa4e7c79ed671bde94e154bd968aca8d65bb24aba0c8c/s3transfer-0.5.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "95c58c194ce657a5f4fb0b9e60a84968c808888aed628cd98ab8771fe1db98ed", "url": "https://files.pythonhosted.org/packages/7e/19/f82e4af435a19b28bdbfba63f338ea20a264f4df4beaf8f2ab9bfa34072b/s3transfer-0.5.2.tar.gz" } ], "project_name": "s3transfer", "requires_dists": [ "botocore<2.0a.0,>=1.12.36", "botocore[crt]<2.0a.0,>=1.20.29; extra == \"crt\"" ], "requires_python": ">=3.6", "version": "0.5.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0f294ed7f0ea1e90fb6c764d04b8c298096b3403fad7539b9c6f22777d879c6", "url": "https://files.pythonhosted.org/packages/97/b0/3476439c9d4a85e3040bb3a5645fe32013bd41537eb3dab5efd048602fc1/scikit_image-0.19.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d3d0a85c6f53f0d4f704e67b35b3e8c6570846ec37eaeb1ca0f47a1088708cb8", "url": "https://files.pythonhosted.org/packages/38/51/28cd7d4b98a3c4ab0a920ecdc28148f2f6fd7748e5da19fa827acd8317d0/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "aa40f84383961a1a4afebb92f373e42a3d86e2540f012a4f7d2661a417f9e995", "url": "https://files.pythonhosted.org/packages/4d/a1/f1cce8ac5c244f75d196f937b87f7aae6096862e79c8ae4f0b6b643a449e/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "d2c022044eb762d3f03ed6e08a3e06c067953393036e4ca2bf16b0bffde36acb", "url": "https://files.pythonhosted.org/packages/7b/45/bc519bbc94fb3ef52c816a17709d7875bbd5028ba0071b4c798a86f550ee/scikit_image-0.19.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "d433b4642a6f8219e749dfbbe4b5e742d560996540c9749ede510274d061866d", "url": "https://files.pythonhosted.org/packages/83/7d/756dcbf1f2fcbfd60e14842aeadefa2354eff714ed4ec3ae7a107a5787d1/scikit-image-0.19.2.tar.gz" }, { "algorithm": "sha256", "hash": "5ab19b11bd5f836a3de07f087d24db5ea734365122956f53dc5c5c9e018e2ec0", "url": "https://files.pythonhosted.org/packages/88/96/2ab19541e2775babf3799e5dff5e47f2a7ce70477c91e7efde8fdeabe8b4/scikit_image-0.19.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "cabf07a7886861510d4a39ed64fc121708fb7d72a6fe601d87388d36240f4242", "url": "https://files.pythonhosted.org/packages/9c/59/e9e2d8f001df1554b9f501cab52554dc2c173adb34ef029a6c958d233a32/scikit_image-0.19.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "cd115a4412b4561d62036e309c8cb543bfc2ca6b7b184ac23a65f6350959a716", "url": "https://files.pythonhosted.org/packages/fd/96/cd5eca8c528b3ebe666835e3748f07ca4daf3ed5b010cae7a76fa238b7e6/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "scikit-image", "requires_dists": [ "PyWavelets>=1.1.1", "SimpleITK; extra == \"optional\"", "astropy>=3.1.2; extra == \"optional\"", "asv; extra == \"test\"", "cloudpickle>=0.2.1; extra == \"docs\"", "cloudpickle>=0.2.1; extra == \"optional\"", "codecov; extra == \"test\"", "dask[array]!=2.17.0,>=0.15.0; extra == \"docs\"", "dask[array]!=2.17.0,>=1.0.0; extra == \"optional\"", "flake8; extra == \"test\"", "imageio>=2.4.1", "ipywidgets; extra == \"docs\"", "kaleido; extra == \"docs\"", "matplotlib>=3.0.3; extra == \"optional\"", "matplotlib>=3.0.3; extra == \"test\"", "matplotlib>=3.3; extra == \"docs\"", "myst-parser; extra == \"docs\"", "networkx>=2.2", "numpy>=1.17.0", "numpydoc>=1.0; extra == \"docs\"", "packaging>=20.0", "pandas>=0.23.0; extra == \"docs\"", "pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0", "plotly>=4.14.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"data\"", "pooch>=1.3.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"optional\"", "pooch>=1.3.0; extra == \"test\"", "pyamg; extra == \"optional\"", "pytest-cov>=2.7.0; extra == \"test\"", "pytest-faulthandler; extra == \"test\"", "pytest-localserver; extra == \"test\"", "pytest-runner; extra == \"docs\"", "pytest>=5.2.0; extra == \"test\"", "qtpy; extra == \"optional\"", "scikit-learn; extra == \"docs\"", "scipy>=1.4.1", "seaborn>=0.7.1; extra == \"docs\"", "sphinx-copybutton; extra == \"docs\"", "sphinx-gallery>=0.10.1; extra == \"docs\"", "sphinx>=1.8; extra == \"docs\"", "tifffile>=2019.7.26", "tifffile>=2020.5.30; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "0.19.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7626a34eabbf370a638f32d1a3ad50526844ba58d63e3ab81ba91e2a7c6d037e", "url": "https://files.pythonhosted.org/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "5cb33fe1dc6f73dc19e67b264dbb5dde2a0539b986435fdd78ed978c14654830", "url": "https://files.pythonhosted.org/packages/0d/18/883dd0dc906a30ddd06be9412f2c84776900e6091497f70e78346ee7851f/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "bc3744dabc56b50bec73624aeca02e0def06b03cb287de26836e730659c5d29c", "url": "https://files.pythonhosted.org/packages/40/d3/206905d836cd496c1f78a15ef92a0f0477d74113b4f349342bf31dfd62ca/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "ff3fa8ea0e09e38677762afc6e14cad77b5e125b0ea70c9bba1992f02c93b028", "url": "https://files.pythonhosted.org/packages/44/95/bf3bdfd6b8d93b79728b3193aba7e1c44f5518b648ed72c4ceb6f5d7d670/scikit_learn-1.0.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "b1391d1a6e2268485a63c3073111fe3ba6ec5145fc957481cfd0652be571226d", "url": "https://files.pythonhosted.org/packages/6a/f4/a655d7421579783fc49d19a5b28cac994cff998268f7353029e8ea02ff78/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5870959a5484b614f26d31ca4c17524b1b0317522199dc985c3b4256e030767", "url": "https://files.pythonhosted.org/packages/75/44/074b780d8ac0b0899937e9b8ba6d5d8873a71b99aa915219251ef85a8890/scikit-learn-1.0.2.tar.gz" }, { "algorithm": "sha256", "hash": "285db0352e635b9e3392b0b426bc48c3b485512d3b4ac3c7a44ec2a2ba061e66", "url": "https://files.pythonhosted.org/packages/7e/2c/27fcd754e40eb176f4ea261042194a8a39b4cebb6f4cf8557c41014019dc/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "7d6b2475f1c23a698b48515217eb26b45a6598c7b1840ba23b3c5acece658dbb", "url": "https://files.pythonhosted.org/packages/7e/d4/e7087c1083c051c67707005ee65bb5c9c84761cedc09dea2c670c5559e2b/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "9369b030e155f8188743eb4893ac17a27f81d28a884af460870c7c072f114243", "url": "https://files.pythonhosted.org/packages/8b/f1/e9097e4dd7ffc26e0e578e598e9dade3e5f16eb80058ca6fad28fbebccaa/scikit_learn-1.0.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "a999c9f02ff9570c783069f1074f06fe7386ec65b84c983db5aeb8144356a355", "url": "https://files.pythonhosted.org/packages/a4/41/d3c747b3542bc4ad3c68e8e042f791abf78365eb90b25742c33679a361a1/scikit_learn-1.0.2-cp38-cp38-win32.whl" } ], "project_name": "scikit-learn", "requires_dists": [ "Pillow>=7.1.2; extra == \"docs\"", "black>=21.6b0; extra == \"tests\"", "flake8>=3.8.2; extra == \"tests\"", "joblib>=0.11", "matplotlib>=2.2.3; extra == \"benchmark\"", "matplotlib>=2.2.3; extra == \"docs\"", "matplotlib>=2.2.3; extra == \"examples\"", "matplotlib>=2.2.3; extra == \"tests\"", "memory-profiler>=0.57.0; extra == \"benchmark\"", "memory-profiler>=0.57.0; extra == \"docs\"", "mypy>=0.770; extra == \"tests\"", "numpy>=1.14.6", "numpydoc>=1.0.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"benchmark\"", "pandas>=0.25.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"examples\"", "pandas>=0.25.0; extra == \"tests\"", "pyamg>=4.0.0; extra == \"tests\"", "pytest-cov>=2.9.0; extra == \"tests\"", "pytest>=5.0.1; extra == \"tests\"", "scikit-image>=0.14.5; extra == \"docs\"", "scikit-image>=0.14.5; extra == \"examples\"", "scikit-image>=0.14.5; extra == \"tests\"", "scipy>=1.1.0", "seaborn>=0.9.0; extra == \"docs\"", "seaborn>=0.9.0; extra == \"examples\"", "sphinx-gallery>=0.7.0; extra == \"docs\"", "sphinx-prompt>=1.3.0; extra == \"docs\"", "sphinx>=4.0.1; extra == \"docs\"", "sphinxext-opengraph>=0.4.2; extra == \"docs\"", "threadpoolctl>=2.0.0" ], "requires_python": ">=3.7", "version": "1.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5e73343c5e0d413c1f937302b2e04fb07872f5843041bcfd50699aef6e95e399", "url": "https://files.pythonhosted.org/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "38aa39b6724cb65271e469013aeb6f2ce66fd44f093e241c28a9c6bc64fd79ed", "url": "https://files.pythonhosted.org/packages/0c/a5/dca69d5ddb81da167d434f72b0ecfa10f68bf99b648fc49e4d9db81dff1c/scipy-1.8.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "559a8a4c03a5ba9fe3232f39ed24f86457e4f3f6c0abbeae1fb945029f092720", "url": "https://files.pythonhosted.org/packages/70/ba/82877dfa10828cb585cff9df6d87a66564a0571859c15488d16a9413598a/scipy-1.8.0-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "92b2c2af4183ed09afb595709a8ef5783b2baf7f41e26ece24e1329c109691a7", "url": "https://files.pythonhosted.org/packages/84/d1/74a1e3b528556bdb94a1360e731eb838ffcb05106ea95eb8ba4af85f71e6/scipy-1.8.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd", "url": "https://files.pythonhosted.org/packages/b4/a2/4faa34bf0cdbefd5c706625f1234987795f368eb4e97bde9d6f46860843e/scipy-1.8.0.tar.gz" }, { "algorithm": "sha256", "hash": "a279e27c7f4566ef18bab1b1e2c37d168e365080974758d107e7d237d3f0f484", "url": "https://files.pythonhosted.org/packages/bd/84/6f6218c338e1fa77f715e2db777b162bf1e4535289cf462ee3f002612ed6/scipy-1.8.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ad5be4039147c808e64f99c0e8a9641eb5d2fa079ff5894dcd8240e94e347af4", "url": "https://files.pythonhosted.org/packages/d2/27/b2648569175ba233cb6ad13029f8df4049a581c268156c5dd1db5ca44a8c/scipy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "3d9dd6c8b93a22bf9a3a52d1327aca7e092b1299fb3afc4f89e8eba381be7b59", "url": "https://files.pythonhosted.org/packages/e5/2c/fd50b818174554057294ea7f788bd3f8d448bb0f9cbefeeaf8e19067bee0/scipy-1.8.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "f4a6d3b9f9797eb2d43938ac2c5d96d02aed17ef170c8b38f11798717523ddba", "url": "https://files.pythonhosted.org/packages/f4/45/9b57c6fd181f5031d99e1395b3cc3bc83653ff064c614ff211882bd85d50/scipy-1.8.0-cp38-cp38-macosx_12_0_universal2.macosx_10_9_x86_64.whl" } ], "project_name": "scipy", "requires_dists": [ "numpy<1.25.0,>=1.17.3" ], "requires_python": "<3.11,>=3.8", "version": "1.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "32af1a57954576709242beb8c373b3dbde346ac6bd616921def29d68846fb8c3", "url": "https://files.pythonhosted.org/packages/87/54/0a04c906c97073119e4030c9f4d86e8fe70c93aee1b3bc5670257b76eab0/sentry_sdk-1.5.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38fd16a92b5ef94203db3ece10e03bdaa291481dd7e00e77a148aa0302267d47", "url": "https://files.pythonhosted.org/packages/74/74/82f06055ccbcb05ba84b942346acf39f342fdf3937f2638cb780dac3f125/sentry-sdk-1.5.8.tar.gz" } ], "project_name": "sentry-sdk", "requires_dists": [ "aiohttp>=3.5; extra == \"aiohttp\"", "apache-beam>=2.12; extra == \"beam\"", "asttokens; extra == \"pure_eval\"", "blinker>=1.1; extra == \"flask\"", "blinker>=1.1; extra == \"quart\"", "bottle>=0.12.13; extra == \"bottle\"", "celery>=3; extra == \"celery\"", "certifi", "chalice>=1.16.0; extra == \"chalice\"", "django>=1.8; extra == \"django\"", "executing; extra == \"pure_eval\"", "falcon>=1.4; extra == \"falcon\"", "flask>=0.11; extra == \"flask\"", "httpx>=0.16.0; extra == \"httpx\"", "pure-eval; extra == \"pure_eval\"", "pyspark>=2.4.4; extra == \"pyspark\"", "quart>=0.16.1; extra == \"quart\"", "rq>=0.6; extra == \"rq\"", "sanic>=0.8; extra == \"sanic\"", "sqlalchemy>=1.2; extra == \"sqlalchemy\"", "tornado>=5; extra == \"tornado\"", "urllib3>=1.10.0" ], "requires_python": null, "version": "1.5.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0d160d46c8f3567e0aa27b26b1f36e03122e3de475aacacc14a92b8fe45b648a", "url": "https://files.pythonhosted.org/packages/38/7e/6794cfb1d910d982221f08b0617737e454470b53d67fbb3cf831ab891b81/setproctitle-1.2.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "e13a5c1d9c369cb11cdfc4b75be432b83eb3205c95a69006008ffd4366f87b9e", "url": "https://files.pythonhosted.org/packages/21/8a/32fdafc0664c681507df24dbaa7c28f823a5289f03e663c51dae7f3a3278/setproctitle-1.2.2-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "c611f65bc9de5391a1514de556f71101e6531bb0715d240efd3e9732626d5c9e", "url": "https://files.pythonhosted.org/packages/3c/dc/00fb59a01ed15134e6ccdd450e629418431fe9a6433b2ee9479c27660ae3/setproctitle-1.2.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "17598f38be9ef499d74f2380bf76b558be72e87da75d66b153350e586649171b", "url": "https://files.pythonhosted.org/packages/4c/6b/a70de194afd9b65253180603a80cb19109d7c00d45c44b3454c06b822ffb/setproctitle-1.2.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bc4393576ed3ac87ddac7d1bd0faaa2fab24840a025cc5f3c21d14cf0c9c8a12", "url": "https://files.pythonhosted.org/packages/7d/e1/761a1e90ac68b92e296025e7e93b24f4e0f46f92d5ae86108228312f2b22/setproctitle-1.2.2-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7dfb472c8852403d34007e01d6e3c68c57eb66433fb8a5c77b13b89a160d97df", "url": "https://files.pythonhosted.org/packages/a1/7f/a1d4f4c7b66f0fc02f35dc5c85f45a8b4e4a7988357a29e61c14e725ef86/setproctitle-1.2.2.tar.gz" } ], "project_name": "setproctitle", "requires_dists": [ "pytest<6.2,>=6.1; extra == \"test\"" ], "requires_python": ">=3.6", "version": "1.2.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d10741ff20b89cd8c6a536ee9dc90d3002dec0226c78fb98605bfb9ef8a7adf", "url": "https://files.pythonhosted.org/packages/40/a9/7deac76c58fa47c95360116a06b53b9b62f6db11336fe61b6ab53784d98b/setuptools-59.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2fa4fad0", "url": "https://files.pythonhosted.org/packages/e6/e2/f2bfdf364e016f7a464db709ea40d1101c4c5a463dd7019dae0a42dbd1c6/setuptools-59.5.0.tar.gz" } ], "project_name": "setuptools", "requires_dists": [ "flake8-2020; extra == \"testing\"", "furo; extra == \"docs\"", "jaraco.envs>=2.2; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "jaraco.path>=3.2.0; extra == \"testing\"", "jaraco.tidelift>=1.4; extra == \"docs\"", "mock; extra == \"testing\"", "paver; extra == \"testing\"", "pip>=19.1; extra == \"testing\"", "pygments-github-lexers==0.0.5; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-virtualenv>=1.2.7; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx-inline-tabs; extra == \"docs\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"testing\"", "sphinxcontrib-towncrier; extra == \"docs\"", "virtualenv>=13.0.0; extra == \"testing\"", "wheel; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "59.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44a7a86bcf24dbaba2e626cf80c779926b7c3a0d31a3a013e0d3cd1077707d23", "url": "https://files.pythonhosted.org/packages/22/1b/dda73524fc8dd5cd3b80adcc585a49b3f43f8889453d2ed96291b2fcc860/shortuuid-1.0.8-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23", "url": "https://files.pythonhosted.org/packages/ce/c2/31dc2345d8e06711f3da9d65e3a72a060293057321815bc7f11a930c2529/shortuuid-1.0.8.tar.gz" } ], "project_name": "shortuuid", "requires_dists": [], "requires_python": ">=3.5", "version": "1.0.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", "url": "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "url": "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" } ], "project_name": "six", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "1.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94", "url": "https://files.pythonhosted.org/packages/6d/01/7caa71608bc29952ae09b0be63a539e50d2484bc37747797a66a60679856/smmap-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936", "url": "https://files.pythonhosted.org/packages/21/2d/39c6c57032f786f1965022563eec60623bb3e1409ade6ad834ff703724f3/smmap-5.0.0.tar.gz" } ], "project_name": "smmap", "requires_dists": [], "requires_python": ">=3.6", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663", "url": "https://files.pythonhosted.org/packages/52/b0/7b2e028b63d092804b6794595871f936aafa5e9322dcaaad50ebf67445b3/sniffio-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de", "url": "https://files.pythonhosted.org/packages/a6/ae/44ed7978bcb1f6337a3e2bef19c941de750d73243fc9389140d62853b686/sniffio-1.2.0.tar.gz" } ], "project_name": "sniffio", "requires_dists": [ "contextvars>=2.1; python_version < \"3.7\"" ], "requires_python": ">=3.5", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7ff72b3cc9242d1a1c9b84bd945907bf174d74fc2519efe6184d6390a8df478b", "url": "https://files.pythonhosted.org/packages/75/0a/782bcbe409cc765778613114b3d8fab2a507d2dc59693aeb92d203516c50/SQLAlchemy-1.4.32-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "6fdd2dc5931daab778c2b65b03df6ae68376e028a3098eb624d0909d999885bc", "url": "https://files.pythonhosted.org/packages/7a/9f/ace7376a3ab45adf0f7169a5d8d60707c04b171b72a18bb23d505f83f362/SQLAlchemy-1.4.32.tar.gz" }, { "algorithm": "sha256", "hash": "5a2e73508f939175363d8a4be9dcdc84cf16a92578d7fa86e6e4ca0e6b3667b2", "url": "https://files.pythonhosted.org/packages/86/f1/0b58ca845cd3e0526a219f83c39114ee0a06de8d398f5e21a8781a6033fe/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "dd93162615870c976dba43963a24bb418b28448fef584f30755990c134a06a55", "url": "https://files.pythonhosted.org/packages/8b/18/4c91eccaf0174006a8981e783a493fbacafa4c344cc78fefc9b2872cde0d/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3f88a4ee192142eeed3fe173f673ea6ab1f5a863810a9d85dbf6c67a9bd08f97", "url": "https://files.pythonhosted.org/packages/a5/c6/fdbea6786ff09159500cc8778c409f8803b9cac8c79ec9d12fbd9b5de672/SQLAlchemy-1.4.32-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "bb42f9b259c33662c6a9b866012f6908a91731a419e69304e1261ba3ab87b8d1", "url": "https://files.pythonhosted.org/packages/b2/13/c0b08165292173cb0918c7ddf6dba31df97d4f12f4356ce2d16f3478cf33/SQLAlchemy-1.4.32-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bfec934aac7f9fa95fc82147a4ba5db0a8bdc4ebf1e33b585ab8860beb10232f", "url": "https://files.pythonhosted.org/packages/d6/e1/848f5671a7bc225862f5e5b9699487529dfd8c0930a2ba5c95b2d5b876e6/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "sqlalchemy", "requires_dists": [ "aiomysql; python_version >= \"3\" and extra == \"aiomysql\"", "aiosqlite; python_version >= \"3\" and extra == \"aiosqlite\"", "asyncmy>=0.2.3; python_version >= \"3\" and extra == \"asyncmy\"", "asyncpg; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "cx-oracle<8,>=7; python_version < \"3\" and extra == \"oracle\"", "cx-oracle>=7; python_version >= \"3\" and extra == \"oracle\"", "greenlet!=0.4.17; python_version >= \"3\" and (platform_machine == \"aarch64\" or (platform_machine == \"ppc64le\" or (platform_machine == \"x86_64\" or (platform_machine == \"amd64\" or (platform_machine == \"AMD64\" or (platform_machine == \"win32\" or platform_machine == \"WIN32\"))))))", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiomysql\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiosqlite\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncio\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncmy\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "importlib-metadata; python_version < \"3.8\"", "mariadb>=1.0.1; python_version >= \"3\" and extra == \"mariadb_connector\"", "mypy>=0.910; python_version >= \"3\" and extra == \"mypy\"", "mysql-connector-python; extra == \"mysql_connector\"", "mysqlclient<2,>=1.4.0; python_version < \"3\" and extra == \"mysql\"", "mysqlclient>=1.4.0; python_version >= \"3\" and extra == \"mysql\"", "pg8000>=1.16.6; extra == \"postgresql_pg8000\"", "psycopg2-binary; extra == \"postgresql_psycopg2binary\"", "psycopg2>=2.7; extra == \"postgresql\"", "psycopg2cffi; extra == \"postgresql_psycopg2cffi\"", "pymssql; extra == \"mssql_pymssql\"", "pymysql; python_version >= \"3\" and extra == \"pymysql\"", "pymysql<1; python_version < \"3\" and extra == \"pymysql\"", "pyodbc; extra == \"mssql\"", "pyodbc; extra == \"mssql_pyodbc\"", "sqlalchemy2-stubs; extra == \"mypy\"", "sqlcipher3-binary; python_version >= \"3\" and extra == \"sqlcipher\"", "typing-extensions!=3.10.0.1; extra == \"aiosqlite\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "1.4.32" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26a18cbda5e6b651c964c12c88b36d9898481cd428ed6e063f5f29c418f73050", "url": "https://files.pythonhosted.org/packages/32/57/e9c68acc2845ee4ca66202d19856f6a3581cab2a885d25d490103270ffa2/starlette-0.17.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "57eab3cc975a28af62f6faec94d355a410634940f10b30d68d31cb5ec1b44ae8", "url": "https://files.pythonhosted.org/packages/11/d3/c346849b8201f0e0339e23850c8db1cebd477e44e8b5212f40e1acbb490c/starlette-0.17.1.tar.gz" } ], "project_name": "starlette", "requires_dists": [ "anyio<4,>=3.0.0", "contextlib2>=21.6.0; python_version < \"3.7\"", "itsdangerous; extra == \"full\"", "jinja2; extra == \"full\"", "python-multipart; extra == \"full\"", "pyyaml; extra == \"full\"", "requests; extra == \"full\"", "typing-extensions; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "0.17.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65a338e4424e9079f2604923bdbe301792adce2ace1be68da6b3ddf005170def", "url": "https://files.pythonhosted.org/packages/f7/fd/67c61276de025801cfa8a1b9af2d7c577e7f27c17b6bff2baca20bf03543/tensorboard-2.8.0-py3-none-any.whl" } ], "project_name": "tensorboard", "requires_dists": [ "absl-py>=0.4", "google-auth-oauthlib<0.5,>=0.4.1", "google-auth<3,>=1.6.3", "grpcio>=1.24.3", "markdown>=2.6.8", "numpy>=1.12.0", "protobuf>=3.6.0", "requests<3,>=2.21.0", "setuptools>=41.0.0", "tensorboard-data-server<0.7.0,>=0.6.0", "tensorboard-plugin-wit>=1.6.0", "werkzeug>=0.11.15", "wheel>=0.26" ], "requires_python": ">=3.6", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8237580755e58eff68d1f3abefb5b1e39ae5c8b127cc40920f9c4fb33f4b98a", "url": "https://files.pythonhosted.org/packages/60/f9/802efd84988bffd9f644c03b6e66fde8e76c3aa33db4279ddd11c5d61f4b/tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "fa8cef9be4fcae2f2363c88176638baf2da19c5ec90addb49b1cde05c95c88ee", "url": "https://files.pythonhosted.org/packages/3e/48/dd135dbb3cf16bfb923720163493cab70e7336db4b5f3103d49efa730404/tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "809fe9887682d35c1f7d1f54f0f40f98bb1f771b14265b453ca051e2ce58fca7", "url": "https://files.pythonhosted.org/packages/74/69/5747a957f95e2e1d252ca41476ae40ce79d70d38151d2e494feb7722860c/tensorboard_data_server-0.6.1-py3-none-any.whl" } ], "project_name": "tensorboard-data-server", "requires_dists": [], "requires_python": ">=3.6", "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ff26bdd583d155aa951ee3b152b3d0cffae8005dc697f72b44a8e8c2a77a8cbe", "url": "https://files.pythonhosted.org/packages/e0/68/e8ecfac5dd594b676c23a7f07ea34c197d7d69b3313afdf8ac1b0a9905a2/tensorboard_plugin_wit-1.8.1-py3-none-any.whl" } ], "project_name": "tensorboard-plugin-wit", "requires_dists": [], "requires_python": null, "version": "1.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b", "url": "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz" } ], "project_name": "termcolor", "requires_dists": [], "requires_python": null, "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b", "url": "https://files.pythonhosted.org/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380", "url": "https://files.pythonhosted.org/packages/1b/c7/3d85f8b3894ba7228d0c74e16e97a36a72b2cd2b0e0f8f89b5d435d11f71/threadpoolctl-3.1.0.tar.gz" } ], "project_name": "threadpoolctl", "requires_dists": [], "requires_python": ">=3.6", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "68f4f3aece7daafbe3dd58751622be0412510ee5921625ca611e47b618f906e6", "url": "https://files.pythonhosted.org/packages/23/6b/cd30edb3463f77eac22080b44d834c6abee3950f90d64c229151fc4d32aa/tifffile-2022.3.16-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fe2c79190a1d625076e68a2f0e49ca72a907315fe8ebf488f5eecf70b257fe3c", "url": "https://files.pythonhosted.org/packages/37/ca/891137c951c29f3397ec164605f7aa2e6e4b4209ad834099bd0bc55f15fb/tifffile-2022.3.16.tar.gz" } ], "project_name": "tifffile", "requires_dists": [ "imagecodecs>=2021.11.20; extra == \"all\"", "lxml; extra == \"all\"", "matplotlib>=3.3; extra == \"all\"", "numpy>=1.19.2" ], "requires_python": ">=3.8", "version": "2022.3.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f", "url": "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz" } ], "project_name": "tomli", "requires_dists": [], "requires_python": ">=3.7", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3592d3dd62b32760c82624e7586222747fe2281240e8653970b35f1d6d4a434c", "url": "https://files.pythonhosted.org/packages/c0/2a/3401595e371a63195016968efd450c46048cf0d1b341adb33c029ab6aa1e/torch-1.10.2-cp38-none-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "ab77a9f838874f295ed5410c0686fa22547456e0116efb281c66ef5f9d46fe28", "url": "https://files.pythonhosted.org/packages/4a/a0/3b8d5b80560afbff0688edd66926335bef153d91a95926810ab234798ae2/torch-1.10.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "f281438ee99bd72ad65c0bba1026a32e45c3b636bc067fc145ad291e9ea2faab", "url": "https://files.pythonhosted.org/packages/7e/ee/14fcdd0e8b19108efd953cc5b38f409df39659bbec3b12afaa6dd3e2967b/torch-1.10.2-cp38-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "376fc18407add20daa6bbaaffc5a5e06d733abe53bcbd60ef2532bfed34bc091", "url": "https://files.pythonhosted.org/packages/d4/53/c4a13bbab1385d505c78064ad5ae6a63a990f207a559fcfe950bdeb5f96c/torch-1.10.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "9ef4c004f9e5168bd1c1930c6aff25fed5b097de81db6271ffbb2e4fb8b89319", "url": "https://files.pythonhosted.org/packages/f8/2c/ace8d8d942ccd064639fae6c366344d832fbca174b8df059396a5f51e3a5/torch-1.10.2-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torch", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "typing-extensions" ], "requires_python": ">=3.6.2", "version": "1.10.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d0fbf8440912ef93f22e21bae43fda8fa26a651313acc3ea93beafe3c86dd474", "url": "https://files.pythonhosted.org/packages/f7/ec/3160fd2d30b55b35e9cfd8670c95fcaeb1daa9dba28aa912cfe40d696a3b/torchmetrics-0.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "af03334c4a33fc32a9a40b037b1ce3ff6273ea9a0050c11ddde29bf1335da95e", "url": "https://files.pythonhosted.org/packages/31/0d/d5dbb1a5ba604bcac35a751d8ece9972a87232388be96c44997c64fda32e/torchmetrics-0.7.2.tar.gz" } ], "project_name": "torchmetrics", "requires_dists": [ "bert-score==0.3.10; extra == \"all\"", "bert-score==0.3.10; extra == \"test\"", "check-manifest; extra == \"all\"", "check-manifest; extra == \"test\"", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"test\"", "coverage>5.2; extra == \"all\"", "coverage>5.2; extra == \"test\"", "docutils>=0.16; extra == \"all\"", "docutils>=0.16; extra == \"docs\"", "fast-bss-eval>=0.1.0; extra == \"all\"", "fast-bss-eval>=0.1.0; extra == \"audio\"", "jiwer>=2.3.0; extra == \"all\"", "jiwer>=2.3.0; extra == \"test\"", "lpips; extra == \"all\"", "lpips; extra == \"image\"", "mir-eval>=0.6; extra == \"all\"", "mir-eval>=0.6; extra == \"test\"", "mypy>=0.790; extra == \"all\"", "mypy>=0.790; extra == \"test\"", "myst-parser; extra == \"all\"", "myst-parser; extra == \"docs\"", "nbsphinx>=0.8; extra == \"all\"", "nbsphinx>=0.8; extra == \"docs\"", "nltk>=3.6; extra == \"all\"", "nltk>=3.6; extra == \"text\"", "numpy>=1.17.2", "packaging", "pandoc>=1.0; extra == \"all\"", "pandoc>=1.0; extra == \"docs\"", "pesq>=0.0.3; extra == \"all\"", "pesq>=0.0.3; extra == \"audio\"", "phmdoctest>=1.1.1; extra == \"all\"", "phmdoctest>=1.1.1; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.*", "pypesq; extra == \"all\"", "pypesq; extra == \"test\"", "pystoi; extra == \"all\"", "pystoi; extra == \"audio\"", "pytest-cov>2.10; extra == \"all\"", "pytest-cov>2.10; extra == \"test\"", "pytest-doctestplus>=0.9.0; extra == \"all\"", "pytest-doctestplus>=0.9.0; extra == \"test\"", "pytest==6.*; extra == \"all\"", "pytest==6.*; extra == \"test\"", "pytorch-lightning>=1.1; extra == \"all\"", "pytorch-lightning>=1.1; extra == \"docs\"", "pytorch-lightning>=1.3; extra == \"all\"", "pytorch-lightning>=1.3; extra == \"integrate\"", "pytorch-msssim; extra == \"all\"", "pytorch-msssim; extra == \"test\"", "regex>=2021.9.24; extra == \"all\"", "regex>=2021.9.24; extra == \"text\"", "rouge-score>=0.0.4; extra == \"all\"", "rouge-score>=0.0.4; extra == \"test\"", "sacrebleu>=2.0.0; extra == \"all\"", "sacrebleu>=2.0.0; extra == \"test\"", "scikit-image>0.17.1; extra == \"all\"", "scikit-image>0.17.1; extra == \"test\"", "scikit-learn>=0.24; extra == \"all\"", "scikit-learn>=0.24; extra == \"test\"", "scipy; extra == \"all\"", "scipy; extra == \"image\"", "sphinx-autodoc-typehints>=1.0; extra == \"all\"", "sphinx-autodoc-typehints>=1.0; extra == \"docs\"", "sphinx-copybutton>=0.3; extra == \"all\"", "sphinx-copybutton>=0.3; extra == \"docs\"", "sphinx-paramlinks>=0.5.1; extra == \"all\"", "sphinx-paramlinks>=0.5.1; extra == \"docs\"", "sphinx-togglebutton>=0.2; extra == \"all\"", "sphinx-togglebutton>=0.2; extra == \"docs\"", "sphinx>=4.0; extra == \"all\"", "sphinx>=4.0; extra == \"docs\"", "sphinxcontrib-fulltoc>=1.0; extra == \"all\"", "sphinxcontrib-fulltoc>=1.0; extra == \"docs\"", "sphinxcontrib-mockautodoc; extra == \"all\"", "sphinxcontrib-mockautodoc; extra == \"docs\"", "torch-fidelity; extra == \"all\"", "torch-fidelity; extra == \"image\"", "torch>=1.3.1", "torchvision; extra == \"all\"", "torchvision; extra == \"image\"", "torchvision>=0.8; extra == \"all\"", "torchvision>=0.8; extra == \"detection\"", "tqdm>=4.41.0; extra == \"all\"", "tqdm>=4.41.0; extra == \"text\"", "transformers>=4.0; extra == \"all\"", "transformers>=4.0; extra == \"test\"", "twine>=3.2; extra == \"all\"", "twine>=3.2; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dc144114d5991a33bf8909277b02ea082d99cee4cdcf3f7a9c6b48f0c6c8ddde", "url": "https://files.pythonhosted.org/packages/f0/cb/b484ba727714926cbebe68687960da3481df5619280d17b1d5c90fb610bc/torchvision-0.11.3-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "63647dfb9b0354bc8c5bb120f2dc15a123cee7f5fd6a8e84561da46cc2c89e3a", "url": "https://files.pythonhosted.org/packages/00/a8/0d59336acc849c5d6beb1d38d59b16e4a2e6ac66036ae92ba748f7f02575/torchvision-0.11.3-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "0eda00afc5176b35e69eddd018ee633e3e3d74bbcf139eccdc150781c4ae83a7", "url": "https://files.pythonhosted.org/packages/21/f4/0a2978512bab69a1bd2626e311a45c37b4dec100025661df70d1ede69de4/torchvision-0.11.3-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a82d7d383fabb45fb54aa569ab216b87b98f9eb9de75b3cbfedab555a71209fa", "url": "https://files.pythonhosted.org/packages/a8/1f/3ae670bb65fa932cf7b22db62ef088a5069165844c0b186e61ecbe315c9b/torchvision-0.11.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "b237b39e1c558ad5c9043b6e56bc568ee745f7f064f53270a3fceb53b9725c4b", "url": "https://files.pythonhosted.org/packages/e1/cf/d19fc48359f888607bac25d1102b72540b40316587fc572efe9fdc7642a6/torchvision-0.11.3-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torchvision", "requires_dists": [ "numpy", "pillow!=8.3.0,>=5.3.0", "scipy; extra == \"scipy\"", "torch==1.10.2" ], "requires_python": null, "version": "0.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e643e071046f17139dea55b880dc9b33822ce21613b4a4f5ea57f202833dbc29", "url": "https://files.pythonhosted.org/packages/81/1c/93a2b77b97cdba15a59c3d2d03e53d3292158d1106d37f579069abd90ece/tqdm-4.63.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1d9835ede8e394bb8c9dcbffbca02d717217113adc679236873eeaac5bc0b3cd", "url": "https://files.pythonhosted.org/packages/cb/a5/803a55cae355bc2402492c6a1c23dc08117844e4a1c3a293b0ea19bca6fa/tqdm-4.63.0.tar.gz" } ], "project_name": "tqdm", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-resources; python_version < \"3.7\"", "ipywidgets>=6; extra == \"notebook\"", "py-make>=0.1.0; extra == \"dev\"", "requests; extra == \"telegram\"", "twine; extra == \"dev\"", "wheel; extra == \"dev\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "4.63" }, { "artifacts": [ { "algorithm": "sha256", "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], "requires_python": ">=3.6", "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14", "url": "https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e", "url": "https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz" } ], "project_name": "urllib3", "requires_dists": [ "PySocks!=1.5.7,<2.0,>=1.5.6; extra == \"socks\"", "brotli>=1.0.9; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation == \"CPython\") and extra == \"brotli\"", "brotlicffi>=0.8.0; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation != \"CPython\") and extra == \"brotli\"", "brotlipy>=0.6.0; (os_name == \"nt\" and python_version < \"3\") and extra == \"brotli\"", "certifi; extra == \"secure\"", "cryptography>=1.3.4; extra == \"secure\"", "idna>=2.0.0; extra == \"secure\"", "ipaddress; python_version == \"2.7\" and extra == \"secure\"", "pyOpenSSL>=0.14; extra == \"secure\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4,>=2.7", "version": "1.26.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a8637ae1b580d5839bde4792d9c31ecd40392ae8a245874391edd82c74e7b17", "url": "https://files.pythonhosted.org/packages/e6/1e/6ae3c7774b6537a48a1a896b483fcd13b09d7ca3ace63f423f6cff828b56/wandb-0.12.11-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "808c832a109cdd49f85226446b4224c77ff3bd81c0a9470e8fce43e5306a39a0", "url": "https://files.pythonhosted.org/packages/a0/c4/37887f989bed4784bb11fc90201da76f45ac11c6582f9fed94ed1a7c8de1/wandb-0.12.11.tar.gz" } ], "project_name": "wandb", "requires_dists": [ "Click!=8.0.0,>=7.0", "GitPython>=1.0.0", "PyYAML", "PyYAML; extra == \"sweeps\"", "azure-storage-blob; extra == \"azure\"", "bokeh; extra == \"media\"", "boto3; extra == \"aws\"", "chardet; extra == \"launch\"", "docker-pycreds>=0.4.0", "google-cloud-storage; extra == \"gcp\"", "google-cloud-storage; extra == \"kubeflow\"", "grpcio>=1.27.2; extra == \"grpc\"", "iso8601; extra == \"launch\"", "jsonref>=0.2; extra == \"sweeps\"", "jsonschema>=3.2.0; extra == \"sweeps\"", "jupyter-repo2docker; extra == \"launch\"", "kubernetes; extra == \"kubeflow\"", "minio; extra == \"kubeflow\"", "moviepy; extra == \"media\"", "nbconvert; extra == \"launch\"", "numpy; extra == \"media\"", "numpy<1.21,>=1.15; extra == \"sweeps\"", "pathtools", "pillow; extra == \"media\"", "plotly; extra == \"media\"", "promise<3,>=2.0", "protobuf>=3.12.0", "psutil>=5.0.0", "pydantic>=1.8.2; extra == \"sweeps\"", "python-dateutil>=2.6.1", "rdkit-pypi; extra == \"media\"", "requests<3,>=2.0.0", "scikit-learn==0.24.1; extra == \"sweeps\"", "scipy>=1.5.4; extra == \"sweeps\"", "sentry-sdk>=1.0.0", "setproctitle", "sh; extra == \"kubeflow\"", "shortuuid>=0.5.0", "six>=1.13.0", "soundfile; extra == \"media\"", "typing-extensions; extra == \"launch\"", "yaspin; extra == \"launch\"", "yaspin>=1.0.0" ], "requires_python": ">=3.6", "version": "0.12.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1421ebfc7648a39a5c58c601b154165d05cf47a3cd0ccb70857cbdacf6c8f2b8", "url": "https://files.pythonhosted.org/packages/f4/f3/22afbdb20cc4654b10c98043414a14057cd27fdba9d4ae61cea596000ba2/Werkzeug-2.0.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b863f8ff057c522164b6067c9e28b041161b4be5ba4d0daceeaa50a163822d3c", "url": "https://files.pythonhosted.org/packages/6c/a8/60514fade2318e277453c9588545d0c335ea3ea6440ce5cdabfca7f73117/Werkzeug-2.0.3.tar.gz" } ], "project_name": "werkzeug", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "watchdog; extra == \"watchdog\"" ], "requires_python": ">=3.6", "version": "2.0.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a", "url": "https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4", "url": "https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz" } ], "project_name": "wheel", "requires_dists": [ "pytest-cov; extra == \"test\"", "pytest>=3.0.0; extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.37.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0ed6ad6c9640671689c2dbe6244680fe8b897c08fd1fab2228429b66c518e5e", "url": "https://files.pythonhosted.org/packages/fa/01/3c5d57f130c16d583f17cd07c46194c00bdea53ed0260b26780897834793/wrapt-1.14.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d9bdfa74d369256e4218000a629978590fd7cb6cf6893251dad13d051090436d", "url": "https://files.pythonhosted.org/packages/12/d7/4e095710e80ab428d886a4431a32a99d903a617e5ce27efa613b796233eb/wrapt-1.14.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "1f83e9c21cd5275991076b2ba1cd35418af3504667affb4745b48937e214bafe", "url": "https://files.pythonhosted.org/packages/3b/07/4958cf817f1e5c713e81d7e8a404bc8e683162202442295b978d228f85cd/wrapt-1.14.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "28c659878f684365d53cf59dc9a1929ea2eecd7ac65da762be8b1ba193f7e84f", "url": "https://files.pythonhosted.org/packages/4e/0b/72831883b921c3c57567d9cd609a9020af22c66fd4f1d802d69e0d4ad155/wrapt-1.14.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "b21650fa6907e523869e0396c5bd591cc326e5c1dd594dcdccac089561cacfb8", "url": "https://files.pythonhosted.org/packages/5f/f3/ec6e05ede4feaf56a2ce495446ed94b72c4b24055ede983929f0347dd1f9/wrapt-1.14.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "61e1a064906ccba038aa3c4a5a82f6199749efbbb3cef0804ae5c37f550eded0", "url": "https://files.pythonhosted.org/packages/74/ef/fb62285681190b332d3fda7234358a9eca41b86e83fa24bd4416b668df0d/wrapt-1.14.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "5b835b86bd5a1bdbe257d610eecab07bf685b1af2a7563093e0e69180c1d4af1", "url": "https://files.pythonhosted.org/packages/a8/7f/bac1100383505bd4b215768be4bb60dd2c9780efb39fd9fe63614eccc590/wrapt-1.14.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2498762814dd7dd2a1d0248eda2afbc3dd9c11537bc8200a4b21789b6df6cd38", "url": "https://files.pythonhosted.org/packages/ab/1e/af8eeabaa85e91d32bab0b4cdfb98f5f39eab564a8bd64168db8d86e1c2e/wrapt-1.14.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "354d9fc6b1e44750e2a67b4b108841f5f5ea08853453ecbf44c81fdc2e0d50bd", "url": "https://files.pythonhosted.org/packages/ac/54/bc25e4d8260d4574e4a7952c1dc885e060912774859a0ba14bb9b036c2d6/wrapt-1.14.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "8323a43bd9c91f62bb7d4be74cc9ff10090e7ef820e27bfe8815c57e68261311", "url": "https://files.pythonhosted.org/packages/c7/b4/3a937c7f8ee4751b38274c8542e02f42ebf3e080f1344c4a2aff6416630e/wrapt-1.14.0.tar.gz" }, { "algorithm": "sha256", "hash": "5f24ca7953f2643d59a9c87d6e272d8adddd4a53bb62b9208f36db408d7aafc7", "url": "https://files.pythonhosted.org/packages/ef/e8/62648d3ee379766a94ff2853106a91932d9c1c63e7bd0c4686659ec411c0/wrapt-1.14.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "wrapt", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.14" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cc8b7a7254c0fc3187d43d6cb54b5032d2365efd1df0cd1749c0c4df5f0ad45f", "url": "https://files.pythonhosted.org/packages/1d/1d/818930219ed93cb1f8de61dc2c9d30f3ec8af1a1f1c8878f1c6d68adff23/yarl-1.7.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "39d5493c5ecd75c8093fa7700a2fb5c94fe28c839c8e40144b7ab7ccba6938c8", "url": "https://files.pythonhosted.org/packages/29/00/03a2186fde995f71a0b8fe6ea3f22965e1333ff622556aa2cddf841acfb9/yarl-1.7.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "fd547ec596d90c8676e369dd8a581a21227fe9b4ad37d0dc7feb4ccf544c2d59", "url": "https://files.pythonhosted.org/packages/34/9c/17cefab10d3f3397916255ce990ac358939bc14806e73503805d8bac766a/yarl-1.7.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "e39378894ee6ae9f555ae2de332d513a5763276a9265f8e7cbaeb1b1ee74623a", "url": "https://files.pythonhosted.org/packages/80/45/5aca44624dfbbbe942b22aa4ed9c2a6ff28f6de63b47c52b46b456b307b5/yarl-1.7.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "737e401cd0c493f7e3dd4db72aca11cfe069531c9761b8ea474926936b3c57c8", "url": "https://files.pythonhosted.org/packages/8f/21/769f312eb7c03dcc0dec55300b2cf6c460a9c75fbb08994996686b87c4ef/yarl-1.7.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "ede3b46cdb719c794427dcce9d8beb4abe8b9aa1e97526cc20de9bd6583ad1ef", "url": "https://files.pythonhosted.org/packages/94/6d/e42ac52b021b2b66cbded3c4aabb117a5c6415b81d53da9f6979516c0b78/yarl-1.7.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "5ba63585a89c9885f18331a55d25fe81dc2d82b71311ff8bd378fc8004202ff6", "url": "https://files.pythonhosted.org/packages/9e/e2/dd68672208e604b426ecb498083bf3ed1fd9a3732fb2e514a99f9a3ba4c2/yarl-1.7.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "6feca8b6bfb9eef6ee057628e71e1734caf520a907b6ec0d62839e8293e945c0", "url": "https://files.pythonhosted.org/packages/aa/a6/a4ddcb1c3d93fc5d77a19b1ec338a3efec65b44345168d8ac9bf8461224a/yarl-1.7.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "baf81561f2972fb895e7844882898bda1eef4b07b5b385bcd308d2098f1a767b", "url": "https://files.pythonhosted.org/packages/b0/aa/f92592c2bbc603f408c78ab8a90f5408f303729368fbad29b992dc14dbc0/yarl-1.7.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "788713c2896f426a4e166b11f4ec538b5736294ebf7d5f654ae445fd44270832", "url": "https://files.pythonhosted.org/packages/bc/1a/76621726e249b753de9fda3313eb4c63c8b4449f8681348ce3dbc89b1bf8/yarl-1.7.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "1eb6480ef366d75b54c68164094a6a560c247370a68c02dddb11f20c4c6d3c9d", "url": "https://files.pythonhosted.org/packages/bd/ab/a5c39f35c6e037aaf5aa3ff069801d0345b0301feee83a48a14005ce2cf3/yarl-1.7.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "8300401dc88cad23f5b4e4c1226f44a5aa696436a4026e456fe0e5d2f7f486e6", "url": "https://files.pythonhosted.org/packages/c1/27/9f925be515fc4e5b0b67d9c8bf04a275cbc1936a32d4249afc7e0d3a1c1c/yarl-1.7.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "c2a1ac41a6aa980db03d098a5531f13985edcb451bcd9d00670b03129922cd0d", "url": "https://files.pythonhosted.org/packages/cf/4f/acc91373cec9990cdb4a93351c3c8e240c87cae6b9e57dbcdcc337d26902/yarl-1.7.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "fce78593346c014d0d986b7ebc80d782b7f5e19843ca798ed62f8e3ba8728576", "url": "https://files.pythonhosted.org/packages/e0/24/9abac7eeab2344756148d5909aba8179d84ed7f95683ca86f0fc6a79811a/yarl-1.7.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "c0910c6b6c31359d2f6184828888c983d54d09d581a4a23547a35f1d0b9484b1", "url": "https://files.pythonhosted.org/packages/f4/25/b3b47a3a0ca4b00d5c7069fb3970d648f658a9ac77ca4f8d1c96c841babc/yarl-1.7.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd", "url": "https://files.pythonhosted.org/packages/f6/da/46d1b3d69a9a0835dabf9d59c7eb0f1600599edd421a4c5a15ab09f527e0/yarl-1.7.2.tar.gz" } ], "project_name": "yarl", "requires_dists": [ "idna>=2.0", "multidict>=4.0", "typing-extensions>=3.7.4; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "1.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d574cbfaf0a349df466c91f7f81b22460ae5ebb15ecb8bf9411d6049923aee8d", "url": "https://files.pythonhosted.org/packages/ce/ed/1ae83648729025952b483046d5164fc91625703899707655406db76ce671/yaspin-2.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a", "url": "https://files.pythonhosted.org/packages/6a/b2/144d100c915784ab551e0f7809aaecdd103786a227b0f30db341ffe649be/yaspin-2.1.0.tar.gz" } ], "project_name": "yaspin", "requires_dists": [ "dataclasses<0.9,>=0.8; python_version >= \"3.6\" and python_version < \"3.7\"", "termcolor<2.0.0,>=1.1.0" ], "requires_python": "<4.0.0,>=3.6.2", "version": "2.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375", "url": "https://files.pythonhosted.org/packages/52/c5/df7953fe6065185af5956265e3b16f13c2826c2b1ba23d43154f3af453bc/zipp-3.7.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d", "url": "https://files.pythonhosted.org/packages/94/64/3115548d41cb001378099cb4fc6a6889c64ef43ac1b0e68c9e80b55884fa/zipp-3.7.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ "func-timeout; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "3.7" } ], "platform_tag": [ "cp310", "cp310", "manylinux_2_31_x86_64" ] } ], "pex_version": "2.1.72", "prefer_older_binary": false, "requirements": [ "aio-pika<7.2.0,>=7.1.0", "aiobotocore<2.2.0,>=2.1.2", "aioredis<2.1.0,>=2.0.1", "albumentations<1.2.0,>=1.1", "alembic<1.8.0,>=1.7.7", "anyio<3.6.0,>=3.5", "awscli<1.23.0,>=1.22.24", "black==22.1.0", "boto3<1.21.0,>=1.20.24", "botocore<1.24.0,>=1.23.24", "click<8.1.0,>=8.0.4", "docstring-parser<0.14.0,>=0.13.0", "fastapi<0.76.0,>=0.75.0", "flake8==4.0.1", "grpcio<1.45.0,>=1.44", "hiredis<2.1.0,>=2.0.0", "imageio<2.17.0,>=2.16.1", "isort==5.10.1", "itsdangerous<2.2.0,>=2.1.1", "javaobj-py3<0.5.0,>=0.4.3", "jpeg4py<0.2.0,>=0.1.4", "jsonargparse[signatures]<4.5.0,>=4.4.0", "mypy==0.930", "numpy<1.23.0,>=1.22.3", "nvidia-dali-cuda110<1.12.0,>=1.11.1", "onnxruntime<1.11.0,>=1.10.0", "opencv-python==4.5.1.48", "pillow<9.1.0,>=9.0.1", "protobuf<3.20.0,>=3.19.4", "psycopg2-binary==2.8.6", "pydantic<1.10.0,>=1.9.0", "pytest-cov==3.0.0", "pytest-icdiff==0.5", "pytest==7.1.0", "pytorch-lightning<1.6.0,>=1.5.10", "pyyaml<5.5.0,>=5.4.1", "requests<2.28.0,>=2.27.1", "rich<11.3.0,>=11.2.0", "s3fs<2022.3.0,>=2022.2.0", "s3transfer<0.6.0,>=0.5.2", "scikit-image<0.20.0,>=0.19.2", "scikit-learn<1.1.0,>=1.0.2", "scipy<1.9.0,>=1.8.0", "setuptools<59.6.0,>=59.5.0", "sqlalchemy<1.5.0,>=1.4.32", "starlette<0.18.0,>=0.17.1", "tensorboard<2.9.0,>=2.8.0", "torch<1.11.0,>=1.10.2", "torchvision<0.12.0,>=0.11.3", "tqdm<4.64.0,>=4.63.0", "wandb<0.13.0,>=0.12.11", "wheel<0.38.0,>=0.37.1" ], "requires_python": [ "==3.8.*" ], "resolver_version": "pip-2020-resolver", "style": "universal", "transitive": true, "use_pep517": null } ``` </details> Thanks @obendidi. The issue is over in Pex dealing with `nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_*` wheels which have a build tag (`4069477`) in their wheel filename: https://github.com/pantsbuild/pex/issues/1676 I'll get out a fix for that in Pex 2.1.73 with a paired Pants upgrade staged for 2.11.0rc1.
2022-03-22T20:19:29Z
[]
[]
Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3)
16,025
pantsbuild/pants
pantsbuild__pants-14880
15da8db4f25d54b30d50ca4e00c066ae642a099c
diff --git a/src/python/pants/backend/python/util_rules/pex_cli.py b/src/python/pants/backend/python/util_rules/pex_cli.py --- a/src/python/pants/backend/python/util_rules/pex_cli.py +++ b/src/python/pants/backend/python/util_rules/pex_cli.py @@ -39,9 +39,9 @@ class PexCli(TemplatedExternalTool): name = "pex" help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)." - default_version = "v2.1.72" + default_version = "v2.1.73" default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex" - version_constraints = ">=2.1.72,<3.0" + version_constraints = ">=2.1.73,<3.0" @classproperty def default_known_versions(cls): @@ -50,8 +50,8 @@ def default_known_versions(cls): ( cls.default_version, plat, - "fe5bd1fddf306e40d1828169dfd65c9faed98d2d98ebaba2753d99a91343014d", - "3723386", + "0f30b06c02743393b745497580a410d28055b0de022a27cbb8e460845a6ba1c9", + "3723175", ) ) for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64"]
Third party dependencies installation fail with bug using pex resolver in pants 2.11.0rc0 **Describe the bug** Using `pants@2.11.0rc0` and the pex resolver, lockfile generation works fine but the installation fails: ```sh 10:45:58.20 [INFO] Completed: Installing default.lock for the resolve `default` 10:45:58.20 [ERROR] 1 Exception encountered: ProcessExecutionFailure: Process 'Installing default.lock for the resolve `default`' failed with exit code 1. stdout: stderr: Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3) ``` **Pants version** 2.11.0rc0 **OS** ubuntu-20.04 **Additional info** Dependencies: ```toml [tool.poetry.dependencies] python = "~3.8" aio-pika = "~7.1.0" aiobotocore = "~2.1.2" aioredis = "~2.0.1" albumentations = "~1.1" alembic = "~1.7.7" anyio = "~3.5" awscli = "~1.22.24" boto3 = "~1.20.24" botocore = "~1.23.24" click = "~8.0.4" docstring-parser = "~0.13.0" fastapi = "~0.75.0" grpcio = "~1.44" hiredis = "~2.0.0" imageio = "~2.16.1" itsdangerous = "~2.1.1" javaobj-py3 = "~0.4.3" jpeg4py = "~0.1.4" jsonargparse = {extras = ["signatures"], version = "~4.4.0"} numpy = "~1.22.3" nvidia-dali-cuda110 = "~1.11.1" onnxruntime = "~1.10.0" opencv-python = "4.5.1.48" pillow = "~9.0.1" protobuf = "~3.19.4" psycopg2-binary = "2.8.6" pydantic = "~1.9.0" pytorch-lightning = "~1.5.10" pyyaml = "~5.4.1" requests = "~2.27.1" rich = "~11.2.0" s3fs = "~2022.2.0" s3transfer = "~0.5.2" scikit-image = "~0.19.2" scikit-learn = "~1.0.2" scipy = "~1.8.0" setuptools = "~59.5.0" sqlalchemy = "~1.4.32" starlette = "~0.17.1" tensorboard = "~2.8.0" torch = "~1.10.2" torchvision = "~0.11.3" tqdm = "~4.63.0" wandb = "~0.12.11" wheel = "~0.37.1" ``` pants.toml: ```toml ..... [python] interpreter_constraints = ["==3.8.*"] lockfile_generator = "pex" tailor_ignore_solitary_init_files = false enable_resolves = true default_resolve = "default" [python.resolves] default = "default.lock" [python-infer] inits = true [python-bootstrap] search_path = ["<PYENV>", "<PATH>"] [python-repos] indexes.add = ["https://developer.download.nvidia.com/compute/redist"] ```
@obendidi can you include the contents of default.lock? This will be very hard to debug without that. Sure: <details> <summary>default.lock</summary> ```js // This lockfile was autogenerated by Pants. To regenerate, run: // // ./pants generate-lockfiles --resolve=default // // --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE --- // { // "version": 2, // "valid_for_interpreter_constraints": [ // "CPython==3.8.*" // ], // "generated_with_requirements": [ // "aio-pika<7.2.0,>=7.1.0", // "aiobotocore<2.2.0,>=2.1.2", // "aioredis<2.1.0,>=2.0.1", // "albumentations<1.2.0,>=1.1", // "alembic<1.8.0,>=1.7.7", // "anyio<3.6.0,>=3.5", // "awscli<1.23.0,>=1.22.24", // "black==22.1.0", // "boto3<1.21.0,>=1.20.24", // "botocore<1.24.0,>=1.23.24", // "click<8.1.0,>=8.0.4", // "docstring-parser<0.14.0,>=0.13.0", // "fastapi<0.76.0,>=0.75.0", // "flake8==4.0.1", // "grpcio<1.45.0,>=1.44", // "hiredis<2.1.0,>=2.0.0", // "imageio<2.17.0,>=2.16.1", // "isort==5.10.1", // "itsdangerous<2.2.0,>=2.1.1", // "javaobj-py3<0.5.0,>=0.4.3", // "jpeg4py<0.2.0,>=0.1.4", // "jsonargparse[signatures]<4.5.0,>=4.4.0", // "mypy==0.930", // "numpy<1.23.0,>=1.22.3", // "nvidia-dali-cuda110<1.12.0,>=1.11.1", // "onnxruntime<1.11.0,>=1.10.0", // "opencv-python==4.5.1.48", // "pillow<9.1.0,>=9.0.1", // "protobuf<3.20.0,>=3.19.4", // "psycopg2-binary==2.8.6", // "pydantic<1.10.0,>=1.9.0", // "pytest-cov==3.0.0", // "pytest-icdiff==0.5", // "pytest==7.1.0", // "pytorch-lightning<1.6.0,>=1.5.10", // "pyyaml<5.5.0,>=5.4.1", // "requests<2.28.0,>=2.27.1", // "rich<11.3.0,>=11.2.0", // "s3fs<2022.3.0,>=2022.2.0", // "s3transfer<0.6.0,>=0.5.2", // "scikit-image<0.20.0,>=0.19.2", // "scikit-learn<1.1.0,>=1.0.2", // "scipy<1.9.0,>=1.8.0", // "setuptools<59.6.0,>=59.5.0", // "sqlalchemy<1.5.0,>=1.4.32", // "starlette<0.18.0,>=0.17.1", // "tensorboard<2.9.0,>=2.8.0", // "torch<1.11.0,>=1.10.2", // "torchvision<0.12.0,>=0.11.3", // "tqdm<4.64.0,>=4.63.0", // "wandb<0.13.0,>=0.12.11", // "wheel<0.38.0,>=0.37.1" // ] // } // --- END PANTS LOCKFILE METADATA --- { "allow_builds": true, "allow_prereleases": false, "allow_wheels": true, "build_isolation": true, "constraints": [], "locked_resolves": [ { "locked_requirements": [ { "artifacts": [ { "algorithm": "sha256", "hash": "84e6dcdc69c947d0c13e5457d056bd43cade4c2393dce00d684aedea77ddc2a3", "url": "https://files.pythonhosted.org/packages/2c/03/e3e19d3faf430ede32e41221b294e37952e06acc96781c417ac25d4a0324/absl_py-1.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ac511215c01ee9ae47b19716599e8ccfa746f2e18de72bdf641b79b22afa27ea", "url": "https://files.pythonhosted.org/packages/bc/44/3ab719b4fea06882351cd9f9582c15ba5b4d376992ac40c3ed377761a172/absl-py-1.0.0.tar.gz" } ], "project_name": "absl-py", "requires_dists": [ "six" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f7803c6b5ced5fe8b4c2119065c213283e3bccb035c13d88b0c256bbc3fe6cb6", "url": "https://files.pythonhosted.org/packages/40/4a/58001977a471696af67ce91e859d8c07878822f52c0398c06512c3d3d861/aio_pika-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dec14ddb7e22d04ddc46f656899f7f3a592431cb618719aa7e03dfe85311be17", "url": "https://files.pythonhosted.org/packages/17/c3/bc912ef97202bb888295d08ac48e7629e97ef496d8f027d7825db8195a00/aio-pika-7.1.0.tar.gz" } ], "project_name": "aio-pika", "requires_dists": [ "aiomisc~=15.6.8; extra == \"develop\"", "aiormq~=6.2.3", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "nox; extra == \"develop\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "shortuuid; extra == \"develop\"", "sphinx-autobuild; extra == \"develop\"", "sphinx; extra == \"develop\"", "timeout-decorator; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": "<4,>3.6", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "00fd7f43cc0484d8ed274fd0be492aa16a7fea679dbea96a602bb722ca4c2d22", "url": "https://files.pythonhosted.org/packages/4e/8d/01035d9b56893bd3b5d6eb4505d3ed1383d124b1c9c2b6024c175681c64b/aiobotocore-2.1.2.tar.gz" } ], "project_name": "aiobotocore", "requires_dists": [ "aiohttp>=3.3.1", "aioitertools>=0.5.1", "awscli<1.22.25,>=1.22.24; extra == \"awscli\"", "boto3<1.20.25,>=1.20.24; extra == \"boto3\"", "botocore<1.23.25,>=1.23.24", "wrapt>=1.10.10" ], "requires_python": ">=3.6", "version": "2.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "04d48b8ce6ab3cf2097b1855e1505181bdd05586ca275f2505514a6e274e8e75", "url": "https://files.pythonhosted.org/packages/e4/eb/2e5c66f6ab8bf1fa9743552ec49bd8deb9a8ad385545bbd60c8f50529e21/aiohttp-3.8.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "2ed076098b171573161eb146afcb9129b5ff63308960aeca4b676d9d3c35e700", "url": "https://files.pythonhosted.org/packages/17/ab/36da1a4b5d2685acdc84117b32588b1edb4033b40cfbdf27a219bd6a4c6d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "31d1e1c0dbf19ebccbfd62eff461518dcb1e307b195e93bba60c965a4dcf1ba0", "url": "https://files.pythonhosted.org/packages/20/0b/c077ca31bba80ed7c1c81a7505e7e339ef82ab3d9ee679c09b3ffb04cdd5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "11691cf4dc5b94236ccc609b70fec991234e7ef8d4c02dd0c9668d1e486f5abf", "url": "https://files.pythonhosted.org/packages/38/71/e1db3f96fa85f77906ef002a08fa8d02dbdb3292180d41eb1b17ddab72bf/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "589c72667a5febd36f1315aa6e5f56dd4aa4862df295cb51c769d16142ddd7cd", "url": "https://files.pythonhosted.org/packages/54/ab/5e5d0e042b9b149efd867eaaf4a6c94c51ccdf3f955564e0fce1dbfbcb4d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "bb01ba6b0d3f6c68b89fce7305080145d4877ad3acaed424bae4d4ee75faa950", "url": "https://files.pythonhosted.org/packages/55/a5/2912baebc80570a34a2103a34e3c65b84e93bcf20f6e09fbe335ce27e3cf/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "11a67c0d562e07067c4e86bffc1553f2cf5b664d6111c894671b2b8712f3aba5", "url": "https://files.pythonhosted.org/packages/58/54/f4c1bac24b2365c2eb8d5205822b3ea41e40e1c471060c2409b9dbf05be5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578", "url": "https://files.pythonhosted.org/packages/5a/86/5f63de7a202550269a617a5d57859a2961f3396ecd1739a70b92224766bc/aiohttp-3.8.1.tar.gz" }, { "algorithm": "sha256", "hash": "c3d6a4d0619e09dcd61021debf7059955c2004fa29f48788a3dfaf9c9901a7cd", "url": "https://files.pythonhosted.org/packages/5e/34/a5d2619c062e6fed7224fb920e93b1d8ad055bb3b1b544e754c864c978a0/aiohttp-3.8.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "8b7ef7cbd4fec9a1e811a5de813311ed4f7ac7d93e0fda233c9b3e1428f7dd7b", "url": "https://files.pythonhosted.org/packages/79/5c/573d590ebff44e927aa0820b194a46c15253808725f82f23aa13440808ef/aiohttp-3.8.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "844a9b460871ee0a0b0b68a64890dae9c415e513db0f4a7e3cab41a0f2fedf33", "url": "https://files.pythonhosted.org/packages/81/31/baf1ff4e36da246dc3ff2e0c12f2f7688b4f394ad21e29e3ef4ba864d035/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "44db35a9e15d6fe5c40d74952e803b1d96e964f683b5a78c3cc64eb177878155", "url": "https://files.pythonhosted.org/packages/9f/bc/5928e69637252150176b3604f7c386a9184358fcc7338c0b8c55a7908523/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0c7ebbbde809ff4e970824b2b6cb7e4222be6b95a296e46c03cf050878fc1785", "url": "https://files.pythonhosted.org/packages/cf/6a/acf689f13f39700cfa526f6bff2d10dfd29aa21cbc0d3a5cf0f153298a74/aiohttp-3.8.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "086f92daf51a032d062ec5f58af5ca6a44d082c35299c96376a41cbb33034675", "url": "https://files.pythonhosted.org/packages/ed/af/cf551e595af1979ba74c280d94aa0c351e634285608ac70cb6def374f661/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "7d08744e9bae2ca9c382581f7dce1273fe3c9bae94ff572c3626e8da5b193c6a", "url": "https://files.pythonhosted.org/packages/f1/ca/603261545a757915fb30446a9d7a394cd934865a8eac3c18ce638df90687/aiohttp-3.8.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "718626a174e7e467f0558954f94af117b7d4695d48eb980146016afa4b580b2e", "url": "https://files.pythonhosted.org/packages/ff/a6/184cd63b06ea05edfcfba946fed3da7afb2f0b7e3237fb1b2c056cce57f6/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "aiohttp", "requires_dists": [ "Brotli; extra == \"speedups\"", "aiodns; extra == \"speedups\"", "aiosignal>=1.1.2", "async-timeout<5.0,>=4.0.0a3", "asynctest==0.13.0; python_version < \"3.8\"", "attrs>=17.3.0", "cchardet; extra == \"speedups\"", "charset-normalizer<3.0,>=2.0", "frozenlist>=1.1.1", "idna-ssl>=1.0; python_version < \"3.7\"", "multidict<7.0,>=4.5", "typing-extensions>=3.7.4; python_version < \"3.8\"", "yarl<2.0,>=1.0" ], "requires_python": ">=3.6", "version": "3.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a2ea2a39ebf272a2fbb58bfdb73e1daeeb6686edbbc8082215dfc8b8ffffa6e8", "url": "https://files.pythonhosted.org/packages/b4/20/8af729fab3df6827407b060211ffffe79e0d220fba0c4f768de599f3cbe3/aioitertools-0.10.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7d1d1d4a03d462c5a0840787d3df098f125847e0d38b833b30f8f8cbc45a1420", "url": "https://files.pythonhosted.org/packages/c2/9c/36180745f894257a50b1473fa348daf996b959d66f5985bbc868e44ef3ee/aioitertools-0.10.0.tar.gz" } ], "project_name": "aioitertools", "requires_dists": [ "typing_extensions>=4.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9ac0d0b3b485d293b8ca1987e6de8658d7dafcca1cddfcd1d506cae8cdebfdd6", "url": "https://files.pythonhosted.org/packages/9b/a9/0da089c3ae7a31cbcd2dcf0214f6f571e1295d292b6139e2bac68ec081d0/aioredis-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eaa51aaf993f2d71f54b70527c440437ba65340588afeb786cd87c55c89cd98e", "url": "https://files.pythonhosted.org/packages/2e/cf/9eb144a0b05809ffc5d29045c4b51039000ea275bc1268d0351c9e7dfc06/aioredis-2.0.1.tar.gz" } ], "project_name": "aioredis", "requires_dists": [ "async-timeout", "hiredis>=1.0; implementation_name == \"cpython\" and extra == \"hiredis\"", "typing-extensions" ], "requires_python": ">=3.6", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "95f0da57edd55f214a2e6c5b7ac98fa58a7c33911acd0d3315e86926b2dd2605", "url": "https://files.pythonhosted.org/packages/aa/2b/e104ac73ea2679a90a41cb943f17034177179f5c225d5cea83910ac7ad25/aiormq-6.2.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db6c1e6e384f1d4dafe19f8df70c6dfc994932b40f4e542690016023ff8e952b", "url": "https://files.pythonhosted.org/packages/ed/e9/5d28ab240de260351b509441506a9ca93fc5c2ab081afb0ab7c5f663512d/aiormq-6.2.3.tar.gz" } ], "project_name": "aiormq", "requires_dists": [ "aiomisc~=11.0; extra == \"develop\"", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "pamqp==3.0.1; python_version < \"3.7\"", "pamqp==3.1.0; python_version >= \"3.7\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": ">=3.6", "version": "6.2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a", "url": "https://files.pythonhosted.org/packages/3b/87/fe94898f2d44a93a35d5aa74671ed28094d80753a1113d68b799fab6dc22/aiosignal-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2", "url": "https://files.pythonhosted.org/packages/27/6b/a89fbcfae70cf53f066ec22591938296889d3cc58fec1e1c393b10e8d71d/aiosignal-1.2.0.tar.gz" } ], "project_name": "aiosignal", "requires_dists": [ "frozenlist>=1.1.0" ], "requires_python": ">=3.6", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6acf78a5f9504bd36c4a8e18eed29f7103c2fa6a7ba5be399c6088820cc88a8a", "url": "https://files.pythonhosted.org/packages/75/27/a8b0a738f8423b7ef9d0c9f8e73d5867395dbdae563c1655e9548cf700b9/albumentations-1.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60b067b3093908bcc52adb2aa5d44f57ebdbb8ab57a47b0b42f3dc1d3b1ce824", "url": "https://files.pythonhosted.org/packages/c8/a2/ab0ddadd960b4caf824063783d24174119cbddae409ff99fbe6fd45c63ec/albumentations-1.1.0.tar.gz" } ], "project_name": "albumentations", "requires_dists": [ "PyYAML", "imgaug>=0.4.0; extra == \"develop\"", "imgaug>=0.4.0; extra == \"imgaug\"", "numpy>=1.11.1", "opencv-python-headless>=4.1.1", "pytest; extra == \"develop\"", "pytest; extra == \"tests\"", "qudida>=0.0.4", "scikit-image>=0.16.1", "scipy" ], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "29be0856ec7591c39f4e1cb10f198045d890e6e2274cf8da80cb5e721a09642b", "url": "https://files.pythonhosted.org/packages/b3/e2/8d48220731b7279911c43e95cd182961a703b939de6822b00de3ea0d3159/alembic-1.7.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4961248173ead7ce8a21efb3de378f13b8398e6630fab0eb258dc74a8af24c58", "url": "https://files.pythonhosted.org/packages/30/b9/5526b43a4c54d177ab14af0af4b5c31d73db33d1ad3e30976d3b023e0594/alembic-1.7.7.tar.gz" } ], "project_name": "alembic", "requires_dists": [ "Mako", "SQLAlchemy>=1.3.0", "importlib-metadata; python_version < \"3.9\"", "importlib-resources; python_version < \"3.9\"", "python-dateutil; extra == \"tz\"" ], "requires_python": ">=3.6", "version": "1.7.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e", "url": "https://files.pythonhosted.org/packages/b1/ae/9a8af72d6f0c551943903eefcf93c3a29898fb7b594603c0d70679c199b1/anyio-3.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6", "url": "https://files.pythonhosted.org/packages/4f/d0/b957c0679a9bd0ed334e2e584102f077c3e703f83d099464c3d9569b7c8a/anyio-3.5.0.tar.gz" } ], "project_name": "anyio", "requires_dists": [ "contextlib2; python_version < \"3.7\" and extra == \"test\"", "contextvars; python_version < \"3.7\"", "coverage[toml]>=4.5; extra == \"test\"", "dataclasses; python_version < \"3.7\"", "hypothesis>=4.0; extra == \"test\"", "idna>=2.8", "mock>=4; python_version < \"3.8\" and extra == \"test\"", "packaging; extra == \"doc\"", "pytest-mock>=3.6.1; extra == \"test\"", "pytest>=6.0; extra == \"test\"", "sniffio>=1.1", "sphinx-autodoc-typehints>=1.2.0; extra == \"doc\"", "sphinx-rtd-theme; extra == \"doc\"", "trio>=0.16; extra == \"trio\"", "trustme; extra == \"test\"", "typing-extensions; python_version < \"3.8\"", "uvloop<0.15; (python_version < \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"", "uvloop>=0.15; (python_version >= \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"" ], "requires_python": ">=3.6.2", "version": "3.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c", "url": "https://files.pythonhosted.org/packages/d6/c1/8991e7c5385b897b8c020cdaad718c5b087a6626d1d11a23e1ea87e325a7/async_timeout-4.0.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15", "url": "https://files.pythonhosted.org/packages/54/6e/9678f7b2993537452710ffb1750c62d2c26df438aa621ad5fa9d1507a43a/async-timeout-4.0.2.tar.gz" } ], "project_name": "async-timeout", "requires_dists": [ "typing-extensions>=3.6.5; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "4.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197", "url": "https://files.pythonhosted.org/packages/2c/a0/da5f49008ec6e9a658dbf5d7310a4debd397bce0b4db03cf8a410066bb87/atomicwrites-1.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a", "url": "https://files.pythonhosted.org/packages/55/8d/74a75635f2c3c914ab5b3850112fd4b0c8039975ecb320e4449aa363ba54/atomicwrites-1.4.0.tar.gz" } ], "project_name": "atomicwrites", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", "url": "https://files.pythonhosted.org/packages/be/be/7abce643bfdf8ca01c48afa2ddf8308c2308b0c3b239a44e57d020afa0ef/attrs-21.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd", "url": "https://files.pythonhosted.org/packages/d7/77/ebb15fc26d0f815839ecd897b919ed6d85c050feeb83e100e020df9153d2/attrs-21.4.0.tar.gz" } ], "project_name": "attrs", "requires_dists": [ "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"dev\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests_no_zope\"", "coverage[toml]>=5.0.2; extra == \"dev\"", "coverage[toml]>=5.0.2; extra == \"tests\"", "coverage[toml]>=5.0.2; extra == \"tests_no_zope\"", "furo; extra == \"dev\"", "furo; extra == \"docs\"", "hypothesis; extra == \"dev\"", "hypothesis; extra == \"tests\"", "hypothesis; extra == \"tests_no_zope\"", "mypy; extra == \"dev\"", "mypy; extra == \"tests\"", "mypy; extra == \"tests_no_zope\"", "pre-commit; extra == \"dev\"", "pympler; extra == \"dev\"", "pympler; extra == \"tests\"", "pympler; extra == \"tests_no_zope\"", "pytest-mypy-plugins; extra == \"dev\"", "pytest-mypy-plugins; extra == \"tests\"", "pytest-mypy-plugins; extra == \"tests_no_zope\"", "pytest>=4.3.0; extra == \"dev\"", "pytest>=4.3.0; extra == \"tests\"", "pytest>=4.3.0; extra == \"tests_no_zope\"", "six; extra == \"dev\"", "six; extra == \"tests\"", "six; extra == \"tests_no_zope\"", "sphinx-notfound-page; extra == \"dev\"", "sphinx-notfound-page; extra == \"docs\"", "sphinx; extra == \"dev\"", "sphinx; extra == \"docs\"", "zope.interface; extra == \"dev\"", "zope.interface; extra == \"docs\"", "zope.interface; extra == \"tests\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "21.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "87708701ccd390109bfa3c8f974a425fd0fce3abf7ef681a1fb889d1f6bb7a1f", "url": "https://files.pythonhosted.org/packages/0a/3c/c2d48f848050b66894ef0e95cf498f175d4d93bfc53a329bff80bd42d4cf/awscli-1.22.24-py3-none-any.whl" } ], "project_name": "awscli", "requires_dists": [ "PyYAML<5.5,>=3.10", "botocore==1.23.24", "colorama<0.4.4,>=0.2.5", "docutils<0.16,>=0.10", "rsa<4.8,>=3.1.2", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.22.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d", "url": "https://files.pythonhosted.org/packages/a5/59/bd6d44da2b364fd2bd7a0b2ce2edfe200b79faad1cde14ce5ef13d504393/black-22.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3", "url": "https://files.pythonhosted.org/packages/08/b2/dbd7330ffe13571e17b7f905f7639ba77f01282ff1ecd94f3278c50ebb32/black-22.1.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61", "url": "https://files.pythonhosted.org/packages/0b/7f/384cf21254346f4cd535fa8bf2531ff2b3f1307680199e28ea949c3ecb89/black-22.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912", "url": "https://files.pythonhosted.org/packages/3e/c4/95eea7bd67b37c54b7322ff3595fd3d679345e2b89ceca48fe3ec10df52c/black-22.1.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5", "url": "https://files.pythonhosted.org/packages/42/58/8a3443a5034685152270f9012a9d196c9f165791ed3f2777307708b15f6c/black-22.1.0.tar.gz" }, { "algorithm": "sha256", "hash": "6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd", "url": "https://files.pythonhosted.org/packages/66/83/47fa3811eea48edbbea09a07fd137f593e10af2f481f965855eb09a17e20/black-22.1.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3", "url": "https://files.pythonhosted.org/packages/9b/78/42a83acaf953b3ea5d6067c72f795a4df4b3eb540123cc2a59ec797d174b/black-22.1.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "black", "requires_dists": [ "aiohttp>=3.7.4; extra == \"d\"", "click>=8.0.0", "colorama>=0.4.3; extra == \"colorama\"", "dataclasses>=0.6; python_version < \"3.7\"", "ipython>=7.8.0; extra == \"jupyter\"", "mypy-extensions>=0.4.3", "pathspec>=0.9.0", "platformdirs>=2", "tokenize-rt>=3.2.0; extra == \"jupyter\"", "tomli>=1.1.0", "typed-ast>=1.4.2; python_version < \"3.8\" and implementation_name == \"cpython\"", "typing-extensions>=3.10.0.0; python_version < \"3.10\"", "uvloop>=0.15.2; extra == \"uvloop\"" ], "requires_python": ">=3.6.2", "version": "22.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8f08e8e94bf107c5e9866684e9aadf8d9f60abed0cfe5c1dba4e7328674a1986", "url": "https://files.pythonhosted.org/packages/4a/15/d854221077e22acd05c190778c29b14398bce0cee0fed34a6979d320546e/boto3-1.20.24-py3-none-any.whl" } ], "project_name": "boto3", "requires_dists": [ "botocore<1.24.0,>=1.23.24", "botocore[crt]<2.0a0,>=1.21.0; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.20.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e78d48c50c8c013fb9b362c6202fece2fe868edfd89b51968080180bdff41617", "url": "https://files.pythonhosted.org/packages/ef/05/cb9048c57f77ab9fa6970d2c88bd92471dc4ccc4bcf5b59c645db9cbdedc/botocore-1.23.24-py3-none-any.whl" } ], "project_name": "botocore", "requires_dists": [ "awscrt==0.12.5; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "python-dateutil<3.0.0,>=2.1", "urllib3<1.27,>=1.25.4" ], "requires_python": ">=3.6", "version": "1.23.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8fecd4203a38af17928be7b90689d8083603073622229ca7077b72d8e5a976e4", "url": "https://files.pythonhosted.org/packages/19/99/ace1769546388976b45e93445bb04c6df95e96363f03fbb56f916da5ebde/cachetools-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "486471dfa8799eb7ec503a8059e263db000cdda20075ce5e48903087f79d5fd6", "url": "https://files.pythonhosted.org/packages/ad/81/539036a8716b4e0a96f77540194bb1e863a24b8e9bc9ddd74e30f1653df5/cachetools-5.0.0.tar.gz" } ], "project_name": "cachetools", "requires_dists": [], "requires_python": "~=3.7", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569", "url": "https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872", "url": "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz" } ], "project_name": "certifi", "requires_dists": [], "requires_python": null, "version": "2021.10.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443", "url": "https://files.pythonhosted.org/packages/b6/15/a50bf922c5f025665a9671c5ef063c3f384303d422f6b1d3134510cc044e/cffi-1.15.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954", "url": "https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz" }, { "algorithm": "sha256", "hash": "0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20", "url": "https://files.pythonhosted.org/packages/25/ba/a1d3428797f25a42530adb2c8cce1655863b6a37ece63465a16b5e939a43/cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6", "url": "https://files.pythonhosted.org/packages/33/e7/afbae3b77e10929dd5ccdf9ae99c39ec4085148888ff4507000429937166/cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c", "url": "https://files.pythonhosted.org/packages/46/ab/b8dbd36f793cc3492ad26148e0ee0cad38fd47105ff30295e2cd88cc62e2/cffi-1.15.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880", "url": "https://files.pythonhosted.org/packages/5e/f0/693b6c7fea52d1afad55d1bfa3e5991a9075d98ac66330ab404dbc69ec8d/cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e", "url": "https://files.pythonhosted.org/packages/97/5b/88b6fde78749406ddd15ef89466927e688912ff9ff3248d9f41b4551362a/cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024", "url": "https://files.pythonhosted.org/packages/e5/fe/1dac7533ddb73767df8ba26183a9375dde2ee136aec7c92c9fb3038108e3/cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728", "url": "https://files.pythonhosted.org/packages/f5/7b/dba03f566c1966b2f23e95fbbe1b6d8e2b98450f0b779f2b5ce38470447f/cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" } ], "project_name": "cffi", "requires_dists": [ "pycparser" ], "requires_python": null, "version": "1.15" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df", "url": "https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597", "url": "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz" } ], "project_name": "charset-normalizer", "requires_dists": [ "unicodedata2; extra == \"unicode_backport\"" ], "requires_python": ">=3.5.0", "version": "2.0.12" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", "url": "https://files.pythonhosted.org/packages/4a/a8/0b2ced25639fb20cc1c9784de90a8c25f9504a7f18cd8b5397bd61696d7d/click-8.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb", "url": "https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz" } ], "project_name": "click", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-metadata; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "8.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff", "url": "https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl" } ], "project_name": "colorama", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9", "url": "https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60", "url": "https://files.pythonhosted.org/packages/60/48/a60f593447e8f0894ebb7f6e6c1f25dafc5e89c5879fdc9360ae93ff83f0/commonmark-0.9.1.tar.gz" } ], "project_name": "commonmark", "requires_dists": [ "flake8==3.7.8; extra == \"test\"", "future>=0.14.0; python_version < \"3\"", "hypothesis==3.55.3; extra == \"test\"" ], "requires_python": null, "version": "0.9.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "18d520c6860515a771708937d2f78f63cc47ab3b80cb78e86573b0a760161faf", "url": "https://files.pythonhosted.org/packages/93/20/cce510ad6ee47ad3e3a9993bc83eaa8df5aead5c0b68b769f10fc7daad45/coverage-6.3.2-pp36.pp37.pp38-none-any.whl" }, { "algorithm": "sha256", "hash": "fd9e830e9d8d89b20ab1e5af09b32d33e1a08ef4c4e14411e559556fd788e6b2", "url": "https://files.pythonhosted.org/packages/03/22/38506bc2af4fc49bb49cb76c52ed4523ff80277ad98fd46e981736419fb2/coverage-6.3.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "8fbbdc8d55990eac1b0919ca69eb5a988a802b854488c34b8f37f3e2025fa90d", "url": "https://files.pythonhosted.org/packages/0c/58/25b4d208e0f6f00e19440385f360dc9891f8fa5ab62c11da52eb226fd9cd/coverage-6.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9baff2a45ae1f17c8078452e9e5962e518eab705e50a0aa8083733ea7d45f3a6", "url": "https://files.pythonhosted.org/packages/0d/ac/31bb95db096b26455416aa8d8804a2a3ed93c60dc339b737b939f3f30b7b/coverage-6.3.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "07e6db90cd9686c767dcc593dff16c8c09f9814f5e9c51034066cad3373b914d", "url": "https://files.pythonhosted.org/packages/13/e5/eaec94d3037f4300a23303819f066b72cb0c18b7789505a0a56e1e765a8e/coverage-6.3.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "68353fe7cdf91f109fc7d474461b46e7f1f14e533e911a2a2cbb8b0fc8613cf1", "url": "https://files.pythonhosted.org/packages/1c/f7/3e6cdff1210a670793aad0f87e0bc357054431450893a867302c372da6c2/coverage-6.3.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7331dbf301b7289013175087636bbaf5b2405e57259dd2c42fdcc9fcc47325e", "url": "https://files.pythonhosted.org/packages/3a/f4/35d8789ec3d50d099ebdd3d7d062b58075135bdfa0fe93efded481407dec/coverage-6.3.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "03e2a7826086b91ef345ff18742ee9fc47a6839ccd517061ef8fa1976e652ce9", "url": "https://files.pythonhosted.org/packages/74/fb/f481628033d42f6f6021af8a9a13d913707221e139567f39b09b337421b9/coverage-6.3.2.tar.gz" }, { "algorithm": "sha256", "hash": "8cf5cfcb1521dc3255d845d9dca3ff204b3229401994ef8d1984b32746bb45ca", "url": "https://files.pythonhosted.org/packages/82/34/1920e7a59217c8bc841ad5de12813802e0db7cb5c6d6395acd1f9e78253b/coverage-6.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2c6dbb42f3ad25760010c45191e9757e7dce981cbfb90e42feef301d71540059", "url": "https://files.pythonhosted.org/packages/8e/39/d3bc33bea5180ed18feba96de51b5deba6e330e2fc3b487f3117fcf391bc/coverage-6.3.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c76aeef1b95aff3905fb2ae2d96e319caca5b76fa41d3470b19d4e4a3a313512", "url": "https://files.pythonhosted.org/packages/f2/45/824cb20113fa6a2bf97b6f4a592361a30460f8f24335e033f2d31ee1a487/coverage-6.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ec6bc7fe73a938933d4178c9b23c4e0568e43e220aef9472c4f6044bfc6dd0f0", "url": "https://files.pythonhosted.org/packages/fe/ae/1574d61ed41a8d82a5643affcd9beb7f626cbcab3d09c8a714054f670d75/coverage-6.3.2-cp38-cp38-musllinux_1_1_aarch64.whl" } ], "project_name": "coverage", "requires_dists": [ "tomli; extra == \"toml\"" ], "requires_python": ">=3.7", "version": "6.3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49", "url": "https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4", "url": "https://files.pythonhosted.org/packages/c5/e6/d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009/docker-pycreds-0.4.0.tar.gz" } ], "project_name": "docker-pycreds", "requires_dists": [ "six>=1.4.0" ], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "66dd7eac7232202bf220fd98a5f11491863c01f958a75fdd535c7eccac9ced78", "url": "https://files.pythonhosted.org/packages/e7/18/8476fa1363bf038caf7b88cab473c6f9a821a5886c98364bf43d6fdea8a7/docstring_parser-0.13.tar.gz" } ], "project_name": "docstring-parser", "requires_dists": [ "black; extra == \"test\"", "pytest; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.13" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6c4f696463b79f1fb8ba0c594b63840ebd41f059e92b31957c46b74a4599b6d0", "url": "https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99", "url": "https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61/docutils-0.15.2.tar.gz" } ], "project_name": "docutils", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.15.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "43d12891b78fc497a50623e9c7c24640c569489f060acd9ce2c4902080487a93", "url": "https://files.pythonhosted.org/packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "124774ce4cb3322841965f559669b233a0b8d343ea24fdd8b293253c077220d7", "url": "https://files.pythonhosted.org/packages/6d/0b/64ecaddaa9d6d4bbf40422664650f7ec45de9281306c69f22f16f92c510c/fastapi-0.75.0.tar.gz" } ], "project_name": "fastapi", "requires_dists": [ "anyio[trio]<4.0.0,>=3.2.1; extra == \"test\"", "autoflake<2.0.0,>=1.4.0; extra == \"dev\"", "black==21.9b0; extra == \"test\"", "databases[sqlite]<0.6.0,>=0.3.2; extra == \"test\"", "email_validator<2.0.0,>=1.1.1; extra == \"all\"", "email_validator<2.0.0,>=1.1.1; extra == \"test\"", "flake8<4.0.0,>=3.8.3; extra == \"dev\"", "flake8<4.0.0,>=3.8.3; extra == \"test\"", "flask<3.0.0,>=1.1.2; extra == \"test\"", "httpx<0.19.0,>=0.14.0; extra == \"test\"", "isort<6.0.0,>=5.0.6; extra == \"test\"", "itsdangerous<3.0.0,>=1.1.0; extra == \"all\"", "jinja2<4.0.0,>=2.11.2; extra == \"all\"", "mdx-include<2.0.0,>=1.4.1; extra == \"doc\"", "mkdocs-markdownextradata-plugin<0.3.0,>=0.1.7; extra == \"doc\"", "mkdocs-material<9.0.0,>=8.1.4; extra == \"doc\"", "mkdocs<2.0.0,>=1.1.2; extra == \"doc\"", "mypy==0.910; extra == \"test\"", "orjson<4.0.0,>=3.2.1; extra == \"all\"", "orjson<4.0.0,>=3.2.1; extra == \"test\"", "passlib[bcrypt]<2.0.0,>=1.7.2; extra == \"dev\"", "peewee<4.0.0,>=3.13.3; extra == \"test\"", "pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2", "pytest-cov<4.0.0,>=2.12.0; extra == \"test\"", "pytest<7.0.0,>=6.2.4; extra == \"test\"", "python-jose[cryptography]<4.0.0,>=3.3.0; extra == \"dev\"", "python-multipart<0.0.6,>=0.0.5; extra == \"all\"", "python-multipart<0.0.6,>=0.0.5; extra == \"test\"", "pyyaml<6.0.0,>=5.3.1; extra == \"all\"", "pyyaml<6.0.0,>=5.3.1; extra == \"doc\"", "requests<3.0.0,>=2.24.0; extra == \"all\"", "requests<3.0.0,>=2.24.0; extra == \"test\"", "sqlalchemy<1.5.0,>=1.3.18; extra == \"test\"", "starlette==0.17.1", "typer-cli<0.0.13,>=0.0.12; extra == \"doc\"", "types-dataclasses==0.1.7; extra == \"test\" and python_version < \"3.7\"", "types-orjson==3.6.0; extra == \"test\"", "types-ujson==0.1.1; extra == \"test\"", "ujson<5.0.0,>=4.0.1; extra == \"all\"", "ujson<5.0.0,>=4.0.1; extra == \"test\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"all\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"dev\"" ], "requires_python": ">=3.6.1", "version": "0.75" }, { "artifacts": [ { "algorithm": "sha256", "hash": "479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d", "url": "https://files.pythonhosted.org/packages/34/39/cde2c8a227abb4f9ce62fe55586b920f438f1d2903a1a22514d0b982c333/flake8-4.0.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d", "url": "https://files.pythonhosted.org/packages/e6/84/d8db922289195c435779b4ca3a3f583f263f87e67954f7b2e83c8da21f48/flake8-4.0.1.tar.gz" } ], "project_name": "flake8", "requires_dists": [ "importlib-metadata<4.3; python_version < \"3.8\"", "mccabe<0.7.0,>=0.6.0", "pycodestyle<2.9.0,>=2.8.0", "pyflakes<2.5.0,>=2.4.0" ], "requires_python": ">=3.6", "version": "4.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3751954f0604580d3219ae49a85fafec9d85eec599c0b96226e1bc0b48e57474", "url": "https://files.pythonhosted.org/packages/3d/d0/26033c70d642fbc1e35d3619cf3210986fb953c173b1226709f75056c149/flatbuffers-2.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "12158ab0272375eab8db2d663ae97370c33f152b27801fa6024e1d6105fd4dd2", "url": "https://files.pythonhosted.org/packages/10/41/09e9ab2134895b82466fada08b69b800f9a724bc81fcca3d4474ce48ffce/flatbuffers-2.0.tar.gz" } ], "project_name": "flatbuffers", "requires_dists": [], "requires_python": null, "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f20baa05eaa2bcd5404c445ec51aed1c268d62600362dc6cfe04fae34a424bd9", "url": "https://files.pythonhosted.org/packages/db/d7/a18b9586dbed333e7106497a863105b70f0f8b02be690cafbac728108c33/frozenlist-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "aff388be97ef2677ae185e72dc500d19ecaf31b698986800d3fc4f399a5e30a5", "url": "https://files.pythonhosted.org/packages/27/0f/e90231d20dc520d94977cc5f4aa22cc25f1f3f60984c0161cacc2455ac2c/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "30530930410855c451bea83f7b272fb1c495ed9d5cc72895ac29e91279401db3", "url": "https://files.pythonhosted.org/packages/27/bf/e5580ee57ff1d13369afa00f76041cddef1479302212bca2fc5e28b04a12/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "871d42623ae15eb0b0e9df65baeee6976b2e161d0ba93155411d58ff27483ad8", "url": "https://files.pythonhosted.org/packages/3b/76/3d7c273b91e6dc914859f8752d42b763f39ae83782ec9a063a526c816977/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "40dff8962b8eba91fd3848d857203f0bd704b5f1fa2b3fc9af64901a190bba08", "url": "https://files.pythonhosted.org/packages/41/c9/d6041d7c59e9e6300777362ac63fcaebe52c7529ce11e1fc3457e79c4a88/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "40ec383bc194accba825fbb7d0ef3dda5736ceab2375462f1d8672d9f6b68d07", "url": "https://files.pythonhosted.org/packages/58/a1/c7864e112750c9db984504410439162461f5c0e0defaf6cd4f691a6f1936/frozenlist-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e982878792c971cbd60ee510c4ee5bf089a8246226dea1f2138aa0bb67aff148", "url": "https://files.pythonhosted.org/packages/63/32/d294f2807bb9738ef817c536cea274ca92db09631c9bf5363006b9e0a0cb/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "006d3595e7d4108a12025ddf415ae0f6c9e736e726a5db0183326fd191b14c5e", "url": "https://files.pythonhosted.org/packages/67/9b/1d7d4600c554466b35c08710a685b595d734ac7a5ad435b62a41e523bc5b/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "8c905a5186d77111f02144fab5b849ab524f1e876a1e75205cd1386a9be4b00a", "url": "https://files.pythonhosted.org/packages/73/cb/f59ce1c5ed397ef2ad48f4ff275c88891b853d0958c0a3b3314a4d271247/frozenlist-1.3.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "9f892d6a94ec5c7b785e548e42722e6f3a52f5f32a8461e82ac3e67a3bd073f1", "url": "https://files.pythonhosted.org/packages/9f/95/781f7ab716cf0484808b41be6663e19fb1499478d985f9a4cb849126ab36/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "92e650bd09b5dda929523b9f8e7f99b24deac61240ecc1a32aeba487afcd970f", "url": "https://files.pythonhosted.org/packages/aa/4a/cf7d70fda15ca8db585a52fa56b46285284e5fe622ffb88ece85108fe5be/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2fdc3cd845e5a1f71a0c3518528bfdbfe2efaf9886d6f49eacc5ee4fd9a10953", "url": "https://files.pythonhosted.org/packages/c9/2e/459161a83044c8a823e3e8b50b949e30e13660db2e80b38ebc2484e65a21/frozenlist-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c6c321dd013e8fc20735b92cb4892c115f5cdb82c817b1e5b07f6b95d952b2f0", "url": "https://files.pythonhosted.org/packages/cb/33/df01f848ea55bdc3b9cf0abbbfa06b331f67af78c9ef1cf79d48e8ce2e04/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "b5009062d78a8c6890d50b4e53b0ddda31841b3935c1937e2ed8c1bda1c7fb9d", "url": "https://files.pythonhosted.org/packages/f0/f3/68f7ea79bfc62ad514179cdfeef7ed590be196643b552584064e326e10d7/frozenlist-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b", "url": "https://files.pythonhosted.org/packages/f4/f7/8dfeb76d2a52bcea2b0718427af954ffec98be1d34cd8f282034b3e36829/frozenlist-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "768efd082074bb203c934e83a61654ed4931ef02412c2fbdecea0cff7ecd0274", "url": "https://files.pythonhosted.org/packages/fc/8a/1ac3824da6435a042a43d5a8c68c53bb04acf0998338f85a4b0ccdd44465/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" } ], "project_name": "frozenlist", "requires_dists": [], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "eb9c9d9aee49d23028deefffe53e87c55d3515512c63f57e893710301001449a", "url": "https://files.pythonhosted.org/packages/b4/80/cd21f093faef23c03b9fc1274be7a3bfd63b809d2f06a1cff92e00cacfcc/fsspec-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "20322c659538501f52f6caa73b08b2ff570b7e8ea30a86559721d090e473ad5c", "url": "https://files.pythonhosted.org/packages/47/d1/53c0b8e6bd4082a7fdee652b96d30b4c433e277793da6e650eabe73fc2cb/fsspec-2022.2.0.tar.gz" } ], "project_name": "fsspec", "requires_dists": [ "adlfs; extra == \"abfs\"", "adlfs; extra == \"adl\"", "aiohttp; extra == \"http\"", "dask; extra == \"dask\"", "distributed; extra == \"dask\"", "dropbox; extra == \"dropbox\"", "dropboxdrivefs; extra == \"dropbox\"", "fusepy; extra == \"fuse\"", "gcsfs; extra == \"gcs\"", "gcsfs; extra == \"gs\"", "importlib-metadata; python_version < \"3.8\" and extra == \"entrypoints\"", "libarchive-c; extra == \"libarchive\"", "ocifs; extra == \"oci\"", "panel; extra == \"gui\"", "paramiko; extra == \"sftp\"", "paramiko; extra == \"ssh\"", "pyarrow>=1; extra == \"arrow\"", "pyarrow>=1; extra == \"hdfs\"", "pygit2; extra == \"git\"", "requests; extra == \"dropbox\"", "requests; extra == \"github\"", "requests; extra == \"http\"", "s3fs; extra == \"s3\"", "smbprotocol; extra == \"smb\"" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d", "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz" } ], "project_name": "future", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.18.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd", "url": "https://files.pythonhosted.org/packages/a3/7c/5d747655049bfbf75b5fcec57c8115896cb78d6fafa84f6d3ef4c0f13a98/gitdb-4.0.9-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa", "url": "https://files.pythonhosted.org/packages/fc/44/64e02ef96f20b347385f0e9c03098659cb5a1285d36c3d17c56e534d80cf/gitdb-4.0.9.tar.gz" } ], "project_name": "gitdb", "requires_dists": [ "smmap<6,>=3.0.1" ], "requires_python": ">=3.6", "version": "4.0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5b68b000463593e05ff2b261acff0ff0972df8ab1b70d3cdbd41b546c8b8fc3d", "url": "https://files.pythonhosted.org/packages/83/32/ce68915670da6fd6b1e3fb4b3554b4462512f6441dddd194fc0f4f6ec653/GitPython-3.1.27-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1c885ce809e8ba2d88a29befeb385fcea06338d3640712b59ca623c220bb5704", "url": "https://files.pythonhosted.org/packages/d6/39/5b91b6c40570dc1c753359de7492404ba8fe7d71af40b618a780c7ad1fc7/GitPython-3.1.27.tar.gz" } ], "project_name": "gitpython", "requires_dists": [ "gitdb<5,>=4.0.1", "typing-extensions>=3.7.4.3; python_version < \"3.8\"" ], "requires_python": ">=3.7", "version": "3.1.27" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3ba4d63cb29c1e6d5ffcc1c0623c03cf02ede6240a072f213084749574e691ab", "url": "https://files.pythonhosted.org/packages/21/6c/e784c6883689fae9d1c5f82d995ddc82c284daa514edd5ba67ea38d88341/google_auth-2.6.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60d449f8142c742db760f4c0be39121bc8d9be855555d784c252deaca1ced3f5", "url": "https://files.pythonhosted.org/packages/61/82/ff343c5917420acf0089d51355d1d693d724ac0be30d099a95e504af9920/google-auth-2.6.2.tar.gz" } ], "project_name": "google-auth", "requires_dists": [ "aiohttp<4.0.0dev,>=3.6.2; python_version >= \"3.6\" and extra == \"aiohttp\"", "cachetools<6.0,>=2.0.0", "enum34>=1.1.10; python_version < \"3.4\"", "pyasn1-modules>=0.2.1", "pyopenssl>=20.0.0; extra == \"pyopenssl\"", "pyu2f>=0.1.5; extra == \"reauth\"", "requests<3.0.0dev,>=2.20.0; extra == \"aiohttp\"", "rsa<4.6; python_version < \"3.6\"", "rsa<5,>=3.1.4; python_version >= \"3.6\"", "six>=1.9.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.6.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3f2a6e802eebbb6fb736a370fbf3b055edcb6b52878bf2f26330b5e041316c73", "url": "https://files.pythonhosted.org/packages/b1/0e/0636cc1448a7abc444fb1b3a63655e294e0d2d49092dc3de05241be6d43c/google_auth_oauthlib-0.4.6-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a90a072f6993f2c327067bf65270046384cda5a8ecb20b94ea9a687f1f233a7a", "url": "https://files.pythonhosted.org/packages/30/21/b84fa7ef834d4b126faad13da6e582c8f888e196326b9d6aab1ae303df4f/google-auth-oauthlib-0.4.6.tar.gz" } ], "project_name": "google-auth-oauthlib", "requires_dists": [ "click>=6.0.0; extra == \"tool\"", "google-auth>=1.0.0", "requests-oauthlib>=0.7.0" ], "requires_python": ">=3.6", "version": "0.4.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8d2f1fb53a421b410751887eb4ff21386d119ef9cde3797bf5e7ed49fb51a3b3", "url": "https://files.pythonhosted.org/packages/4e/33/2eb5b46e3f1f46b24ff09d04ff227520273820f6be9e2176ea5e39063b3f/greenlet-1.1.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f3acda1924472472ddd60c29e5b9db0cec629fbe3c5c5accb74d6d6d14773478", "url": "https://files.pythonhosted.org/packages/07/97/6f07d888c4fce65ec4fb2177e75d45e604789eb075a09946dd7e7f88e790/greenlet-1.1.2-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a", "url": "https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341/greenlet-1.1.2.tar.gz" }, { "algorithm": "sha256", "hash": "288c6a76705dc54fba69fbcb59904ae4ad768b4c768839b8ca5fdadec6dd8cfd", "url": "https://files.pythonhosted.org/packages/30/1c/5f4df8816093dbfc8ded8b53ab672223deeb39e9dec6a48aaf278c52df99/greenlet-1.1.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "00e44c8afdbe5467e4f7b5851be223be68adb4272f44696ee71fe46b7036a711", "url": "https://files.pythonhosted.org/packages/72/2d/53428626ef5cd9837701cfc49d2a60ecefe8e0737c345b5547b1d88dd739/greenlet-1.1.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "eb6ea6da4c787111adf40f697b4e58732ee0942b5d3bd8f435277643329ba627", "url": "https://files.pythonhosted.org/packages/a1/b6/949a07551279b770d49efe18e1a732a53a45cf76c5f5981ee6ebd17eab19/greenlet-1.1.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "ec8c433b3ab0419100bd45b47c9c8551248a5aee30ca5e9d399a0b57ac04651b", "url": "https://files.pythonhosted.org/packages/d4/00/7474a1f27efa5c023fe114d84801fe2ded66db2fa5e72253d698b9a95a2a/greenlet-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9633b3034d3d901f0a46b7939f8c4d64427dfba6bbc5a36b1a67364cf148a1b0", "url": "https://files.pythonhosted.org/packages/e7/b3/e4f84cd23ea46676dd88c514457ca0bad7a8efe40be76cffc009fed4b16e/greenlet-1.1.2-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "e859fcb4cbe93504ea18008d1df98dee4f7766db66c435e4882ab35cf70cac43", "url": "https://files.pythonhosted.org/packages/e8/2e/a8c9772f3adb294f015775547f990aa2d9c3e2dfdcddaa4e5a9d544a6a8c/greenlet-1.1.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2bde6792f313f4e918caabc46532aa64aa27a0db05d75b20edfc5c6f46479de2", "url": "https://files.pythonhosted.org/packages/f4/4d/52cdc4fb2d9c7a226c490a19373c32a837b38205abd10010c3ade0b011ca/greenlet-1.1.2-cp38-cp38-musllinux_1_1_x86_64.whl" } ], "project_name": "greenlet", "requires_dists": [ "Sphinx; extra == \"docs\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "13343e7b840c20f43b44f0e6d3bbdc037c964f0aec9735d7cb685c407731c9ff", "url": "https://files.pythonhosted.org/packages/d5/a1/0f893b9e639c89181d519e20f10373a176e666936feb634980c19f0132fb/grpcio-1.44.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bfd36b959c3c4e945119387baed1414ea46f7116886aa23de0172302b49d7ff1", "url": "https://files.pythonhosted.org/packages/4e/05/9975d04ecb33d94e2aa9fd60d6201d2faa294be74f14ec4cf048579fe315/grpcio-1.44.0-cp38-cp38-macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "36a7bdd6ef9bca050c7ade8cba5f0e743343ea0756d5d3d520e915098a9dc503", "url": "https://files.pythonhosted.org/packages/5b/92/a00eed89bae16e48644f514c842b1cc6deaf0f79cb7dcfeda2dc514e11af/grpcio-1.44.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "dc3290d0411ddd2bd49adba5793223de8de8b01588d45e9376f1a9f7d25414f4", "url": "https://files.pythonhosted.org/packages/61/0c/dcd6f8a86de1aa29c5f597be8a21311eeaa24b0fd6f040efe60000c58a38/grpcio-1.44.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4bae1c99896045d3062ab95478411c8d5a52cb84b91a1517312629fa6cfeb50e", "url": "https://files.pythonhosted.org/packages/65/75/8b706e1170e2c7b6242b1675259e47986bb4fc490f29387989a965972e6e/grpcio-1.44.0.tar.gz" }, { "algorithm": "sha256", "hash": "e898194f76212facbaeb6d7545debff29351afa23b53ff8f0834d66611af5139", "url": "https://files.pythonhosted.org/packages/ab/4a/d3b3bcdd3eba0b9a9b0bb9752a813fb856df6aa5061da3a2900f33c50762/grpcio-1.44.0-cp38-cp38-manylinux_2_17_aarch64.whl" }, { "algorithm": "sha256", "hash": "9075c0c003c1ff14ebce8f0ba55cc692158cb55c68da09cf8b0f9fc5b749e343", "url": "https://files.pythonhosted.org/packages/b4/6f/40ae3f63c944705d5ce31cec02dd8a5bf1898ebdf828269b8da97c47adfa/grpcio-1.44.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "19e54f0c7083c8332b5a75a9081fc5127f1dbb67b6c1a32bd7fe896ef0934918", "url": "https://files.pythonhosted.org/packages/c5/7a/35c847b757de67bef35b058049481ad970a4110094cc1ca523e6e9db46cb/grpcio-1.44.0-cp38-cp38-linux_armv7l.whl" }, { "algorithm": "sha256", "hash": "ccd388b8f37b19d06e4152189726ce309e36dc03b53f2216a4ea49f09a7438e6", "url": "https://files.pythonhosted.org/packages/c7/bc/9513390807ce0265c5a072345bd57da90173ea9f82d5744a25e433a5386a/grpcio-1.44.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "8fa6584046a7cf281649975a363673fa5d9c6faf9dc923f261cc0e56713b5892", "url": "https://files.pythonhosted.org/packages/f7/10/47060cd72e190f4cbe1a579cc5c15667b3a3fc5b479619198b570e4b5838/grpcio-1.44.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" } ], "project_name": "grpcio", "requires_dists": [ "enum34>=1.0.4; python_version < \"3.4\"", "futures>=2.2.0; python_version < \"3.2\"", "grpcio-tools>=1.44.0; extra == \"protobuf\"", "six>=1.5.2" ], "requires_python": ">=3.6", "version": "1.44" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65d653df249a2f95673976e4e9dd7ce10de61cfc6e64fa7eeaa6891a9559c581", "url": "https://files.pythonhosted.org/packages/4c/48/bc57d3b4047dd0d249577b4792c1b7043935cc41925e84a20d18f42005f9/hiredis-2.0.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a", "url": "https://files.pythonhosted.org/packages/0c/39/eae11344d69ba435ec13d6bcc1a9eea3d2278324506fcd0e52d1ed8958c8/hiredis-2.0.0.tar.gz" }, { "algorithm": "sha256", "hash": "7492af15f71f75ee93d2a618ca53fea8be85e7b625e323315169977fae752426", "url": "https://files.pythonhosted.org/packages/4b/aa/ba2ce23c9f953092439abc5b795aae72e5c9e5ee43023461aab04d97fccd/hiredis-2.0.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "dcef843f8de4e2ff5e35e96ec2a4abbdf403bd0f732ead127bd27e51f38ac298", "url": "https://files.pythonhosted.org/packages/77/f5/9c0b289fe1663c5511a915979d108bc302b671c0b4fcacd3ac7ee0bcebf6/hiredis-2.0.0-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f0055f1809b911ab347a25d786deff5e10e9cf083c3c3fd2dd04e8612e8d9db", "url": "https://files.pythonhosted.org/packages/85/75/9f1305aee73bb3ffe9f0f992e520d307ddb72e1ff3fc656e2799f0a44580/hiredis-2.0.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "11d119507bb54e81f375e638225a2c057dda748f2b1deef05c2b1a5d42686048", "url": "https://files.pythonhosted.org/packages/ae/5f/dcbe5f119641f6a2df99d5520b31b003599768bdd4911729d1ac2d016c5c/hiredis-2.0.0-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3dddf681284fe16d047d3ad37415b2e9ccdc6c8986c8062dbe51ab9a358b50a5", "url": "https://files.pythonhosted.org/packages/d1/27/af30a56ea77120d72cabef1bb00e7e73c8158d49db4e9b3974a269add85b/hiredis-2.0.0-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "87c7c10d186f1743a8fd6a971ab6525d60abd5d5d200f31e073cd5e94d7e7a9d", "url": "https://files.pythonhosted.org/packages/d6/20/be0addd761a2f1ccd772c4900fa2c281af107b59ccfb519fe0794212da8f/hiredis-2.0.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "294a6697dfa41a8cba4c365dd3715abc54d29a86a40ec6405d677ca853307cfb", "url": "https://files.pythonhosted.org/packages/e8/d0/4fb9094b104d28814932d17b4a5b987e569753166e25ff7dc8e3e36af539/hiredis-2.0.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "hiredis", "requires_dists": [], "requires_python": ">=3.6", "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c72572e5ce087bc7a7748af2664764d4a805897caeefb665bdc12677fefb2212", "url": "https://files.pythonhosted.org/packages/77/6c/d029e50e4ba5c4a357b30875e46f13304873ad8541c61bdd8bbdceda55bd/icdiff-2.0.4.tar.gz" } ], "project_name": "icdiff", "requires_dists": [], "requires_python": null, "version": "2.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff", "url": "https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d", "url": "https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz" } ], "project_name": "idna", "requires_dists": [], "requires_python": ">=3.5", "version": "3.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8d17c59b6f5f3b350bbbe346e7cb7dda0399b1881d93ad01cb29b5acdb24c42", "url": "https://files.pythonhosted.org/packages/29/24/a3a7aa7f1e7f1c3a5c9fe2ff3fec8d9d17e10741eafb710f06705744b35f/imageio-2.16.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2", "url": "https://files.pythonhosted.org/packages/1d/74/1c2972a6afdf215e8706c254a75ee5af6f30f1cfad1abb55dda5d1ca8701/imageio-2.16.1.tar.gz" } ], "project_name": "imageio", "requires_dists": [ "astropy; extra == \"fits\"", "astropy; extra == \"full\"", "black; extra == \"dev\"", "black; extra == \"full\"", "black; extra == \"linting\"", "flake8; extra == \"dev\"", "flake8; extra == \"full\"", "flake8; extra == \"linting\"", "fsspec[github]; extra == \"dev\"", "fsspec[github]; extra == \"full\"", "fsspec[github]; extra == \"test\"", "gdal; extra == \"full\"", "gdal; extra == \"gdal\"", "imageio-ffmpeg; extra == \"ffmpeg\"", "imageio-ffmpeg; extra == \"full\"", "invoke; extra == \"dev\"", "invoke; extra == \"full\"", "invoke; extra == \"test\"", "itk; extra == \"full\"", "itk; extra == \"itk\"", "numpy>=1.20.0", "numpydoc; extra == \"docs\"", "numpydoc; extra == \"full\"", "pillow>=8.3.2", "psutil; extra == \"ffmpeg\"", "psutil; extra == \"full\"", "pydata-sphinx-theme; extra == \"docs\"", "pydata-sphinx-theme; extra == \"full\"", "pytest-cov; extra == \"dev\"", "pytest-cov; extra == \"full\"", "pytest-cov; extra == \"test\"", "pytest; extra == \"dev\"", "pytest; extra == \"full\"", "pytest; extra == \"test\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"full\"", "tifffile; extra == \"full\"", "tifffile; extra == \"tifffile\"", "wheel; extra == \"build\"", "wheel; extra == \"full\"" ], "requires_python": ">=3.7", "version": "2.16.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6", "url": "https://files.pythonhosted.org/packages/92/f2/c48787ca7d1e20daa185e1b6b2d4e16acd2fb5e0320bc50ffc89b91fa4d7/importlib_metadata-4.11.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539", "url": "https://files.pythonhosted.org/packages/3e/1d/964b27278cfa369fbe9041f604ab09c6e99556f8b7910781b4584b428c2f/importlib_metadata-4.11.3.tar.gz" } ], "project_name": "importlib-metadata", "requires_dists": [ "flufl.flake8; extra == \"testing\"", "importlib-resources>=1.3; python_version < \"3.9\" and extra == \"testing\"", "ipython; extra == \"perf\"", "jaraco.packaging>=9; extra == \"docs\"", "packaging; extra == \"testing\"", "pyfakefs; extra == \"testing\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-perf>=0.9.2; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "typing-extensions>=3.6.4; python_version < \"3.8\"", "zipp>=0.5" ], "requires_python": ">=3.7", "version": "4.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45", "url": "https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b", "url": "https://files.pythonhosted.org/packages/b5/d8/51ace1c1ea6609c01c7f46ca2978e11821aa0efaaa7516002ef6df000731/importlib_resources-5.4.0.tar.gz" } ], "project_name": "importlib-resources", "requires_dists": [ "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "zipp>=3.1.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "5.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", "url": "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", "url": "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz" } ], "project_name": "iniconfig", "requires_dists": [], "requires_python": null, "version": "1.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7", "url": "https://files.pythonhosted.org/packages/b8/5b/f18e227df38b94b4ee30d2502fd531bebac23946a2497e5595067a561274/isort-5.10.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951", "url": "https://files.pythonhosted.org/packages/ab/e9/964cb0b2eedd80c92f5172f1f8ae0443781a9d461c1372a3ce5762489593/isort-5.10.1.tar.gz" } ], "project_name": "isort", "requires_dists": [ "colorama<0.5.0,>=0.4.3; extra == \"colors\"", "pip-api; extra == \"requirements_deprecated_finder\"", "pipreqs; extra == \"pipfile_deprecated_finder\" or extra == \"requirements_deprecated_finder\"", "requirementslib; extra == \"pipfile_deprecated_finder\"", "setuptools; extra == \"plugins\"" ], "requires_python": "<4.0,>=3.6.1", "version": "5.10.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "935642cd4b987cdbee7210080004033af76306757ff8b4c0a506a4b6e06f02cf", "url": "https://files.pythonhosted.org/packages/76/9b/88ac47681ba6af8ee994c9e83ecdfc0048df59f8f6df5c2f766998fe87e7/itsdangerous-2.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7b7d3023cd35d9cb0c1fd91392f8c95c6fa02c59bf8ad64b8849be3401b95afb", "url": "https://files.pythonhosted.org/packages/9d/86/39f81e23f49eaf62d22248d48771dbf3bce7c52dfdf566e3d8d4c0657f15/itsdangerous-2.1.1.tar.gz" } ], "project_name": "itsdangerous", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f6ac64cab49e282cf8171d4c479de413dedbbb1a69c64499648185f974080db3", "url": "https://files.pythonhosted.org/packages/4a/ab/756d5965665633b3c7dc252397e4c111da30235eaca68af204fe53f36d1b/javaobj_py3-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38f74db3a57e9998a9774e3614afb95cb396f139f29b3fdb130c5af554435259", "url": "https://files.pythonhosted.org/packages/66/d3/0e4fa237161b3a00eea031575f46ac052a79b0908982b52794d113f43813/javaobj-py3-0.4.3.tar.gz" } ], "project_name": "javaobj-py3", "requires_dists": [ "enum34; python_version <= \"3.4\"", "typing; python_version <= \"3.4\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f", "url": "https://files.pythonhosted.org/packages/07/cb/5f001272b6faeb23c1c9e0acc04d48eaaf5c862c17709d20e3469c6e0139/jmespath-0.10.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9", "url": "https://files.pythonhosted.org/packages/3c/56/3f325b1eef9791759784aa5046a8f6a1aff8f7c898a2e34506771d3b99d8/jmespath-0.10.0.tar.gz" } ], "project_name": "jmespath", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6", "url": "https://files.pythonhosted.org/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35", "url": "https://files.pythonhosted.org/packages/92/b9/9e3616e7e00c8165fb25175c53444533bdde05f3e974d45d9fcbbe451ee6/joblib-1.1.0.tar.gz" } ], "project_name": "joblib", "requires_dists": [], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cec3adcb110bd1391659670f2fe64d2a70a0218e84fdb7b08506107946d3bdb0", "url": "https://files.pythonhosted.org/packages/b4/b7/d06702a6f2fe907f8e1eb337334163f045c833db6710fb3acf47ca2460ee/jpeg4py-0.1.4.tar.gz" } ], "project_name": "jpeg4py", "requires_dists": [ "cffi", "numpy" ], "requires_python": null, "version": "0.1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1861e1f684810b4063471c680ed08435cc9e3d410daf80a41b72b789d2771e8e", "url": "https://files.pythonhosted.org/packages/a3/85/a8e62005dda7c0dcc65764011e7e4cca9de09f2ae3a92e6a42d997372713/jsonargparse-4.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aa58091d435c2ab44ad54873e952340e20ebb967f3dbfb28b3c604ac5938e1c5", "url": "https://files.pythonhosted.org/packages/d1/1a/01ebb65cfe5224f2f8657ba9df26dd3b974beab816aca139d54eafc55256/jsonargparse-4.4.0.tar.gz" } ], "project_name": "jsonargparse", "requires_dists": [ "PyYAML>=3.13", "Sphinx>=1.7.9; extra == \"doc\"", "argcomplete>=2.0.0; extra == \"all\"", "argcomplete>=2.0.0; extra == \"argcomplete\"", "autodocsumm>=0.1.10; extra == \"doc\"", "bump2version>=0.5.11; extra == \"dev\"", "contextvars>=2.4; python_version == \"3.6\"", "coverage>=4.5.1; extra == \"dev\"", "coverage>=4.5.1; extra == \"test\"", "coverage>=4.5.1; extra == \"test_no_urls\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"all\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"dataclasses\"", "docstring-parser>=0.7.3; extra == \"all\"", "docstring-parser>=0.7.3; extra == \"signatures\"", "fsspec>=0.8.4; extra == \"all\"", "fsspec>=0.8.4; extra == \"fsspec\"", "jsonnet>=0.13.0; extra == \"all\"", "jsonnet>=0.13.0; extra == \"jsonnet\"", "jsonschema>=3.2.0; extra == \"all\"", "jsonschema>=3.2.0; extra == \"jsonschema\"", "mypy>=0.701; extra == \"dev\"", "omegaconf>=2.1.1; extra == \"all\"", "omegaconf>=2.1.1; extra == \"omegaconf\"", "pycodestyle>=2.5.0; extra == \"dev\"", "pylint>=1.8.3; extra == \"dev\"", "reconplogger>=4.4.0; extra == \"all\"", "reconplogger>=4.4.0; extra == \"reconplogger\"", "requests>=2.18.4; extra == \"all\"", "requests>=2.18.4; extra == \"urls\"", "responses>=0.12.0; extra == \"dev\"", "responses>=0.12.0; extra == \"test\"", "ruyaml>=0.20.0; extra == \"all\"", "ruyaml>=0.20.0; extra == \"ruyaml\"", "sphinx-autodoc-typehints>=1.11.1; extra == \"doc\"", "sphinx-rtd-theme>=0.4.3; extra == \"doc\"", "twine>=3.1.1; extra == \"dev\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"all\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"typing_extensions\"", "validators>=0.14.2; extra == \"all\"", "validators>=0.14.2; extra == \"urls\"" ], "requires_python": ">=3.6", "version": "4.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "23aab11fdbbb0f1051b93793a58323ff937e98e34aece1c4219675122e57e4ba", "url": "https://files.pythonhosted.org/packages/6e/01/45ab9f723a93e0ca75fba4d2c266bb041120cb4215eab94f7c78743ac7ed/Mako-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9a7c7e922b87db3686210cf49d5d767033a41d4010b284e747682c92bddd8b39", "url": "https://files.pythonhosted.org/packages/50/ec/1d687348f0954bda388bfd1330c158ba8d7dea4044fc160e74e080babdb9/Mako-1.2.0.tar.gz" } ], "project_name": "mako", "requires_dists": [ "Babel; extra == \"babel\"", "MarkupSafe>=0.9.2", "importlib-metadata; python_version < \"3.8\"", "lingua; extra == \"lingua\"", "pytest; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9923332318f843411e9932237530df53162e29dc7a4e2b91e35764583c46c9a3", "url": "https://files.pythonhosted.org/packages/9f/d4/2c7f83915d437736996b2674300c6c4b578a6f897f34e40f5c04db146719/Markdown-3.3.6-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006", "url": "https://files.pythonhosted.org/packages/15/06/d60f21eda994b044cbd496892d4d4c5c708aa597fcaded7d421513cb219b/Markdown-3.3.6.tar.gz" } ], "project_name": "markdown", "requires_dists": [ "coverage; extra == \"testing\"", "importlib-metadata>=4.4; python_version < \"3.10\"", "pyyaml; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3.3.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7", "url": "https://files.pythonhosted.org/packages/2c/81/91062a81ac8a18f557f12e2618475b53878755c016c9914c8aa207155c4e/MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1", "url": "https://files.pythonhosted.org/packages/18/a6/913b1d80fe93f7c3aa79206544b98841616c3eaa7790f37bdfb9fc13311e/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b", "url": "https://files.pythonhosted.org/packages/1d/97/2288fe498044284f39ab8950703e88abbac2abbdf65524d576157af70556/MarkupSafe-2.1.1.tar.gz" }, { "algorithm": "sha256", "hash": "0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003", "url": "https://files.pythonhosted.org/packages/3c/d3/c7ab031b14ae4e83214949acee957a8fcf6a992698edff039ee1e77eb4e1/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88", "url": "https://files.pythonhosted.org/packages/68/b5/b3aafabe7e1f71aa64ffe32fd8c767fd7db1bb304d339d8df6f2fdd2543c/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925", "url": "https://files.pythonhosted.org/packages/69/60/08791e4a971ea976f0fd58fb916d76de7c962dc8e26430564258820ac21f/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1", "url": "https://files.pythonhosted.org/packages/6c/44/cd459988fe29cb82f0482fe6b6c47ec17ae700a500634edd876075d5e1ee/MarkupSafe-2.1.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452", "url": "https://files.pythonhosted.org/packages/92/7c/3c33294e506eafa7f1c40dd283089a45652ea0f073fc0ce24419d46bfe4b/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63", "url": "https://files.pythonhosted.org/packages/be/d8/5ab7f07d8f60155c4f12b4b2dca785355b8ee7e16b2d3f00c3830add5f10/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f", "url": "https://files.pythonhosted.org/packages/d3/4f/9ea1c0a7796f7f81371b40d32aa31766b76fbdba316abf888897042e6e0f/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601", "url": "https://files.pythonhosted.org/packages/fd/f4/524d2e8f5a3727cf309c2b7df7c732038375322df1376c9e9ef3aa92fcaf/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "markupsafe", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", "url": "https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f", "url": "https://files.pythonhosted.org/packages/06/18/fa675aa501e11d6d6ca0ae73a101b2f3571a565e0f7d38e062eec18a91ee/mccabe-0.6.1.tar.gz" } ], "project_name": "mccabe", "requires_dists": [], "requires_python": null, "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8004dca28e15b86d1b1372515f32eb6f814bdf6f00952699bdeb541691091f96", "url": "https://files.pythonhosted.org/packages/24/6d/9fb21688e47bb822a1b3b836f9d305ad8e4dee3c4818f4fcdaa499a0f50e/multidict-6.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd9fc9c4849a07f3635ccffa895d57abce554b467d611a5009ba4f39b78a8849", "url": "https://files.pythonhosted.org/packages/04/c2/fc03a56aeb5991c8f345c2c8d00b0262466ef38b8fa04c9f9efccf46b6a9/multidict-6.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "e5b20e9599ba74391ca0cfbd7b328fcc20976823ba19bc573983a25b32e92b57", "url": "https://files.pythonhosted.org/packages/1a/04/2c006bdd1550f9d8f966db6851ea829434bc6e186334fc11c39e059b6538/multidict-6.0.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e875b6086e325bab7e680e4316d667fc0e5e174bb5611eb16b3ea121c8951b86", "url": "https://files.pythonhosted.org/packages/24/6c/168e7222f6bb2df35fe323e54729aef2d1095dccf044f2ee66244b467a93/multidict-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "4070613ea2227da2bfb2c35a6041e4371b0af6b0be57f424fe2318b42a748516", "url": "https://files.pythonhosted.org/packages/47/26/cecae22c6edef06ba383644961d5963ecd0fdcf8a605f48788a1368de7ec/multidict-6.0.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "9cc57c68cb9139c7cd6fc39f211b02198e69fb90ce4bc4a094cf5fe0d20fd8b0", "url": "https://files.pythonhosted.org/packages/68/a8/729f85ce29323befe25efdff8cf03132a85fe2365e7baf7a4c71d99ce3e6/multidict-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "684133b1e1fe91eda8fa7447f137c9490a064c6b7f392aa857bba83a28cfb693", "url": "https://files.pythonhosted.org/packages/8f/39/a7e04961b4c00d68aba337e3fdef9fd4f666dcd98f41725067a1de5d3399/multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e07c8e79d6e6fd37b42f3250dba122053fddb319e84b55dd3a8d6446e1a7ee49", "url": "https://files.pythonhosted.org/packages/8f/cc/8eb3fe20d9104e41202fa2477c4d5b8ca47b5e47ef02a731c9e2ef917131/multidict-6.0.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "2957489cba47c2539a8eb7ab32ff49101439ccf78eab724c828c1a54ff3ff98d", "url": "https://files.pythonhosted.org/packages/92/19/c2b7660122624a1df587a457f6074ca325b6ffc316e699edddd16c8cb741/multidict-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "47fbeedbf94bed6547d3aa632075d804867a352d86688c04e606971595460227", "url": "https://files.pythonhosted.org/packages/a3/2e/f87e45cb76df62ac7f66c1c11f285c4d620dc2f6883f884212f0ffdc8c2b/multidict-6.0.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "89171b2c769e03a953d5969b2f272efa931426355b6c0cb508022976a17fd376", "url": "https://files.pythonhosted.org/packages/b4/7a/8ac06729f3f59d0272a1069c8f7bf8eda660f558a7d1825f0c7c00af9115/multidict-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "feea820722e69451743a3d56ad74948b68bf456984d63c1a92e8347b7b88452d", "url": "https://files.pythonhosted.org/packages/b5/3a/63c8ca310f9a1f9fe91e8237a48e75c0ce9146b0420d978e8e53801f2bb6/multidict-6.0.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "497988d6b6ec6ed6f87030ec03280b696ca47dbf0648045e4e1d28b80346560d", "url": "https://files.pythonhosted.org/packages/c0/90/04a6c0926d2f5dbb1e32ffabf94543619fdfc98cff00344a26c2e43ff03f/multidict-6.0.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "5774d9218d77befa7b70d836004a768fb9aa4fdb53c97498f4d8d3f67bb9cfa9", "url": "https://files.pythonhosted.org/packages/d6/4f/3b0518f32c50e5c9aa7f868423346a4a2c926fff33dfc6aea19bc92bc19a/multidict-6.0.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0327292e745a880459ef71be14e709aaea2f783f3537588fb4ed09b6c01bca60", "url": "https://files.pythonhosted.org/packages/e6/dc/7654159cea77f16cb60837f3629dd42ac348570256abd26bf2c1fee46ad9/multidict-6.0.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013", "url": "https://files.pythonhosted.org/packages/fa/a7/71c253cdb8a1528802bac7503bf82fe674367e4055b09c28846fdfa4ab90/multidict-6.0.2.tar.gz" } ], "project_name": "multidict", "requires_dists": [], "requires_python": ">=3.7", "version": "6.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bf4a44e03040206f7c058d1f5ba02ef2d1820720c88bc4285c7d9a4269f54173", "url": "https://files.pythonhosted.org/packages/1e/57/196ea2a730cc48fbeff9af4934f1f036c07cf7eb7b4e40a09226d8c51b31/mypy-0.930-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5feb56f8bb280468fe5fc8e6f56f48f99aa0df9eed3c507a11505ee4657b5380", "url": "https://files.pythonhosted.org/packages/3d/a6/b673ca62f3c3cb98a9d79537543e047956a6833ed99c60a2e938603ab525/mypy-0.930-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "1ea7199780c1d7940b82dbc0a4e37722b4e3851264dbba81e01abecc9052d8a7", "url": "https://files.pythonhosted.org/packages/48/5c/ca1b1a2617ae63118174da0a225168a2c1631c7303315f221b5be6f79afb/mypy-0.930-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "51426262ae4714cc7dd5439814676e0992b55bcc0f6514eccb4cf8e0678962c2", "url": "https://files.pythonhosted.org/packages/8e/79/116f9828cfb88904c94640c683ca1f24d9abc89c688e31d436eba82e09a1/mypy-0.930.tar.gz" }, { "algorithm": "sha256", "hash": "70b197dd8c78fc5d2daf84bd093e8466a2b2e007eedaa85e792e513a820adbf7", "url": "https://files.pythonhosted.org/packages/9b/2a/f61022b5f459eb667f4d7e78f05baa889b6751b9f4257e416cd9c5b88cb6/mypy-0.930-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "2e9c5409e9cb81049bb03fa1009b573dea87976713e3898561567a86c4eaee01", "url": "https://files.pythonhosted.org/packages/c0/5d/1833d72ada88bdbc78b2655e55c519889337a0ae744629bad9f0b2431ad3/mypy-0.930-cp38-cp38-win_amd64.whl" } ], "project_name": "mypy", "requires_dists": [ "mypy-extensions>=0.4.3", "psutil>=4.0; extra == \"dmypy\"", "tomli>=1.1.0", "typed-ast<2,>=1.4.0; extra == \"python2\"", "typed-ast<2,>=1.4.0; python_version < \"3.8\"", "typing-extensions>=3.10" ], "requires_python": ">=3.6", "version": "0.930" }, { "artifacts": [ { "algorithm": "sha256", "hash": "090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", "url": "https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8", "url": "https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f/mypy_extensions-0.4.3.tar.gz" } ], "project_name": "mypy-extensions", "requires_dists": [ "typing>=3.5.3; python_version < \"3.5\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e85d277c89681e8fa661cf5ff0743443445049b0b68789ad55ef09340c6e0", "url": "https://files.pythonhosted.org/packages/f6/34/4913f651b8e178dde5abcf8d62495e4dcd0757a9a6840f1b1f7a290afaea/networkx-2.7.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d1194ba753e5eed07cdecd1d23c5cd7a3c772099bd8dbd2fea366788cf4de7ba", "url": "https://files.pythonhosted.org/packages/9e/9e/3d67df5d543ffd743f4ccb12c9c90929e4f48136e3062e15a6d971d91202/networkx-2.7.1.tar.gz" } ], "project_name": "networkx", "requires_dists": [ "black==22.1; extra == \"developer\"", "codecov>=2.1; extra == \"test\"", "lxml>=4.6; extra == \"extra\"", "matplotlib>=3.4; extra == \"default\"", "mypy>=0.931; extra == \"developer\"", "nb2plots>=0.6; extra == \"doc\"", "numpy>=1.19; extra == \"default\"", "numpydoc>=1.2; extra == \"doc\"", "pandas>=1.3; extra == \"default\"", "pillow>=9.0; extra == \"doc\"", "pre-commit>=2.17; extra == \"developer\"", "pydata-sphinx-theme>=0.8; extra == \"doc\"", "pydot>=1.4.2; extra == \"extra\"", "pygraphviz>=1.9; extra == \"extra\"", "pytest-cov>=3.0; extra == \"test\"", "pytest>=7.0; extra == \"test\"", "pyupgrade>=2.31; extra == \"developer\"", "scipy>=1.8; extra == \"default\"", "sphinx-gallery>=0.10; extra == \"doc\"", "sphinx>=4.4; extra == \"doc\"", "texext>=0.6.6; extra == \"doc\"" ], "requires_python": ">=3.8", "version": "2.7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c34ea7e9d13a70bf2ab64a2532fe149a9aced424cd05a2c4ba662fd989e3e45f", "url": "https://files.pythonhosted.org/packages/d8/30/2facfdcee2f9af55e6a7277c089736edfce1144acb3ccffaf3cff8781058/numpy-1.22.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e7927a589df200c5e23c57970bafbd0cd322459aa7b1ff73b7c2e84d6e3eae62", "url": "https://files.pythonhosted.org/packages/2f/0d/5a0a0bb939f4cc6db6fe777a7221c7c33bf5f5a601f5abfc82692bb4b6aa/numpy-1.22.3-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "3ca688e1b9b95d80250bca34b11a05e389b1420d00e87a0d12dc45f131f704a1", "url": "https://files.pythonhosted.org/packages/38/c0/c45c5eb0e25247d5fbb333fd0b56e570ba21cf0e3dca3abad174fb780e8c/numpy-1.22.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "201b4d0552831f7250a08d3b38de0d989d6f6e4658b709a02a73c524ccc6ffce", "url": "https://files.pythonhosted.org/packages/52/d0/d7a200f2c3d6c6a879dbdc6d762c7dbed542527333ac9a6a72c8ffab9814/numpy-1.22.3-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "f8c1f39caad2c896bc0018f699882b345b2a63708008be29b1f355ebf6f933fe", "url": "https://files.pythonhosted.org/packages/5c/51/872b5c1f40c740e9ebdad87dca8bd42fc7cb5aafab14b96d3a83fca52fd3/numpy-1.22.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18", "url": "https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip" }, { "algorithm": "sha256", "hash": "568dfd16224abddafb1cbcce2ff14f522abe037268514dd7e42c6776a1c3f8e5", "url": "https://files.pythonhosted.org/packages/e1/f0/5c3cf38272793a610cc843052e58c93b40b424e2c4a933422cd0bd6391ba/numpy-1.22.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "07a8c89a04997625236c5ecb7afe35a02af3896c8aa01890a849913a2309c676", "url": "https://files.pythonhosted.org/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl" } ], "project_name": "numpy", "requires_dists": [], "requires_python": ">=3.8", "version": "1.22.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "daffbe3b4e95bdaec64cae6ea6a7dbb43ac8b6fddc8a7407598f18a83ec8fa79", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "5271f704e5a7e97a72e28f9585b9619f90223378ca9a9c7fe54cc38a1a5c75d4", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_aarch64.whl" } ], "project_name": "nvidia-dali-cuda110", "requires_dists": [], "requires_python": "<3.11,>=3.6", "version": "1.11.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6db33440354787f9b7f3a6dbd4febf5d0f93758354060e802f6c06cb493022fe", "url": "https://files.pythonhosted.org/packages/1d/46/5ee2475e1b46a26ca0fa10d3c1d479577fde6ee289f8c6aa6d7ec33e31fd/oauthlib-3.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "23a8208d75b902797ea29fd31fa80a15ed9dc2c6c16fe73f5d346f83f6fa27a2", "url": "https://files.pythonhosted.org/packages/6e/7e/a43cec8b2df28b6494a865324f0ac4be213cb2edcf1e2a717547a93279b0/oauthlib-3.2.0.tar.gz" } ], "project_name": "oauthlib", "requires_dists": [ "blinker>=1.4.0; extra == \"signals\"", "cryptography>=3.0.0; extra == \"rsa\"", "cryptography>=3.0.0; extra == \"signedtoken\"", "pyjwt<3,>=2.0.0; extra == \"signedtoken\"" ], "requires_python": ">=3.6", "version": "3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "df0c434f4a40212e87003b1b6f38a152d2f1d6447c261cd32c28434dd765c41c", "url": "https://files.pythonhosted.org/packages/70/b2/452b2bd78a4268b3b577d5c93cc02f39fc17a4135aa7df1ca92434e2a345/onnxruntime-1.10.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7265bcd62f154f891f745d96f686ed92a0c0ca5589dc14f9203ae847e932792", "url": "https://files.pythonhosted.org/packages/28/ff/89c572d8b62567a21ed7629e34d9379d68de848cb3cc2061fd5050334d53/onnxruntime-1.10.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "2419563e9fc4f5b7dedd4b70d2249a952001c33f3186b83212ad2a7a0824c9b4", "url": "https://files.pythonhosted.org/packages/56/f3/66ceb302edeadb4e0fd6839c43ce4d366cbd7ec8960873bd42137526dde7/onnxruntime-1.10.0-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "618c84c6bff73fd6dd6fcf304eb24a804df6c11f512ddead4cc73074b60012b8", "url": "https://files.pythonhosted.org/packages/59/08/8fd20460342de561b8964731e015a847efcee45c13d18e812bb337471e69/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3913769691f7f20e13070d65bfddd9f85f862274fcc17312c3b7d3fee8af21d8", "url": "https://files.pythonhosted.org/packages/8b/74/5b30ee067fba2228d0b6bbf5c8915cadc5ce98b4c97beba978b03128d344/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "onnxruntime", "requires_dists": [ "flatbuffers", "numpy>=1.16.6", "protobuf" ], "requires_python": null, "version": "1.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "30edebc81b260bcfeb760b3600c367c5261dfb2fe41e5d1408d5357d0867b40d", "url": "https://files.pythonhosted.org/packages/00/84/1c26cfa8d202c8c42fe9db27ea0925382b2ed8f16af5d7e5d93a62c780d8/opencv_python-4.5.1.48-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c1159d91f29a85c3333edef6ca420284566d9bcdae46dda2fe7282515b48c8b6", "url": "https://files.pythonhosted.org/packages/15/ed/dcfc6baea9b557d53668c54ac33733c9b0a1e2e651bec2870e5ceb513336/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "d16144c435b816c5536d5ff012c1a2b7e93155017db7103942ff7efb98c4df1f", "url": "https://files.pythonhosted.org/packages/2a/9a/ff309b530ac1b029bfdb9af3a95eaff0f5f45f6a2dbe37b3454ae8412f4c/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "78a6db8467639383caedf1d111da3510a4ee1a0aacf2117821cae2ee8f92ce37", "url": "https://files.pythonhosted.org/packages/bb/08/9dbc183a3ac6baa95fabf749ddb531bd26256edfff5b6c2195eca26258e9/opencv-python-4.5.1.48.tar.gz" }, { "algorithm": "sha256", "hash": "b2b9ac86aec5f2dd531545cebdea1a1ef4f81ef1fb1760d78b4725f9575504f9", "url": "https://files.pythonhosted.org/packages/ca/3a/dec2efcbfa1b0261915aa2e1a94d3f8f987e259c3872060973e8c17ce7d2/opencv_python-4.5.1.48-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ffc75c614b8dc3d8102f3ba15dafd6ec0400c7ffa71a91953d41511964ee50e0", "url": "https://files.pythonhosted.org/packages/f9/67/10a3659b93f0b1108d63841100fda017cf857bd4bb24fab2faa274991f5f/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "e77d0feaff37326f62b127098264e2a7099deb476e38432b1083ce11cdedf560", "url": "https://files.pythonhosted.org/packages/fb/2b/4d9d295e1d068314684cbab7b8596a215aa92eb66d1fedc5dfa05b997cb4/opencv_python-4.5.1.48-cp38-cp38-macosx_10_13_x86_64.whl" } ], "project_name": "opencv-python", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.6", "version": "4.5.1.48" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ca4f013fa958f60fb2327fe87e6127c1ac0ab536890b1d4b00847f417b7af1ba", "url": "https://files.pythonhosted.org/packages/00/72/c8a11b6139142e5aa94ce883520e2636591f570ed1270735bfbbccc0a8f6/opencv_python_headless-4.5.5.64-cp37-abi3-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "62e31878641a8f96e773118d1eea9f34bdda87c9990a0faab04ebaafb5ae015c", "url": "https://files.pythonhosted.org/packages/27/4e/275ca1020f9a3501d4012aeb5b4669c29ebc903be23355257dd1d8697a08/opencv_python_headless-4.5.5.64-cp36-abi3-macosx_10_15_x86_64.whl" }, { "algorithm": "sha256", "hash": "567a54c1919bcf5b3d20a9830e3c511e57134de8def286ce137c3544a892f98c", "url": "https://files.pythonhosted.org/packages/43/03/13447b012f11ed59948a1f09fc791bd2fbc32afca11a49eea75a4e683d1d/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "4bdf982574bf2fefc5f82c86df7cb42e56ad627874c7c0f4d94ecf4ae8885304", "url": "https://files.pythonhosted.org/packages/45/a3/c310868db16d71c716e8861850cca20f3f9379a12605bce88519d35b0586/opencv_python_headless-4.5.5.64-cp36-abi3-win32.whl" }, { "algorithm": "sha256", "hash": "a60e9ff48854ec37be391e19dd634883cc26c2f0f814e5325b3deca33420912c", "url": "https://files.pythonhosted.org/packages/9f/8c/3a1a159cd953f955b80a479a7cedf8ee88692b87884c05a74d20f04f6f3c/opencv_python_headless-4.5.5.64-cp36-abi3-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c3c2dda44d601757a508b07d628537c49f31223ad4edd0f747a70d4c852a7b98", "url": "https://files.pythonhosted.org/packages/b4/0e/eb390a76bff15ebc453c539bcc6bfdaff5b9ca9e566441dae45eb508a138/opencv-python-headless-4.5.5.64.tar.gz" }, { "algorithm": "sha256", "hash": "3f330468c29882dbbec5af25695c5e575572c6b855cb0f9fe53e14116fd46bfc", "url": "https://files.pythonhosted.org/packages/bf/3e/9dee09e56d42a0c01d7898ceaa6ed4a8fe2763c10d7bded91ef6362e6537/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "opencv-python-headless", "requires_dists": [ "numpy>=1.13.3; python_version < \"3.7\"", "numpy>=1.14.5; python_version >= \"3.7\"", "numpy>=1.17.3; python_version >= \"3.8\"", "numpy>=1.19.3; python_version >= \"3.6\" and platform_system == \"Linux\" and platform_machine == \"aarch64\"", "numpy>=1.19.3; python_version >= \"3.9\"", "numpy>=1.21.2; python_version >= \"3.10\"", "numpy>=1.21.2; python_version >= \"3.6\" and platform_system == \"Darwin\" and platform_machine == \"arm64\"" ], "requires_python": ">=3.6", "version": "4.5.5.64" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522", "url": "https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", "url": "https://files.pythonhosted.org/packages/df/9e/d1a7217f69310c1db8fdf8ab396229f55a699ce34a203691794c5d1cad0c/packaging-21.3.tar.gz" } ], "project_name": "packaging", "requires_dists": [ "pyparsing!=3.0.5,>=2.0.2" ], "requires_python": ">=3.6", "version": "21.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e4f0886d72c6166637a5513626148bf5a7e818073a558980e9aaed8b4ccf30da", "url": "https://files.pythonhosted.org/packages/43/42/1d2cb909afb055fcf2df5285f67eeec6ad16c138b83f1304808af81c31b7/pamqp-3.1.0.tar.gz" } ], "project_name": "pamqp", "requires_dists": [ "coverage; extra == \"testing\"", "flake8-comprehensions; extra == \"testing\"", "flake8-deprecated; extra == \"testing\"", "flake8-import-order; extra == \"testing\"", "flake8-print; extra == \"testing\"", "flake8-quotes; extra == \"testing\"", "flake8-rst-docstrings; extra == \"testing\"", "flake8-tuple; extra == \"testing\"", "flake8; extra == \"testing\"", "lxml; extra == \"codegen\"", "requests; extra == \"codegen\"", "yapf; extra == \"codegen\"", "yapf; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", "url": "https://files.pythonhosted.org/packages/42/ba/a9d64c7bcbc7e3e8e5f93a52721b377e994c22d16196e2b0f1236774353a/pathspec-0.9.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1", "url": "https://files.pythonhosted.org/packages/f6/33/436c5cb94e9f8902e59d1d544eb298b83c84b9ec37b5b769c5a0ad6edb19/pathspec-0.9.0.tar.gz" } ], "project_name": "pathspec", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0", "url": "https://files.pythonhosted.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-0.1.2.tar.gz" } ], "project_name": "pathtools", "requires_dists": [], "requires_python": null, "version": "0.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2632d0f846b7c7600edf53c48f8f9f1e13e62f66a6dbc15191029d950bfed976", "url": "https://files.pythonhosted.org/packages/d1/65/cdc3720f37d9dc89a899e69248ebfccd0302ddcccf6f9b012a10e35ccd6e/Pillow-9.0.1-1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa", "url": "https://files.pythonhosted.org/packages/03/a3/f61a9a7ff7969cdef2a6e0383a346eb327495d20d25a2de5a088dbb543a6/Pillow-9.0.1.tar.gz" }, { "algorithm": "sha256", "hash": "14d4b1341ac07ae07eb2cc682f459bec932a380c3b122f5540432d8977e64eae", "url": "https://files.pythonhosted.org/packages/18/7f/58f056f31358956f8aaaf042982693d96f3d35d5a9df94acecdabb1db6f8/Pillow-9.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f7609a718b177bf171ac93cea9fd2ddc0e03e84d8fa4e887bdfc39671d46b00", "url": "https://files.pythonhosted.org/packages/40/9f/5d958243bd15fc5f7ce863aff4ae68ee160b6c93bf421af9a64c8ec4c304/Pillow-9.0.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "effb7749713d5317478bb3acb3f81d9d7c7f86726d41c1facca068a04cf5bb4c", "url": "https://files.pythonhosted.org/packages/61/2f/e735faee35d14330734be50176b4b6743bd3e9da2e9fdbe32c403fc10610/Pillow-9.0.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "335ace1a22325395c4ea88e00ba3dc89ca029bd66bd5a3c382d53e44f0ccd77e", "url": "https://files.pythonhosted.org/packages/69/49/70ed4f05d8c16c0aeb5a6ff78985e06f37441ac98ebfce51cb7c7950f239/Pillow-9.0.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "db6d9fac65bd08cea7f3540b899977c6dee9edad959fa4eaf305940d9cbd861c", "url": "https://files.pythonhosted.org/packages/91/e2/32513a5a2401867763db4c1b8fc93d44e877b9b966185dd8814087ce96f7/Pillow-9.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "a9f44cd7e162ac6191491d7249cceb02b8116b0f7e847ee33f739d7cb1ea1f70", "url": "https://files.pythonhosted.org/packages/b2/c4/1ce69eef7d5d8167acdeda81749649efa9997329489bb7f4ad2bc0242fa6/Pillow-9.0.1-pp38-pypy38_pp73-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f154d173286a5d1863637a7dcd8c3437bb557520b01bddb0be0258dcb72696b5", "url": "https://files.pythonhosted.org/packages/c9/97/f4dc557509a12bb7cce044db0ab68e1025a774b466f87e8edd51471ba894/Pillow-9.0.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5b3f092fe345c03bca1e0b687dfbb39364b21ebb8ba90e3fa707374b7915204", "url": "https://files.pythonhosted.org/packages/f3/34/04170ba6c6c58d07806b75da4ed96d39d0ba63e36a6830118434e9da9542/Pillow-9.0.1-cp38-cp38-macosx_10_10_x86_64.whl" } ], "project_name": "pillow", "requires_dists": [], "requires_python": ">=3.7", "version": "9.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227", "url": "https://files.pythonhosted.org/packages/de/de/d8b9da351517c3dece273224522d4714cfdb9a89e2e6f7f7f054a340cc2b/platformdirs-2.5.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", "url": "https://files.pythonhosted.org/packages/33/66/61da40aa546141b0d70b37fe6bb4ef1200b4b4cb98849f131b58faa9a5d2/platformdirs-2.5.1.tar.gz" } ], "project_name": "platformdirs", "requires_dists": [ "Sphinx>=4; extra == \"docs\"", "appdirs==1.4.4; extra == \"test\"", "furo>=2021.7.5b38; extra == \"docs\"", "proselint>=0.10.2; extra == \"docs\"", "pytest-cov>=2.7; extra == \"test\"", "pytest-mock>=3.6; extra == \"test\"", "pytest>=6; extra == \"test\"", "sphinx-autodoc-typehints>=1.12; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "2.5.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3", "url": "https://files.pythonhosted.org/packages/9e/01/f38e2ff29715251cf25532b9082a1589ab7e4f571ced434f98d0139336dc/pluggy-1.0.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", "url": "https://files.pythonhosted.org/packages/a1/16/db2d7de3474b6e37cbb9c008965ee63835bba517e22cdb8c35b5116b5ce1/pluggy-1.0.0.tar.gz" } ], "project_name": "pluggy", "requires_dists": [ "importlib-metadata>=0.12; python_version < \"3.8\"", "pre-commit; extra == \"dev\"", "pytest-benchmark; extra == \"testing\"", "pytest; extra == \"testing\"", "tox; extra == \"dev\"" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b6b4dcdd0c0c0d75e4d7b2f21a9e933e5b2ce62b26e1a54537f9651ae5a5c01d", "url": "https://files.pythonhosted.org/packages/4e/d1/e4ed95fdd3ef13b78630280d9e9e240aeb65cc7c544ec57106149c3942fb/pprintpp-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea826108e2c7f49dc6d66c752973c3fc9749142a798d6b254e1e301cfdbc6403", "url": "https://files.pythonhosted.org/packages/06/1a/7737e7a0774da3c3824d654993cf57adc915cb04660212f03406334d8c0b/pprintpp-0.4.0.tar.gz" } ], "project_name": "pprintpp", "requires_dists": [], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0", "url": "https://files.pythonhosted.org/packages/cf/9c/fb5d48abfe5d791cd496e4242ebcf87a4bb2e0c3dcd6e0ae68c11426a528/promise-2.3.tar.gz" } ], "project_name": "promise", "requires_dists": [ "coveralls; extra == \"test\"", "futures; extra == \"test\"", "mock; extra == \"test\"", "pytest-asyncio; extra == \"test\"", "pytest-benchmark; extra == \"test\"", "pytest-cov; extra == \"test\"", "pytest>=2.7.3; extra == \"test\"", "six", "typing>=3.6.4; python_version < \"3.5\"" ], "requires_python": null, "version": "2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8961c3a78ebfcd000920c9060a262f082f29838682b1f7201889300c1fbe0616", "url": "https://files.pythonhosted.org/packages/c6/1c/f18d97fc479b4fb6f72bbb0e41188575362e3bbd31014cf294ef0fdec8bf/protobuf-3.19.4-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7ca7da9c339ca8890d66958f5462beabd611eca6c958691a8fe6eccbd1eb0c6e", "url": "https://files.pythonhosted.org/packages/11/8f/3703b61ee707fbd9ea683d1642392af41338b8cd71d7fda76fc002a7e939/protobuf-3.19.4-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "48ed3877fa43e22bcacc852ca76d4775741f9709dd9575881a373bd3e85e54b2", "url": "https://files.pythonhosted.org/packages/2a/b8/c8282a5ccabc8aa6b4478f38da26d711458638a56b1790008783ad588792/protobuf-3.19.4-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "69da7d39e39942bd52848438462674c463e23963a1fdaa84d88df7fbd7e749b2", "url": "https://files.pythonhosted.org/packages/34/af/4b3cdb20ac3ee72ad9ed528c8653dbd1cee029f23e44209def0703119270/protobuf-3.19.4-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "b38057450a0c566cbd04890a40edf916db890f2818e8682221611d78dc32ae26", "url": "https://files.pythonhosted.org/packages/5c/71/f54505f67e12ddfa96adce2ac889206ab218c5671a933429a56ae63d156f/protobuf-3.19.4-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "9df0c10adf3e83015ced42a9a7bd64e13d06c4cf45c340d2c63020ea04499d0a", "url": "https://files.pythonhosted.org/packages/6c/49/f864b9fd6310d9a15ddae5b37d78dff1df0e2e1da476442fee062c6032b2/protobuf-3.19.4.tar.gz" }, { "algorithm": "sha256", "hash": "bd95d1dfb9c4f4563e6093a9aa19d9c186bf98fa54da5252531cc0d3a07977e7", "url": "https://files.pythonhosted.org/packages/d5/c8/64de54ef0121a1ff6309f102124c6b5a89260dc584e1871341f5199b7b85/protobuf-3.19.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "protobuf", "requires_dists": [], "requires_python": ">=3.5", "version": "3.19.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3151a58f0fbd8942ba94f7c31c7e6b310d2989f4da74fcbf28b934374e9bf841", "url": "https://files.pythonhosted.org/packages/62/d4/72fc44dfd9939851bd672e94e43d12848a98b1d2c3f6f794d54a220fe4a7/psutil-5.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "1070a9b287846a21a5d572d6dddd369517510b68710fca56b0e9e02fd24bed9a", "url": "https://files.pythonhosted.org/packages/0a/66/b2188d8e738ee52206a4ee804907f6eab5bcc9fc0e8486e7ab973a8323b7/psutil-5.9.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25", "url": "https://files.pythonhosted.org/packages/47/b6/ea8a7728f096a597f0032564e8013b705aa992a0990becd773dcc4d7b4a7/psutil-5.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "b2237f35c4bbae932ee98902a08050a27821f8f6dfa880a47195e5993af4702d", "url": "https://files.pythonhosted.org/packages/4c/95/3c0858c62ec02106cf5f3e79d74223264a6269a16996f31d5ab43abcec86/psutil-5.9.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "c3400cae15bdb449d518545cbd5b649117de54e3596ded84aacabfbb3297ead2", "url": "https://files.pythonhosted.org/packages/89/8e/2a8814f903bc06471621f6e0cd3fc1a7085868656106f31aacf2f844eea2/psutil-5.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "76cebf84aac1d6da5b63df11fe0d377b46b7b500d892284068bacccf12f20666", "url": "https://files.pythonhosted.org/packages/d0/cf/7a86fc08f821d66c528939f155079df7d0945678fc474c6a6455c909f6eb/psutil-5.9.0-cp38-cp38-win32.whl" } ], "project_name": "psutil", "requires_dists": [ "enum34; python_version <= \"3.4\" and extra == \"test\"", "ipaddress; python_version < \"3.0\" and extra == \"test\"", "mock; python_version < \"3.0\" and extra == \"test\"", "pywin32; sys_platform == \"win32\" and extra == \"test\"", "unittest2; python_version < \"3.0\" and extra == \"test\"", "wmi; sys_platform == \"win32\" and extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6", "version": "5.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8cd0fb36c7412996859cb4606a35969dd01f4ea34d9812a141cd920c3b18be77", "url": "https://files.pythonhosted.org/packages/90/20/25f1ab5810e1956029b8941c938672bbd4c72bdbe6ae14d68d59aaf24f96/psycopg2_binary-2.8.6-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bd1be66dde2b82f80afb9459fc618216753f67109b859a361cf7def5c7968729", "url": "https://files.pythonhosted.org/packages/02/1b/549967f3ce5f6e3155380728dbb9d2844c286c7408e734db88d7b9c65847/psycopg2_binary-2.8.6-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ba381aec3a5dc29634f20692349d73f2d21f17653bda1decf0b52b11d694541f", "url": "https://files.pythonhosted.org/packages/2c/85/c26507efb110f5a91f503e517f1db55f12ebecb001ff224b2cea234a07ef/psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "2dac98e85565d5688e8ab7bdea5446674a83a3945a8f416ad0110018d1501b94", "url": "https://files.pythonhosted.org/packages/b5/5a/985969fb49617701ddf10b8c6b3f53a2ffd7feaaf598277a94d62401c4d9/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a0c50db33c32594305b0ef9abc0cb7db13de7621d2cadf8392a1d9b3c437ef77", "url": "https://files.pythonhosted.org/packages/b8/63/06e08c2c19737c305777806113491f0b2beeec94a3cf4844844ea1c20f86/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0", "url": "https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz" } ], "project_name": "psycopg2-binary", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.8.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378", "url": "https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", "url": "https://files.pythonhosted.org/packages/98/ff/fec109ceb715d2a6b4c4a85a61af3b40c723a961e8828319fbcb15b868dc/py-1.11.0.tar.gz" } ], "project_name": "py", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d", "url": "https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba", "url": "https://files.pythonhosted.org/packages/a4/db/fffec68299e6d7bad3d504147f9094830b704527a7fc098b721d38cc7fa7/pyasn1-0.4.8.tar.gz" } ], "project_name": "pyasn1", "requires_dists": [], "requires_python": null, "version": "0.4.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74", "url": "https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e", "url": "https://files.pythonhosted.org/packages/88/87/72eb9ccf8a58021c542de2588a867dbefc7556e14b2866d1e40e9e2b587e/pyasn1-modules-0.2.8.tar.gz" } ], "project_name": "pyasn1-modules", "requires_dists": [ "pyasn1<0.5.0,>=0.4.6" ], "requires_python": null, "version": "0.2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20", "url": "https://files.pythonhosted.org/packages/15/94/bc43a2efb7b8615e38acde2b6624cae8c9ec86faf718ff5676c5179a7714/pycodestyle-2.8.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f", "url": "https://files.pythonhosted.org/packages/08/dc/b29daf0a202b03f57c19e7295b60d1d5e1281c45a6f5f573e41830819918/pycodestyle-2.8.0.tar.gz" } ], "project_name": "pycodestyle", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", "url": "https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206", "url": "https://files.pythonhosted.org/packages/5e/0b/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de/pycparser-2.21.tar.gz" } ], "project_name": "pycparser", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.21" }, { "artifacts": [ { "algorithm": "sha256", "hash": "085ca1de245782e9b46cefcf99deecc67d418737a1fd3f6a4f511344b613a5b3", "url": "https://files.pythonhosted.org/packages/d4/4e/00724eebf52854e65dabe2c190b4842afbda0e09817f415683a3130a123c/pydantic-1.9.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5e48ef4a8b8c066c4a31409d91d7ca372a774d0212da2787c0d32f8045b1e034", "url": "https://files.pythonhosted.org/packages/04/dc/5105af75c5c91d776d4f427949b5a06dcec7f6053c2d509c1b24f6ac6385/pydantic-1.9.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "e0896200b6a40197405af18828da49f067c2fa1f821491bc8f5bde241ef3f7d7", "url": "https://files.pythonhosted.org/packages/25/49/6df23c8b5ffbac37c9d41260249be1c948ed430eecbf372a96d1068f0230/pydantic-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "c556695b699f648c58373b542534308922c46a1cda06ea47bc9ca45ef5b39ae6", "url": "https://files.pythonhosted.org/packages/29/76/abb6ece4dcba641e86dcd3a50b63420b388160e5751d90ae2fc5bb9c17e3/pydantic-1.9.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "96f240bce182ca7fe045c76bcebfa0b0534a1bf402ed05914a6f1dadff91877f", "url": "https://files.pythonhosted.org/packages/5f/ca/ec4b2597b7ace79a05300a2e7eff8713b55745312b2acc89f74bf73f8dfc/pydantic-1.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742645059757a56ecd886faf4ed2441b9c0cd406079c2b4bee51bcc3fbcd510a", "url": "https://files.pythonhosted.org/packages/60/a3/23a8a9378ff06853bda6527a39fe317b088d760adf41cf70fc0f6110e485/pydantic-1.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "574936363cd4b9eed8acdd6b80d0143162f2eb654d96cb3a8ee91d3e64bf4cf9", "url": "https://files.pythonhosted.org/packages/78/b0/fdedac2f07344035607bfbf42217c103a6421e7845fc3cb9fd07f3fa0d2e/pydantic-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "f947352c3434e8b937e3aa8f96f47bdfe6d92779e44bb3f41e4c213ba6a32145", "url": "https://files.pythonhosted.org/packages/9f/86/fdc1381a7f8473a6d96c197b71b47a936ed3a6db28a167a19736c9749cd9/pydantic-1.9.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "7bdfdadb5994b44bd5579cfa7c9b0e1b0e540c952d56f627eb227851cda9db77", "url": "https://files.pythonhosted.org/packages/d6/17/08817636de348f6621349ebaf7a046d7df3aa1f4927dea1f504604cfd13d/pydantic-1.9.0-cp38-cp38-macosx_11_0_arm64.whl" } ], "project_name": "pydantic", "requires_dists": [ "dataclasses>=0.6; python_version < \"3.7\"", "email-validator>=1.0.3; extra == \"email\"", "python-dotenv>=0.10.4; extra == \"dotenv\"", "typing-extensions>=3.7.4.3" ], "requires_python": ">=3.6.1", "version": "1.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5dd8c4c0535854b6a52936d1256883a940e3b02006fc7118b53027c0acde181", "url": "https://files.pythonhosted.org/packages/a2/17/ff7ec2752f53ea245499b23ee64e76d12f45fcde7a5b1b445f9c58cd1ec0/pyDeprecate-0.3.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fa26870924d3475621c344045c2c01a16ba034113a902600c78e75b3fac5f72c", "url": "https://files.pythonhosted.org/packages/1b/93/bf1ab43f9306a6972762abc12104cd5b35d1e93f2a85cf4ab08a19ccf71b/pyDeprecate-0.3.1.tar.gz" } ], "project_name": "pydeprecate", "requires_dists": [], "requires_python": ">=3.6", "version": "0.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e", "url": "https://files.pythonhosted.org/packages/43/fb/38848eb494af7df9aeb2d7673ace8b213313eb7e391691a79dbaeb6a838f/pyflakes-2.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c", "url": "https://files.pythonhosted.org/packages/15/60/c577e54518086e98470e9088278247f4af1d39cb43bcbd731e2c307acd6a/pyflakes-2.4.0.tar.gz" } ], "project_name": "pyflakes", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65", "url": "https://files.pythonhosted.org/packages/1d/17/ed4d2df187995561b28f1073df24137cb750e12f9879d291cc8ab67c65d2/Pygments-2.11.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a", "url": "https://files.pythonhosted.org/packages/94/9c/cb656d06950268155f46d4f6ce25d7ffc51a0da47eadf1b164bbf23b718b/Pygments-2.11.2.tar.gz" } ], "project_name": "pygments", "requires_dists": [], "requires_python": ">=3.5", "version": "2.11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484", "url": "https://files.pythonhosted.org/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", "url": "https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b/pyparsing-3.0.7.tar.gz" } ], "project_name": "pyparsing", "requires_dists": [ "jinja2; extra == \"diagrams\"", "railroad-diagrams; extra == \"diagrams\"" ], "requires_python": ">=3.6", "version": "3.0.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b555252a95bbb2a37a97b5ac2eb050c436f7989993565f5e0c9128fcaacadd0e", "url": "https://files.pythonhosted.org/packages/36/e6/dea2b8cd72cf0600f3c2572fb5a48b01aa8e8fd8703c830dab972036c34c/pytest-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47", "url": "https://files.pythonhosted.org/packages/6e/1c/5a8a4ae3548eaa9a082a25cd6118f166d6bbe440300b3c57c4904cc47935/pytest-7.1.0.tar.gz" } ], "project_name": "pytest", "requires_dists": [ "argcomplete; extra == \"testing\"", "atomicwrites>=1.0; sys_platform == \"win32\"", "attrs>=19.2.0", "colorama; sys_platform == \"win32\"", "hypothesis>=3.56; extra == \"testing\"", "importlib-metadata>=0.12; python_version < \"3.8\"", "iniconfig", "mock; extra == \"testing\"", "nose; extra == \"testing\"", "packaging", "pluggy<2.0,>=0.12", "py>=1.8.2", "pygments>=2.7.2; extra == \"testing\"", "requests; extra == \"testing\"", "tomli>=1.0.0", "xmlschema; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6", "url": "https://files.pythonhosted.org/packages/20/49/b3e0edec68d81846f519c602ac38af9db86e1e71275528b3e814ae236063/pytest_cov-3.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470", "url": "https://files.pythonhosted.org/packages/61/41/e046526849972555928a6d31c2068410e47a31fb5ab0a77f868596811329/pytest-cov-3.0.0.tar.gz" } ], "project_name": "pytest-cov", "requires_dists": [ "coverage[toml]>=5.2.1", "fields; extra == \"testing\"", "hunter; extra == \"testing\"", "process-tests; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=4.6", "six; extra == \"testing\"", "virtualenv; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a14097f4385665cb04330e6ae09a3dd430375f717e94482af6944470ad5f100", "url": "https://files.pythonhosted.org/packages/1b/8b/52cbf350699f5264eadd06355237648306487a9137874f00147647e4f87a/pytest-icdiff-0.5.tar.gz" } ], "project_name": "pytest-icdiff", "requires_dists": [ "icdiff", "pprintpp", "pytest" ], "requires_python": ">=3.6", "version": "0.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9", "url": "https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", "url": "https://files.pythonhosted.org/packages/4c/c4/13b4776ea2d76c115c1d1b84579f3764ee6d57204f6be27119f13a61d0a9/python-dateutil-2.8.2.tar.gz" } ], "project_name": "python-dateutil", "requires_dists": [ "six>=1.5" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "2.8.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c86ed633ce8d25667797635db3ea1fe9fe6b51121d43d7031d5bdb4c5b046895", "url": "https://files.pythonhosted.org/packages/18/f1/f59b307f75db1886c96e396eec878501510677394868680b8d2b8b58c47c/pytorch_lightning-1.5.10-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "119e5a0ad0678444c0bbf95755da571e5e372ab12df7c6115ddd26e364a8ddfa", "url": "https://files.pythonhosted.org/packages/de/84/88b3bdc376d671c8ac165758a10ddb6ae1a3e034f78d75a96a1b8fdc644d/pytorch-lightning-1.5.10.tar.gz" } ], "project_name": "pytorch-lightning", "requires_dists": [ "PyYAML>=5.1", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"cpu\"", "cloudpickle>=1.3; extra == \"dev\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"cpu\"", "codecov>=2.1; extra == \"dev\"", "codecov>=2.1; extra == \"test\"", "comet-ml>=3.1.12; extra == \"all\"", "comet-ml>=3.1.12; extra == \"cpu\"", "comet-ml>=3.1.12; extra == \"dev\"", "comet-ml>=3.1.12; extra == \"loggers\"", "coverage<6.3,>5.2.0; extra == \"all\"", "coverage<6.3,>5.2.0; extra == \"cpu\"", "coverage<6.3,>5.2.0; extra == \"dev\"", "coverage<6.3,>5.2.0; extra == \"test\"", "flake8>=3.9.2; extra == \"all\"", "flake8>=3.9.2; extra == \"cpu\"", "flake8>=3.9.2; extra == \"dev\"", "flake8>=3.9.2; extra == \"test\"", "fsspec[http]!=2021.06.0,>=2021.05.0", "future>=0.17.1", "gcsfs>=2021.5.0; extra == \"all\"", "gcsfs>=2021.5.0; extra == \"cpu\"", "gcsfs>=2021.5.0; extra == \"cpu-extra\"", "gcsfs>=2021.5.0; extra == \"dev\"", "gcsfs>=2021.5.0; extra == \"extra\"", "gym>=0.17.0; extra == \"all\"", "gym>=0.17.0; extra == \"cpu\"", "gym>=0.17.0; extra == \"examples\"", "horovod>=0.21.2; extra == \"all\"", "horovod>=0.21.2; extra == \"dev\"", "horovod>=0.21.2; extra == \"extra\"", "hydra-core>=1.0.5; extra == \"all\"", "hydra-core>=1.0.5; extra == \"cpu\"", "hydra-core>=1.0.5; extra == \"cpu-extra\"", "hydra-core>=1.0.5; extra == \"dev\"", "hydra-core>=1.0.5; extra == \"extra\"", "ipython[all]; extra == \"all\"", "ipython[all]; extra == \"cpu\"", "ipython[all]; extra == \"examples\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"all\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu-extra\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"dev\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"extra\"", "matplotlib>3.1; extra == \"all\"", "matplotlib>3.1; extra == \"cpu\"", "matplotlib>3.1; extra == \"cpu-extra\"", "matplotlib>3.1; extra == \"dev\"", "matplotlib>3.1; extra == \"extra\"", "mlflow>=1.0.0; extra == \"all\"", "mlflow>=1.0.0; extra == \"cpu\"", "mlflow>=1.0.0; extra == \"dev\"", "mlflow>=1.0.0; extra == \"loggers\"", "mypy>=0.920; extra == \"all\"", "mypy>=0.920; extra == \"cpu\"", "mypy>=0.920; extra == \"dev\"", "mypy>=0.920; extra == \"test\"", "neptune-client>=0.10.0; extra == \"all\"", "neptune-client>=0.10.0; extra == \"cpu\"", "neptune-client>=0.10.0; extra == \"dev\"", "neptune-client>=0.10.0; extra == \"loggers\"", "numpy>=1.17.2", "omegaconf>=2.0.5; extra == \"all\"", "omegaconf>=2.0.5; extra == \"cpu\"", "omegaconf>=2.0.5; extra == \"cpu-extra\"", "omegaconf>=2.0.5; extra == \"dev\"", "omegaconf>=2.0.5; extra == \"extra\"", "onnxruntime; extra == \"all\"", "onnxruntime; extra == \"cpu\"", "onnxruntime; extra == \"dev\"", "onnxruntime; extra == \"test\"", "packaging>=17.0", "pandas; extra == \"all\"", "pandas; extra == \"cpu\"", "pandas; extra == \"dev\"", "pandas; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"cpu\"", "pre-commit>=1.0; extra == \"dev\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.1", "pytest-rerunfailures>=10.2; extra == \"all\"", "pytest-rerunfailures>=10.2; extra == \"cpu\"", "pytest-rerunfailures>=10.2; extra == \"dev\"", "pytest-rerunfailures>=10.2; extra == \"test\"", "pytest>=6.0; extra == \"all\"", "pytest>=6.0; extra == \"cpu\"", "pytest>=6.0; extra == \"dev\"", "pytest>=6.0; extra == \"test\"", "rich>=10.2.2; extra == \"all\"", "rich>=10.2.2; extra == \"cpu\"", "rich>=10.2.2; extra == \"cpu-extra\"", "rich>=10.2.2; extra == \"dev\"", "rich>=10.2.2; extra == \"extra\"", "scikit-learn>0.22.1; extra == \"all\"", "scikit-learn>0.22.1; extra == \"cpu\"", "scikit-learn>0.22.1; extra == \"dev\"", "scikit-learn>0.22.1; extra == \"test\"", "setuptools==59.5.0", "tensorboard>=2.2.0", "test-tube>=0.7.5; extra == \"all\"", "test-tube>=0.7.5; extra == \"cpu\"", "test-tube>=0.7.5; extra == \"dev\"", "test-tube>=0.7.5; extra == \"loggers\"", "torch>=1.7.*", "torchmetrics>=0.4.1", "torchtext>=0.8.*; extra == \"all\"", "torchtext>=0.8.*; extra == \"cpu\"", "torchtext>=0.8.*; extra == \"cpu-extra\"", "torchtext>=0.8.*; extra == \"dev\"", "torchtext>=0.8.*; extra == \"extra\"", "torchvision>=0.8.*; extra == \"all\"", "torchvision>=0.8.*; extra == \"cpu\"", "torchvision>=0.8.*; extra == \"examples\"", "tqdm>=4.41.0", "twine==3.2; extra == \"all\"", "twine==3.2; extra == \"cpu\"", "twine==3.2; extra == \"dev\"", "twine==3.2; extra == \"test\"", "typing-extensions", "wandb>=0.8.21; extra == \"all\"", "wandb>=0.8.21; extra == \"cpu\"", "wandb>=0.8.21; extra == \"dev\"", "wandb>=0.8.21; extra == \"loggers\"" ], "requires_python": ">=3.6", "version": "1.5.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3383d106fa8da0c2df30401ad056cd7a11b76d885f4bfa16ca7bcc6b4ca2831c", "url": "https://files.pythonhosted.org/packages/28/53/d8eaf1ffe27fb239c61c1b73a8f936bc7e66632b8cab08b5bdedb9fdeda5/PyWavelets-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "a555a7a85da01357d8258cb45f751881f69013f8920f8738718c60cf8a47b755", "url": "https://files.pythonhosted.org/packages/09/80/a85831bbf6dcd886435726822b972de7bd533fc0e71bb9a205d02d71684a/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "a51225d24811ba7ef5184c03bb7072db0aa9651c4370a115d4069dedfb8d2f7a", "url": "https://files.pythonhosted.org/packages/25/2c/eae94f875a0f6a60baa3907563c0c685bc17d23cae1b92fa5404d66adbd2/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "cbaa9d62052d9daf8da765fc8e7c30c38ea2b8e9e1c18841913dfb4aec671ee5", "url": "https://files.pythonhosted.org/packages/32/ab/b96b19cae562aecaa57f0cdb501be169a38ec685ddcc91f1de20f849b22e/PyWavelets-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "307ab8a4c3e5c2b8f7d3d371de4a5f019cf4b030b897c3394a4a7ad157369367", "url": "https://files.pythonhosted.org/packages/3c/f4/b14e863a7f4b146c090d9c70cd130938c4616fbc02877eef4fc747abe6a5/PyWavelets-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "d7369597e1b1d125eb4b458a36cef052beed188444e55ed21445c1196008e200", "url": "https://files.pythonhosted.org/packages/4b/20/04a0a3e43a45a459c2bcde756833b2eca9430729e89d65da35f70e99e997/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "69e9a46facf89b51e5700d10f6d831f29745471c1ab42917f2f849a257b9fd77", "url": "https://files.pythonhosted.org/packages/96/e2/a4c51bb664f3605ef7a1ca644606fd95e8ea416519585f863a99ecb7678b/PyWavelets-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "27e99818d3c26481de3c68dbe880a7fcafe661cc031b22eff4a64237fe17a7ff", "url": "https://files.pythonhosted.org/packages/a8/37/f2ed3819e8d4091cb021f9fcdb30c4266cb0625c0a34e8678e6d66fde6f1/PyWavelets-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8a5941d1f4eb1bc9569c655b63ecb31aa15b3ef0fc9b57df275892c39bccc59e", "url": "https://files.pythonhosted.org/packages/ea/16/f74ccb794053560dcb0a50d65f29c9c607ca9d8859ed4489e5a6df671303/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_universal2.whl" } ], "project_name": "pywavelets", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0f5f5786c0e09baddcd8b4b45f20a7b5d61a7e7e99846e3c799b05c7c53fa696", "url": "https://files.pythonhosted.org/packages/97/d3/24097209f6af04fcdbb40500480a0feaa62164e60bca4c9532f0e9354e47/PyYAML-5.4.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd7f6999a8070df521b6384004ef42833b9bd62cfee11a09bda1079b4b704247", "url": "https://files.pythonhosted.org/packages/06/2f/c03b2b7e6fcda2793f751c82bd2c488d4bd064720edffa2fdda9a422bec2/PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "fa5ae20527d8e831e8230cbffd9f8fe952815b2b7dae6ffec25318803a7528fc", "url": "https://files.pythonhosted.org/packages/42/55/8f1ccdce64a42eb72d5509057d53badfeaa08814cea4d1d11cadaa2d2b3d/PyYAML-5.4.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8c1be557ee92a20f184922c7b6424e8ab6691788e6d86137c5d93c1a6ec1b8fb", "url": "https://files.pythonhosted.org/packages/70/96/c7245e551b1cb496bfb95840ace55ca60f20d3d8e33d70faf8c78a976899/PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e", "url": "https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz" }, { "algorithm": "sha256", "hash": "d2d9808ea7b4af864f35ea216be506ecec180628aced0704e34aca0b040ffe46", "url": "https://files.pythonhosted.org/packages/cb/3f/2f35751408c0b2a425aa48dd79301a48418858d3366f84c75d1aa42b6e2d/PyYAML-5.4.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "bfb51918d4ff3d77c1c856a9699f8492c612cde32fd3bcd344af9be34999bfdc", "url": "https://files.pythonhosted.org/packages/d6/0d/4820527144e18e35488e6253a8b886ed0b90491fb8fff48c11ff71542529/PyYAML-5.4.1-cp38-cp38-manylinux2014_s390x.whl" } ], "project_name": "pyyaml", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "5.4.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4519714c40cd0f2e6c51e1735edae8f8b19f4efe1f33be13e9d644ca5f736dd6", "url": "https://files.pythonhosted.org/packages/f0/a1/a5f4bebaa31d109003909809d88aeb0d4b201463a9ea29308d9e4f9e7655/qudida-0.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db198e2887ab0c9aa0023e565afbff41dfb76b361f85fd5e13f780d75ba18cc8", "url": "https://files.pythonhosted.org/packages/3e/2d/bab8babd9dc9a9e4df6eb115540cee4322c1a74078fb6f3b3ebc452a22b3/qudida-0.0.4.tar.gz" } ], "project_name": "qudida", "requires_dists": [ "numpy>=0.18.0", "opencv-python-headless>=4.0.1", "scikit-learn>=0.19.1", "typing-extensions" ], "requires_python": ">=3.5.0", "version": "0.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d", "url": "https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61", "url": "https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz" } ], "project_name": "requests", "requires_dists": [ "PySocks!=1.5.7,>=1.5.6; extra == \"socks\"", "certifi>=2017.4.17", "chardet<5,>=3.0.2; extra == \"use_chardet_on_py3\"", "chardet<5,>=3.0.2; python_version < \"3\"", "charset-normalizer~=2.0.0; python_version >= \"3\"", "idna<3,>=2.5; python_version < \"3\"", "idna<4,>=2.5; python_version >= \"3\"", "urllib3<1.27,>=1.21.1", "win-inet-pton; (sys_platform == \"win32\" and python_version == \"2.7\") and extra == \"socks\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.27.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2577c501a2fb8d05a304c09d090d6e47c306fef15809d102b327cf8364bddab5", "url": "https://files.pythonhosted.org/packages/6f/bb/5deac77a9af870143c684ab46a7934038a53eb4aa975bc0687ed6ca2c610/requests_oauthlib-1.3.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "75beac4a47881eeb94d5ea5d6ad31ef88856affe2332b9aafb52c6452ccf0d7a", "url": "https://files.pythonhosted.org/packages/95/52/531ef197b426646f26b53815a7d2a67cb7a331ef098bb276db26a68ac49f/requests-oauthlib-1.3.1.tar.gz" } ], "project_name": "requests-oauthlib", "requires_dists": [ "oauthlib>=3.0.0", "oauthlib[signedtoken]>=3.0.0; extra == \"rsa\"", "requests>=2.0.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d5f49ad91fb343efcae45a2b2df04a9755e863e50413623ab8c9e74f05aee52b", "url": "https://files.pythonhosted.org/packages/74/41/6adf6aeb9b3d4a058a82fd053cbb6824432269caa0998574cb766c555287/rich-11.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a6266a5738115017bb64a66c59c717e7aa047b3ae49a011ede4abdeffc6536e", "url": "https://files.pythonhosted.org/packages/72/de/b3a53cf1dfdbdc124e8110a60d6c6da8e39d4610c82491fc862383960552/rich-11.2.0.tar.gz" } ], "project_name": "rich", "requires_dists": [ "colorama<0.5.0,>=0.4.0", "commonmark<0.10.0,>=0.9.0", "dataclasses<0.9,>=0.7; python_version < \"3.7\"", "ipywidgets<8.0.0,>=7.5.1; extra == \"jupyter\"", "pygments<3.0.0,>=2.6.0", "typing-extensions<5.0,>=3.7.4; python_version < \"3.8\"" ], "requires_python": "<4.0.0,>=3.6.2", "version": "11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "78f9a9bf4e7be0c5ded4583326e7461e3a3c5aae24073648b4bdfa797d78c9d2", "url": "https://files.pythonhosted.org/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9", "url": "https://files.pythonhosted.org/packages/db/b5/475c45a58650b0580421746504b680cd2db4e81bc941e94ca53785250269/rsa-4.7.2.tar.gz" } ], "project_name": "rsa", "requires_dists": [ "pyasn1>=0.1.3" ], "requires_python": "<4,>=3.5", "version": "4.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "62cc021e4b192942cb51667a4b5299e948476f318838df7a693ed7a3628fcb8d", "url": "https://files.pythonhosted.org/packages/ff/10/683249cebdb8893fefdc08d8260eba7f4bacc908281b54f01f25f679ae32/s3fs-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4611d0f7e41e5bc9dac3009070e0ad37da87a42f6def75b4813c06f7e404a738", "url": "https://files.pythonhosted.org/packages/68/8d/f04b74e58637399e57f2da566553a07b1370d45b798e0a15ae34aa1db01a/s3fs-2022.2.0.tar.gz" } ], "project_name": "s3fs", "requires_dists": [ "aiobotocore[awscli]~=2.1.0; extra == \"awscli\"", "aiobotocore[boto3]~=2.1.0; extra == \"boto3\"", "aiobotocore~=2.1.0", "aiohttp<=4", "fsspec==2022.02.0" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7a6f4c4d1fdb9a2b640244008e142cbc2cd3ae34b386584ef044dd0f27101971", "url": "https://files.pythonhosted.org/packages/7b/9c/f51775ebe7df5a7aa4e7c79ed671bde94e154bd968aca8d65bb24aba0c8c/s3transfer-0.5.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "95c58c194ce657a5f4fb0b9e60a84968c808888aed628cd98ab8771fe1db98ed", "url": "https://files.pythonhosted.org/packages/7e/19/f82e4af435a19b28bdbfba63f338ea20a264f4df4beaf8f2ab9bfa34072b/s3transfer-0.5.2.tar.gz" } ], "project_name": "s3transfer", "requires_dists": [ "botocore<2.0a.0,>=1.12.36", "botocore[crt]<2.0a.0,>=1.20.29; extra == \"crt\"" ], "requires_python": ">=3.6", "version": "0.5.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0f294ed7f0ea1e90fb6c764d04b8c298096b3403fad7539b9c6f22777d879c6", "url": "https://files.pythonhosted.org/packages/97/b0/3476439c9d4a85e3040bb3a5645fe32013bd41537eb3dab5efd048602fc1/scikit_image-0.19.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d3d0a85c6f53f0d4f704e67b35b3e8c6570846ec37eaeb1ca0f47a1088708cb8", "url": "https://files.pythonhosted.org/packages/38/51/28cd7d4b98a3c4ab0a920ecdc28148f2f6fd7748e5da19fa827acd8317d0/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "aa40f84383961a1a4afebb92f373e42a3d86e2540f012a4f7d2661a417f9e995", "url": "https://files.pythonhosted.org/packages/4d/a1/f1cce8ac5c244f75d196f937b87f7aae6096862e79c8ae4f0b6b643a449e/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "d2c022044eb762d3f03ed6e08a3e06c067953393036e4ca2bf16b0bffde36acb", "url": "https://files.pythonhosted.org/packages/7b/45/bc519bbc94fb3ef52c816a17709d7875bbd5028ba0071b4c798a86f550ee/scikit_image-0.19.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "d433b4642a6f8219e749dfbbe4b5e742d560996540c9749ede510274d061866d", "url": "https://files.pythonhosted.org/packages/83/7d/756dcbf1f2fcbfd60e14842aeadefa2354eff714ed4ec3ae7a107a5787d1/scikit-image-0.19.2.tar.gz" }, { "algorithm": "sha256", "hash": "5ab19b11bd5f836a3de07f087d24db5ea734365122956f53dc5c5c9e018e2ec0", "url": "https://files.pythonhosted.org/packages/88/96/2ab19541e2775babf3799e5dff5e47f2a7ce70477c91e7efde8fdeabe8b4/scikit_image-0.19.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "cabf07a7886861510d4a39ed64fc121708fb7d72a6fe601d87388d36240f4242", "url": "https://files.pythonhosted.org/packages/9c/59/e9e2d8f001df1554b9f501cab52554dc2c173adb34ef029a6c958d233a32/scikit_image-0.19.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "cd115a4412b4561d62036e309c8cb543bfc2ca6b7b184ac23a65f6350959a716", "url": "https://files.pythonhosted.org/packages/fd/96/cd5eca8c528b3ebe666835e3748f07ca4daf3ed5b010cae7a76fa238b7e6/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "scikit-image", "requires_dists": [ "PyWavelets>=1.1.1", "SimpleITK; extra == \"optional\"", "astropy>=3.1.2; extra == \"optional\"", "asv; extra == \"test\"", "cloudpickle>=0.2.1; extra == \"docs\"", "cloudpickle>=0.2.1; extra == \"optional\"", "codecov; extra == \"test\"", "dask[array]!=2.17.0,>=0.15.0; extra == \"docs\"", "dask[array]!=2.17.0,>=1.0.0; extra == \"optional\"", "flake8; extra == \"test\"", "imageio>=2.4.1", "ipywidgets; extra == \"docs\"", "kaleido; extra == \"docs\"", "matplotlib>=3.0.3; extra == \"optional\"", "matplotlib>=3.0.3; extra == \"test\"", "matplotlib>=3.3; extra == \"docs\"", "myst-parser; extra == \"docs\"", "networkx>=2.2", "numpy>=1.17.0", "numpydoc>=1.0; extra == \"docs\"", "packaging>=20.0", "pandas>=0.23.0; extra == \"docs\"", "pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0", "plotly>=4.14.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"data\"", "pooch>=1.3.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"optional\"", "pooch>=1.3.0; extra == \"test\"", "pyamg; extra == \"optional\"", "pytest-cov>=2.7.0; extra == \"test\"", "pytest-faulthandler; extra == \"test\"", "pytest-localserver; extra == \"test\"", "pytest-runner; extra == \"docs\"", "pytest>=5.2.0; extra == \"test\"", "qtpy; extra == \"optional\"", "scikit-learn; extra == \"docs\"", "scipy>=1.4.1", "seaborn>=0.7.1; extra == \"docs\"", "sphinx-copybutton; extra == \"docs\"", "sphinx-gallery>=0.10.1; extra == \"docs\"", "sphinx>=1.8; extra == \"docs\"", "tifffile>=2019.7.26", "tifffile>=2020.5.30; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "0.19.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7626a34eabbf370a638f32d1a3ad50526844ba58d63e3ab81ba91e2a7c6d037e", "url": "https://files.pythonhosted.org/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "5cb33fe1dc6f73dc19e67b264dbb5dde2a0539b986435fdd78ed978c14654830", "url": "https://files.pythonhosted.org/packages/0d/18/883dd0dc906a30ddd06be9412f2c84776900e6091497f70e78346ee7851f/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "bc3744dabc56b50bec73624aeca02e0def06b03cb287de26836e730659c5d29c", "url": "https://files.pythonhosted.org/packages/40/d3/206905d836cd496c1f78a15ef92a0f0477d74113b4f349342bf31dfd62ca/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "ff3fa8ea0e09e38677762afc6e14cad77b5e125b0ea70c9bba1992f02c93b028", "url": "https://files.pythonhosted.org/packages/44/95/bf3bdfd6b8d93b79728b3193aba7e1c44f5518b648ed72c4ceb6f5d7d670/scikit_learn-1.0.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "b1391d1a6e2268485a63c3073111fe3ba6ec5145fc957481cfd0652be571226d", "url": "https://files.pythonhosted.org/packages/6a/f4/a655d7421579783fc49d19a5b28cac994cff998268f7353029e8ea02ff78/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5870959a5484b614f26d31ca4c17524b1b0317522199dc985c3b4256e030767", "url": "https://files.pythonhosted.org/packages/75/44/074b780d8ac0b0899937e9b8ba6d5d8873a71b99aa915219251ef85a8890/scikit-learn-1.0.2.tar.gz" }, { "algorithm": "sha256", "hash": "285db0352e635b9e3392b0b426bc48c3b485512d3b4ac3c7a44ec2a2ba061e66", "url": "https://files.pythonhosted.org/packages/7e/2c/27fcd754e40eb176f4ea261042194a8a39b4cebb6f4cf8557c41014019dc/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "7d6b2475f1c23a698b48515217eb26b45a6598c7b1840ba23b3c5acece658dbb", "url": "https://files.pythonhosted.org/packages/7e/d4/e7087c1083c051c67707005ee65bb5c9c84761cedc09dea2c670c5559e2b/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "9369b030e155f8188743eb4893ac17a27f81d28a884af460870c7c072f114243", "url": "https://files.pythonhosted.org/packages/8b/f1/e9097e4dd7ffc26e0e578e598e9dade3e5f16eb80058ca6fad28fbebccaa/scikit_learn-1.0.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "a999c9f02ff9570c783069f1074f06fe7386ec65b84c983db5aeb8144356a355", "url": "https://files.pythonhosted.org/packages/a4/41/d3c747b3542bc4ad3c68e8e042f791abf78365eb90b25742c33679a361a1/scikit_learn-1.0.2-cp38-cp38-win32.whl" } ], "project_name": "scikit-learn", "requires_dists": [ "Pillow>=7.1.2; extra == \"docs\"", "black>=21.6b0; extra == \"tests\"", "flake8>=3.8.2; extra == \"tests\"", "joblib>=0.11", "matplotlib>=2.2.3; extra == \"benchmark\"", "matplotlib>=2.2.3; extra == \"docs\"", "matplotlib>=2.2.3; extra == \"examples\"", "matplotlib>=2.2.3; extra == \"tests\"", "memory-profiler>=0.57.0; extra == \"benchmark\"", "memory-profiler>=0.57.0; extra == \"docs\"", "mypy>=0.770; extra == \"tests\"", "numpy>=1.14.6", "numpydoc>=1.0.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"benchmark\"", "pandas>=0.25.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"examples\"", "pandas>=0.25.0; extra == \"tests\"", "pyamg>=4.0.0; extra == \"tests\"", "pytest-cov>=2.9.0; extra == \"tests\"", "pytest>=5.0.1; extra == \"tests\"", "scikit-image>=0.14.5; extra == \"docs\"", "scikit-image>=0.14.5; extra == \"examples\"", "scikit-image>=0.14.5; extra == \"tests\"", "scipy>=1.1.0", "seaborn>=0.9.0; extra == \"docs\"", "seaborn>=0.9.0; extra == \"examples\"", "sphinx-gallery>=0.7.0; extra == \"docs\"", "sphinx-prompt>=1.3.0; extra == \"docs\"", "sphinx>=4.0.1; extra == \"docs\"", "sphinxext-opengraph>=0.4.2; extra == \"docs\"", "threadpoolctl>=2.0.0" ], "requires_python": ">=3.7", "version": "1.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5e73343c5e0d413c1f937302b2e04fb07872f5843041bcfd50699aef6e95e399", "url": "https://files.pythonhosted.org/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "38aa39b6724cb65271e469013aeb6f2ce66fd44f093e241c28a9c6bc64fd79ed", "url": "https://files.pythonhosted.org/packages/0c/a5/dca69d5ddb81da167d434f72b0ecfa10f68bf99b648fc49e4d9db81dff1c/scipy-1.8.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "559a8a4c03a5ba9fe3232f39ed24f86457e4f3f6c0abbeae1fb945029f092720", "url": "https://files.pythonhosted.org/packages/70/ba/82877dfa10828cb585cff9df6d87a66564a0571859c15488d16a9413598a/scipy-1.8.0-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "92b2c2af4183ed09afb595709a8ef5783b2baf7f41e26ece24e1329c109691a7", "url": "https://files.pythonhosted.org/packages/84/d1/74a1e3b528556bdb94a1360e731eb838ffcb05106ea95eb8ba4af85f71e6/scipy-1.8.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd", "url": "https://files.pythonhosted.org/packages/b4/a2/4faa34bf0cdbefd5c706625f1234987795f368eb4e97bde9d6f46860843e/scipy-1.8.0.tar.gz" }, { "algorithm": "sha256", "hash": "a279e27c7f4566ef18bab1b1e2c37d168e365080974758d107e7d237d3f0f484", "url": "https://files.pythonhosted.org/packages/bd/84/6f6218c338e1fa77f715e2db777b162bf1e4535289cf462ee3f002612ed6/scipy-1.8.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ad5be4039147c808e64f99c0e8a9641eb5d2fa079ff5894dcd8240e94e347af4", "url": "https://files.pythonhosted.org/packages/d2/27/b2648569175ba233cb6ad13029f8df4049a581c268156c5dd1db5ca44a8c/scipy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "3d9dd6c8b93a22bf9a3a52d1327aca7e092b1299fb3afc4f89e8eba381be7b59", "url": "https://files.pythonhosted.org/packages/e5/2c/fd50b818174554057294ea7f788bd3f8d448bb0f9cbefeeaf8e19067bee0/scipy-1.8.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "f4a6d3b9f9797eb2d43938ac2c5d96d02aed17ef170c8b38f11798717523ddba", "url": "https://files.pythonhosted.org/packages/f4/45/9b57c6fd181f5031d99e1395b3cc3bc83653ff064c614ff211882bd85d50/scipy-1.8.0-cp38-cp38-macosx_12_0_universal2.macosx_10_9_x86_64.whl" } ], "project_name": "scipy", "requires_dists": [ "numpy<1.25.0,>=1.17.3" ], "requires_python": "<3.11,>=3.8", "version": "1.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "32af1a57954576709242beb8c373b3dbde346ac6bd616921def29d68846fb8c3", "url": "https://files.pythonhosted.org/packages/87/54/0a04c906c97073119e4030c9f4d86e8fe70c93aee1b3bc5670257b76eab0/sentry_sdk-1.5.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38fd16a92b5ef94203db3ece10e03bdaa291481dd7e00e77a148aa0302267d47", "url": "https://files.pythonhosted.org/packages/74/74/82f06055ccbcb05ba84b942346acf39f342fdf3937f2638cb780dac3f125/sentry-sdk-1.5.8.tar.gz" } ], "project_name": "sentry-sdk", "requires_dists": [ "aiohttp>=3.5; extra == \"aiohttp\"", "apache-beam>=2.12; extra == \"beam\"", "asttokens; extra == \"pure_eval\"", "blinker>=1.1; extra == \"flask\"", "blinker>=1.1; extra == \"quart\"", "bottle>=0.12.13; extra == \"bottle\"", "celery>=3; extra == \"celery\"", "certifi", "chalice>=1.16.0; extra == \"chalice\"", "django>=1.8; extra == \"django\"", "executing; extra == \"pure_eval\"", "falcon>=1.4; extra == \"falcon\"", "flask>=0.11; extra == \"flask\"", "httpx>=0.16.0; extra == \"httpx\"", "pure-eval; extra == \"pure_eval\"", "pyspark>=2.4.4; extra == \"pyspark\"", "quart>=0.16.1; extra == \"quart\"", "rq>=0.6; extra == \"rq\"", "sanic>=0.8; extra == \"sanic\"", "sqlalchemy>=1.2; extra == \"sqlalchemy\"", "tornado>=5; extra == \"tornado\"", "urllib3>=1.10.0" ], "requires_python": null, "version": "1.5.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0d160d46c8f3567e0aa27b26b1f36e03122e3de475aacacc14a92b8fe45b648a", "url": "https://files.pythonhosted.org/packages/38/7e/6794cfb1d910d982221f08b0617737e454470b53d67fbb3cf831ab891b81/setproctitle-1.2.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "e13a5c1d9c369cb11cdfc4b75be432b83eb3205c95a69006008ffd4366f87b9e", "url": "https://files.pythonhosted.org/packages/21/8a/32fdafc0664c681507df24dbaa7c28f823a5289f03e663c51dae7f3a3278/setproctitle-1.2.2-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "c611f65bc9de5391a1514de556f71101e6531bb0715d240efd3e9732626d5c9e", "url": "https://files.pythonhosted.org/packages/3c/dc/00fb59a01ed15134e6ccdd450e629418431fe9a6433b2ee9479c27660ae3/setproctitle-1.2.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "17598f38be9ef499d74f2380bf76b558be72e87da75d66b153350e586649171b", "url": "https://files.pythonhosted.org/packages/4c/6b/a70de194afd9b65253180603a80cb19109d7c00d45c44b3454c06b822ffb/setproctitle-1.2.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bc4393576ed3ac87ddac7d1bd0faaa2fab24840a025cc5f3c21d14cf0c9c8a12", "url": "https://files.pythonhosted.org/packages/7d/e1/761a1e90ac68b92e296025e7e93b24f4e0f46f92d5ae86108228312f2b22/setproctitle-1.2.2-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7dfb472c8852403d34007e01d6e3c68c57eb66433fb8a5c77b13b89a160d97df", "url": "https://files.pythonhosted.org/packages/a1/7f/a1d4f4c7b66f0fc02f35dc5c85f45a8b4e4a7988357a29e61c14e725ef86/setproctitle-1.2.2.tar.gz" } ], "project_name": "setproctitle", "requires_dists": [ "pytest<6.2,>=6.1; extra == \"test\"" ], "requires_python": ">=3.6", "version": "1.2.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d10741ff20b89cd8c6a536ee9dc90d3002dec0226c78fb98605bfb9ef8a7adf", "url": "https://files.pythonhosted.org/packages/40/a9/7deac76c58fa47c95360116a06b53b9b62f6db11336fe61b6ab53784d98b/setuptools-59.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2fa4fad0", "url": "https://files.pythonhosted.org/packages/e6/e2/f2bfdf364e016f7a464db709ea40d1101c4c5a463dd7019dae0a42dbd1c6/setuptools-59.5.0.tar.gz" } ], "project_name": "setuptools", "requires_dists": [ "flake8-2020; extra == \"testing\"", "furo; extra == \"docs\"", "jaraco.envs>=2.2; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "jaraco.path>=3.2.0; extra == \"testing\"", "jaraco.tidelift>=1.4; extra == \"docs\"", "mock; extra == \"testing\"", "paver; extra == \"testing\"", "pip>=19.1; extra == \"testing\"", "pygments-github-lexers==0.0.5; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-virtualenv>=1.2.7; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx-inline-tabs; extra == \"docs\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"testing\"", "sphinxcontrib-towncrier; extra == \"docs\"", "virtualenv>=13.0.0; extra == \"testing\"", "wheel; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "59.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44a7a86bcf24dbaba2e626cf80c779926b7c3a0d31a3a013e0d3cd1077707d23", "url": "https://files.pythonhosted.org/packages/22/1b/dda73524fc8dd5cd3b80adcc585a49b3f43f8889453d2ed96291b2fcc860/shortuuid-1.0.8-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23", "url": "https://files.pythonhosted.org/packages/ce/c2/31dc2345d8e06711f3da9d65e3a72a060293057321815bc7f11a930c2529/shortuuid-1.0.8.tar.gz" } ], "project_name": "shortuuid", "requires_dists": [], "requires_python": ">=3.5", "version": "1.0.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", "url": "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "url": "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" } ], "project_name": "six", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "1.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94", "url": "https://files.pythonhosted.org/packages/6d/01/7caa71608bc29952ae09b0be63a539e50d2484bc37747797a66a60679856/smmap-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936", "url": "https://files.pythonhosted.org/packages/21/2d/39c6c57032f786f1965022563eec60623bb3e1409ade6ad834ff703724f3/smmap-5.0.0.tar.gz" } ], "project_name": "smmap", "requires_dists": [], "requires_python": ">=3.6", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663", "url": "https://files.pythonhosted.org/packages/52/b0/7b2e028b63d092804b6794595871f936aafa5e9322dcaaad50ebf67445b3/sniffio-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de", "url": "https://files.pythonhosted.org/packages/a6/ae/44ed7978bcb1f6337a3e2bef19c941de750d73243fc9389140d62853b686/sniffio-1.2.0.tar.gz" } ], "project_name": "sniffio", "requires_dists": [ "contextvars>=2.1; python_version < \"3.7\"" ], "requires_python": ">=3.5", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7ff72b3cc9242d1a1c9b84bd945907bf174d74fc2519efe6184d6390a8df478b", "url": "https://files.pythonhosted.org/packages/75/0a/782bcbe409cc765778613114b3d8fab2a507d2dc59693aeb92d203516c50/SQLAlchemy-1.4.32-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "6fdd2dc5931daab778c2b65b03df6ae68376e028a3098eb624d0909d999885bc", "url": "https://files.pythonhosted.org/packages/7a/9f/ace7376a3ab45adf0f7169a5d8d60707c04b171b72a18bb23d505f83f362/SQLAlchemy-1.4.32.tar.gz" }, { "algorithm": "sha256", "hash": "5a2e73508f939175363d8a4be9dcdc84cf16a92578d7fa86e6e4ca0e6b3667b2", "url": "https://files.pythonhosted.org/packages/86/f1/0b58ca845cd3e0526a219f83c39114ee0a06de8d398f5e21a8781a6033fe/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "dd93162615870c976dba43963a24bb418b28448fef584f30755990c134a06a55", "url": "https://files.pythonhosted.org/packages/8b/18/4c91eccaf0174006a8981e783a493fbacafa4c344cc78fefc9b2872cde0d/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3f88a4ee192142eeed3fe173f673ea6ab1f5a863810a9d85dbf6c67a9bd08f97", "url": "https://files.pythonhosted.org/packages/a5/c6/fdbea6786ff09159500cc8778c409f8803b9cac8c79ec9d12fbd9b5de672/SQLAlchemy-1.4.32-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "bb42f9b259c33662c6a9b866012f6908a91731a419e69304e1261ba3ab87b8d1", "url": "https://files.pythonhosted.org/packages/b2/13/c0b08165292173cb0918c7ddf6dba31df97d4f12f4356ce2d16f3478cf33/SQLAlchemy-1.4.32-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bfec934aac7f9fa95fc82147a4ba5db0a8bdc4ebf1e33b585ab8860beb10232f", "url": "https://files.pythonhosted.org/packages/d6/e1/848f5671a7bc225862f5e5b9699487529dfd8c0930a2ba5c95b2d5b876e6/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "sqlalchemy", "requires_dists": [ "aiomysql; python_version >= \"3\" and extra == \"aiomysql\"", "aiosqlite; python_version >= \"3\" and extra == \"aiosqlite\"", "asyncmy>=0.2.3; python_version >= \"3\" and extra == \"asyncmy\"", "asyncpg; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "cx-oracle<8,>=7; python_version < \"3\" and extra == \"oracle\"", "cx-oracle>=7; python_version >= \"3\" and extra == \"oracle\"", "greenlet!=0.4.17; python_version >= \"3\" and (platform_machine == \"aarch64\" or (platform_machine == \"ppc64le\" or (platform_machine == \"x86_64\" or (platform_machine == \"amd64\" or (platform_machine == \"AMD64\" or (platform_machine == \"win32\" or platform_machine == \"WIN32\"))))))", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiomysql\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiosqlite\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncio\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncmy\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "importlib-metadata; python_version < \"3.8\"", "mariadb>=1.0.1; python_version >= \"3\" and extra == \"mariadb_connector\"", "mypy>=0.910; python_version >= \"3\" and extra == \"mypy\"", "mysql-connector-python; extra == \"mysql_connector\"", "mysqlclient<2,>=1.4.0; python_version < \"3\" and extra == \"mysql\"", "mysqlclient>=1.4.0; python_version >= \"3\" and extra == \"mysql\"", "pg8000>=1.16.6; extra == \"postgresql_pg8000\"", "psycopg2-binary; extra == \"postgresql_psycopg2binary\"", "psycopg2>=2.7; extra == \"postgresql\"", "psycopg2cffi; extra == \"postgresql_psycopg2cffi\"", "pymssql; extra == \"mssql_pymssql\"", "pymysql; python_version >= \"3\" and extra == \"pymysql\"", "pymysql<1; python_version < \"3\" and extra == \"pymysql\"", "pyodbc; extra == \"mssql\"", "pyodbc; extra == \"mssql_pyodbc\"", "sqlalchemy2-stubs; extra == \"mypy\"", "sqlcipher3-binary; python_version >= \"3\" and extra == \"sqlcipher\"", "typing-extensions!=3.10.0.1; extra == \"aiosqlite\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "1.4.32" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26a18cbda5e6b651c964c12c88b36d9898481cd428ed6e063f5f29c418f73050", "url": "https://files.pythonhosted.org/packages/32/57/e9c68acc2845ee4ca66202d19856f6a3581cab2a885d25d490103270ffa2/starlette-0.17.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "57eab3cc975a28af62f6faec94d355a410634940f10b30d68d31cb5ec1b44ae8", "url": "https://files.pythonhosted.org/packages/11/d3/c346849b8201f0e0339e23850c8db1cebd477e44e8b5212f40e1acbb490c/starlette-0.17.1.tar.gz" } ], "project_name": "starlette", "requires_dists": [ "anyio<4,>=3.0.0", "contextlib2>=21.6.0; python_version < \"3.7\"", "itsdangerous; extra == \"full\"", "jinja2; extra == \"full\"", "python-multipart; extra == \"full\"", "pyyaml; extra == \"full\"", "requests; extra == \"full\"", "typing-extensions; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "0.17.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65a338e4424e9079f2604923bdbe301792adce2ace1be68da6b3ddf005170def", "url": "https://files.pythonhosted.org/packages/f7/fd/67c61276de025801cfa8a1b9af2d7c577e7f27c17b6bff2baca20bf03543/tensorboard-2.8.0-py3-none-any.whl" } ], "project_name": "tensorboard", "requires_dists": [ "absl-py>=0.4", "google-auth-oauthlib<0.5,>=0.4.1", "google-auth<3,>=1.6.3", "grpcio>=1.24.3", "markdown>=2.6.8", "numpy>=1.12.0", "protobuf>=3.6.0", "requests<3,>=2.21.0", "setuptools>=41.0.0", "tensorboard-data-server<0.7.0,>=0.6.0", "tensorboard-plugin-wit>=1.6.0", "werkzeug>=0.11.15", "wheel>=0.26" ], "requires_python": ">=3.6", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8237580755e58eff68d1f3abefb5b1e39ae5c8b127cc40920f9c4fb33f4b98a", "url": "https://files.pythonhosted.org/packages/60/f9/802efd84988bffd9f644c03b6e66fde8e76c3aa33db4279ddd11c5d61f4b/tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "fa8cef9be4fcae2f2363c88176638baf2da19c5ec90addb49b1cde05c95c88ee", "url": "https://files.pythonhosted.org/packages/3e/48/dd135dbb3cf16bfb923720163493cab70e7336db4b5f3103d49efa730404/tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "809fe9887682d35c1f7d1f54f0f40f98bb1f771b14265b453ca051e2ce58fca7", "url": "https://files.pythonhosted.org/packages/74/69/5747a957f95e2e1d252ca41476ae40ce79d70d38151d2e494feb7722860c/tensorboard_data_server-0.6.1-py3-none-any.whl" } ], "project_name": "tensorboard-data-server", "requires_dists": [], "requires_python": ">=3.6", "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ff26bdd583d155aa951ee3b152b3d0cffae8005dc697f72b44a8e8c2a77a8cbe", "url": "https://files.pythonhosted.org/packages/e0/68/e8ecfac5dd594b676c23a7f07ea34c197d7d69b3313afdf8ac1b0a9905a2/tensorboard_plugin_wit-1.8.1-py3-none-any.whl" } ], "project_name": "tensorboard-plugin-wit", "requires_dists": [], "requires_python": null, "version": "1.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b", "url": "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz" } ], "project_name": "termcolor", "requires_dists": [], "requires_python": null, "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b", "url": "https://files.pythonhosted.org/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380", "url": "https://files.pythonhosted.org/packages/1b/c7/3d85f8b3894ba7228d0c74e16e97a36a72b2cd2b0e0f8f89b5d435d11f71/threadpoolctl-3.1.0.tar.gz" } ], "project_name": "threadpoolctl", "requires_dists": [], "requires_python": ">=3.6", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "68f4f3aece7daafbe3dd58751622be0412510ee5921625ca611e47b618f906e6", "url": "https://files.pythonhosted.org/packages/23/6b/cd30edb3463f77eac22080b44d834c6abee3950f90d64c229151fc4d32aa/tifffile-2022.3.16-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fe2c79190a1d625076e68a2f0e49ca72a907315fe8ebf488f5eecf70b257fe3c", "url": "https://files.pythonhosted.org/packages/37/ca/891137c951c29f3397ec164605f7aa2e6e4b4209ad834099bd0bc55f15fb/tifffile-2022.3.16.tar.gz" } ], "project_name": "tifffile", "requires_dists": [ "imagecodecs>=2021.11.20; extra == \"all\"", "lxml; extra == \"all\"", "matplotlib>=3.3; extra == \"all\"", "numpy>=1.19.2" ], "requires_python": ">=3.8", "version": "2022.3.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f", "url": "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz" } ], "project_name": "tomli", "requires_dists": [], "requires_python": ">=3.7", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3592d3dd62b32760c82624e7586222747fe2281240e8653970b35f1d6d4a434c", "url": "https://files.pythonhosted.org/packages/c0/2a/3401595e371a63195016968efd450c46048cf0d1b341adb33c029ab6aa1e/torch-1.10.2-cp38-none-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "ab77a9f838874f295ed5410c0686fa22547456e0116efb281c66ef5f9d46fe28", "url": "https://files.pythonhosted.org/packages/4a/a0/3b8d5b80560afbff0688edd66926335bef153d91a95926810ab234798ae2/torch-1.10.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "f281438ee99bd72ad65c0bba1026a32e45c3b636bc067fc145ad291e9ea2faab", "url": "https://files.pythonhosted.org/packages/7e/ee/14fcdd0e8b19108efd953cc5b38f409df39659bbec3b12afaa6dd3e2967b/torch-1.10.2-cp38-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "376fc18407add20daa6bbaaffc5a5e06d733abe53bcbd60ef2532bfed34bc091", "url": "https://files.pythonhosted.org/packages/d4/53/c4a13bbab1385d505c78064ad5ae6a63a990f207a559fcfe950bdeb5f96c/torch-1.10.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "9ef4c004f9e5168bd1c1930c6aff25fed5b097de81db6271ffbb2e4fb8b89319", "url": "https://files.pythonhosted.org/packages/f8/2c/ace8d8d942ccd064639fae6c366344d832fbca174b8df059396a5f51e3a5/torch-1.10.2-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torch", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "typing-extensions" ], "requires_python": ">=3.6.2", "version": "1.10.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d0fbf8440912ef93f22e21bae43fda8fa26a651313acc3ea93beafe3c86dd474", "url": "https://files.pythonhosted.org/packages/f7/ec/3160fd2d30b55b35e9cfd8670c95fcaeb1daa9dba28aa912cfe40d696a3b/torchmetrics-0.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "af03334c4a33fc32a9a40b037b1ce3ff6273ea9a0050c11ddde29bf1335da95e", "url": "https://files.pythonhosted.org/packages/31/0d/d5dbb1a5ba604bcac35a751d8ece9972a87232388be96c44997c64fda32e/torchmetrics-0.7.2.tar.gz" } ], "project_name": "torchmetrics", "requires_dists": [ "bert-score==0.3.10; extra == \"all\"", "bert-score==0.3.10; extra == \"test\"", "check-manifest; extra == \"all\"", "check-manifest; extra == \"test\"", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"test\"", "coverage>5.2; extra == \"all\"", "coverage>5.2; extra == \"test\"", "docutils>=0.16; extra == \"all\"", "docutils>=0.16; extra == \"docs\"", "fast-bss-eval>=0.1.0; extra == \"all\"", "fast-bss-eval>=0.1.0; extra == \"audio\"", "jiwer>=2.3.0; extra == \"all\"", "jiwer>=2.3.0; extra == \"test\"", "lpips; extra == \"all\"", "lpips; extra == \"image\"", "mir-eval>=0.6; extra == \"all\"", "mir-eval>=0.6; extra == \"test\"", "mypy>=0.790; extra == \"all\"", "mypy>=0.790; extra == \"test\"", "myst-parser; extra == \"all\"", "myst-parser; extra == \"docs\"", "nbsphinx>=0.8; extra == \"all\"", "nbsphinx>=0.8; extra == \"docs\"", "nltk>=3.6; extra == \"all\"", "nltk>=3.6; extra == \"text\"", "numpy>=1.17.2", "packaging", "pandoc>=1.0; extra == \"all\"", "pandoc>=1.0; extra == \"docs\"", "pesq>=0.0.3; extra == \"all\"", "pesq>=0.0.3; extra == \"audio\"", "phmdoctest>=1.1.1; extra == \"all\"", "phmdoctest>=1.1.1; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.*", "pypesq; extra == \"all\"", "pypesq; extra == \"test\"", "pystoi; extra == \"all\"", "pystoi; extra == \"audio\"", "pytest-cov>2.10; extra == \"all\"", "pytest-cov>2.10; extra == \"test\"", "pytest-doctestplus>=0.9.0; extra == \"all\"", "pytest-doctestplus>=0.9.0; extra == \"test\"", "pytest==6.*; extra == \"all\"", "pytest==6.*; extra == \"test\"", "pytorch-lightning>=1.1; extra == \"all\"", "pytorch-lightning>=1.1; extra == \"docs\"", "pytorch-lightning>=1.3; extra == \"all\"", "pytorch-lightning>=1.3; extra == \"integrate\"", "pytorch-msssim; extra == \"all\"", "pytorch-msssim; extra == \"test\"", "regex>=2021.9.24; extra == \"all\"", "regex>=2021.9.24; extra == \"text\"", "rouge-score>=0.0.4; extra == \"all\"", "rouge-score>=0.0.4; extra == \"test\"", "sacrebleu>=2.0.0; extra == \"all\"", "sacrebleu>=2.0.0; extra == \"test\"", "scikit-image>0.17.1; extra == \"all\"", "scikit-image>0.17.1; extra == \"test\"", "scikit-learn>=0.24; extra == \"all\"", "scikit-learn>=0.24; extra == \"test\"", "scipy; extra == \"all\"", "scipy; extra == \"image\"", "sphinx-autodoc-typehints>=1.0; extra == \"all\"", "sphinx-autodoc-typehints>=1.0; extra == \"docs\"", "sphinx-copybutton>=0.3; extra == \"all\"", "sphinx-copybutton>=0.3; extra == \"docs\"", "sphinx-paramlinks>=0.5.1; extra == \"all\"", "sphinx-paramlinks>=0.5.1; extra == \"docs\"", "sphinx-togglebutton>=0.2; extra == \"all\"", "sphinx-togglebutton>=0.2; extra == \"docs\"", "sphinx>=4.0; extra == \"all\"", "sphinx>=4.0; extra == \"docs\"", "sphinxcontrib-fulltoc>=1.0; extra == \"all\"", "sphinxcontrib-fulltoc>=1.0; extra == \"docs\"", "sphinxcontrib-mockautodoc; extra == \"all\"", "sphinxcontrib-mockautodoc; extra == \"docs\"", "torch-fidelity; extra == \"all\"", "torch-fidelity; extra == \"image\"", "torch>=1.3.1", "torchvision; extra == \"all\"", "torchvision; extra == \"image\"", "torchvision>=0.8; extra == \"all\"", "torchvision>=0.8; extra == \"detection\"", "tqdm>=4.41.0; extra == \"all\"", "tqdm>=4.41.0; extra == \"text\"", "transformers>=4.0; extra == \"all\"", "transformers>=4.0; extra == \"test\"", "twine>=3.2; extra == \"all\"", "twine>=3.2; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dc144114d5991a33bf8909277b02ea082d99cee4cdcf3f7a9c6b48f0c6c8ddde", "url": "https://files.pythonhosted.org/packages/f0/cb/b484ba727714926cbebe68687960da3481df5619280d17b1d5c90fb610bc/torchvision-0.11.3-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "63647dfb9b0354bc8c5bb120f2dc15a123cee7f5fd6a8e84561da46cc2c89e3a", "url": "https://files.pythonhosted.org/packages/00/a8/0d59336acc849c5d6beb1d38d59b16e4a2e6ac66036ae92ba748f7f02575/torchvision-0.11.3-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "0eda00afc5176b35e69eddd018ee633e3e3d74bbcf139eccdc150781c4ae83a7", "url": "https://files.pythonhosted.org/packages/21/f4/0a2978512bab69a1bd2626e311a45c37b4dec100025661df70d1ede69de4/torchvision-0.11.3-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a82d7d383fabb45fb54aa569ab216b87b98f9eb9de75b3cbfedab555a71209fa", "url": "https://files.pythonhosted.org/packages/a8/1f/3ae670bb65fa932cf7b22db62ef088a5069165844c0b186e61ecbe315c9b/torchvision-0.11.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "b237b39e1c558ad5c9043b6e56bc568ee745f7f064f53270a3fceb53b9725c4b", "url": "https://files.pythonhosted.org/packages/e1/cf/d19fc48359f888607bac25d1102b72540b40316587fc572efe9fdc7642a6/torchvision-0.11.3-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torchvision", "requires_dists": [ "numpy", "pillow!=8.3.0,>=5.3.0", "scipy; extra == \"scipy\"", "torch==1.10.2" ], "requires_python": null, "version": "0.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e643e071046f17139dea55b880dc9b33822ce21613b4a4f5ea57f202833dbc29", "url": "https://files.pythonhosted.org/packages/81/1c/93a2b77b97cdba15a59c3d2d03e53d3292158d1106d37f579069abd90ece/tqdm-4.63.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1d9835ede8e394bb8c9dcbffbca02d717217113adc679236873eeaac5bc0b3cd", "url": "https://files.pythonhosted.org/packages/cb/a5/803a55cae355bc2402492c6a1c23dc08117844e4a1c3a293b0ea19bca6fa/tqdm-4.63.0.tar.gz" } ], "project_name": "tqdm", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-resources; python_version < \"3.7\"", "ipywidgets>=6; extra == \"notebook\"", "py-make>=0.1.0; extra == \"dev\"", "requests; extra == \"telegram\"", "twine; extra == \"dev\"", "wheel; extra == \"dev\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "4.63" }, { "artifacts": [ { "algorithm": "sha256", "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], "requires_python": ">=3.6", "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14", "url": "https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e", "url": "https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz" } ], "project_name": "urllib3", "requires_dists": [ "PySocks!=1.5.7,<2.0,>=1.5.6; extra == \"socks\"", "brotli>=1.0.9; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation == \"CPython\") and extra == \"brotli\"", "brotlicffi>=0.8.0; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation != \"CPython\") and extra == \"brotli\"", "brotlipy>=0.6.0; (os_name == \"nt\" and python_version < \"3\") and extra == \"brotli\"", "certifi; extra == \"secure\"", "cryptography>=1.3.4; extra == \"secure\"", "idna>=2.0.0; extra == \"secure\"", "ipaddress; python_version == \"2.7\" and extra == \"secure\"", "pyOpenSSL>=0.14; extra == \"secure\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4,>=2.7", "version": "1.26.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a8637ae1b580d5839bde4792d9c31ecd40392ae8a245874391edd82c74e7b17", "url": "https://files.pythonhosted.org/packages/e6/1e/6ae3c7774b6537a48a1a896b483fcd13b09d7ca3ace63f423f6cff828b56/wandb-0.12.11-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "808c832a109cdd49f85226446b4224c77ff3bd81c0a9470e8fce43e5306a39a0", "url": "https://files.pythonhosted.org/packages/a0/c4/37887f989bed4784bb11fc90201da76f45ac11c6582f9fed94ed1a7c8de1/wandb-0.12.11.tar.gz" } ], "project_name": "wandb", "requires_dists": [ "Click!=8.0.0,>=7.0", "GitPython>=1.0.0", "PyYAML", "PyYAML; extra == \"sweeps\"", "azure-storage-blob; extra == \"azure\"", "bokeh; extra == \"media\"", "boto3; extra == \"aws\"", "chardet; extra == \"launch\"", "docker-pycreds>=0.4.0", "google-cloud-storage; extra == \"gcp\"", "google-cloud-storage; extra == \"kubeflow\"", "grpcio>=1.27.2; extra == \"grpc\"", "iso8601; extra == \"launch\"", "jsonref>=0.2; extra == \"sweeps\"", "jsonschema>=3.2.0; extra == \"sweeps\"", "jupyter-repo2docker; extra == \"launch\"", "kubernetes; extra == \"kubeflow\"", "minio; extra == \"kubeflow\"", "moviepy; extra == \"media\"", "nbconvert; extra == \"launch\"", "numpy; extra == \"media\"", "numpy<1.21,>=1.15; extra == \"sweeps\"", "pathtools", "pillow; extra == \"media\"", "plotly; extra == \"media\"", "promise<3,>=2.0", "protobuf>=3.12.0", "psutil>=5.0.0", "pydantic>=1.8.2; extra == \"sweeps\"", "python-dateutil>=2.6.1", "rdkit-pypi; extra == \"media\"", "requests<3,>=2.0.0", "scikit-learn==0.24.1; extra == \"sweeps\"", "scipy>=1.5.4; extra == \"sweeps\"", "sentry-sdk>=1.0.0", "setproctitle", "sh; extra == \"kubeflow\"", "shortuuid>=0.5.0", "six>=1.13.0", "soundfile; extra == \"media\"", "typing-extensions; extra == \"launch\"", "yaspin; extra == \"launch\"", "yaspin>=1.0.0" ], "requires_python": ">=3.6", "version": "0.12.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1421ebfc7648a39a5c58c601b154165d05cf47a3cd0ccb70857cbdacf6c8f2b8", "url": "https://files.pythonhosted.org/packages/f4/f3/22afbdb20cc4654b10c98043414a14057cd27fdba9d4ae61cea596000ba2/Werkzeug-2.0.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b863f8ff057c522164b6067c9e28b041161b4be5ba4d0daceeaa50a163822d3c", "url": "https://files.pythonhosted.org/packages/6c/a8/60514fade2318e277453c9588545d0c335ea3ea6440ce5cdabfca7f73117/Werkzeug-2.0.3.tar.gz" } ], "project_name": "werkzeug", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "watchdog; extra == \"watchdog\"" ], "requires_python": ">=3.6", "version": "2.0.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a", "url": "https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4", "url": "https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz" } ], "project_name": "wheel", "requires_dists": [ "pytest-cov; extra == \"test\"", "pytest>=3.0.0; extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.37.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0ed6ad6c9640671689c2dbe6244680fe8b897c08fd1fab2228429b66c518e5e", "url": "https://files.pythonhosted.org/packages/fa/01/3c5d57f130c16d583f17cd07c46194c00bdea53ed0260b26780897834793/wrapt-1.14.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d9bdfa74d369256e4218000a629978590fd7cb6cf6893251dad13d051090436d", "url": "https://files.pythonhosted.org/packages/12/d7/4e095710e80ab428d886a4431a32a99d903a617e5ce27efa613b796233eb/wrapt-1.14.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "1f83e9c21cd5275991076b2ba1cd35418af3504667affb4745b48937e214bafe", "url": "https://files.pythonhosted.org/packages/3b/07/4958cf817f1e5c713e81d7e8a404bc8e683162202442295b978d228f85cd/wrapt-1.14.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "28c659878f684365d53cf59dc9a1929ea2eecd7ac65da762be8b1ba193f7e84f", "url": "https://files.pythonhosted.org/packages/4e/0b/72831883b921c3c57567d9cd609a9020af22c66fd4f1d802d69e0d4ad155/wrapt-1.14.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "b21650fa6907e523869e0396c5bd591cc326e5c1dd594dcdccac089561cacfb8", "url": "https://files.pythonhosted.org/packages/5f/f3/ec6e05ede4feaf56a2ce495446ed94b72c4b24055ede983929f0347dd1f9/wrapt-1.14.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "61e1a064906ccba038aa3c4a5a82f6199749efbbb3cef0804ae5c37f550eded0", "url": "https://files.pythonhosted.org/packages/74/ef/fb62285681190b332d3fda7234358a9eca41b86e83fa24bd4416b668df0d/wrapt-1.14.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "5b835b86bd5a1bdbe257d610eecab07bf685b1af2a7563093e0e69180c1d4af1", "url": "https://files.pythonhosted.org/packages/a8/7f/bac1100383505bd4b215768be4bb60dd2c9780efb39fd9fe63614eccc590/wrapt-1.14.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2498762814dd7dd2a1d0248eda2afbc3dd9c11537bc8200a4b21789b6df6cd38", "url": "https://files.pythonhosted.org/packages/ab/1e/af8eeabaa85e91d32bab0b4cdfb98f5f39eab564a8bd64168db8d86e1c2e/wrapt-1.14.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "354d9fc6b1e44750e2a67b4b108841f5f5ea08853453ecbf44c81fdc2e0d50bd", "url": "https://files.pythonhosted.org/packages/ac/54/bc25e4d8260d4574e4a7952c1dc885e060912774859a0ba14bb9b036c2d6/wrapt-1.14.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "8323a43bd9c91f62bb7d4be74cc9ff10090e7ef820e27bfe8815c57e68261311", "url": "https://files.pythonhosted.org/packages/c7/b4/3a937c7f8ee4751b38274c8542e02f42ebf3e080f1344c4a2aff6416630e/wrapt-1.14.0.tar.gz" }, { "algorithm": "sha256", "hash": "5f24ca7953f2643d59a9c87d6e272d8adddd4a53bb62b9208f36db408d7aafc7", "url": "https://files.pythonhosted.org/packages/ef/e8/62648d3ee379766a94ff2853106a91932d9c1c63e7bd0c4686659ec411c0/wrapt-1.14.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "wrapt", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.14" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cc8b7a7254c0fc3187d43d6cb54b5032d2365efd1df0cd1749c0c4df5f0ad45f", "url": "https://files.pythonhosted.org/packages/1d/1d/818930219ed93cb1f8de61dc2c9d30f3ec8af1a1f1c8878f1c6d68adff23/yarl-1.7.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "39d5493c5ecd75c8093fa7700a2fb5c94fe28c839c8e40144b7ab7ccba6938c8", "url": "https://files.pythonhosted.org/packages/29/00/03a2186fde995f71a0b8fe6ea3f22965e1333ff622556aa2cddf841acfb9/yarl-1.7.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "fd547ec596d90c8676e369dd8a581a21227fe9b4ad37d0dc7feb4ccf544c2d59", "url": "https://files.pythonhosted.org/packages/34/9c/17cefab10d3f3397916255ce990ac358939bc14806e73503805d8bac766a/yarl-1.7.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "e39378894ee6ae9f555ae2de332d513a5763276a9265f8e7cbaeb1b1ee74623a", "url": "https://files.pythonhosted.org/packages/80/45/5aca44624dfbbbe942b22aa4ed9c2a6ff28f6de63b47c52b46b456b307b5/yarl-1.7.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "737e401cd0c493f7e3dd4db72aca11cfe069531c9761b8ea474926936b3c57c8", "url": "https://files.pythonhosted.org/packages/8f/21/769f312eb7c03dcc0dec55300b2cf6c460a9c75fbb08994996686b87c4ef/yarl-1.7.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "ede3b46cdb719c794427dcce9d8beb4abe8b9aa1e97526cc20de9bd6583ad1ef", "url": "https://files.pythonhosted.org/packages/94/6d/e42ac52b021b2b66cbded3c4aabb117a5c6415b81d53da9f6979516c0b78/yarl-1.7.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "5ba63585a89c9885f18331a55d25fe81dc2d82b71311ff8bd378fc8004202ff6", "url": "https://files.pythonhosted.org/packages/9e/e2/dd68672208e604b426ecb498083bf3ed1fd9a3732fb2e514a99f9a3ba4c2/yarl-1.7.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "6feca8b6bfb9eef6ee057628e71e1734caf520a907b6ec0d62839e8293e945c0", "url": "https://files.pythonhosted.org/packages/aa/a6/a4ddcb1c3d93fc5d77a19b1ec338a3efec65b44345168d8ac9bf8461224a/yarl-1.7.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "baf81561f2972fb895e7844882898bda1eef4b07b5b385bcd308d2098f1a767b", "url": "https://files.pythonhosted.org/packages/b0/aa/f92592c2bbc603f408c78ab8a90f5408f303729368fbad29b992dc14dbc0/yarl-1.7.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "788713c2896f426a4e166b11f4ec538b5736294ebf7d5f654ae445fd44270832", "url": "https://files.pythonhosted.org/packages/bc/1a/76621726e249b753de9fda3313eb4c63c8b4449f8681348ce3dbc89b1bf8/yarl-1.7.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "1eb6480ef366d75b54c68164094a6a560c247370a68c02dddb11f20c4c6d3c9d", "url": "https://files.pythonhosted.org/packages/bd/ab/a5c39f35c6e037aaf5aa3ff069801d0345b0301feee83a48a14005ce2cf3/yarl-1.7.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "8300401dc88cad23f5b4e4c1226f44a5aa696436a4026e456fe0e5d2f7f486e6", "url": "https://files.pythonhosted.org/packages/c1/27/9f925be515fc4e5b0b67d9c8bf04a275cbc1936a32d4249afc7e0d3a1c1c/yarl-1.7.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "c2a1ac41a6aa980db03d098a5531f13985edcb451bcd9d00670b03129922cd0d", "url": "https://files.pythonhosted.org/packages/cf/4f/acc91373cec9990cdb4a93351c3c8e240c87cae6b9e57dbcdcc337d26902/yarl-1.7.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "fce78593346c014d0d986b7ebc80d782b7f5e19843ca798ed62f8e3ba8728576", "url": "https://files.pythonhosted.org/packages/e0/24/9abac7eeab2344756148d5909aba8179d84ed7f95683ca86f0fc6a79811a/yarl-1.7.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "c0910c6b6c31359d2f6184828888c983d54d09d581a4a23547a35f1d0b9484b1", "url": "https://files.pythonhosted.org/packages/f4/25/b3b47a3a0ca4b00d5c7069fb3970d648f658a9ac77ca4f8d1c96c841babc/yarl-1.7.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd", "url": "https://files.pythonhosted.org/packages/f6/da/46d1b3d69a9a0835dabf9d59c7eb0f1600599edd421a4c5a15ab09f527e0/yarl-1.7.2.tar.gz" } ], "project_name": "yarl", "requires_dists": [ "idna>=2.0", "multidict>=4.0", "typing-extensions>=3.7.4; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "1.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d574cbfaf0a349df466c91f7f81b22460ae5ebb15ecb8bf9411d6049923aee8d", "url": "https://files.pythonhosted.org/packages/ce/ed/1ae83648729025952b483046d5164fc91625703899707655406db76ce671/yaspin-2.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a", "url": "https://files.pythonhosted.org/packages/6a/b2/144d100c915784ab551e0f7809aaecdd103786a227b0f30db341ffe649be/yaspin-2.1.0.tar.gz" } ], "project_name": "yaspin", "requires_dists": [ "dataclasses<0.9,>=0.8; python_version >= \"3.6\" and python_version < \"3.7\"", "termcolor<2.0.0,>=1.1.0" ], "requires_python": "<4.0.0,>=3.6.2", "version": "2.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375", "url": "https://files.pythonhosted.org/packages/52/c5/df7953fe6065185af5956265e3b16f13c2826c2b1ba23d43154f3af453bc/zipp-3.7.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d", "url": "https://files.pythonhosted.org/packages/94/64/3115548d41cb001378099cb4fc6a6889c64ef43ac1b0e68c9e80b55884fa/zipp-3.7.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ "func-timeout; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "3.7" } ], "platform_tag": [ "cp310", "cp310", "manylinux_2_31_x86_64" ] } ], "pex_version": "2.1.72", "prefer_older_binary": false, "requirements": [ "aio-pika<7.2.0,>=7.1.0", "aiobotocore<2.2.0,>=2.1.2", "aioredis<2.1.0,>=2.0.1", "albumentations<1.2.0,>=1.1", "alembic<1.8.0,>=1.7.7", "anyio<3.6.0,>=3.5", "awscli<1.23.0,>=1.22.24", "black==22.1.0", "boto3<1.21.0,>=1.20.24", "botocore<1.24.0,>=1.23.24", "click<8.1.0,>=8.0.4", "docstring-parser<0.14.0,>=0.13.0", "fastapi<0.76.0,>=0.75.0", "flake8==4.0.1", "grpcio<1.45.0,>=1.44", "hiredis<2.1.0,>=2.0.0", "imageio<2.17.0,>=2.16.1", "isort==5.10.1", "itsdangerous<2.2.0,>=2.1.1", "javaobj-py3<0.5.0,>=0.4.3", "jpeg4py<0.2.0,>=0.1.4", "jsonargparse[signatures]<4.5.0,>=4.4.0", "mypy==0.930", "numpy<1.23.0,>=1.22.3", "nvidia-dali-cuda110<1.12.0,>=1.11.1", "onnxruntime<1.11.0,>=1.10.0", "opencv-python==4.5.1.48", "pillow<9.1.0,>=9.0.1", "protobuf<3.20.0,>=3.19.4", "psycopg2-binary==2.8.6", "pydantic<1.10.0,>=1.9.0", "pytest-cov==3.0.0", "pytest-icdiff==0.5", "pytest==7.1.0", "pytorch-lightning<1.6.0,>=1.5.10", "pyyaml<5.5.0,>=5.4.1", "requests<2.28.0,>=2.27.1", "rich<11.3.0,>=11.2.0", "s3fs<2022.3.0,>=2022.2.0", "s3transfer<0.6.0,>=0.5.2", "scikit-image<0.20.0,>=0.19.2", "scikit-learn<1.1.0,>=1.0.2", "scipy<1.9.0,>=1.8.0", "setuptools<59.6.0,>=59.5.0", "sqlalchemy<1.5.0,>=1.4.32", "starlette<0.18.0,>=0.17.1", "tensorboard<2.9.0,>=2.8.0", "torch<1.11.0,>=1.10.2", "torchvision<0.12.0,>=0.11.3", "tqdm<4.64.0,>=4.63.0", "wandb<0.13.0,>=0.12.11", "wheel<0.38.0,>=0.37.1" ], "requires_python": [ "==3.8.*" ], "resolver_version": "pip-2020-resolver", "style": "universal", "transitive": true, "use_pep517": null } ``` </details> Thanks @obendidi. The issue is over in Pex dealing with `nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_*` wheels which have a build tag (`4069477`) in their wheel filename: https://github.com/pantsbuild/pex/issues/1676 I'll get out a fix for that in Pex 2.1.73 with a paired Pants upgrade staged for 2.11.0rc1.
2022-03-22T23:21:34Z
[]
[]
Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3)
16,026
pantsbuild/pants
pantsbuild__pants-14961
6e7309e5dcef23c6481a973c937c8742d9786f9e
diff --git a/src/python/pants/option/global_options.py b/src/python/pants/option/global_options.py --- a/src/python/pants/option/global_options.py +++ b/src/python/pants/option/global_options.py @@ -1601,13 +1601,16 @@ def compute_pantsd_invalidation_globs( for glob in potentially_absolute_globs: # NB: We use `relpath` here because these paths are untrusted, and might need to be # normalized in addition to being relativized. - glob_relpath = os.path.relpath(glob, buildroot) + glob_relpath = ( + os.path.relpath(glob, buildroot) if os.path.isabs(glob) else os.path.normpath(glob) + ) if glob_relpath == "." or glob_relpath.startswith(".."): logger.debug( f"Changes to {glob}, outside of the buildroot, will not be invalidated." ) - else: - invalidation_globs.update([glob_relpath, glob_relpath + "/**"]) + continue + + invalidation_globs.update([glob_relpath, glob_relpath + "/**"]) # Explicitly specified globs are already relative, and are added verbatim. invalidation_globs.update(
Pants Pex releases broke w/ venv mode They originally worked when added for 2.4.0.dev0 in https://github.com/pantsbuild/pants/pull/11591, but broke somewhere in between there and 2.4.0.0rc1 (no PEX releases between then, which was unintentional). ``` ❯ wget https://github.com/pantsbuild/pants/releases/download/release_2.4.0rc1/pants.2.4.0rc1.pex ❯ mv pants.2.4.0rc1.pex dist ❯ cd dist ❯ ./pants.2.4.0rc1.pex --print-stacktrace 15:46:51.05 [INFO] initializing scheduler... 15:46:51.14 [ERROR] no path specified Traceback (most recent call last): File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 125, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 129, in prepare self._initialize(options_fingerprint, options_bootstrapper, env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 104, in _initialize raise e File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 98, in _initialize self._services = self._services_constructor(bootstrap_options_values, self._scheduler) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon.py", line 91, in _setup_services bootstrap_options, File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/option/global_options.py", line 1386, in compute_pantsd_invalidation_globs glob_relpath = os.path.relpath(glob, buildroot) File "/data/home/eric/.pyenv/versions/3.7.9/lib/python3.7/posixpath.py", line 457, in relpath raise ValueError("no path specified") ValueError: no path specified ``` I time boxed myself investigating this, so am not sure why this is happening yet. However, using `--unzip` mode fixes the issue. -- Beyond the underlying Pex issue this might reveal, it shows the need for our release process to add a smoke test to building PEXes, something as simple as running `--version`.
The issue is a sys.path entry of `""` - i.e.: cwd. https://github.com/pantsbuild/pants/blob/d401cc5f790e2a5444379c24e70079de909f4d53/src/python/pants/option/global_options.py#L1364-L1374 Changing the relpath line to `glob_relpath = os.path.relpath(glob or os.getcwd(), buildroot)` fixes. More generally, the relpath should only be attempted for globs that are absolute paths in the first place.
2022-03-30T22:47:47Z
[]
[]
Traceback (most recent call last): File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 125, in single_daemonized_run scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 129, in prepare self._initialize(options_fingerprint, options_bootstrapper, env) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 104, in _initialize raise e File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon_core.py", line 98, in _initialize self._services = self._services_constructor(bootstrap_options_values, self._scheduler) File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/pantsd/pants_daemon.py", line 91, in _setup_services bootstrap_options, File "/data/home/eric/.pex/venvs/short/d02a7ea7/lib/python3.7/site-packages/pants/option/global_options.py", line 1386, in compute_pantsd_invalidation_globs glob_relpath = os.path.relpath(glob, buildroot) File "/data/home/eric/.pyenv/versions/3.7.9/lib/python3.7/posixpath.py", line 457, in relpath raise ValueError("no path specified") ValueError: no path specified
16,034
pantsbuild/pants
pantsbuild__pants-15028
8159c0d8ea92dda3413135e864d95699328ad53c
diff --git a/src/python/pants/backend/python/util_rules/pex_cli.py b/src/python/pants/backend/python/util_rules/pex_cli.py --- a/src/python/pants/backend/python/util_rules/pex_cli.py +++ b/src/python/pants/backend/python/util_rules/pex_cli.py @@ -42,9 +42,9 @@ class PexCli(TemplatedExternalTool): deprecated_options_scope = "download-pex-bin" deprecated_options_scope_removal_version = "2.11.0.dev0" - default_version = "v2.1.71" + default_version = "v2.1.73" default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex" - version_constraints = ">=2.1.71,<3.0" + version_constraints = ">=2.1.73,<3.0" @classproperty def default_known_versions(cls): @@ -53,8 +53,8 @@ def default_known_versions(cls): ( cls.default_version, plat, - "d7fddbdfc374b78768fee6729a53077593a6ad6834df401fff4061ad5602cb19", - "3734831", + "0f30b06c02743393b745497580a410d28055b0de022a27cbb8e460845a6ba1c9", + "3723175", ) ) for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64"]
Third party dependencies installation fail with bug using pex resolver in pants 2.11.0rc0 **Describe the bug** Using `pants@2.11.0rc0` and the pex resolver, lockfile generation works fine but the installation fails: ```sh 10:45:58.20 [INFO] Completed: Installing default.lock for the resolve `default` 10:45:58.20 [ERROR] 1 Exception encountered: ProcessExecutionFailure: Process 'Installing default.lock for the resolve `default`' failed with exit code 1. stdout: stderr: Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3) ``` **Pants version** 2.11.0rc0 **OS** ubuntu-20.04 **Additional info** Dependencies: ```toml [tool.poetry.dependencies] python = "~3.8" aio-pika = "~7.1.0" aiobotocore = "~2.1.2" aioredis = "~2.0.1" albumentations = "~1.1" alembic = "~1.7.7" anyio = "~3.5" awscli = "~1.22.24" boto3 = "~1.20.24" botocore = "~1.23.24" click = "~8.0.4" docstring-parser = "~0.13.0" fastapi = "~0.75.0" grpcio = "~1.44" hiredis = "~2.0.0" imageio = "~2.16.1" itsdangerous = "~2.1.1" javaobj-py3 = "~0.4.3" jpeg4py = "~0.1.4" jsonargparse = {extras = ["signatures"], version = "~4.4.0"} numpy = "~1.22.3" nvidia-dali-cuda110 = "~1.11.1" onnxruntime = "~1.10.0" opencv-python = "4.5.1.48" pillow = "~9.0.1" protobuf = "~3.19.4" psycopg2-binary = "2.8.6" pydantic = "~1.9.0" pytorch-lightning = "~1.5.10" pyyaml = "~5.4.1" requests = "~2.27.1" rich = "~11.2.0" s3fs = "~2022.2.0" s3transfer = "~0.5.2" scikit-image = "~0.19.2" scikit-learn = "~1.0.2" scipy = "~1.8.0" setuptools = "~59.5.0" sqlalchemy = "~1.4.32" starlette = "~0.17.1" tensorboard = "~2.8.0" torch = "~1.10.2" torchvision = "~0.11.3" tqdm = "~4.63.0" wandb = "~0.12.11" wheel = "~0.37.1" ``` pants.toml: ```toml ..... [python] interpreter_constraints = ["==3.8.*"] lockfile_generator = "pex" tailor_ignore_solitary_init_files = false enable_resolves = true default_resolve = "default" [python.resolves] default = "default.lock" [python-infer] inits = true [python-bootstrap] search_path = ["<PYENV>", "<PATH>"] [python-repos] indexes.add = ["https://developer.download.nvidia.com/compute/redist"] ```
@obendidi can you include the contents of default.lock? This will be very hard to debug without that. Sure: <details> <summary>default.lock</summary> ```js // This lockfile was autogenerated by Pants. To regenerate, run: // // ./pants generate-lockfiles --resolve=default // // --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE --- // { // "version": 2, // "valid_for_interpreter_constraints": [ // "CPython==3.8.*" // ], // "generated_with_requirements": [ // "aio-pika<7.2.0,>=7.1.0", // "aiobotocore<2.2.0,>=2.1.2", // "aioredis<2.1.0,>=2.0.1", // "albumentations<1.2.0,>=1.1", // "alembic<1.8.0,>=1.7.7", // "anyio<3.6.0,>=3.5", // "awscli<1.23.0,>=1.22.24", // "black==22.1.0", // "boto3<1.21.0,>=1.20.24", // "botocore<1.24.0,>=1.23.24", // "click<8.1.0,>=8.0.4", // "docstring-parser<0.14.0,>=0.13.0", // "fastapi<0.76.0,>=0.75.0", // "flake8==4.0.1", // "grpcio<1.45.0,>=1.44", // "hiredis<2.1.0,>=2.0.0", // "imageio<2.17.0,>=2.16.1", // "isort==5.10.1", // "itsdangerous<2.2.0,>=2.1.1", // "javaobj-py3<0.5.0,>=0.4.3", // "jpeg4py<0.2.0,>=0.1.4", // "jsonargparse[signatures]<4.5.0,>=4.4.0", // "mypy==0.930", // "numpy<1.23.0,>=1.22.3", // "nvidia-dali-cuda110<1.12.0,>=1.11.1", // "onnxruntime<1.11.0,>=1.10.0", // "opencv-python==4.5.1.48", // "pillow<9.1.0,>=9.0.1", // "protobuf<3.20.0,>=3.19.4", // "psycopg2-binary==2.8.6", // "pydantic<1.10.0,>=1.9.0", // "pytest-cov==3.0.0", // "pytest-icdiff==0.5", // "pytest==7.1.0", // "pytorch-lightning<1.6.0,>=1.5.10", // "pyyaml<5.5.0,>=5.4.1", // "requests<2.28.0,>=2.27.1", // "rich<11.3.0,>=11.2.0", // "s3fs<2022.3.0,>=2022.2.0", // "s3transfer<0.6.0,>=0.5.2", // "scikit-image<0.20.0,>=0.19.2", // "scikit-learn<1.1.0,>=1.0.2", // "scipy<1.9.0,>=1.8.0", // "setuptools<59.6.0,>=59.5.0", // "sqlalchemy<1.5.0,>=1.4.32", // "starlette<0.18.0,>=0.17.1", // "tensorboard<2.9.0,>=2.8.0", // "torch<1.11.0,>=1.10.2", // "torchvision<0.12.0,>=0.11.3", // "tqdm<4.64.0,>=4.63.0", // "wandb<0.13.0,>=0.12.11", // "wheel<0.38.0,>=0.37.1" // ] // } // --- END PANTS LOCKFILE METADATA --- { "allow_builds": true, "allow_prereleases": false, "allow_wheels": true, "build_isolation": true, "constraints": [], "locked_resolves": [ { "locked_requirements": [ { "artifacts": [ { "algorithm": "sha256", "hash": "84e6dcdc69c947d0c13e5457d056bd43cade4c2393dce00d684aedea77ddc2a3", "url": "https://files.pythonhosted.org/packages/2c/03/e3e19d3faf430ede32e41221b294e37952e06acc96781c417ac25d4a0324/absl_py-1.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ac511215c01ee9ae47b19716599e8ccfa746f2e18de72bdf641b79b22afa27ea", "url": "https://files.pythonhosted.org/packages/bc/44/3ab719b4fea06882351cd9f9582c15ba5b4d376992ac40c3ed377761a172/absl-py-1.0.0.tar.gz" } ], "project_name": "absl-py", "requires_dists": [ "six" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f7803c6b5ced5fe8b4c2119065c213283e3bccb035c13d88b0c256bbc3fe6cb6", "url": "https://files.pythonhosted.org/packages/40/4a/58001977a471696af67ce91e859d8c07878822f52c0398c06512c3d3d861/aio_pika-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dec14ddb7e22d04ddc46f656899f7f3a592431cb618719aa7e03dfe85311be17", "url": "https://files.pythonhosted.org/packages/17/c3/bc912ef97202bb888295d08ac48e7629e97ef496d8f027d7825db8195a00/aio-pika-7.1.0.tar.gz" } ], "project_name": "aio-pika", "requires_dists": [ "aiomisc~=15.6.8; extra == \"develop\"", "aiormq~=6.2.3", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "nox; extra == \"develop\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "shortuuid; extra == \"develop\"", "sphinx-autobuild; extra == \"develop\"", "sphinx; extra == \"develop\"", "timeout-decorator; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": "<4,>3.6", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "00fd7f43cc0484d8ed274fd0be492aa16a7fea679dbea96a602bb722ca4c2d22", "url": "https://files.pythonhosted.org/packages/4e/8d/01035d9b56893bd3b5d6eb4505d3ed1383d124b1c9c2b6024c175681c64b/aiobotocore-2.1.2.tar.gz" } ], "project_name": "aiobotocore", "requires_dists": [ "aiohttp>=3.3.1", "aioitertools>=0.5.1", "awscli<1.22.25,>=1.22.24; extra == \"awscli\"", "boto3<1.20.25,>=1.20.24; extra == \"boto3\"", "botocore<1.23.25,>=1.23.24", "wrapt>=1.10.10" ], "requires_python": ">=3.6", "version": "2.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "04d48b8ce6ab3cf2097b1855e1505181bdd05586ca275f2505514a6e274e8e75", "url": "https://files.pythonhosted.org/packages/e4/eb/2e5c66f6ab8bf1fa9743552ec49bd8deb9a8ad385545bbd60c8f50529e21/aiohttp-3.8.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "2ed076098b171573161eb146afcb9129b5ff63308960aeca4b676d9d3c35e700", "url": "https://files.pythonhosted.org/packages/17/ab/36da1a4b5d2685acdc84117b32588b1edb4033b40cfbdf27a219bd6a4c6d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "31d1e1c0dbf19ebccbfd62eff461518dcb1e307b195e93bba60c965a4dcf1ba0", "url": "https://files.pythonhosted.org/packages/20/0b/c077ca31bba80ed7c1c81a7505e7e339ef82ab3d9ee679c09b3ffb04cdd5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "11691cf4dc5b94236ccc609b70fec991234e7ef8d4c02dd0c9668d1e486f5abf", "url": "https://files.pythonhosted.org/packages/38/71/e1db3f96fa85f77906ef002a08fa8d02dbdb3292180d41eb1b17ddab72bf/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "589c72667a5febd36f1315aa6e5f56dd4aa4862df295cb51c769d16142ddd7cd", "url": "https://files.pythonhosted.org/packages/54/ab/5e5d0e042b9b149efd867eaaf4a6c94c51ccdf3f955564e0fce1dbfbcb4d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "bb01ba6b0d3f6c68b89fce7305080145d4877ad3acaed424bae4d4ee75faa950", "url": "https://files.pythonhosted.org/packages/55/a5/2912baebc80570a34a2103a34e3c65b84e93bcf20f6e09fbe335ce27e3cf/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "11a67c0d562e07067c4e86bffc1553f2cf5b664d6111c894671b2b8712f3aba5", "url": "https://files.pythonhosted.org/packages/58/54/f4c1bac24b2365c2eb8d5205822b3ea41e40e1c471060c2409b9dbf05be5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578", "url": "https://files.pythonhosted.org/packages/5a/86/5f63de7a202550269a617a5d57859a2961f3396ecd1739a70b92224766bc/aiohttp-3.8.1.tar.gz" }, { "algorithm": "sha256", "hash": "c3d6a4d0619e09dcd61021debf7059955c2004fa29f48788a3dfaf9c9901a7cd", "url": "https://files.pythonhosted.org/packages/5e/34/a5d2619c062e6fed7224fb920e93b1d8ad055bb3b1b544e754c864c978a0/aiohttp-3.8.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "8b7ef7cbd4fec9a1e811a5de813311ed4f7ac7d93e0fda233c9b3e1428f7dd7b", "url": "https://files.pythonhosted.org/packages/79/5c/573d590ebff44e927aa0820b194a46c15253808725f82f23aa13440808ef/aiohttp-3.8.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "844a9b460871ee0a0b0b68a64890dae9c415e513db0f4a7e3cab41a0f2fedf33", "url": "https://files.pythonhosted.org/packages/81/31/baf1ff4e36da246dc3ff2e0c12f2f7688b4f394ad21e29e3ef4ba864d035/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "44db35a9e15d6fe5c40d74952e803b1d96e964f683b5a78c3cc64eb177878155", "url": "https://files.pythonhosted.org/packages/9f/bc/5928e69637252150176b3604f7c386a9184358fcc7338c0b8c55a7908523/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0c7ebbbde809ff4e970824b2b6cb7e4222be6b95a296e46c03cf050878fc1785", "url": "https://files.pythonhosted.org/packages/cf/6a/acf689f13f39700cfa526f6bff2d10dfd29aa21cbc0d3a5cf0f153298a74/aiohttp-3.8.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "086f92daf51a032d062ec5f58af5ca6a44d082c35299c96376a41cbb33034675", "url": "https://files.pythonhosted.org/packages/ed/af/cf551e595af1979ba74c280d94aa0c351e634285608ac70cb6def374f661/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "7d08744e9bae2ca9c382581f7dce1273fe3c9bae94ff572c3626e8da5b193c6a", "url": "https://files.pythonhosted.org/packages/f1/ca/603261545a757915fb30446a9d7a394cd934865a8eac3c18ce638df90687/aiohttp-3.8.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "718626a174e7e467f0558954f94af117b7d4695d48eb980146016afa4b580b2e", "url": "https://files.pythonhosted.org/packages/ff/a6/184cd63b06ea05edfcfba946fed3da7afb2f0b7e3237fb1b2c056cce57f6/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "aiohttp", "requires_dists": [ "Brotli; extra == \"speedups\"", "aiodns; extra == \"speedups\"", "aiosignal>=1.1.2", "async-timeout<5.0,>=4.0.0a3", "asynctest==0.13.0; python_version < \"3.8\"", "attrs>=17.3.0", "cchardet; extra == \"speedups\"", "charset-normalizer<3.0,>=2.0", "frozenlist>=1.1.1", "idna-ssl>=1.0; python_version < \"3.7\"", "multidict<7.0,>=4.5", "typing-extensions>=3.7.4; python_version < \"3.8\"", "yarl<2.0,>=1.0" ], "requires_python": ">=3.6", "version": "3.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a2ea2a39ebf272a2fbb58bfdb73e1daeeb6686edbbc8082215dfc8b8ffffa6e8", "url": "https://files.pythonhosted.org/packages/b4/20/8af729fab3df6827407b060211ffffe79e0d220fba0c4f768de599f3cbe3/aioitertools-0.10.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7d1d1d4a03d462c5a0840787d3df098f125847e0d38b833b30f8f8cbc45a1420", "url": "https://files.pythonhosted.org/packages/c2/9c/36180745f894257a50b1473fa348daf996b959d66f5985bbc868e44ef3ee/aioitertools-0.10.0.tar.gz" } ], "project_name": "aioitertools", "requires_dists": [ "typing_extensions>=4.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9ac0d0b3b485d293b8ca1987e6de8658d7dafcca1cddfcd1d506cae8cdebfdd6", "url": "https://files.pythonhosted.org/packages/9b/a9/0da089c3ae7a31cbcd2dcf0214f6f571e1295d292b6139e2bac68ec081d0/aioredis-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eaa51aaf993f2d71f54b70527c440437ba65340588afeb786cd87c55c89cd98e", "url": "https://files.pythonhosted.org/packages/2e/cf/9eb144a0b05809ffc5d29045c4b51039000ea275bc1268d0351c9e7dfc06/aioredis-2.0.1.tar.gz" } ], "project_name": "aioredis", "requires_dists": [ "async-timeout", "hiredis>=1.0; implementation_name == \"cpython\" and extra == \"hiredis\"", "typing-extensions" ], "requires_python": ">=3.6", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "95f0da57edd55f214a2e6c5b7ac98fa58a7c33911acd0d3315e86926b2dd2605", "url": "https://files.pythonhosted.org/packages/aa/2b/e104ac73ea2679a90a41cb943f17034177179f5c225d5cea83910ac7ad25/aiormq-6.2.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db6c1e6e384f1d4dafe19f8df70c6dfc994932b40f4e542690016023ff8e952b", "url": "https://files.pythonhosted.org/packages/ed/e9/5d28ab240de260351b509441506a9ca93fc5c2ab081afb0ab7c5f663512d/aiormq-6.2.3.tar.gz" } ], "project_name": "aiormq", "requires_dists": [ "aiomisc~=11.0; extra == \"develop\"", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "pamqp==3.0.1; python_version < \"3.7\"", "pamqp==3.1.0; python_version >= \"3.7\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": ">=3.6", "version": "6.2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a", "url": "https://files.pythonhosted.org/packages/3b/87/fe94898f2d44a93a35d5aa74671ed28094d80753a1113d68b799fab6dc22/aiosignal-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2", "url": "https://files.pythonhosted.org/packages/27/6b/a89fbcfae70cf53f066ec22591938296889d3cc58fec1e1c393b10e8d71d/aiosignal-1.2.0.tar.gz" } ], "project_name": "aiosignal", "requires_dists": [ "frozenlist>=1.1.0" ], "requires_python": ">=3.6", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6acf78a5f9504bd36c4a8e18eed29f7103c2fa6a7ba5be399c6088820cc88a8a", "url": "https://files.pythonhosted.org/packages/75/27/a8b0a738f8423b7ef9d0c9f8e73d5867395dbdae563c1655e9548cf700b9/albumentations-1.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60b067b3093908bcc52adb2aa5d44f57ebdbb8ab57a47b0b42f3dc1d3b1ce824", "url": "https://files.pythonhosted.org/packages/c8/a2/ab0ddadd960b4caf824063783d24174119cbddae409ff99fbe6fd45c63ec/albumentations-1.1.0.tar.gz" } ], "project_name": "albumentations", "requires_dists": [ "PyYAML", "imgaug>=0.4.0; extra == \"develop\"", "imgaug>=0.4.0; extra == \"imgaug\"", "numpy>=1.11.1", "opencv-python-headless>=4.1.1", "pytest; extra == \"develop\"", "pytest; extra == \"tests\"", "qudida>=0.0.4", "scikit-image>=0.16.1", "scipy" ], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "29be0856ec7591c39f4e1cb10f198045d890e6e2274cf8da80cb5e721a09642b", "url": "https://files.pythonhosted.org/packages/b3/e2/8d48220731b7279911c43e95cd182961a703b939de6822b00de3ea0d3159/alembic-1.7.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4961248173ead7ce8a21efb3de378f13b8398e6630fab0eb258dc74a8af24c58", "url": "https://files.pythonhosted.org/packages/30/b9/5526b43a4c54d177ab14af0af4b5c31d73db33d1ad3e30976d3b023e0594/alembic-1.7.7.tar.gz" } ], "project_name": "alembic", "requires_dists": [ "Mako", "SQLAlchemy>=1.3.0", "importlib-metadata; python_version < \"3.9\"", "importlib-resources; python_version < \"3.9\"", "python-dateutil; extra == \"tz\"" ], "requires_python": ">=3.6", "version": "1.7.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e", "url": "https://files.pythonhosted.org/packages/b1/ae/9a8af72d6f0c551943903eefcf93c3a29898fb7b594603c0d70679c199b1/anyio-3.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6", "url": "https://files.pythonhosted.org/packages/4f/d0/b957c0679a9bd0ed334e2e584102f077c3e703f83d099464c3d9569b7c8a/anyio-3.5.0.tar.gz" } ], "project_name": "anyio", "requires_dists": [ "contextlib2; python_version < \"3.7\" and extra == \"test\"", "contextvars; python_version < \"3.7\"", "coverage[toml]>=4.5; extra == \"test\"", "dataclasses; python_version < \"3.7\"", "hypothesis>=4.0; extra == \"test\"", "idna>=2.8", "mock>=4; python_version < \"3.8\" and extra == \"test\"", "packaging; extra == \"doc\"", "pytest-mock>=3.6.1; extra == \"test\"", "pytest>=6.0; extra == \"test\"", "sniffio>=1.1", "sphinx-autodoc-typehints>=1.2.0; extra == \"doc\"", "sphinx-rtd-theme; extra == \"doc\"", "trio>=0.16; extra == \"trio\"", "trustme; extra == \"test\"", "typing-extensions; python_version < \"3.8\"", "uvloop<0.15; (python_version < \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"", "uvloop>=0.15; (python_version >= \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"" ], "requires_python": ">=3.6.2", "version": "3.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c", "url": "https://files.pythonhosted.org/packages/d6/c1/8991e7c5385b897b8c020cdaad718c5b087a6626d1d11a23e1ea87e325a7/async_timeout-4.0.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15", "url": "https://files.pythonhosted.org/packages/54/6e/9678f7b2993537452710ffb1750c62d2c26df438aa621ad5fa9d1507a43a/async-timeout-4.0.2.tar.gz" } ], "project_name": "async-timeout", "requires_dists": [ "typing-extensions>=3.6.5; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "4.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197", "url": "https://files.pythonhosted.org/packages/2c/a0/da5f49008ec6e9a658dbf5d7310a4debd397bce0b4db03cf8a410066bb87/atomicwrites-1.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a", "url": "https://files.pythonhosted.org/packages/55/8d/74a75635f2c3c914ab5b3850112fd4b0c8039975ecb320e4449aa363ba54/atomicwrites-1.4.0.tar.gz" } ], "project_name": "atomicwrites", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", "url": "https://files.pythonhosted.org/packages/be/be/7abce643bfdf8ca01c48afa2ddf8308c2308b0c3b239a44e57d020afa0ef/attrs-21.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd", "url": "https://files.pythonhosted.org/packages/d7/77/ebb15fc26d0f815839ecd897b919ed6d85c050feeb83e100e020df9153d2/attrs-21.4.0.tar.gz" } ], "project_name": "attrs", "requires_dists": [ "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"dev\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests_no_zope\"", "coverage[toml]>=5.0.2; extra == \"dev\"", "coverage[toml]>=5.0.2; extra == \"tests\"", "coverage[toml]>=5.0.2; extra == \"tests_no_zope\"", "furo; extra == \"dev\"", "furo; extra == \"docs\"", "hypothesis; extra == \"dev\"", "hypothesis; extra == \"tests\"", "hypothesis; extra == \"tests_no_zope\"", "mypy; extra == \"dev\"", "mypy; extra == \"tests\"", "mypy; extra == \"tests_no_zope\"", "pre-commit; extra == \"dev\"", "pympler; extra == \"dev\"", "pympler; extra == \"tests\"", "pympler; extra == \"tests_no_zope\"", "pytest-mypy-plugins; extra == \"dev\"", "pytest-mypy-plugins; extra == \"tests\"", "pytest-mypy-plugins; extra == \"tests_no_zope\"", "pytest>=4.3.0; extra == \"dev\"", "pytest>=4.3.0; extra == \"tests\"", "pytest>=4.3.0; extra == \"tests_no_zope\"", "six; extra == \"dev\"", "six; extra == \"tests\"", "six; extra == \"tests_no_zope\"", "sphinx-notfound-page; extra == \"dev\"", "sphinx-notfound-page; extra == \"docs\"", "sphinx; extra == \"dev\"", "sphinx; extra == \"docs\"", "zope.interface; extra == \"dev\"", "zope.interface; extra == \"docs\"", "zope.interface; extra == \"tests\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "21.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "87708701ccd390109bfa3c8f974a425fd0fce3abf7ef681a1fb889d1f6bb7a1f", "url": "https://files.pythonhosted.org/packages/0a/3c/c2d48f848050b66894ef0e95cf498f175d4d93bfc53a329bff80bd42d4cf/awscli-1.22.24-py3-none-any.whl" } ], "project_name": "awscli", "requires_dists": [ "PyYAML<5.5,>=3.10", "botocore==1.23.24", "colorama<0.4.4,>=0.2.5", "docutils<0.16,>=0.10", "rsa<4.8,>=3.1.2", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.22.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d", "url": "https://files.pythonhosted.org/packages/a5/59/bd6d44da2b364fd2bd7a0b2ce2edfe200b79faad1cde14ce5ef13d504393/black-22.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3", "url": "https://files.pythonhosted.org/packages/08/b2/dbd7330ffe13571e17b7f905f7639ba77f01282ff1ecd94f3278c50ebb32/black-22.1.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61", "url": "https://files.pythonhosted.org/packages/0b/7f/384cf21254346f4cd535fa8bf2531ff2b3f1307680199e28ea949c3ecb89/black-22.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912", "url": "https://files.pythonhosted.org/packages/3e/c4/95eea7bd67b37c54b7322ff3595fd3d679345e2b89ceca48fe3ec10df52c/black-22.1.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5", "url": "https://files.pythonhosted.org/packages/42/58/8a3443a5034685152270f9012a9d196c9f165791ed3f2777307708b15f6c/black-22.1.0.tar.gz" }, { "algorithm": "sha256", "hash": "6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd", "url": "https://files.pythonhosted.org/packages/66/83/47fa3811eea48edbbea09a07fd137f593e10af2f481f965855eb09a17e20/black-22.1.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3", "url": "https://files.pythonhosted.org/packages/9b/78/42a83acaf953b3ea5d6067c72f795a4df4b3eb540123cc2a59ec797d174b/black-22.1.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "black", "requires_dists": [ "aiohttp>=3.7.4; extra == \"d\"", "click>=8.0.0", "colorama>=0.4.3; extra == \"colorama\"", "dataclasses>=0.6; python_version < \"3.7\"", "ipython>=7.8.0; extra == \"jupyter\"", "mypy-extensions>=0.4.3", "pathspec>=0.9.0", "platformdirs>=2", "tokenize-rt>=3.2.0; extra == \"jupyter\"", "tomli>=1.1.0", "typed-ast>=1.4.2; python_version < \"3.8\" and implementation_name == \"cpython\"", "typing-extensions>=3.10.0.0; python_version < \"3.10\"", "uvloop>=0.15.2; extra == \"uvloop\"" ], "requires_python": ">=3.6.2", "version": "22.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8f08e8e94bf107c5e9866684e9aadf8d9f60abed0cfe5c1dba4e7328674a1986", "url": "https://files.pythonhosted.org/packages/4a/15/d854221077e22acd05c190778c29b14398bce0cee0fed34a6979d320546e/boto3-1.20.24-py3-none-any.whl" } ], "project_name": "boto3", "requires_dists": [ "botocore<1.24.0,>=1.23.24", "botocore[crt]<2.0a0,>=1.21.0; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.20.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e78d48c50c8c013fb9b362c6202fece2fe868edfd89b51968080180bdff41617", "url": "https://files.pythonhosted.org/packages/ef/05/cb9048c57f77ab9fa6970d2c88bd92471dc4ccc4bcf5b59c645db9cbdedc/botocore-1.23.24-py3-none-any.whl" } ], "project_name": "botocore", "requires_dists": [ "awscrt==0.12.5; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "python-dateutil<3.0.0,>=2.1", "urllib3<1.27,>=1.25.4" ], "requires_python": ">=3.6", "version": "1.23.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8fecd4203a38af17928be7b90689d8083603073622229ca7077b72d8e5a976e4", "url": "https://files.pythonhosted.org/packages/19/99/ace1769546388976b45e93445bb04c6df95e96363f03fbb56f916da5ebde/cachetools-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "486471dfa8799eb7ec503a8059e263db000cdda20075ce5e48903087f79d5fd6", "url": "https://files.pythonhosted.org/packages/ad/81/539036a8716b4e0a96f77540194bb1e863a24b8e9bc9ddd74e30f1653df5/cachetools-5.0.0.tar.gz" } ], "project_name": "cachetools", "requires_dists": [], "requires_python": "~=3.7", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569", "url": "https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872", "url": "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz" } ], "project_name": "certifi", "requires_dists": [], "requires_python": null, "version": "2021.10.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443", "url": "https://files.pythonhosted.org/packages/b6/15/a50bf922c5f025665a9671c5ef063c3f384303d422f6b1d3134510cc044e/cffi-1.15.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954", "url": "https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz" }, { "algorithm": "sha256", "hash": "0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20", "url": "https://files.pythonhosted.org/packages/25/ba/a1d3428797f25a42530adb2c8cce1655863b6a37ece63465a16b5e939a43/cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6", "url": "https://files.pythonhosted.org/packages/33/e7/afbae3b77e10929dd5ccdf9ae99c39ec4085148888ff4507000429937166/cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c", "url": "https://files.pythonhosted.org/packages/46/ab/b8dbd36f793cc3492ad26148e0ee0cad38fd47105ff30295e2cd88cc62e2/cffi-1.15.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880", "url": "https://files.pythonhosted.org/packages/5e/f0/693b6c7fea52d1afad55d1bfa3e5991a9075d98ac66330ab404dbc69ec8d/cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e", "url": "https://files.pythonhosted.org/packages/97/5b/88b6fde78749406ddd15ef89466927e688912ff9ff3248d9f41b4551362a/cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024", "url": "https://files.pythonhosted.org/packages/e5/fe/1dac7533ddb73767df8ba26183a9375dde2ee136aec7c92c9fb3038108e3/cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728", "url": "https://files.pythonhosted.org/packages/f5/7b/dba03f566c1966b2f23e95fbbe1b6d8e2b98450f0b779f2b5ce38470447f/cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" } ], "project_name": "cffi", "requires_dists": [ "pycparser" ], "requires_python": null, "version": "1.15" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df", "url": "https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597", "url": "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz" } ], "project_name": "charset-normalizer", "requires_dists": [ "unicodedata2; extra == \"unicode_backport\"" ], "requires_python": ">=3.5.0", "version": "2.0.12" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", "url": "https://files.pythonhosted.org/packages/4a/a8/0b2ced25639fb20cc1c9784de90a8c25f9504a7f18cd8b5397bd61696d7d/click-8.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb", "url": "https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz" } ], "project_name": "click", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-metadata; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "8.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff", "url": "https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl" } ], "project_name": "colorama", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9", "url": "https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60", "url": "https://files.pythonhosted.org/packages/60/48/a60f593447e8f0894ebb7f6e6c1f25dafc5e89c5879fdc9360ae93ff83f0/commonmark-0.9.1.tar.gz" } ], "project_name": "commonmark", "requires_dists": [ "flake8==3.7.8; extra == \"test\"", "future>=0.14.0; python_version < \"3\"", "hypothesis==3.55.3; extra == \"test\"" ], "requires_python": null, "version": "0.9.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "18d520c6860515a771708937d2f78f63cc47ab3b80cb78e86573b0a760161faf", "url": "https://files.pythonhosted.org/packages/93/20/cce510ad6ee47ad3e3a9993bc83eaa8df5aead5c0b68b769f10fc7daad45/coverage-6.3.2-pp36.pp37.pp38-none-any.whl" }, { "algorithm": "sha256", "hash": "fd9e830e9d8d89b20ab1e5af09b32d33e1a08ef4c4e14411e559556fd788e6b2", "url": "https://files.pythonhosted.org/packages/03/22/38506bc2af4fc49bb49cb76c52ed4523ff80277ad98fd46e981736419fb2/coverage-6.3.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "8fbbdc8d55990eac1b0919ca69eb5a988a802b854488c34b8f37f3e2025fa90d", "url": "https://files.pythonhosted.org/packages/0c/58/25b4d208e0f6f00e19440385f360dc9891f8fa5ab62c11da52eb226fd9cd/coverage-6.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9baff2a45ae1f17c8078452e9e5962e518eab705e50a0aa8083733ea7d45f3a6", "url": "https://files.pythonhosted.org/packages/0d/ac/31bb95db096b26455416aa8d8804a2a3ed93c60dc339b737b939f3f30b7b/coverage-6.3.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "07e6db90cd9686c767dcc593dff16c8c09f9814f5e9c51034066cad3373b914d", "url": "https://files.pythonhosted.org/packages/13/e5/eaec94d3037f4300a23303819f066b72cb0c18b7789505a0a56e1e765a8e/coverage-6.3.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "68353fe7cdf91f109fc7d474461b46e7f1f14e533e911a2a2cbb8b0fc8613cf1", "url": "https://files.pythonhosted.org/packages/1c/f7/3e6cdff1210a670793aad0f87e0bc357054431450893a867302c372da6c2/coverage-6.3.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7331dbf301b7289013175087636bbaf5b2405e57259dd2c42fdcc9fcc47325e", "url": "https://files.pythonhosted.org/packages/3a/f4/35d8789ec3d50d099ebdd3d7d062b58075135bdfa0fe93efded481407dec/coverage-6.3.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "03e2a7826086b91ef345ff18742ee9fc47a6839ccd517061ef8fa1976e652ce9", "url": "https://files.pythonhosted.org/packages/74/fb/f481628033d42f6f6021af8a9a13d913707221e139567f39b09b337421b9/coverage-6.3.2.tar.gz" }, { "algorithm": "sha256", "hash": "8cf5cfcb1521dc3255d845d9dca3ff204b3229401994ef8d1984b32746bb45ca", "url": "https://files.pythonhosted.org/packages/82/34/1920e7a59217c8bc841ad5de12813802e0db7cb5c6d6395acd1f9e78253b/coverage-6.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2c6dbb42f3ad25760010c45191e9757e7dce981cbfb90e42feef301d71540059", "url": "https://files.pythonhosted.org/packages/8e/39/d3bc33bea5180ed18feba96de51b5deba6e330e2fc3b487f3117fcf391bc/coverage-6.3.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c76aeef1b95aff3905fb2ae2d96e319caca5b76fa41d3470b19d4e4a3a313512", "url": "https://files.pythonhosted.org/packages/f2/45/824cb20113fa6a2bf97b6f4a592361a30460f8f24335e033f2d31ee1a487/coverage-6.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ec6bc7fe73a938933d4178c9b23c4e0568e43e220aef9472c4f6044bfc6dd0f0", "url": "https://files.pythonhosted.org/packages/fe/ae/1574d61ed41a8d82a5643affcd9beb7f626cbcab3d09c8a714054f670d75/coverage-6.3.2-cp38-cp38-musllinux_1_1_aarch64.whl" } ], "project_name": "coverage", "requires_dists": [ "tomli; extra == \"toml\"" ], "requires_python": ">=3.7", "version": "6.3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49", "url": "https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4", "url": "https://files.pythonhosted.org/packages/c5/e6/d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009/docker-pycreds-0.4.0.tar.gz" } ], "project_name": "docker-pycreds", "requires_dists": [ "six>=1.4.0" ], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "66dd7eac7232202bf220fd98a5f11491863c01f958a75fdd535c7eccac9ced78", "url": "https://files.pythonhosted.org/packages/e7/18/8476fa1363bf038caf7b88cab473c6f9a821a5886c98364bf43d6fdea8a7/docstring_parser-0.13.tar.gz" } ], "project_name": "docstring-parser", "requires_dists": [ "black; extra == \"test\"", "pytest; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.13" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6c4f696463b79f1fb8ba0c594b63840ebd41f059e92b31957c46b74a4599b6d0", "url": "https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99", "url": "https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61/docutils-0.15.2.tar.gz" } ], "project_name": "docutils", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.15.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "43d12891b78fc497a50623e9c7c24640c569489f060acd9ce2c4902080487a93", "url": "https://files.pythonhosted.org/packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "124774ce4cb3322841965f559669b233a0b8d343ea24fdd8b293253c077220d7", "url": "https://files.pythonhosted.org/packages/6d/0b/64ecaddaa9d6d4bbf40422664650f7ec45de9281306c69f22f16f92c510c/fastapi-0.75.0.tar.gz" } ], "project_name": "fastapi", "requires_dists": [ "anyio[trio]<4.0.0,>=3.2.1; extra == \"test\"", "autoflake<2.0.0,>=1.4.0; extra == \"dev\"", "black==21.9b0; extra == \"test\"", "databases[sqlite]<0.6.0,>=0.3.2; extra == \"test\"", "email_validator<2.0.0,>=1.1.1; extra == \"all\"", "email_validator<2.0.0,>=1.1.1; extra == \"test\"", "flake8<4.0.0,>=3.8.3; extra == \"dev\"", "flake8<4.0.0,>=3.8.3; extra == \"test\"", "flask<3.0.0,>=1.1.2; extra == \"test\"", "httpx<0.19.0,>=0.14.0; extra == \"test\"", "isort<6.0.0,>=5.0.6; extra == \"test\"", "itsdangerous<3.0.0,>=1.1.0; extra == \"all\"", "jinja2<4.0.0,>=2.11.2; extra == \"all\"", "mdx-include<2.0.0,>=1.4.1; extra == \"doc\"", "mkdocs-markdownextradata-plugin<0.3.0,>=0.1.7; extra == \"doc\"", "mkdocs-material<9.0.0,>=8.1.4; extra == \"doc\"", "mkdocs<2.0.0,>=1.1.2; extra == \"doc\"", "mypy==0.910; extra == \"test\"", "orjson<4.0.0,>=3.2.1; extra == \"all\"", "orjson<4.0.0,>=3.2.1; extra == \"test\"", "passlib[bcrypt]<2.0.0,>=1.7.2; extra == \"dev\"", "peewee<4.0.0,>=3.13.3; extra == \"test\"", "pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2", "pytest-cov<4.0.0,>=2.12.0; extra == \"test\"", "pytest<7.0.0,>=6.2.4; extra == \"test\"", "python-jose[cryptography]<4.0.0,>=3.3.0; extra == \"dev\"", "python-multipart<0.0.6,>=0.0.5; extra == \"all\"", "python-multipart<0.0.6,>=0.0.5; extra == \"test\"", "pyyaml<6.0.0,>=5.3.1; extra == \"all\"", "pyyaml<6.0.0,>=5.3.1; extra == \"doc\"", "requests<3.0.0,>=2.24.0; extra == \"all\"", "requests<3.0.0,>=2.24.0; extra == \"test\"", "sqlalchemy<1.5.0,>=1.3.18; extra == \"test\"", "starlette==0.17.1", "typer-cli<0.0.13,>=0.0.12; extra == \"doc\"", "types-dataclasses==0.1.7; extra == \"test\" and python_version < \"3.7\"", "types-orjson==3.6.0; extra == \"test\"", "types-ujson==0.1.1; extra == \"test\"", "ujson<5.0.0,>=4.0.1; extra == \"all\"", "ujson<5.0.0,>=4.0.1; extra == \"test\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"all\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"dev\"" ], "requires_python": ">=3.6.1", "version": "0.75" }, { "artifacts": [ { "algorithm": "sha256", "hash": "479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d", "url": "https://files.pythonhosted.org/packages/34/39/cde2c8a227abb4f9ce62fe55586b920f438f1d2903a1a22514d0b982c333/flake8-4.0.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d", "url": "https://files.pythonhosted.org/packages/e6/84/d8db922289195c435779b4ca3a3f583f263f87e67954f7b2e83c8da21f48/flake8-4.0.1.tar.gz" } ], "project_name": "flake8", "requires_dists": [ "importlib-metadata<4.3; python_version < \"3.8\"", "mccabe<0.7.0,>=0.6.0", "pycodestyle<2.9.0,>=2.8.0", "pyflakes<2.5.0,>=2.4.0" ], "requires_python": ">=3.6", "version": "4.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3751954f0604580d3219ae49a85fafec9d85eec599c0b96226e1bc0b48e57474", "url": "https://files.pythonhosted.org/packages/3d/d0/26033c70d642fbc1e35d3619cf3210986fb953c173b1226709f75056c149/flatbuffers-2.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "12158ab0272375eab8db2d663ae97370c33f152b27801fa6024e1d6105fd4dd2", "url": "https://files.pythonhosted.org/packages/10/41/09e9ab2134895b82466fada08b69b800f9a724bc81fcca3d4474ce48ffce/flatbuffers-2.0.tar.gz" } ], "project_name": "flatbuffers", "requires_dists": [], "requires_python": null, "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f20baa05eaa2bcd5404c445ec51aed1c268d62600362dc6cfe04fae34a424bd9", "url": "https://files.pythonhosted.org/packages/db/d7/a18b9586dbed333e7106497a863105b70f0f8b02be690cafbac728108c33/frozenlist-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "aff388be97ef2677ae185e72dc500d19ecaf31b698986800d3fc4f399a5e30a5", "url": "https://files.pythonhosted.org/packages/27/0f/e90231d20dc520d94977cc5f4aa22cc25f1f3f60984c0161cacc2455ac2c/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "30530930410855c451bea83f7b272fb1c495ed9d5cc72895ac29e91279401db3", "url": "https://files.pythonhosted.org/packages/27/bf/e5580ee57ff1d13369afa00f76041cddef1479302212bca2fc5e28b04a12/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "871d42623ae15eb0b0e9df65baeee6976b2e161d0ba93155411d58ff27483ad8", "url": "https://files.pythonhosted.org/packages/3b/76/3d7c273b91e6dc914859f8752d42b763f39ae83782ec9a063a526c816977/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "40dff8962b8eba91fd3848d857203f0bd704b5f1fa2b3fc9af64901a190bba08", "url": "https://files.pythonhosted.org/packages/41/c9/d6041d7c59e9e6300777362ac63fcaebe52c7529ce11e1fc3457e79c4a88/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "40ec383bc194accba825fbb7d0ef3dda5736ceab2375462f1d8672d9f6b68d07", "url": "https://files.pythonhosted.org/packages/58/a1/c7864e112750c9db984504410439162461f5c0e0defaf6cd4f691a6f1936/frozenlist-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e982878792c971cbd60ee510c4ee5bf089a8246226dea1f2138aa0bb67aff148", "url": "https://files.pythonhosted.org/packages/63/32/d294f2807bb9738ef817c536cea274ca92db09631c9bf5363006b9e0a0cb/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "006d3595e7d4108a12025ddf415ae0f6c9e736e726a5db0183326fd191b14c5e", "url": "https://files.pythonhosted.org/packages/67/9b/1d7d4600c554466b35c08710a685b595d734ac7a5ad435b62a41e523bc5b/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "8c905a5186d77111f02144fab5b849ab524f1e876a1e75205cd1386a9be4b00a", "url": "https://files.pythonhosted.org/packages/73/cb/f59ce1c5ed397ef2ad48f4ff275c88891b853d0958c0a3b3314a4d271247/frozenlist-1.3.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "9f892d6a94ec5c7b785e548e42722e6f3a52f5f32a8461e82ac3e67a3bd073f1", "url": "https://files.pythonhosted.org/packages/9f/95/781f7ab716cf0484808b41be6663e19fb1499478d985f9a4cb849126ab36/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "92e650bd09b5dda929523b9f8e7f99b24deac61240ecc1a32aeba487afcd970f", "url": "https://files.pythonhosted.org/packages/aa/4a/cf7d70fda15ca8db585a52fa56b46285284e5fe622ffb88ece85108fe5be/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2fdc3cd845e5a1f71a0c3518528bfdbfe2efaf9886d6f49eacc5ee4fd9a10953", "url": "https://files.pythonhosted.org/packages/c9/2e/459161a83044c8a823e3e8b50b949e30e13660db2e80b38ebc2484e65a21/frozenlist-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c6c321dd013e8fc20735b92cb4892c115f5cdb82c817b1e5b07f6b95d952b2f0", "url": "https://files.pythonhosted.org/packages/cb/33/df01f848ea55bdc3b9cf0abbbfa06b331f67af78c9ef1cf79d48e8ce2e04/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "b5009062d78a8c6890d50b4e53b0ddda31841b3935c1937e2ed8c1bda1c7fb9d", "url": "https://files.pythonhosted.org/packages/f0/f3/68f7ea79bfc62ad514179cdfeef7ed590be196643b552584064e326e10d7/frozenlist-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b", "url": "https://files.pythonhosted.org/packages/f4/f7/8dfeb76d2a52bcea2b0718427af954ffec98be1d34cd8f282034b3e36829/frozenlist-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "768efd082074bb203c934e83a61654ed4931ef02412c2fbdecea0cff7ecd0274", "url": "https://files.pythonhosted.org/packages/fc/8a/1ac3824da6435a042a43d5a8c68c53bb04acf0998338f85a4b0ccdd44465/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" } ], "project_name": "frozenlist", "requires_dists": [], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "eb9c9d9aee49d23028deefffe53e87c55d3515512c63f57e893710301001449a", "url": "https://files.pythonhosted.org/packages/b4/80/cd21f093faef23c03b9fc1274be7a3bfd63b809d2f06a1cff92e00cacfcc/fsspec-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "20322c659538501f52f6caa73b08b2ff570b7e8ea30a86559721d090e473ad5c", "url": "https://files.pythonhosted.org/packages/47/d1/53c0b8e6bd4082a7fdee652b96d30b4c433e277793da6e650eabe73fc2cb/fsspec-2022.2.0.tar.gz" } ], "project_name": "fsspec", "requires_dists": [ "adlfs; extra == \"abfs\"", "adlfs; extra == \"adl\"", "aiohttp; extra == \"http\"", "dask; extra == \"dask\"", "distributed; extra == \"dask\"", "dropbox; extra == \"dropbox\"", "dropboxdrivefs; extra == \"dropbox\"", "fusepy; extra == \"fuse\"", "gcsfs; extra == \"gcs\"", "gcsfs; extra == \"gs\"", "importlib-metadata; python_version < \"3.8\" and extra == \"entrypoints\"", "libarchive-c; extra == \"libarchive\"", "ocifs; extra == \"oci\"", "panel; extra == \"gui\"", "paramiko; extra == \"sftp\"", "paramiko; extra == \"ssh\"", "pyarrow>=1; extra == \"arrow\"", "pyarrow>=1; extra == \"hdfs\"", "pygit2; extra == \"git\"", "requests; extra == \"dropbox\"", "requests; extra == \"github\"", "requests; extra == \"http\"", "s3fs; extra == \"s3\"", "smbprotocol; extra == \"smb\"" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d", "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz" } ], "project_name": "future", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.18.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd", "url": "https://files.pythonhosted.org/packages/a3/7c/5d747655049bfbf75b5fcec57c8115896cb78d6fafa84f6d3ef4c0f13a98/gitdb-4.0.9-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa", "url": "https://files.pythonhosted.org/packages/fc/44/64e02ef96f20b347385f0e9c03098659cb5a1285d36c3d17c56e534d80cf/gitdb-4.0.9.tar.gz" } ], "project_name": "gitdb", "requires_dists": [ "smmap<6,>=3.0.1" ], "requires_python": ">=3.6", "version": "4.0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5b68b000463593e05ff2b261acff0ff0972df8ab1b70d3cdbd41b546c8b8fc3d", "url": "https://files.pythonhosted.org/packages/83/32/ce68915670da6fd6b1e3fb4b3554b4462512f6441dddd194fc0f4f6ec653/GitPython-3.1.27-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1c885ce809e8ba2d88a29befeb385fcea06338d3640712b59ca623c220bb5704", "url": "https://files.pythonhosted.org/packages/d6/39/5b91b6c40570dc1c753359de7492404ba8fe7d71af40b618a780c7ad1fc7/GitPython-3.1.27.tar.gz" } ], "project_name": "gitpython", "requires_dists": [ "gitdb<5,>=4.0.1", "typing-extensions>=3.7.4.3; python_version < \"3.8\"" ], "requires_python": ">=3.7", "version": "3.1.27" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3ba4d63cb29c1e6d5ffcc1c0623c03cf02ede6240a072f213084749574e691ab", "url": "https://files.pythonhosted.org/packages/21/6c/e784c6883689fae9d1c5f82d995ddc82c284daa514edd5ba67ea38d88341/google_auth-2.6.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60d449f8142c742db760f4c0be39121bc8d9be855555d784c252deaca1ced3f5", "url": "https://files.pythonhosted.org/packages/61/82/ff343c5917420acf0089d51355d1d693d724ac0be30d099a95e504af9920/google-auth-2.6.2.tar.gz" } ], "project_name": "google-auth", "requires_dists": [ "aiohttp<4.0.0dev,>=3.6.2; python_version >= \"3.6\" and extra == \"aiohttp\"", "cachetools<6.0,>=2.0.0", "enum34>=1.1.10; python_version < \"3.4\"", "pyasn1-modules>=0.2.1", "pyopenssl>=20.0.0; extra == \"pyopenssl\"", "pyu2f>=0.1.5; extra == \"reauth\"", "requests<3.0.0dev,>=2.20.0; extra == \"aiohttp\"", "rsa<4.6; python_version < \"3.6\"", "rsa<5,>=3.1.4; python_version >= \"3.6\"", "six>=1.9.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.6.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3f2a6e802eebbb6fb736a370fbf3b055edcb6b52878bf2f26330b5e041316c73", "url": "https://files.pythonhosted.org/packages/b1/0e/0636cc1448a7abc444fb1b3a63655e294e0d2d49092dc3de05241be6d43c/google_auth_oauthlib-0.4.6-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a90a072f6993f2c327067bf65270046384cda5a8ecb20b94ea9a687f1f233a7a", "url": "https://files.pythonhosted.org/packages/30/21/b84fa7ef834d4b126faad13da6e582c8f888e196326b9d6aab1ae303df4f/google-auth-oauthlib-0.4.6.tar.gz" } ], "project_name": "google-auth-oauthlib", "requires_dists": [ "click>=6.0.0; extra == \"tool\"", "google-auth>=1.0.0", "requests-oauthlib>=0.7.0" ], "requires_python": ">=3.6", "version": "0.4.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8d2f1fb53a421b410751887eb4ff21386d119ef9cde3797bf5e7ed49fb51a3b3", "url": "https://files.pythonhosted.org/packages/4e/33/2eb5b46e3f1f46b24ff09d04ff227520273820f6be9e2176ea5e39063b3f/greenlet-1.1.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f3acda1924472472ddd60c29e5b9db0cec629fbe3c5c5accb74d6d6d14773478", "url": "https://files.pythonhosted.org/packages/07/97/6f07d888c4fce65ec4fb2177e75d45e604789eb075a09946dd7e7f88e790/greenlet-1.1.2-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a", "url": "https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341/greenlet-1.1.2.tar.gz" }, { "algorithm": "sha256", "hash": "288c6a76705dc54fba69fbcb59904ae4ad768b4c768839b8ca5fdadec6dd8cfd", "url": "https://files.pythonhosted.org/packages/30/1c/5f4df8816093dbfc8ded8b53ab672223deeb39e9dec6a48aaf278c52df99/greenlet-1.1.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "00e44c8afdbe5467e4f7b5851be223be68adb4272f44696ee71fe46b7036a711", "url": "https://files.pythonhosted.org/packages/72/2d/53428626ef5cd9837701cfc49d2a60ecefe8e0737c345b5547b1d88dd739/greenlet-1.1.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "eb6ea6da4c787111adf40f697b4e58732ee0942b5d3bd8f435277643329ba627", "url": "https://files.pythonhosted.org/packages/a1/b6/949a07551279b770d49efe18e1a732a53a45cf76c5f5981ee6ebd17eab19/greenlet-1.1.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "ec8c433b3ab0419100bd45b47c9c8551248a5aee30ca5e9d399a0b57ac04651b", "url": "https://files.pythonhosted.org/packages/d4/00/7474a1f27efa5c023fe114d84801fe2ded66db2fa5e72253d698b9a95a2a/greenlet-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9633b3034d3d901f0a46b7939f8c4d64427dfba6bbc5a36b1a67364cf148a1b0", "url": "https://files.pythonhosted.org/packages/e7/b3/e4f84cd23ea46676dd88c514457ca0bad7a8efe40be76cffc009fed4b16e/greenlet-1.1.2-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "e859fcb4cbe93504ea18008d1df98dee4f7766db66c435e4882ab35cf70cac43", "url": "https://files.pythonhosted.org/packages/e8/2e/a8c9772f3adb294f015775547f990aa2d9c3e2dfdcddaa4e5a9d544a6a8c/greenlet-1.1.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2bde6792f313f4e918caabc46532aa64aa27a0db05d75b20edfc5c6f46479de2", "url": "https://files.pythonhosted.org/packages/f4/4d/52cdc4fb2d9c7a226c490a19373c32a837b38205abd10010c3ade0b011ca/greenlet-1.1.2-cp38-cp38-musllinux_1_1_x86_64.whl" } ], "project_name": "greenlet", "requires_dists": [ "Sphinx; extra == \"docs\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "13343e7b840c20f43b44f0e6d3bbdc037c964f0aec9735d7cb685c407731c9ff", "url": "https://files.pythonhosted.org/packages/d5/a1/0f893b9e639c89181d519e20f10373a176e666936feb634980c19f0132fb/grpcio-1.44.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bfd36b959c3c4e945119387baed1414ea46f7116886aa23de0172302b49d7ff1", "url": "https://files.pythonhosted.org/packages/4e/05/9975d04ecb33d94e2aa9fd60d6201d2faa294be74f14ec4cf048579fe315/grpcio-1.44.0-cp38-cp38-macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "36a7bdd6ef9bca050c7ade8cba5f0e743343ea0756d5d3d520e915098a9dc503", "url": "https://files.pythonhosted.org/packages/5b/92/a00eed89bae16e48644f514c842b1cc6deaf0f79cb7dcfeda2dc514e11af/grpcio-1.44.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "dc3290d0411ddd2bd49adba5793223de8de8b01588d45e9376f1a9f7d25414f4", "url": "https://files.pythonhosted.org/packages/61/0c/dcd6f8a86de1aa29c5f597be8a21311eeaa24b0fd6f040efe60000c58a38/grpcio-1.44.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4bae1c99896045d3062ab95478411c8d5a52cb84b91a1517312629fa6cfeb50e", "url": "https://files.pythonhosted.org/packages/65/75/8b706e1170e2c7b6242b1675259e47986bb4fc490f29387989a965972e6e/grpcio-1.44.0.tar.gz" }, { "algorithm": "sha256", "hash": "e898194f76212facbaeb6d7545debff29351afa23b53ff8f0834d66611af5139", "url": "https://files.pythonhosted.org/packages/ab/4a/d3b3bcdd3eba0b9a9b0bb9752a813fb856df6aa5061da3a2900f33c50762/grpcio-1.44.0-cp38-cp38-manylinux_2_17_aarch64.whl" }, { "algorithm": "sha256", "hash": "9075c0c003c1ff14ebce8f0ba55cc692158cb55c68da09cf8b0f9fc5b749e343", "url": "https://files.pythonhosted.org/packages/b4/6f/40ae3f63c944705d5ce31cec02dd8a5bf1898ebdf828269b8da97c47adfa/grpcio-1.44.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "19e54f0c7083c8332b5a75a9081fc5127f1dbb67b6c1a32bd7fe896ef0934918", "url": "https://files.pythonhosted.org/packages/c5/7a/35c847b757de67bef35b058049481ad970a4110094cc1ca523e6e9db46cb/grpcio-1.44.0-cp38-cp38-linux_armv7l.whl" }, { "algorithm": "sha256", "hash": "ccd388b8f37b19d06e4152189726ce309e36dc03b53f2216a4ea49f09a7438e6", "url": "https://files.pythonhosted.org/packages/c7/bc/9513390807ce0265c5a072345bd57da90173ea9f82d5744a25e433a5386a/grpcio-1.44.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "8fa6584046a7cf281649975a363673fa5d9c6faf9dc923f261cc0e56713b5892", "url": "https://files.pythonhosted.org/packages/f7/10/47060cd72e190f4cbe1a579cc5c15667b3a3fc5b479619198b570e4b5838/grpcio-1.44.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" } ], "project_name": "grpcio", "requires_dists": [ "enum34>=1.0.4; python_version < \"3.4\"", "futures>=2.2.0; python_version < \"3.2\"", "grpcio-tools>=1.44.0; extra == \"protobuf\"", "six>=1.5.2" ], "requires_python": ">=3.6", "version": "1.44" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65d653df249a2f95673976e4e9dd7ce10de61cfc6e64fa7eeaa6891a9559c581", "url": "https://files.pythonhosted.org/packages/4c/48/bc57d3b4047dd0d249577b4792c1b7043935cc41925e84a20d18f42005f9/hiredis-2.0.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a", "url": "https://files.pythonhosted.org/packages/0c/39/eae11344d69ba435ec13d6bcc1a9eea3d2278324506fcd0e52d1ed8958c8/hiredis-2.0.0.tar.gz" }, { "algorithm": "sha256", "hash": "7492af15f71f75ee93d2a618ca53fea8be85e7b625e323315169977fae752426", "url": "https://files.pythonhosted.org/packages/4b/aa/ba2ce23c9f953092439abc5b795aae72e5c9e5ee43023461aab04d97fccd/hiredis-2.0.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "dcef843f8de4e2ff5e35e96ec2a4abbdf403bd0f732ead127bd27e51f38ac298", "url": "https://files.pythonhosted.org/packages/77/f5/9c0b289fe1663c5511a915979d108bc302b671c0b4fcacd3ac7ee0bcebf6/hiredis-2.0.0-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f0055f1809b911ab347a25d786deff5e10e9cf083c3c3fd2dd04e8612e8d9db", "url": "https://files.pythonhosted.org/packages/85/75/9f1305aee73bb3ffe9f0f992e520d307ddb72e1ff3fc656e2799f0a44580/hiredis-2.0.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "11d119507bb54e81f375e638225a2c057dda748f2b1deef05c2b1a5d42686048", "url": "https://files.pythonhosted.org/packages/ae/5f/dcbe5f119641f6a2df99d5520b31b003599768bdd4911729d1ac2d016c5c/hiredis-2.0.0-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3dddf681284fe16d047d3ad37415b2e9ccdc6c8986c8062dbe51ab9a358b50a5", "url": "https://files.pythonhosted.org/packages/d1/27/af30a56ea77120d72cabef1bb00e7e73c8158d49db4e9b3974a269add85b/hiredis-2.0.0-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "87c7c10d186f1743a8fd6a971ab6525d60abd5d5d200f31e073cd5e94d7e7a9d", "url": "https://files.pythonhosted.org/packages/d6/20/be0addd761a2f1ccd772c4900fa2c281af107b59ccfb519fe0794212da8f/hiredis-2.0.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "294a6697dfa41a8cba4c365dd3715abc54d29a86a40ec6405d677ca853307cfb", "url": "https://files.pythonhosted.org/packages/e8/d0/4fb9094b104d28814932d17b4a5b987e569753166e25ff7dc8e3e36af539/hiredis-2.0.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "hiredis", "requires_dists": [], "requires_python": ">=3.6", "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c72572e5ce087bc7a7748af2664764d4a805897caeefb665bdc12677fefb2212", "url": "https://files.pythonhosted.org/packages/77/6c/d029e50e4ba5c4a357b30875e46f13304873ad8541c61bdd8bbdceda55bd/icdiff-2.0.4.tar.gz" } ], "project_name": "icdiff", "requires_dists": [], "requires_python": null, "version": "2.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff", "url": "https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d", "url": "https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz" } ], "project_name": "idna", "requires_dists": [], "requires_python": ">=3.5", "version": "3.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8d17c59b6f5f3b350bbbe346e7cb7dda0399b1881d93ad01cb29b5acdb24c42", "url": "https://files.pythonhosted.org/packages/29/24/a3a7aa7f1e7f1c3a5c9fe2ff3fec8d9d17e10741eafb710f06705744b35f/imageio-2.16.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2", "url": "https://files.pythonhosted.org/packages/1d/74/1c2972a6afdf215e8706c254a75ee5af6f30f1cfad1abb55dda5d1ca8701/imageio-2.16.1.tar.gz" } ], "project_name": "imageio", "requires_dists": [ "astropy; extra == \"fits\"", "astropy; extra == \"full\"", "black; extra == \"dev\"", "black; extra == \"full\"", "black; extra == \"linting\"", "flake8; extra == \"dev\"", "flake8; extra == \"full\"", "flake8; extra == \"linting\"", "fsspec[github]; extra == \"dev\"", "fsspec[github]; extra == \"full\"", "fsspec[github]; extra == \"test\"", "gdal; extra == \"full\"", "gdal; extra == \"gdal\"", "imageio-ffmpeg; extra == \"ffmpeg\"", "imageio-ffmpeg; extra == \"full\"", "invoke; extra == \"dev\"", "invoke; extra == \"full\"", "invoke; extra == \"test\"", "itk; extra == \"full\"", "itk; extra == \"itk\"", "numpy>=1.20.0", "numpydoc; extra == \"docs\"", "numpydoc; extra == \"full\"", "pillow>=8.3.2", "psutil; extra == \"ffmpeg\"", "psutil; extra == \"full\"", "pydata-sphinx-theme; extra == \"docs\"", "pydata-sphinx-theme; extra == \"full\"", "pytest-cov; extra == \"dev\"", "pytest-cov; extra == \"full\"", "pytest-cov; extra == \"test\"", "pytest; extra == \"dev\"", "pytest; extra == \"full\"", "pytest; extra == \"test\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"full\"", "tifffile; extra == \"full\"", "tifffile; extra == \"tifffile\"", "wheel; extra == \"build\"", "wheel; extra == \"full\"" ], "requires_python": ">=3.7", "version": "2.16.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6", "url": "https://files.pythonhosted.org/packages/92/f2/c48787ca7d1e20daa185e1b6b2d4e16acd2fb5e0320bc50ffc89b91fa4d7/importlib_metadata-4.11.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539", "url": "https://files.pythonhosted.org/packages/3e/1d/964b27278cfa369fbe9041f604ab09c6e99556f8b7910781b4584b428c2f/importlib_metadata-4.11.3.tar.gz" } ], "project_name": "importlib-metadata", "requires_dists": [ "flufl.flake8; extra == \"testing\"", "importlib-resources>=1.3; python_version < \"3.9\" and extra == \"testing\"", "ipython; extra == \"perf\"", "jaraco.packaging>=9; extra == \"docs\"", "packaging; extra == \"testing\"", "pyfakefs; extra == \"testing\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-perf>=0.9.2; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "typing-extensions>=3.6.4; python_version < \"3.8\"", "zipp>=0.5" ], "requires_python": ">=3.7", "version": "4.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45", "url": "https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b", "url": "https://files.pythonhosted.org/packages/b5/d8/51ace1c1ea6609c01c7f46ca2978e11821aa0efaaa7516002ef6df000731/importlib_resources-5.4.0.tar.gz" } ], "project_name": "importlib-resources", "requires_dists": [ "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "zipp>=3.1.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "5.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", "url": "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", "url": "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz" } ], "project_name": "iniconfig", "requires_dists": [], "requires_python": null, "version": "1.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7", "url": "https://files.pythonhosted.org/packages/b8/5b/f18e227df38b94b4ee30d2502fd531bebac23946a2497e5595067a561274/isort-5.10.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951", "url": "https://files.pythonhosted.org/packages/ab/e9/964cb0b2eedd80c92f5172f1f8ae0443781a9d461c1372a3ce5762489593/isort-5.10.1.tar.gz" } ], "project_name": "isort", "requires_dists": [ "colorama<0.5.0,>=0.4.3; extra == \"colors\"", "pip-api; extra == \"requirements_deprecated_finder\"", "pipreqs; extra == \"pipfile_deprecated_finder\" or extra == \"requirements_deprecated_finder\"", "requirementslib; extra == \"pipfile_deprecated_finder\"", "setuptools; extra == \"plugins\"" ], "requires_python": "<4.0,>=3.6.1", "version": "5.10.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "935642cd4b987cdbee7210080004033af76306757ff8b4c0a506a4b6e06f02cf", "url": "https://files.pythonhosted.org/packages/76/9b/88ac47681ba6af8ee994c9e83ecdfc0048df59f8f6df5c2f766998fe87e7/itsdangerous-2.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7b7d3023cd35d9cb0c1fd91392f8c95c6fa02c59bf8ad64b8849be3401b95afb", "url": "https://files.pythonhosted.org/packages/9d/86/39f81e23f49eaf62d22248d48771dbf3bce7c52dfdf566e3d8d4c0657f15/itsdangerous-2.1.1.tar.gz" } ], "project_name": "itsdangerous", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f6ac64cab49e282cf8171d4c479de413dedbbb1a69c64499648185f974080db3", "url": "https://files.pythonhosted.org/packages/4a/ab/756d5965665633b3c7dc252397e4c111da30235eaca68af204fe53f36d1b/javaobj_py3-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38f74db3a57e9998a9774e3614afb95cb396f139f29b3fdb130c5af554435259", "url": "https://files.pythonhosted.org/packages/66/d3/0e4fa237161b3a00eea031575f46ac052a79b0908982b52794d113f43813/javaobj-py3-0.4.3.tar.gz" } ], "project_name": "javaobj-py3", "requires_dists": [ "enum34; python_version <= \"3.4\"", "typing; python_version <= \"3.4\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f", "url": "https://files.pythonhosted.org/packages/07/cb/5f001272b6faeb23c1c9e0acc04d48eaaf5c862c17709d20e3469c6e0139/jmespath-0.10.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9", "url": "https://files.pythonhosted.org/packages/3c/56/3f325b1eef9791759784aa5046a8f6a1aff8f7c898a2e34506771d3b99d8/jmespath-0.10.0.tar.gz" } ], "project_name": "jmespath", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6", "url": "https://files.pythonhosted.org/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35", "url": "https://files.pythonhosted.org/packages/92/b9/9e3616e7e00c8165fb25175c53444533bdde05f3e974d45d9fcbbe451ee6/joblib-1.1.0.tar.gz" } ], "project_name": "joblib", "requires_dists": [], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cec3adcb110bd1391659670f2fe64d2a70a0218e84fdb7b08506107946d3bdb0", "url": "https://files.pythonhosted.org/packages/b4/b7/d06702a6f2fe907f8e1eb337334163f045c833db6710fb3acf47ca2460ee/jpeg4py-0.1.4.tar.gz" } ], "project_name": "jpeg4py", "requires_dists": [ "cffi", "numpy" ], "requires_python": null, "version": "0.1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1861e1f684810b4063471c680ed08435cc9e3d410daf80a41b72b789d2771e8e", "url": "https://files.pythonhosted.org/packages/a3/85/a8e62005dda7c0dcc65764011e7e4cca9de09f2ae3a92e6a42d997372713/jsonargparse-4.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aa58091d435c2ab44ad54873e952340e20ebb967f3dbfb28b3c604ac5938e1c5", "url": "https://files.pythonhosted.org/packages/d1/1a/01ebb65cfe5224f2f8657ba9df26dd3b974beab816aca139d54eafc55256/jsonargparse-4.4.0.tar.gz" } ], "project_name": "jsonargparse", "requires_dists": [ "PyYAML>=3.13", "Sphinx>=1.7.9; extra == \"doc\"", "argcomplete>=2.0.0; extra == \"all\"", "argcomplete>=2.0.0; extra == \"argcomplete\"", "autodocsumm>=0.1.10; extra == \"doc\"", "bump2version>=0.5.11; extra == \"dev\"", "contextvars>=2.4; python_version == \"3.6\"", "coverage>=4.5.1; extra == \"dev\"", "coverage>=4.5.1; extra == \"test\"", "coverage>=4.5.1; extra == \"test_no_urls\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"all\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"dataclasses\"", "docstring-parser>=0.7.3; extra == \"all\"", "docstring-parser>=0.7.3; extra == \"signatures\"", "fsspec>=0.8.4; extra == \"all\"", "fsspec>=0.8.4; extra == \"fsspec\"", "jsonnet>=0.13.0; extra == \"all\"", "jsonnet>=0.13.0; extra == \"jsonnet\"", "jsonschema>=3.2.0; extra == \"all\"", "jsonschema>=3.2.0; extra == \"jsonschema\"", "mypy>=0.701; extra == \"dev\"", "omegaconf>=2.1.1; extra == \"all\"", "omegaconf>=2.1.1; extra == \"omegaconf\"", "pycodestyle>=2.5.0; extra == \"dev\"", "pylint>=1.8.3; extra == \"dev\"", "reconplogger>=4.4.0; extra == \"all\"", "reconplogger>=4.4.0; extra == \"reconplogger\"", "requests>=2.18.4; extra == \"all\"", "requests>=2.18.4; extra == \"urls\"", "responses>=0.12.0; extra == \"dev\"", "responses>=0.12.0; extra == \"test\"", "ruyaml>=0.20.0; extra == \"all\"", "ruyaml>=0.20.0; extra == \"ruyaml\"", "sphinx-autodoc-typehints>=1.11.1; extra == \"doc\"", "sphinx-rtd-theme>=0.4.3; extra == \"doc\"", "twine>=3.1.1; extra == \"dev\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"all\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"typing_extensions\"", "validators>=0.14.2; extra == \"all\"", "validators>=0.14.2; extra == \"urls\"" ], "requires_python": ">=3.6", "version": "4.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "23aab11fdbbb0f1051b93793a58323ff937e98e34aece1c4219675122e57e4ba", "url": "https://files.pythonhosted.org/packages/6e/01/45ab9f723a93e0ca75fba4d2c266bb041120cb4215eab94f7c78743ac7ed/Mako-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9a7c7e922b87db3686210cf49d5d767033a41d4010b284e747682c92bddd8b39", "url": "https://files.pythonhosted.org/packages/50/ec/1d687348f0954bda388bfd1330c158ba8d7dea4044fc160e74e080babdb9/Mako-1.2.0.tar.gz" } ], "project_name": "mako", "requires_dists": [ "Babel; extra == \"babel\"", "MarkupSafe>=0.9.2", "importlib-metadata; python_version < \"3.8\"", "lingua; extra == \"lingua\"", "pytest; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9923332318f843411e9932237530df53162e29dc7a4e2b91e35764583c46c9a3", "url": "https://files.pythonhosted.org/packages/9f/d4/2c7f83915d437736996b2674300c6c4b578a6f897f34e40f5c04db146719/Markdown-3.3.6-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006", "url": "https://files.pythonhosted.org/packages/15/06/d60f21eda994b044cbd496892d4d4c5c708aa597fcaded7d421513cb219b/Markdown-3.3.6.tar.gz" } ], "project_name": "markdown", "requires_dists": [ "coverage; extra == \"testing\"", "importlib-metadata>=4.4; python_version < \"3.10\"", "pyyaml; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3.3.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7", "url": "https://files.pythonhosted.org/packages/2c/81/91062a81ac8a18f557f12e2618475b53878755c016c9914c8aa207155c4e/MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1", "url": "https://files.pythonhosted.org/packages/18/a6/913b1d80fe93f7c3aa79206544b98841616c3eaa7790f37bdfb9fc13311e/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b", "url": "https://files.pythonhosted.org/packages/1d/97/2288fe498044284f39ab8950703e88abbac2abbdf65524d576157af70556/MarkupSafe-2.1.1.tar.gz" }, { "algorithm": "sha256", "hash": "0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003", "url": "https://files.pythonhosted.org/packages/3c/d3/c7ab031b14ae4e83214949acee957a8fcf6a992698edff039ee1e77eb4e1/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88", "url": "https://files.pythonhosted.org/packages/68/b5/b3aafabe7e1f71aa64ffe32fd8c767fd7db1bb304d339d8df6f2fdd2543c/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925", "url": "https://files.pythonhosted.org/packages/69/60/08791e4a971ea976f0fd58fb916d76de7c962dc8e26430564258820ac21f/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1", "url": "https://files.pythonhosted.org/packages/6c/44/cd459988fe29cb82f0482fe6b6c47ec17ae700a500634edd876075d5e1ee/MarkupSafe-2.1.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452", "url": "https://files.pythonhosted.org/packages/92/7c/3c33294e506eafa7f1c40dd283089a45652ea0f073fc0ce24419d46bfe4b/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63", "url": "https://files.pythonhosted.org/packages/be/d8/5ab7f07d8f60155c4f12b4b2dca785355b8ee7e16b2d3f00c3830add5f10/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f", "url": "https://files.pythonhosted.org/packages/d3/4f/9ea1c0a7796f7f81371b40d32aa31766b76fbdba316abf888897042e6e0f/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601", "url": "https://files.pythonhosted.org/packages/fd/f4/524d2e8f5a3727cf309c2b7df7c732038375322df1376c9e9ef3aa92fcaf/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "markupsafe", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", "url": "https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f", "url": "https://files.pythonhosted.org/packages/06/18/fa675aa501e11d6d6ca0ae73a101b2f3571a565e0f7d38e062eec18a91ee/mccabe-0.6.1.tar.gz" } ], "project_name": "mccabe", "requires_dists": [], "requires_python": null, "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8004dca28e15b86d1b1372515f32eb6f814bdf6f00952699bdeb541691091f96", "url": "https://files.pythonhosted.org/packages/24/6d/9fb21688e47bb822a1b3b836f9d305ad8e4dee3c4818f4fcdaa499a0f50e/multidict-6.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd9fc9c4849a07f3635ccffa895d57abce554b467d611a5009ba4f39b78a8849", "url": "https://files.pythonhosted.org/packages/04/c2/fc03a56aeb5991c8f345c2c8d00b0262466ef38b8fa04c9f9efccf46b6a9/multidict-6.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "e5b20e9599ba74391ca0cfbd7b328fcc20976823ba19bc573983a25b32e92b57", "url": "https://files.pythonhosted.org/packages/1a/04/2c006bdd1550f9d8f966db6851ea829434bc6e186334fc11c39e059b6538/multidict-6.0.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e875b6086e325bab7e680e4316d667fc0e5e174bb5611eb16b3ea121c8951b86", "url": "https://files.pythonhosted.org/packages/24/6c/168e7222f6bb2df35fe323e54729aef2d1095dccf044f2ee66244b467a93/multidict-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "4070613ea2227da2bfb2c35a6041e4371b0af6b0be57f424fe2318b42a748516", "url": "https://files.pythonhosted.org/packages/47/26/cecae22c6edef06ba383644961d5963ecd0fdcf8a605f48788a1368de7ec/multidict-6.0.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "9cc57c68cb9139c7cd6fc39f211b02198e69fb90ce4bc4a094cf5fe0d20fd8b0", "url": "https://files.pythonhosted.org/packages/68/a8/729f85ce29323befe25efdff8cf03132a85fe2365e7baf7a4c71d99ce3e6/multidict-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "684133b1e1fe91eda8fa7447f137c9490a064c6b7f392aa857bba83a28cfb693", "url": "https://files.pythonhosted.org/packages/8f/39/a7e04961b4c00d68aba337e3fdef9fd4f666dcd98f41725067a1de5d3399/multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e07c8e79d6e6fd37b42f3250dba122053fddb319e84b55dd3a8d6446e1a7ee49", "url": "https://files.pythonhosted.org/packages/8f/cc/8eb3fe20d9104e41202fa2477c4d5b8ca47b5e47ef02a731c9e2ef917131/multidict-6.0.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "2957489cba47c2539a8eb7ab32ff49101439ccf78eab724c828c1a54ff3ff98d", "url": "https://files.pythonhosted.org/packages/92/19/c2b7660122624a1df587a457f6074ca325b6ffc316e699edddd16c8cb741/multidict-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "47fbeedbf94bed6547d3aa632075d804867a352d86688c04e606971595460227", "url": "https://files.pythonhosted.org/packages/a3/2e/f87e45cb76df62ac7f66c1c11f285c4d620dc2f6883f884212f0ffdc8c2b/multidict-6.0.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "89171b2c769e03a953d5969b2f272efa931426355b6c0cb508022976a17fd376", "url": "https://files.pythonhosted.org/packages/b4/7a/8ac06729f3f59d0272a1069c8f7bf8eda660f558a7d1825f0c7c00af9115/multidict-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "feea820722e69451743a3d56ad74948b68bf456984d63c1a92e8347b7b88452d", "url": "https://files.pythonhosted.org/packages/b5/3a/63c8ca310f9a1f9fe91e8237a48e75c0ce9146b0420d978e8e53801f2bb6/multidict-6.0.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "497988d6b6ec6ed6f87030ec03280b696ca47dbf0648045e4e1d28b80346560d", "url": "https://files.pythonhosted.org/packages/c0/90/04a6c0926d2f5dbb1e32ffabf94543619fdfc98cff00344a26c2e43ff03f/multidict-6.0.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "5774d9218d77befa7b70d836004a768fb9aa4fdb53c97498f4d8d3f67bb9cfa9", "url": "https://files.pythonhosted.org/packages/d6/4f/3b0518f32c50e5c9aa7f868423346a4a2c926fff33dfc6aea19bc92bc19a/multidict-6.0.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0327292e745a880459ef71be14e709aaea2f783f3537588fb4ed09b6c01bca60", "url": "https://files.pythonhosted.org/packages/e6/dc/7654159cea77f16cb60837f3629dd42ac348570256abd26bf2c1fee46ad9/multidict-6.0.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013", "url": "https://files.pythonhosted.org/packages/fa/a7/71c253cdb8a1528802bac7503bf82fe674367e4055b09c28846fdfa4ab90/multidict-6.0.2.tar.gz" } ], "project_name": "multidict", "requires_dists": [], "requires_python": ">=3.7", "version": "6.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bf4a44e03040206f7c058d1f5ba02ef2d1820720c88bc4285c7d9a4269f54173", "url": "https://files.pythonhosted.org/packages/1e/57/196ea2a730cc48fbeff9af4934f1f036c07cf7eb7b4e40a09226d8c51b31/mypy-0.930-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5feb56f8bb280468fe5fc8e6f56f48f99aa0df9eed3c507a11505ee4657b5380", "url": "https://files.pythonhosted.org/packages/3d/a6/b673ca62f3c3cb98a9d79537543e047956a6833ed99c60a2e938603ab525/mypy-0.930-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "1ea7199780c1d7940b82dbc0a4e37722b4e3851264dbba81e01abecc9052d8a7", "url": "https://files.pythonhosted.org/packages/48/5c/ca1b1a2617ae63118174da0a225168a2c1631c7303315f221b5be6f79afb/mypy-0.930-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "51426262ae4714cc7dd5439814676e0992b55bcc0f6514eccb4cf8e0678962c2", "url": "https://files.pythonhosted.org/packages/8e/79/116f9828cfb88904c94640c683ca1f24d9abc89c688e31d436eba82e09a1/mypy-0.930.tar.gz" }, { "algorithm": "sha256", "hash": "70b197dd8c78fc5d2daf84bd093e8466a2b2e007eedaa85e792e513a820adbf7", "url": "https://files.pythonhosted.org/packages/9b/2a/f61022b5f459eb667f4d7e78f05baa889b6751b9f4257e416cd9c5b88cb6/mypy-0.930-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "2e9c5409e9cb81049bb03fa1009b573dea87976713e3898561567a86c4eaee01", "url": "https://files.pythonhosted.org/packages/c0/5d/1833d72ada88bdbc78b2655e55c519889337a0ae744629bad9f0b2431ad3/mypy-0.930-cp38-cp38-win_amd64.whl" } ], "project_name": "mypy", "requires_dists": [ "mypy-extensions>=0.4.3", "psutil>=4.0; extra == \"dmypy\"", "tomli>=1.1.0", "typed-ast<2,>=1.4.0; extra == \"python2\"", "typed-ast<2,>=1.4.0; python_version < \"3.8\"", "typing-extensions>=3.10" ], "requires_python": ">=3.6", "version": "0.930" }, { "artifacts": [ { "algorithm": "sha256", "hash": "090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", "url": "https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8", "url": "https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f/mypy_extensions-0.4.3.tar.gz" } ], "project_name": "mypy-extensions", "requires_dists": [ "typing>=3.5.3; python_version < \"3.5\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e85d277c89681e8fa661cf5ff0743443445049b0b68789ad55ef09340c6e0", "url": "https://files.pythonhosted.org/packages/f6/34/4913f651b8e178dde5abcf8d62495e4dcd0757a9a6840f1b1f7a290afaea/networkx-2.7.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d1194ba753e5eed07cdecd1d23c5cd7a3c772099bd8dbd2fea366788cf4de7ba", "url": "https://files.pythonhosted.org/packages/9e/9e/3d67df5d543ffd743f4ccb12c9c90929e4f48136e3062e15a6d971d91202/networkx-2.7.1.tar.gz" } ], "project_name": "networkx", "requires_dists": [ "black==22.1; extra == \"developer\"", "codecov>=2.1; extra == \"test\"", "lxml>=4.6; extra == \"extra\"", "matplotlib>=3.4; extra == \"default\"", "mypy>=0.931; extra == \"developer\"", "nb2plots>=0.6; extra == \"doc\"", "numpy>=1.19; extra == \"default\"", "numpydoc>=1.2; extra == \"doc\"", "pandas>=1.3; extra == \"default\"", "pillow>=9.0; extra == \"doc\"", "pre-commit>=2.17; extra == \"developer\"", "pydata-sphinx-theme>=0.8; extra == \"doc\"", "pydot>=1.4.2; extra == \"extra\"", "pygraphviz>=1.9; extra == \"extra\"", "pytest-cov>=3.0; extra == \"test\"", "pytest>=7.0; extra == \"test\"", "pyupgrade>=2.31; extra == \"developer\"", "scipy>=1.8; extra == \"default\"", "sphinx-gallery>=0.10; extra == \"doc\"", "sphinx>=4.4; extra == \"doc\"", "texext>=0.6.6; extra == \"doc\"" ], "requires_python": ">=3.8", "version": "2.7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c34ea7e9d13a70bf2ab64a2532fe149a9aced424cd05a2c4ba662fd989e3e45f", "url": "https://files.pythonhosted.org/packages/d8/30/2facfdcee2f9af55e6a7277c089736edfce1144acb3ccffaf3cff8781058/numpy-1.22.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e7927a589df200c5e23c57970bafbd0cd322459aa7b1ff73b7c2e84d6e3eae62", "url": "https://files.pythonhosted.org/packages/2f/0d/5a0a0bb939f4cc6db6fe777a7221c7c33bf5f5a601f5abfc82692bb4b6aa/numpy-1.22.3-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "3ca688e1b9b95d80250bca34b11a05e389b1420d00e87a0d12dc45f131f704a1", "url": "https://files.pythonhosted.org/packages/38/c0/c45c5eb0e25247d5fbb333fd0b56e570ba21cf0e3dca3abad174fb780e8c/numpy-1.22.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "201b4d0552831f7250a08d3b38de0d989d6f6e4658b709a02a73c524ccc6ffce", "url": "https://files.pythonhosted.org/packages/52/d0/d7a200f2c3d6c6a879dbdc6d762c7dbed542527333ac9a6a72c8ffab9814/numpy-1.22.3-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "f8c1f39caad2c896bc0018f699882b345b2a63708008be29b1f355ebf6f933fe", "url": "https://files.pythonhosted.org/packages/5c/51/872b5c1f40c740e9ebdad87dca8bd42fc7cb5aafab14b96d3a83fca52fd3/numpy-1.22.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18", "url": "https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip" }, { "algorithm": "sha256", "hash": "568dfd16224abddafb1cbcce2ff14f522abe037268514dd7e42c6776a1c3f8e5", "url": "https://files.pythonhosted.org/packages/e1/f0/5c3cf38272793a610cc843052e58c93b40b424e2c4a933422cd0bd6391ba/numpy-1.22.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "07a8c89a04997625236c5ecb7afe35a02af3896c8aa01890a849913a2309c676", "url": "https://files.pythonhosted.org/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl" } ], "project_name": "numpy", "requires_dists": [], "requires_python": ">=3.8", "version": "1.22.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "daffbe3b4e95bdaec64cae6ea6a7dbb43ac8b6fddc8a7407598f18a83ec8fa79", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "5271f704e5a7e97a72e28f9585b9619f90223378ca9a9c7fe54cc38a1a5c75d4", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_aarch64.whl" } ], "project_name": "nvidia-dali-cuda110", "requires_dists": [], "requires_python": "<3.11,>=3.6", "version": "1.11.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6db33440354787f9b7f3a6dbd4febf5d0f93758354060e802f6c06cb493022fe", "url": "https://files.pythonhosted.org/packages/1d/46/5ee2475e1b46a26ca0fa10d3c1d479577fde6ee289f8c6aa6d7ec33e31fd/oauthlib-3.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "23a8208d75b902797ea29fd31fa80a15ed9dc2c6c16fe73f5d346f83f6fa27a2", "url": "https://files.pythonhosted.org/packages/6e/7e/a43cec8b2df28b6494a865324f0ac4be213cb2edcf1e2a717547a93279b0/oauthlib-3.2.0.tar.gz" } ], "project_name": "oauthlib", "requires_dists": [ "blinker>=1.4.0; extra == \"signals\"", "cryptography>=3.0.0; extra == \"rsa\"", "cryptography>=3.0.0; extra == \"signedtoken\"", "pyjwt<3,>=2.0.0; extra == \"signedtoken\"" ], "requires_python": ">=3.6", "version": "3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "df0c434f4a40212e87003b1b6f38a152d2f1d6447c261cd32c28434dd765c41c", "url": "https://files.pythonhosted.org/packages/70/b2/452b2bd78a4268b3b577d5c93cc02f39fc17a4135aa7df1ca92434e2a345/onnxruntime-1.10.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7265bcd62f154f891f745d96f686ed92a0c0ca5589dc14f9203ae847e932792", "url": "https://files.pythonhosted.org/packages/28/ff/89c572d8b62567a21ed7629e34d9379d68de848cb3cc2061fd5050334d53/onnxruntime-1.10.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "2419563e9fc4f5b7dedd4b70d2249a952001c33f3186b83212ad2a7a0824c9b4", "url": "https://files.pythonhosted.org/packages/56/f3/66ceb302edeadb4e0fd6839c43ce4d366cbd7ec8960873bd42137526dde7/onnxruntime-1.10.0-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "618c84c6bff73fd6dd6fcf304eb24a804df6c11f512ddead4cc73074b60012b8", "url": "https://files.pythonhosted.org/packages/59/08/8fd20460342de561b8964731e015a847efcee45c13d18e812bb337471e69/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3913769691f7f20e13070d65bfddd9f85f862274fcc17312c3b7d3fee8af21d8", "url": "https://files.pythonhosted.org/packages/8b/74/5b30ee067fba2228d0b6bbf5c8915cadc5ce98b4c97beba978b03128d344/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "onnxruntime", "requires_dists": [ "flatbuffers", "numpy>=1.16.6", "protobuf" ], "requires_python": null, "version": "1.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "30edebc81b260bcfeb760b3600c367c5261dfb2fe41e5d1408d5357d0867b40d", "url": "https://files.pythonhosted.org/packages/00/84/1c26cfa8d202c8c42fe9db27ea0925382b2ed8f16af5d7e5d93a62c780d8/opencv_python-4.5.1.48-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c1159d91f29a85c3333edef6ca420284566d9bcdae46dda2fe7282515b48c8b6", "url": "https://files.pythonhosted.org/packages/15/ed/dcfc6baea9b557d53668c54ac33733c9b0a1e2e651bec2870e5ceb513336/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "d16144c435b816c5536d5ff012c1a2b7e93155017db7103942ff7efb98c4df1f", "url": "https://files.pythonhosted.org/packages/2a/9a/ff309b530ac1b029bfdb9af3a95eaff0f5f45f6a2dbe37b3454ae8412f4c/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "78a6db8467639383caedf1d111da3510a4ee1a0aacf2117821cae2ee8f92ce37", "url": "https://files.pythonhosted.org/packages/bb/08/9dbc183a3ac6baa95fabf749ddb531bd26256edfff5b6c2195eca26258e9/opencv-python-4.5.1.48.tar.gz" }, { "algorithm": "sha256", "hash": "b2b9ac86aec5f2dd531545cebdea1a1ef4f81ef1fb1760d78b4725f9575504f9", "url": "https://files.pythonhosted.org/packages/ca/3a/dec2efcbfa1b0261915aa2e1a94d3f8f987e259c3872060973e8c17ce7d2/opencv_python-4.5.1.48-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ffc75c614b8dc3d8102f3ba15dafd6ec0400c7ffa71a91953d41511964ee50e0", "url": "https://files.pythonhosted.org/packages/f9/67/10a3659b93f0b1108d63841100fda017cf857bd4bb24fab2faa274991f5f/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "e77d0feaff37326f62b127098264e2a7099deb476e38432b1083ce11cdedf560", "url": "https://files.pythonhosted.org/packages/fb/2b/4d9d295e1d068314684cbab7b8596a215aa92eb66d1fedc5dfa05b997cb4/opencv_python-4.5.1.48-cp38-cp38-macosx_10_13_x86_64.whl" } ], "project_name": "opencv-python", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.6", "version": "4.5.1.48" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ca4f013fa958f60fb2327fe87e6127c1ac0ab536890b1d4b00847f417b7af1ba", "url": "https://files.pythonhosted.org/packages/00/72/c8a11b6139142e5aa94ce883520e2636591f570ed1270735bfbbccc0a8f6/opencv_python_headless-4.5.5.64-cp37-abi3-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "62e31878641a8f96e773118d1eea9f34bdda87c9990a0faab04ebaafb5ae015c", "url": "https://files.pythonhosted.org/packages/27/4e/275ca1020f9a3501d4012aeb5b4669c29ebc903be23355257dd1d8697a08/opencv_python_headless-4.5.5.64-cp36-abi3-macosx_10_15_x86_64.whl" }, { "algorithm": "sha256", "hash": "567a54c1919bcf5b3d20a9830e3c511e57134de8def286ce137c3544a892f98c", "url": "https://files.pythonhosted.org/packages/43/03/13447b012f11ed59948a1f09fc791bd2fbc32afca11a49eea75a4e683d1d/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "4bdf982574bf2fefc5f82c86df7cb42e56ad627874c7c0f4d94ecf4ae8885304", "url": "https://files.pythonhosted.org/packages/45/a3/c310868db16d71c716e8861850cca20f3f9379a12605bce88519d35b0586/opencv_python_headless-4.5.5.64-cp36-abi3-win32.whl" }, { "algorithm": "sha256", "hash": "a60e9ff48854ec37be391e19dd634883cc26c2f0f814e5325b3deca33420912c", "url": "https://files.pythonhosted.org/packages/9f/8c/3a1a159cd953f955b80a479a7cedf8ee88692b87884c05a74d20f04f6f3c/opencv_python_headless-4.5.5.64-cp36-abi3-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c3c2dda44d601757a508b07d628537c49f31223ad4edd0f747a70d4c852a7b98", "url": "https://files.pythonhosted.org/packages/b4/0e/eb390a76bff15ebc453c539bcc6bfdaff5b9ca9e566441dae45eb508a138/opencv-python-headless-4.5.5.64.tar.gz" }, { "algorithm": "sha256", "hash": "3f330468c29882dbbec5af25695c5e575572c6b855cb0f9fe53e14116fd46bfc", "url": "https://files.pythonhosted.org/packages/bf/3e/9dee09e56d42a0c01d7898ceaa6ed4a8fe2763c10d7bded91ef6362e6537/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "opencv-python-headless", "requires_dists": [ "numpy>=1.13.3; python_version < \"3.7\"", "numpy>=1.14.5; python_version >= \"3.7\"", "numpy>=1.17.3; python_version >= \"3.8\"", "numpy>=1.19.3; python_version >= \"3.6\" and platform_system == \"Linux\" and platform_machine == \"aarch64\"", "numpy>=1.19.3; python_version >= \"3.9\"", "numpy>=1.21.2; python_version >= \"3.10\"", "numpy>=1.21.2; python_version >= \"3.6\" and platform_system == \"Darwin\" and platform_machine == \"arm64\"" ], "requires_python": ">=3.6", "version": "4.5.5.64" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522", "url": "https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", "url": "https://files.pythonhosted.org/packages/df/9e/d1a7217f69310c1db8fdf8ab396229f55a699ce34a203691794c5d1cad0c/packaging-21.3.tar.gz" } ], "project_name": "packaging", "requires_dists": [ "pyparsing!=3.0.5,>=2.0.2" ], "requires_python": ">=3.6", "version": "21.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e4f0886d72c6166637a5513626148bf5a7e818073a558980e9aaed8b4ccf30da", "url": "https://files.pythonhosted.org/packages/43/42/1d2cb909afb055fcf2df5285f67eeec6ad16c138b83f1304808af81c31b7/pamqp-3.1.0.tar.gz" } ], "project_name": "pamqp", "requires_dists": [ "coverage; extra == \"testing\"", "flake8-comprehensions; extra == \"testing\"", "flake8-deprecated; extra == \"testing\"", "flake8-import-order; extra == \"testing\"", "flake8-print; extra == \"testing\"", "flake8-quotes; extra == \"testing\"", "flake8-rst-docstrings; extra == \"testing\"", "flake8-tuple; extra == \"testing\"", "flake8; extra == \"testing\"", "lxml; extra == \"codegen\"", "requests; extra == \"codegen\"", "yapf; extra == \"codegen\"", "yapf; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", "url": "https://files.pythonhosted.org/packages/42/ba/a9d64c7bcbc7e3e8e5f93a52721b377e994c22d16196e2b0f1236774353a/pathspec-0.9.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1", "url": "https://files.pythonhosted.org/packages/f6/33/436c5cb94e9f8902e59d1d544eb298b83c84b9ec37b5b769c5a0ad6edb19/pathspec-0.9.0.tar.gz" } ], "project_name": "pathspec", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0", "url": "https://files.pythonhosted.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-0.1.2.tar.gz" } ], "project_name": "pathtools", "requires_dists": [], "requires_python": null, "version": "0.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2632d0f846b7c7600edf53c48f8f9f1e13e62f66a6dbc15191029d950bfed976", "url": "https://files.pythonhosted.org/packages/d1/65/cdc3720f37d9dc89a899e69248ebfccd0302ddcccf6f9b012a10e35ccd6e/Pillow-9.0.1-1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa", "url": "https://files.pythonhosted.org/packages/03/a3/f61a9a7ff7969cdef2a6e0383a346eb327495d20d25a2de5a088dbb543a6/Pillow-9.0.1.tar.gz" }, { "algorithm": "sha256", "hash": "14d4b1341ac07ae07eb2cc682f459bec932a380c3b122f5540432d8977e64eae", "url": "https://files.pythonhosted.org/packages/18/7f/58f056f31358956f8aaaf042982693d96f3d35d5a9df94acecdabb1db6f8/Pillow-9.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f7609a718b177bf171ac93cea9fd2ddc0e03e84d8fa4e887bdfc39671d46b00", "url": "https://files.pythonhosted.org/packages/40/9f/5d958243bd15fc5f7ce863aff4ae68ee160b6c93bf421af9a64c8ec4c304/Pillow-9.0.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "effb7749713d5317478bb3acb3f81d9d7c7f86726d41c1facca068a04cf5bb4c", "url": "https://files.pythonhosted.org/packages/61/2f/e735faee35d14330734be50176b4b6743bd3e9da2e9fdbe32c403fc10610/Pillow-9.0.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "335ace1a22325395c4ea88e00ba3dc89ca029bd66bd5a3c382d53e44f0ccd77e", "url": "https://files.pythonhosted.org/packages/69/49/70ed4f05d8c16c0aeb5a6ff78985e06f37441ac98ebfce51cb7c7950f239/Pillow-9.0.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "db6d9fac65bd08cea7f3540b899977c6dee9edad959fa4eaf305940d9cbd861c", "url": "https://files.pythonhosted.org/packages/91/e2/32513a5a2401867763db4c1b8fc93d44e877b9b966185dd8814087ce96f7/Pillow-9.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "a9f44cd7e162ac6191491d7249cceb02b8116b0f7e847ee33f739d7cb1ea1f70", "url": "https://files.pythonhosted.org/packages/b2/c4/1ce69eef7d5d8167acdeda81749649efa9997329489bb7f4ad2bc0242fa6/Pillow-9.0.1-pp38-pypy38_pp73-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f154d173286a5d1863637a7dcd8c3437bb557520b01bddb0be0258dcb72696b5", "url": "https://files.pythonhosted.org/packages/c9/97/f4dc557509a12bb7cce044db0ab68e1025a774b466f87e8edd51471ba894/Pillow-9.0.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5b3f092fe345c03bca1e0b687dfbb39364b21ebb8ba90e3fa707374b7915204", "url": "https://files.pythonhosted.org/packages/f3/34/04170ba6c6c58d07806b75da4ed96d39d0ba63e36a6830118434e9da9542/Pillow-9.0.1-cp38-cp38-macosx_10_10_x86_64.whl" } ], "project_name": "pillow", "requires_dists": [], "requires_python": ">=3.7", "version": "9.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227", "url": "https://files.pythonhosted.org/packages/de/de/d8b9da351517c3dece273224522d4714cfdb9a89e2e6f7f7f054a340cc2b/platformdirs-2.5.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", "url": "https://files.pythonhosted.org/packages/33/66/61da40aa546141b0d70b37fe6bb4ef1200b4b4cb98849f131b58faa9a5d2/platformdirs-2.5.1.tar.gz" } ], "project_name": "platformdirs", "requires_dists": [ "Sphinx>=4; extra == \"docs\"", "appdirs==1.4.4; extra == \"test\"", "furo>=2021.7.5b38; extra == \"docs\"", "proselint>=0.10.2; extra == \"docs\"", "pytest-cov>=2.7; extra == \"test\"", "pytest-mock>=3.6; extra == \"test\"", "pytest>=6; extra == \"test\"", "sphinx-autodoc-typehints>=1.12; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "2.5.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3", "url": "https://files.pythonhosted.org/packages/9e/01/f38e2ff29715251cf25532b9082a1589ab7e4f571ced434f98d0139336dc/pluggy-1.0.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", "url": "https://files.pythonhosted.org/packages/a1/16/db2d7de3474b6e37cbb9c008965ee63835bba517e22cdb8c35b5116b5ce1/pluggy-1.0.0.tar.gz" } ], "project_name": "pluggy", "requires_dists": [ "importlib-metadata>=0.12; python_version < \"3.8\"", "pre-commit; extra == \"dev\"", "pytest-benchmark; extra == \"testing\"", "pytest; extra == \"testing\"", "tox; extra == \"dev\"" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b6b4dcdd0c0c0d75e4d7b2f21a9e933e5b2ce62b26e1a54537f9651ae5a5c01d", "url": "https://files.pythonhosted.org/packages/4e/d1/e4ed95fdd3ef13b78630280d9e9e240aeb65cc7c544ec57106149c3942fb/pprintpp-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea826108e2c7f49dc6d66c752973c3fc9749142a798d6b254e1e301cfdbc6403", "url": "https://files.pythonhosted.org/packages/06/1a/7737e7a0774da3c3824d654993cf57adc915cb04660212f03406334d8c0b/pprintpp-0.4.0.tar.gz" } ], "project_name": "pprintpp", "requires_dists": [], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0", "url": "https://files.pythonhosted.org/packages/cf/9c/fb5d48abfe5d791cd496e4242ebcf87a4bb2e0c3dcd6e0ae68c11426a528/promise-2.3.tar.gz" } ], "project_name": "promise", "requires_dists": [ "coveralls; extra == \"test\"", "futures; extra == \"test\"", "mock; extra == \"test\"", "pytest-asyncio; extra == \"test\"", "pytest-benchmark; extra == \"test\"", "pytest-cov; extra == \"test\"", "pytest>=2.7.3; extra == \"test\"", "six", "typing>=3.6.4; python_version < \"3.5\"" ], "requires_python": null, "version": "2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8961c3a78ebfcd000920c9060a262f082f29838682b1f7201889300c1fbe0616", "url": "https://files.pythonhosted.org/packages/c6/1c/f18d97fc479b4fb6f72bbb0e41188575362e3bbd31014cf294ef0fdec8bf/protobuf-3.19.4-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7ca7da9c339ca8890d66958f5462beabd611eca6c958691a8fe6eccbd1eb0c6e", "url": "https://files.pythonhosted.org/packages/11/8f/3703b61ee707fbd9ea683d1642392af41338b8cd71d7fda76fc002a7e939/protobuf-3.19.4-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "48ed3877fa43e22bcacc852ca76d4775741f9709dd9575881a373bd3e85e54b2", "url": "https://files.pythonhosted.org/packages/2a/b8/c8282a5ccabc8aa6b4478f38da26d711458638a56b1790008783ad588792/protobuf-3.19.4-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "69da7d39e39942bd52848438462674c463e23963a1fdaa84d88df7fbd7e749b2", "url": "https://files.pythonhosted.org/packages/34/af/4b3cdb20ac3ee72ad9ed528c8653dbd1cee029f23e44209def0703119270/protobuf-3.19.4-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "b38057450a0c566cbd04890a40edf916db890f2818e8682221611d78dc32ae26", "url": "https://files.pythonhosted.org/packages/5c/71/f54505f67e12ddfa96adce2ac889206ab218c5671a933429a56ae63d156f/protobuf-3.19.4-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "9df0c10adf3e83015ced42a9a7bd64e13d06c4cf45c340d2c63020ea04499d0a", "url": "https://files.pythonhosted.org/packages/6c/49/f864b9fd6310d9a15ddae5b37d78dff1df0e2e1da476442fee062c6032b2/protobuf-3.19.4.tar.gz" }, { "algorithm": "sha256", "hash": "bd95d1dfb9c4f4563e6093a9aa19d9c186bf98fa54da5252531cc0d3a07977e7", "url": "https://files.pythonhosted.org/packages/d5/c8/64de54ef0121a1ff6309f102124c6b5a89260dc584e1871341f5199b7b85/protobuf-3.19.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "protobuf", "requires_dists": [], "requires_python": ">=3.5", "version": "3.19.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3151a58f0fbd8942ba94f7c31c7e6b310d2989f4da74fcbf28b934374e9bf841", "url": "https://files.pythonhosted.org/packages/62/d4/72fc44dfd9939851bd672e94e43d12848a98b1d2c3f6f794d54a220fe4a7/psutil-5.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "1070a9b287846a21a5d572d6dddd369517510b68710fca56b0e9e02fd24bed9a", "url": "https://files.pythonhosted.org/packages/0a/66/b2188d8e738ee52206a4ee804907f6eab5bcc9fc0e8486e7ab973a8323b7/psutil-5.9.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25", "url": "https://files.pythonhosted.org/packages/47/b6/ea8a7728f096a597f0032564e8013b705aa992a0990becd773dcc4d7b4a7/psutil-5.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "b2237f35c4bbae932ee98902a08050a27821f8f6dfa880a47195e5993af4702d", "url": "https://files.pythonhosted.org/packages/4c/95/3c0858c62ec02106cf5f3e79d74223264a6269a16996f31d5ab43abcec86/psutil-5.9.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "c3400cae15bdb449d518545cbd5b649117de54e3596ded84aacabfbb3297ead2", "url": "https://files.pythonhosted.org/packages/89/8e/2a8814f903bc06471621f6e0cd3fc1a7085868656106f31aacf2f844eea2/psutil-5.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "76cebf84aac1d6da5b63df11fe0d377b46b7b500d892284068bacccf12f20666", "url": "https://files.pythonhosted.org/packages/d0/cf/7a86fc08f821d66c528939f155079df7d0945678fc474c6a6455c909f6eb/psutil-5.9.0-cp38-cp38-win32.whl" } ], "project_name": "psutil", "requires_dists": [ "enum34; python_version <= \"3.4\" and extra == \"test\"", "ipaddress; python_version < \"3.0\" and extra == \"test\"", "mock; python_version < \"3.0\" and extra == \"test\"", "pywin32; sys_platform == \"win32\" and extra == \"test\"", "unittest2; python_version < \"3.0\" and extra == \"test\"", "wmi; sys_platform == \"win32\" and extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6", "version": "5.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8cd0fb36c7412996859cb4606a35969dd01f4ea34d9812a141cd920c3b18be77", "url": "https://files.pythonhosted.org/packages/90/20/25f1ab5810e1956029b8941c938672bbd4c72bdbe6ae14d68d59aaf24f96/psycopg2_binary-2.8.6-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bd1be66dde2b82f80afb9459fc618216753f67109b859a361cf7def5c7968729", "url": "https://files.pythonhosted.org/packages/02/1b/549967f3ce5f6e3155380728dbb9d2844c286c7408e734db88d7b9c65847/psycopg2_binary-2.8.6-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ba381aec3a5dc29634f20692349d73f2d21f17653bda1decf0b52b11d694541f", "url": "https://files.pythonhosted.org/packages/2c/85/c26507efb110f5a91f503e517f1db55f12ebecb001ff224b2cea234a07ef/psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "2dac98e85565d5688e8ab7bdea5446674a83a3945a8f416ad0110018d1501b94", "url": "https://files.pythonhosted.org/packages/b5/5a/985969fb49617701ddf10b8c6b3f53a2ffd7feaaf598277a94d62401c4d9/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a0c50db33c32594305b0ef9abc0cb7db13de7621d2cadf8392a1d9b3c437ef77", "url": "https://files.pythonhosted.org/packages/b8/63/06e08c2c19737c305777806113491f0b2beeec94a3cf4844844ea1c20f86/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0", "url": "https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz" } ], "project_name": "psycopg2-binary", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.8.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378", "url": "https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", "url": "https://files.pythonhosted.org/packages/98/ff/fec109ceb715d2a6b4c4a85a61af3b40c723a961e8828319fbcb15b868dc/py-1.11.0.tar.gz" } ], "project_name": "py", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d", "url": "https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba", "url": "https://files.pythonhosted.org/packages/a4/db/fffec68299e6d7bad3d504147f9094830b704527a7fc098b721d38cc7fa7/pyasn1-0.4.8.tar.gz" } ], "project_name": "pyasn1", "requires_dists": [], "requires_python": null, "version": "0.4.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74", "url": "https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e", "url": "https://files.pythonhosted.org/packages/88/87/72eb9ccf8a58021c542de2588a867dbefc7556e14b2866d1e40e9e2b587e/pyasn1-modules-0.2.8.tar.gz" } ], "project_name": "pyasn1-modules", "requires_dists": [ "pyasn1<0.5.0,>=0.4.6" ], "requires_python": null, "version": "0.2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20", "url": "https://files.pythonhosted.org/packages/15/94/bc43a2efb7b8615e38acde2b6624cae8c9ec86faf718ff5676c5179a7714/pycodestyle-2.8.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f", "url": "https://files.pythonhosted.org/packages/08/dc/b29daf0a202b03f57c19e7295b60d1d5e1281c45a6f5f573e41830819918/pycodestyle-2.8.0.tar.gz" } ], "project_name": "pycodestyle", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", "url": "https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206", "url": "https://files.pythonhosted.org/packages/5e/0b/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de/pycparser-2.21.tar.gz" } ], "project_name": "pycparser", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.21" }, { "artifacts": [ { "algorithm": "sha256", "hash": "085ca1de245782e9b46cefcf99deecc67d418737a1fd3f6a4f511344b613a5b3", "url": "https://files.pythonhosted.org/packages/d4/4e/00724eebf52854e65dabe2c190b4842afbda0e09817f415683a3130a123c/pydantic-1.9.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5e48ef4a8b8c066c4a31409d91d7ca372a774d0212da2787c0d32f8045b1e034", "url": "https://files.pythonhosted.org/packages/04/dc/5105af75c5c91d776d4f427949b5a06dcec7f6053c2d509c1b24f6ac6385/pydantic-1.9.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "e0896200b6a40197405af18828da49f067c2fa1f821491bc8f5bde241ef3f7d7", "url": "https://files.pythonhosted.org/packages/25/49/6df23c8b5ffbac37c9d41260249be1c948ed430eecbf372a96d1068f0230/pydantic-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "c556695b699f648c58373b542534308922c46a1cda06ea47bc9ca45ef5b39ae6", "url": "https://files.pythonhosted.org/packages/29/76/abb6ece4dcba641e86dcd3a50b63420b388160e5751d90ae2fc5bb9c17e3/pydantic-1.9.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "96f240bce182ca7fe045c76bcebfa0b0534a1bf402ed05914a6f1dadff91877f", "url": "https://files.pythonhosted.org/packages/5f/ca/ec4b2597b7ace79a05300a2e7eff8713b55745312b2acc89f74bf73f8dfc/pydantic-1.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742645059757a56ecd886faf4ed2441b9c0cd406079c2b4bee51bcc3fbcd510a", "url": "https://files.pythonhosted.org/packages/60/a3/23a8a9378ff06853bda6527a39fe317b088d760adf41cf70fc0f6110e485/pydantic-1.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "574936363cd4b9eed8acdd6b80d0143162f2eb654d96cb3a8ee91d3e64bf4cf9", "url": "https://files.pythonhosted.org/packages/78/b0/fdedac2f07344035607bfbf42217c103a6421e7845fc3cb9fd07f3fa0d2e/pydantic-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "f947352c3434e8b937e3aa8f96f47bdfe6d92779e44bb3f41e4c213ba6a32145", "url": "https://files.pythonhosted.org/packages/9f/86/fdc1381a7f8473a6d96c197b71b47a936ed3a6db28a167a19736c9749cd9/pydantic-1.9.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "7bdfdadb5994b44bd5579cfa7c9b0e1b0e540c952d56f627eb227851cda9db77", "url": "https://files.pythonhosted.org/packages/d6/17/08817636de348f6621349ebaf7a046d7df3aa1f4927dea1f504604cfd13d/pydantic-1.9.0-cp38-cp38-macosx_11_0_arm64.whl" } ], "project_name": "pydantic", "requires_dists": [ "dataclasses>=0.6; python_version < \"3.7\"", "email-validator>=1.0.3; extra == \"email\"", "python-dotenv>=0.10.4; extra == \"dotenv\"", "typing-extensions>=3.7.4.3" ], "requires_python": ">=3.6.1", "version": "1.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5dd8c4c0535854b6a52936d1256883a940e3b02006fc7118b53027c0acde181", "url": "https://files.pythonhosted.org/packages/a2/17/ff7ec2752f53ea245499b23ee64e76d12f45fcde7a5b1b445f9c58cd1ec0/pyDeprecate-0.3.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fa26870924d3475621c344045c2c01a16ba034113a902600c78e75b3fac5f72c", "url": "https://files.pythonhosted.org/packages/1b/93/bf1ab43f9306a6972762abc12104cd5b35d1e93f2a85cf4ab08a19ccf71b/pyDeprecate-0.3.1.tar.gz" } ], "project_name": "pydeprecate", "requires_dists": [], "requires_python": ">=3.6", "version": "0.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e", "url": "https://files.pythonhosted.org/packages/43/fb/38848eb494af7df9aeb2d7673ace8b213313eb7e391691a79dbaeb6a838f/pyflakes-2.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c", "url": "https://files.pythonhosted.org/packages/15/60/c577e54518086e98470e9088278247f4af1d39cb43bcbd731e2c307acd6a/pyflakes-2.4.0.tar.gz" } ], "project_name": "pyflakes", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65", "url": "https://files.pythonhosted.org/packages/1d/17/ed4d2df187995561b28f1073df24137cb750e12f9879d291cc8ab67c65d2/Pygments-2.11.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a", "url": "https://files.pythonhosted.org/packages/94/9c/cb656d06950268155f46d4f6ce25d7ffc51a0da47eadf1b164bbf23b718b/Pygments-2.11.2.tar.gz" } ], "project_name": "pygments", "requires_dists": [], "requires_python": ">=3.5", "version": "2.11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484", "url": "https://files.pythonhosted.org/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", "url": "https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b/pyparsing-3.0.7.tar.gz" } ], "project_name": "pyparsing", "requires_dists": [ "jinja2; extra == \"diagrams\"", "railroad-diagrams; extra == \"diagrams\"" ], "requires_python": ">=3.6", "version": "3.0.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b555252a95bbb2a37a97b5ac2eb050c436f7989993565f5e0c9128fcaacadd0e", "url": "https://files.pythonhosted.org/packages/36/e6/dea2b8cd72cf0600f3c2572fb5a48b01aa8e8fd8703c830dab972036c34c/pytest-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47", "url": "https://files.pythonhosted.org/packages/6e/1c/5a8a4ae3548eaa9a082a25cd6118f166d6bbe440300b3c57c4904cc47935/pytest-7.1.0.tar.gz" } ], "project_name": "pytest", "requires_dists": [ "argcomplete; extra == \"testing\"", "atomicwrites>=1.0; sys_platform == \"win32\"", "attrs>=19.2.0", "colorama; sys_platform == \"win32\"", "hypothesis>=3.56; extra == \"testing\"", "importlib-metadata>=0.12; python_version < \"3.8\"", "iniconfig", "mock; extra == \"testing\"", "nose; extra == \"testing\"", "packaging", "pluggy<2.0,>=0.12", "py>=1.8.2", "pygments>=2.7.2; extra == \"testing\"", "requests; extra == \"testing\"", "tomli>=1.0.0", "xmlschema; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6", "url": "https://files.pythonhosted.org/packages/20/49/b3e0edec68d81846f519c602ac38af9db86e1e71275528b3e814ae236063/pytest_cov-3.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470", "url": "https://files.pythonhosted.org/packages/61/41/e046526849972555928a6d31c2068410e47a31fb5ab0a77f868596811329/pytest-cov-3.0.0.tar.gz" } ], "project_name": "pytest-cov", "requires_dists": [ "coverage[toml]>=5.2.1", "fields; extra == \"testing\"", "hunter; extra == \"testing\"", "process-tests; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=4.6", "six; extra == \"testing\"", "virtualenv; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a14097f4385665cb04330e6ae09a3dd430375f717e94482af6944470ad5f100", "url": "https://files.pythonhosted.org/packages/1b/8b/52cbf350699f5264eadd06355237648306487a9137874f00147647e4f87a/pytest-icdiff-0.5.tar.gz" } ], "project_name": "pytest-icdiff", "requires_dists": [ "icdiff", "pprintpp", "pytest" ], "requires_python": ">=3.6", "version": "0.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9", "url": "https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", "url": "https://files.pythonhosted.org/packages/4c/c4/13b4776ea2d76c115c1d1b84579f3764ee6d57204f6be27119f13a61d0a9/python-dateutil-2.8.2.tar.gz" } ], "project_name": "python-dateutil", "requires_dists": [ "six>=1.5" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "2.8.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c86ed633ce8d25667797635db3ea1fe9fe6b51121d43d7031d5bdb4c5b046895", "url": "https://files.pythonhosted.org/packages/18/f1/f59b307f75db1886c96e396eec878501510677394868680b8d2b8b58c47c/pytorch_lightning-1.5.10-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "119e5a0ad0678444c0bbf95755da571e5e372ab12df7c6115ddd26e364a8ddfa", "url": "https://files.pythonhosted.org/packages/de/84/88b3bdc376d671c8ac165758a10ddb6ae1a3e034f78d75a96a1b8fdc644d/pytorch-lightning-1.5.10.tar.gz" } ], "project_name": "pytorch-lightning", "requires_dists": [ "PyYAML>=5.1", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"cpu\"", "cloudpickle>=1.3; extra == \"dev\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"cpu\"", "codecov>=2.1; extra == \"dev\"", "codecov>=2.1; extra == \"test\"", "comet-ml>=3.1.12; extra == \"all\"", "comet-ml>=3.1.12; extra == \"cpu\"", "comet-ml>=3.1.12; extra == \"dev\"", "comet-ml>=3.1.12; extra == \"loggers\"", "coverage<6.3,>5.2.0; extra == \"all\"", "coverage<6.3,>5.2.0; extra == \"cpu\"", "coverage<6.3,>5.2.0; extra == \"dev\"", "coverage<6.3,>5.2.0; extra == \"test\"", "flake8>=3.9.2; extra == \"all\"", "flake8>=3.9.2; extra == \"cpu\"", "flake8>=3.9.2; extra == \"dev\"", "flake8>=3.9.2; extra == \"test\"", "fsspec[http]!=2021.06.0,>=2021.05.0", "future>=0.17.1", "gcsfs>=2021.5.0; extra == \"all\"", "gcsfs>=2021.5.0; extra == \"cpu\"", "gcsfs>=2021.5.0; extra == \"cpu-extra\"", "gcsfs>=2021.5.0; extra == \"dev\"", "gcsfs>=2021.5.0; extra == \"extra\"", "gym>=0.17.0; extra == \"all\"", "gym>=0.17.0; extra == \"cpu\"", "gym>=0.17.0; extra == \"examples\"", "horovod>=0.21.2; extra == \"all\"", "horovod>=0.21.2; extra == \"dev\"", "horovod>=0.21.2; extra == \"extra\"", "hydra-core>=1.0.5; extra == \"all\"", "hydra-core>=1.0.5; extra == \"cpu\"", "hydra-core>=1.0.5; extra == \"cpu-extra\"", "hydra-core>=1.0.5; extra == \"dev\"", "hydra-core>=1.0.5; extra == \"extra\"", "ipython[all]; extra == \"all\"", "ipython[all]; extra == \"cpu\"", "ipython[all]; extra == \"examples\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"all\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu-extra\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"dev\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"extra\"", "matplotlib>3.1; extra == \"all\"", "matplotlib>3.1; extra == \"cpu\"", "matplotlib>3.1; extra == \"cpu-extra\"", "matplotlib>3.1; extra == \"dev\"", "matplotlib>3.1; extra == \"extra\"", "mlflow>=1.0.0; extra == \"all\"", "mlflow>=1.0.0; extra == \"cpu\"", "mlflow>=1.0.0; extra == \"dev\"", "mlflow>=1.0.0; extra == \"loggers\"", "mypy>=0.920; extra == \"all\"", "mypy>=0.920; extra == \"cpu\"", "mypy>=0.920; extra == \"dev\"", "mypy>=0.920; extra == \"test\"", "neptune-client>=0.10.0; extra == \"all\"", "neptune-client>=0.10.0; extra == \"cpu\"", "neptune-client>=0.10.0; extra == \"dev\"", "neptune-client>=0.10.0; extra == \"loggers\"", "numpy>=1.17.2", "omegaconf>=2.0.5; extra == \"all\"", "omegaconf>=2.0.5; extra == \"cpu\"", "omegaconf>=2.0.5; extra == \"cpu-extra\"", "omegaconf>=2.0.5; extra == \"dev\"", "omegaconf>=2.0.5; extra == \"extra\"", "onnxruntime; extra == \"all\"", "onnxruntime; extra == \"cpu\"", "onnxruntime; extra == \"dev\"", "onnxruntime; extra == \"test\"", "packaging>=17.0", "pandas; extra == \"all\"", "pandas; extra == \"cpu\"", "pandas; extra == \"dev\"", "pandas; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"cpu\"", "pre-commit>=1.0; extra == \"dev\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.1", "pytest-rerunfailures>=10.2; extra == \"all\"", "pytest-rerunfailures>=10.2; extra == \"cpu\"", "pytest-rerunfailures>=10.2; extra == \"dev\"", "pytest-rerunfailures>=10.2; extra == \"test\"", "pytest>=6.0; extra == \"all\"", "pytest>=6.0; extra == \"cpu\"", "pytest>=6.0; extra == \"dev\"", "pytest>=6.0; extra == \"test\"", "rich>=10.2.2; extra == \"all\"", "rich>=10.2.2; extra == \"cpu\"", "rich>=10.2.2; extra == \"cpu-extra\"", "rich>=10.2.2; extra == \"dev\"", "rich>=10.2.2; extra == \"extra\"", "scikit-learn>0.22.1; extra == \"all\"", "scikit-learn>0.22.1; extra == \"cpu\"", "scikit-learn>0.22.1; extra == \"dev\"", "scikit-learn>0.22.1; extra == \"test\"", "setuptools==59.5.0", "tensorboard>=2.2.0", "test-tube>=0.7.5; extra == \"all\"", "test-tube>=0.7.5; extra == \"cpu\"", "test-tube>=0.7.5; extra == \"dev\"", "test-tube>=0.7.5; extra == \"loggers\"", "torch>=1.7.*", "torchmetrics>=0.4.1", "torchtext>=0.8.*; extra == \"all\"", "torchtext>=0.8.*; extra == \"cpu\"", "torchtext>=0.8.*; extra == \"cpu-extra\"", "torchtext>=0.8.*; extra == \"dev\"", "torchtext>=0.8.*; extra == \"extra\"", "torchvision>=0.8.*; extra == \"all\"", "torchvision>=0.8.*; extra == \"cpu\"", "torchvision>=0.8.*; extra == \"examples\"", "tqdm>=4.41.0", "twine==3.2; extra == \"all\"", "twine==3.2; extra == \"cpu\"", "twine==3.2; extra == \"dev\"", "twine==3.2; extra == \"test\"", "typing-extensions", "wandb>=0.8.21; extra == \"all\"", "wandb>=0.8.21; extra == \"cpu\"", "wandb>=0.8.21; extra == \"dev\"", "wandb>=0.8.21; extra == \"loggers\"" ], "requires_python": ">=3.6", "version": "1.5.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3383d106fa8da0c2df30401ad056cd7a11b76d885f4bfa16ca7bcc6b4ca2831c", "url": "https://files.pythonhosted.org/packages/28/53/d8eaf1ffe27fb239c61c1b73a8f936bc7e66632b8cab08b5bdedb9fdeda5/PyWavelets-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "a555a7a85da01357d8258cb45f751881f69013f8920f8738718c60cf8a47b755", "url": "https://files.pythonhosted.org/packages/09/80/a85831bbf6dcd886435726822b972de7bd533fc0e71bb9a205d02d71684a/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "a51225d24811ba7ef5184c03bb7072db0aa9651c4370a115d4069dedfb8d2f7a", "url": "https://files.pythonhosted.org/packages/25/2c/eae94f875a0f6a60baa3907563c0c685bc17d23cae1b92fa5404d66adbd2/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "cbaa9d62052d9daf8da765fc8e7c30c38ea2b8e9e1c18841913dfb4aec671ee5", "url": "https://files.pythonhosted.org/packages/32/ab/b96b19cae562aecaa57f0cdb501be169a38ec685ddcc91f1de20f849b22e/PyWavelets-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "307ab8a4c3e5c2b8f7d3d371de4a5f019cf4b030b897c3394a4a7ad157369367", "url": "https://files.pythonhosted.org/packages/3c/f4/b14e863a7f4b146c090d9c70cd130938c4616fbc02877eef4fc747abe6a5/PyWavelets-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "d7369597e1b1d125eb4b458a36cef052beed188444e55ed21445c1196008e200", "url": "https://files.pythonhosted.org/packages/4b/20/04a0a3e43a45a459c2bcde756833b2eca9430729e89d65da35f70e99e997/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "69e9a46facf89b51e5700d10f6d831f29745471c1ab42917f2f849a257b9fd77", "url": "https://files.pythonhosted.org/packages/96/e2/a4c51bb664f3605ef7a1ca644606fd95e8ea416519585f863a99ecb7678b/PyWavelets-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "27e99818d3c26481de3c68dbe880a7fcafe661cc031b22eff4a64237fe17a7ff", "url": "https://files.pythonhosted.org/packages/a8/37/f2ed3819e8d4091cb021f9fcdb30c4266cb0625c0a34e8678e6d66fde6f1/PyWavelets-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8a5941d1f4eb1bc9569c655b63ecb31aa15b3ef0fc9b57df275892c39bccc59e", "url": "https://files.pythonhosted.org/packages/ea/16/f74ccb794053560dcb0a50d65f29c9c607ca9d8859ed4489e5a6df671303/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_universal2.whl" } ], "project_name": "pywavelets", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0f5f5786c0e09baddcd8b4b45f20a7b5d61a7e7e99846e3c799b05c7c53fa696", "url": "https://files.pythonhosted.org/packages/97/d3/24097209f6af04fcdbb40500480a0feaa62164e60bca4c9532f0e9354e47/PyYAML-5.4.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd7f6999a8070df521b6384004ef42833b9bd62cfee11a09bda1079b4b704247", "url": "https://files.pythonhosted.org/packages/06/2f/c03b2b7e6fcda2793f751c82bd2c488d4bd064720edffa2fdda9a422bec2/PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "fa5ae20527d8e831e8230cbffd9f8fe952815b2b7dae6ffec25318803a7528fc", "url": "https://files.pythonhosted.org/packages/42/55/8f1ccdce64a42eb72d5509057d53badfeaa08814cea4d1d11cadaa2d2b3d/PyYAML-5.4.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8c1be557ee92a20f184922c7b6424e8ab6691788e6d86137c5d93c1a6ec1b8fb", "url": "https://files.pythonhosted.org/packages/70/96/c7245e551b1cb496bfb95840ace55ca60f20d3d8e33d70faf8c78a976899/PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e", "url": "https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz" }, { "algorithm": "sha256", "hash": "d2d9808ea7b4af864f35ea216be506ecec180628aced0704e34aca0b040ffe46", "url": "https://files.pythonhosted.org/packages/cb/3f/2f35751408c0b2a425aa48dd79301a48418858d3366f84c75d1aa42b6e2d/PyYAML-5.4.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "bfb51918d4ff3d77c1c856a9699f8492c612cde32fd3bcd344af9be34999bfdc", "url": "https://files.pythonhosted.org/packages/d6/0d/4820527144e18e35488e6253a8b886ed0b90491fb8fff48c11ff71542529/PyYAML-5.4.1-cp38-cp38-manylinux2014_s390x.whl" } ], "project_name": "pyyaml", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "5.4.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4519714c40cd0f2e6c51e1735edae8f8b19f4efe1f33be13e9d644ca5f736dd6", "url": "https://files.pythonhosted.org/packages/f0/a1/a5f4bebaa31d109003909809d88aeb0d4b201463a9ea29308d9e4f9e7655/qudida-0.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db198e2887ab0c9aa0023e565afbff41dfb76b361f85fd5e13f780d75ba18cc8", "url": "https://files.pythonhosted.org/packages/3e/2d/bab8babd9dc9a9e4df6eb115540cee4322c1a74078fb6f3b3ebc452a22b3/qudida-0.0.4.tar.gz" } ], "project_name": "qudida", "requires_dists": [ "numpy>=0.18.0", "opencv-python-headless>=4.0.1", "scikit-learn>=0.19.1", "typing-extensions" ], "requires_python": ">=3.5.0", "version": "0.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d", "url": "https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61", "url": "https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz" } ], "project_name": "requests", "requires_dists": [ "PySocks!=1.5.7,>=1.5.6; extra == \"socks\"", "certifi>=2017.4.17", "chardet<5,>=3.0.2; extra == \"use_chardet_on_py3\"", "chardet<5,>=3.0.2; python_version < \"3\"", "charset-normalizer~=2.0.0; python_version >= \"3\"", "idna<3,>=2.5; python_version < \"3\"", "idna<4,>=2.5; python_version >= \"3\"", "urllib3<1.27,>=1.21.1", "win-inet-pton; (sys_platform == \"win32\" and python_version == \"2.7\") and extra == \"socks\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.27.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2577c501a2fb8d05a304c09d090d6e47c306fef15809d102b327cf8364bddab5", "url": "https://files.pythonhosted.org/packages/6f/bb/5deac77a9af870143c684ab46a7934038a53eb4aa975bc0687ed6ca2c610/requests_oauthlib-1.3.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "75beac4a47881eeb94d5ea5d6ad31ef88856affe2332b9aafb52c6452ccf0d7a", "url": "https://files.pythonhosted.org/packages/95/52/531ef197b426646f26b53815a7d2a67cb7a331ef098bb276db26a68ac49f/requests-oauthlib-1.3.1.tar.gz" } ], "project_name": "requests-oauthlib", "requires_dists": [ "oauthlib>=3.0.0", "oauthlib[signedtoken]>=3.0.0; extra == \"rsa\"", "requests>=2.0.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d5f49ad91fb343efcae45a2b2df04a9755e863e50413623ab8c9e74f05aee52b", "url": "https://files.pythonhosted.org/packages/74/41/6adf6aeb9b3d4a058a82fd053cbb6824432269caa0998574cb766c555287/rich-11.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a6266a5738115017bb64a66c59c717e7aa047b3ae49a011ede4abdeffc6536e", "url": "https://files.pythonhosted.org/packages/72/de/b3a53cf1dfdbdc124e8110a60d6c6da8e39d4610c82491fc862383960552/rich-11.2.0.tar.gz" } ], "project_name": "rich", "requires_dists": [ "colorama<0.5.0,>=0.4.0", "commonmark<0.10.0,>=0.9.0", "dataclasses<0.9,>=0.7; python_version < \"3.7\"", "ipywidgets<8.0.0,>=7.5.1; extra == \"jupyter\"", "pygments<3.0.0,>=2.6.0", "typing-extensions<5.0,>=3.7.4; python_version < \"3.8\"" ], "requires_python": "<4.0.0,>=3.6.2", "version": "11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "78f9a9bf4e7be0c5ded4583326e7461e3a3c5aae24073648b4bdfa797d78c9d2", "url": "https://files.pythonhosted.org/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9", "url": "https://files.pythonhosted.org/packages/db/b5/475c45a58650b0580421746504b680cd2db4e81bc941e94ca53785250269/rsa-4.7.2.tar.gz" } ], "project_name": "rsa", "requires_dists": [ "pyasn1>=0.1.3" ], "requires_python": "<4,>=3.5", "version": "4.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "62cc021e4b192942cb51667a4b5299e948476f318838df7a693ed7a3628fcb8d", "url": "https://files.pythonhosted.org/packages/ff/10/683249cebdb8893fefdc08d8260eba7f4bacc908281b54f01f25f679ae32/s3fs-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4611d0f7e41e5bc9dac3009070e0ad37da87a42f6def75b4813c06f7e404a738", "url": "https://files.pythonhosted.org/packages/68/8d/f04b74e58637399e57f2da566553a07b1370d45b798e0a15ae34aa1db01a/s3fs-2022.2.0.tar.gz" } ], "project_name": "s3fs", "requires_dists": [ "aiobotocore[awscli]~=2.1.0; extra == \"awscli\"", "aiobotocore[boto3]~=2.1.0; extra == \"boto3\"", "aiobotocore~=2.1.0", "aiohttp<=4", "fsspec==2022.02.0" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7a6f4c4d1fdb9a2b640244008e142cbc2cd3ae34b386584ef044dd0f27101971", "url": "https://files.pythonhosted.org/packages/7b/9c/f51775ebe7df5a7aa4e7c79ed671bde94e154bd968aca8d65bb24aba0c8c/s3transfer-0.5.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "95c58c194ce657a5f4fb0b9e60a84968c808888aed628cd98ab8771fe1db98ed", "url": "https://files.pythonhosted.org/packages/7e/19/f82e4af435a19b28bdbfba63f338ea20a264f4df4beaf8f2ab9bfa34072b/s3transfer-0.5.2.tar.gz" } ], "project_name": "s3transfer", "requires_dists": [ "botocore<2.0a.0,>=1.12.36", "botocore[crt]<2.0a.0,>=1.20.29; extra == \"crt\"" ], "requires_python": ">=3.6", "version": "0.5.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0f294ed7f0ea1e90fb6c764d04b8c298096b3403fad7539b9c6f22777d879c6", "url": "https://files.pythonhosted.org/packages/97/b0/3476439c9d4a85e3040bb3a5645fe32013bd41537eb3dab5efd048602fc1/scikit_image-0.19.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d3d0a85c6f53f0d4f704e67b35b3e8c6570846ec37eaeb1ca0f47a1088708cb8", "url": "https://files.pythonhosted.org/packages/38/51/28cd7d4b98a3c4ab0a920ecdc28148f2f6fd7748e5da19fa827acd8317d0/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "aa40f84383961a1a4afebb92f373e42a3d86e2540f012a4f7d2661a417f9e995", "url": "https://files.pythonhosted.org/packages/4d/a1/f1cce8ac5c244f75d196f937b87f7aae6096862e79c8ae4f0b6b643a449e/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "d2c022044eb762d3f03ed6e08a3e06c067953393036e4ca2bf16b0bffde36acb", "url": "https://files.pythonhosted.org/packages/7b/45/bc519bbc94fb3ef52c816a17709d7875bbd5028ba0071b4c798a86f550ee/scikit_image-0.19.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "d433b4642a6f8219e749dfbbe4b5e742d560996540c9749ede510274d061866d", "url": "https://files.pythonhosted.org/packages/83/7d/756dcbf1f2fcbfd60e14842aeadefa2354eff714ed4ec3ae7a107a5787d1/scikit-image-0.19.2.tar.gz" }, { "algorithm": "sha256", "hash": "5ab19b11bd5f836a3de07f087d24db5ea734365122956f53dc5c5c9e018e2ec0", "url": "https://files.pythonhosted.org/packages/88/96/2ab19541e2775babf3799e5dff5e47f2a7ce70477c91e7efde8fdeabe8b4/scikit_image-0.19.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "cabf07a7886861510d4a39ed64fc121708fb7d72a6fe601d87388d36240f4242", "url": "https://files.pythonhosted.org/packages/9c/59/e9e2d8f001df1554b9f501cab52554dc2c173adb34ef029a6c958d233a32/scikit_image-0.19.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "cd115a4412b4561d62036e309c8cb543bfc2ca6b7b184ac23a65f6350959a716", "url": "https://files.pythonhosted.org/packages/fd/96/cd5eca8c528b3ebe666835e3748f07ca4daf3ed5b010cae7a76fa238b7e6/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "scikit-image", "requires_dists": [ "PyWavelets>=1.1.1", "SimpleITK; extra == \"optional\"", "astropy>=3.1.2; extra == \"optional\"", "asv; extra == \"test\"", "cloudpickle>=0.2.1; extra == \"docs\"", "cloudpickle>=0.2.1; extra == \"optional\"", "codecov; extra == \"test\"", "dask[array]!=2.17.0,>=0.15.0; extra == \"docs\"", "dask[array]!=2.17.0,>=1.0.0; extra == \"optional\"", "flake8; extra == \"test\"", "imageio>=2.4.1", "ipywidgets; extra == \"docs\"", "kaleido; extra == \"docs\"", "matplotlib>=3.0.3; extra == \"optional\"", "matplotlib>=3.0.3; extra == \"test\"", "matplotlib>=3.3; extra == \"docs\"", "myst-parser; extra == \"docs\"", "networkx>=2.2", "numpy>=1.17.0", "numpydoc>=1.0; extra == \"docs\"", "packaging>=20.0", "pandas>=0.23.0; extra == \"docs\"", "pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0", "plotly>=4.14.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"data\"", "pooch>=1.3.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"optional\"", "pooch>=1.3.0; extra == \"test\"", "pyamg; extra == \"optional\"", "pytest-cov>=2.7.0; extra == \"test\"", "pytest-faulthandler; extra == \"test\"", "pytest-localserver; extra == \"test\"", "pytest-runner; extra == \"docs\"", "pytest>=5.2.0; extra == \"test\"", "qtpy; extra == \"optional\"", "scikit-learn; extra == \"docs\"", "scipy>=1.4.1", "seaborn>=0.7.1; extra == \"docs\"", "sphinx-copybutton; extra == \"docs\"", "sphinx-gallery>=0.10.1; extra == \"docs\"", "sphinx>=1.8; extra == \"docs\"", "tifffile>=2019.7.26", "tifffile>=2020.5.30; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "0.19.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7626a34eabbf370a638f32d1a3ad50526844ba58d63e3ab81ba91e2a7c6d037e", "url": "https://files.pythonhosted.org/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "5cb33fe1dc6f73dc19e67b264dbb5dde2a0539b986435fdd78ed978c14654830", "url": "https://files.pythonhosted.org/packages/0d/18/883dd0dc906a30ddd06be9412f2c84776900e6091497f70e78346ee7851f/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "bc3744dabc56b50bec73624aeca02e0def06b03cb287de26836e730659c5d29c", "url": "https://files.pythonhosted.org/packages/40/d3/206905d836cd496c1f78a15ef92a0f0477d74113b4f349342bf31dfd62ca/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "ff3fa8ea0e09e38677762afc6e14cad77b5e125b0ea70c9bba1992f02c93b028", "url": "https://files.pythonhosted.org/packages/44/95/bf3bdfd6b8d93b79728b3193aba7e1c44f5518b648ed72c4ceb6f5d7d670/scikit_learn-1.0.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "b1391d1a6e2268485a63c3073111fe3ba6ec5145fc957481cfd0652be571226d", "url": "https://files.pythonhosted.org/packages/6a/f4/a655d7421579783fc49d19a5b28cac994cff998268f7353029e8ea02ff78/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5870959a5484b614f26d31ca4c17524b1b0317522199dc985c3b4256e030767", "url": "https://files.pythonhosted.org/packages/75/44/074b780d8ac0b0899937e9b8ba6d5d8873a71b99aa915219251ef85a8890/scikit-learn-1.0.2.tar.gz" }, { "algorithm": "sha256", "hash": "285db0352e635b9e3392b0b426bc48c3b485512d3b4ac3c7a44ec2a2ba061e66", "url": "https://files.pythonhosted.org/packages/7e/2c/27fcd754e40eb176f4ea261042194a8a39b4cebb6f4cf8557c41014019dc/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "7d6b2475f1c23a698b48515217eb26b45a6598c7b1840ba23b3c5acece658dbb", "url": "https://files.pythonhosted.org/packages/7e/d4/e7087c1083c051c67707005ee65bb5c9c84761cedc09dea2c670c5559e2b/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "9369b030e155f8188743eb4893ac17a27f81d28a884af460870c7c072f114243", "url": "https://files.pythonhosted.org/packages/8b/f1/e9097e4dd7ffc26e0e578e598e9dade3e5f16eb80058ca6fad28fbebccaa/scikit_learn-1.0.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "a999c9f02ff9570c783069f1074f06fe7386ec65b84c983db5aeb8144356a355", "url": "https://files.pythonhosted.org/packages/a4/41/d3c747b3542bc4ad3c68e8e042f791abf78365eb90b25742c33679a361a1/scikit_learn-1.0.2-cp38-cp38-win32.whl" } ], "project_name": "scikit-learn", "requires_dists": [ "Pillow>=7.1.2; extra == \"docs\"", "black>=21.6b0; extra == \"tests\"", "flake8>=3.8.2; extra == \"tests\"", "joblib>=0.11", "matplotlib>=2.2.3; extra == \"benchmark\"", "matplotlib>=2.2.3; extra == \"docs\"", "matplotlib>=2.2.3; extra == \"examples\"", "matplotlib>=2.2.3; extra == \"tests\"", "memory-profiler>=0.57.0; extra == \"benchmark\"", "memory-profiler>=0.57.0; extra == \"docs\"", "mypy>=0.770; extra == \"tests\"", "numpy>=1.14.6", "numpydoc>=1.0.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"benchmark\"", "pandas>=0.25.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"examples\"", "pandas>=0.25.0; extra == \"tests\"", "pyamg>=4.0.0; extra == \"tests\"", "pytest-cov>=2.9.0; extra == \"tests\"", "pytest>=5.0.1; extra == \"tests\"", "scikit-image>=0.14.5; extra == \"docs\"", "scikit-image>=0.14.5; extra == \"examples\"", "scikit-image>=0.14.5; extra == \"tests\"", "scipy>=1.1.0", "seaborn>=0.9.0; extra == \"docs\"", "seaborn>=0.9.0; extra == \"examples\"", "sphinx-gallery>=0.7.0; extra == \"docs\"", "sphinx-prompt>=1.3.0; extra == \"docs\"", "sphinx>=4.0.1; extra == \"docs\"", "sphinxext-opengraph>=0.4.2; extra == \"docs\"", "threadpoolctl>=2.0.0" ], "requires_python": ">=3.7", "version": "1.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5e73343c5e0d413c1f937302b2e04fb07872f5843041bcfd50699aef6e95e399", "url": "https://files.pythonhosted.org/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "38aa39b6724cb65271e469013aeb6f2ce66fd44f093e241c28a9c6bc64fd79ed", "url": "https://files.pythonhosted.org/packages/0c/a5/dca69d5ddb81da167d434f72b0ecfa10f68bf99b648fc49e4d9db81dff1c/scipy-1.8.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "559a8a4c03a5ba9fe3232f39ed24f86457e4f3f6c0abbeae1fb945029f092720", "url": "https://files.pythonhosted.org/packages/70/ba/82877dfa10828cb585cff9df6d87a66564a0571859c15488d16a9413598a/scipy-1.8.0-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "92b2c2af4183ed09afb595709a8ef5783b2baf7f41e26ece24e1329c109691a7", "url": "https://files.pythonhosted.org/packages/84/d1/74a1e3b528556bdb94a1360e731eb838ffcb05106ea95eb8ba4af85f71e6/scipy-1.8.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd", "url": "https://files.pythonhosted.org/packages/b4/a2/4faa34bf0cdbefd5c706625f1234987795f368eb4e97bde9d6f46860843e/scipy-1.8.0.tar.gz" }, { "algorithm": "sha256", "hash": "a279e27c7f4566ef18bab1b1e2c37d168e365080974758d107e7d237d3f0f484", "url": "https://files.pythonhosted.org/packages/bd/84/6f6218c338e1fa77f715e2db777b162bf1e4535289cf462ee3f002612ed6/scipy-1.8.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ad5be4039147c808e64f99c0e8a9641eb5d2fa079ff5894dcd8240e94e347af4", "url": "https://files.pythonhosted.org/packages/d2/27/b2648569175ba233cb6ad13029f8df4049a581c268156c5dd1db5ca44a8c/scipy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "3d9dd6c8b93a22bf9a3a52d1327aca7e092b1299fb3afc4f89e8eba381be7b59", "url": "https://files.pythonhosted.org/packages/e5/2c/fd50b818174554057294ea7f788bd3f8d448bb0f9cbefeeaf8e19067bee0/scipy-1.8.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "f4a6d3b9f9797eb2d43938ac2c5d96d02aed17ef170c8b38f11798717523ddba", "url": "https://files.pythonhosted.org/packages/f4/45/9b57c6fd181f5031d99e1395b3cc3bc83653ff064c614ff211882bd85d50/scipy-1.8.0-cp38-cp38-macosx_12_0_universal2.macosx_10_9_x86_64.whl" } ], "project_name": "scipy", "requires_dists": [ "numpy<1.25.0,>=1.17.3" ], "requires_python": "<3.11,>=3.8", "version": "1.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "32af1a57954576709242beb8c373b3dbde346ac6bd616921def29d68846fb8c3", "url": "https://files.pythonhosted.org/packages/87/54/0a04c906c97073119e4030c9f4d86e8fe70c93aee1b3bc5670257b76eab0/sentry_sdk-1.5.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38fd16a92b5ef94203db3ece10e03bdaa291481dd7e00e77a148aa0302267d47", "url": "https://files.pythonhosted.org/packages/74/74/82f06055ccbcb05ba84b942346acf39f342fdf3937f2638cb780dac3f125/sentry-sdk-1.5.8.tar.gz" } ], "project_name": "sentry-sdk", "requires_dists": [ "aiohttp>=3.5; extra == \"aiohttp\"", "apache-beam>=2.12; extra == \"beam\"", "asttokens; extra == \"pure_eval\"", "blinker>=1.1; extra == \"flask\"", "blinker>=1.1; extra == \"quart\"", "bottle>=0.12.13; extra == \"bottle\"", "celery>=3; extra == \"celery\"", "certifi", "chalice>=1.16.0; extra == \"chalice\"", "django>=1.8; extra == \"django\"", "executing; extra == \"pure_eval\"", "falcon>=1.4; extra == \"falcon\"", "flask>=0.11; extra == \"flask\"", "httpx>=0.16.0; extra == \"httpx\"", "pure-eval; extra == \"pure_eval\"", "pyspark>=2.4.4; extra == \"pyspark\"", "quart>=0.16.1; extra == \"quart\"", "rq>=0.6; extra == \"rq\"", "sanic>=0.8; extra == \"sanic\"", "sqlalchemy>=1.2; extra == \"sqlalchemy\"", "tornado>=5; extra == \"tornado\"", "urllib3>=1.10.0" ], "requires_python": null, "version": "1.5.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0d160d46c8f3567e0aa27b26b1f36e03122e3de475aacacc14a92b8fe45b648a", "url": "https://files.pythonhosted.org/packages/38/7e/6794cfb1d910d982221f08b0617737e454470b53d67fbb3cf831ab891b81/setproctitle-1.2.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "e13a5c1d9c369cb11cdfc4b75be432b83eb3205c95a69006008ffd4366f87b9e", "url": "https://files.pythonhosted.org/packages/21/8a/32fdafc0664c681507df24dbaa7c28f823a5289f03e663c51dae7f3a3278/setproctitle-1.2.2-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "c611f65bc9de5391a1514de556f71101e6531bb0715d240efd3e9732626d5c9e", "url": "https://files.pythonhosted.org/packages/3c/dc/00fb59a01ed15134e6ccdd450e629418431fe9a6433b2ee9479c27660ae3/setproctitle-1.2.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "17598f38be9ef499d74f2380bf76b558be72e87da75d66b153350e586649171b", "url": "https://files.pythonhosted.org/packages/4c/6b/a70de194afd9b65253180603a80cb19109d7c00d45c44b3454c06b822ffb/setproctitle-1.2.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bc4393576ed3ac87ddac7d1bd0faaa2fab24840a025cc5f3c21d14cf0c9c8a12", "url": "https://files.pythonhosted.org/packages/7d/e1/761a1e90ac68b92e296025e7e93b24f4e0f46f92d5ae86108228312f2b22/setproctitle-1.2.2-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7dfb472c8852403d34007e01d6e3c68c57eb66433fb8a5c77b13b89a160d97df", "url": "https://files.pythonhosted.org/packages/a1/7f/a1d4f4c7b66f0fc02f35dc5c85f45a8b4e4a7988357a29e61c14e725ef86/setproctitle-1.2.2.tar.gz" } ], "project_name": "setproctitle", "requires_dists": [ "pytest<6.2,>=6.1; extra == \"test\"" ], "requires_python": ">=3.6", "version": "1.2.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d10741ff20b89cd8c6a536ee9dc90d3002dec0226c78fb98605bfb9ef8a7adf", "url": "https://files.pythonhosted.org/packages/40/a9/7deac76c58fa47c95360116a06b53b9b62f6db11336fe61b6ab53784d98b/setuptools-59.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2fa4fad0", "url": "https://files.pythonhosted.org/packages/e6/e2/f2bfdf364e016f7a464db709ea40d1101c4c5a463dd7019dae0a42dbd1c6/setuptools-59.5.0.tar.gz" } ], "project_name": "setuptools", "requires_dists": [ "flake8-2020; extra == \"testing\"", "furo; extra == \"docs\"", "jaraco.envs>=2.2; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "jaraco.path>=3.2.0; extra == \"testing\"", "jaraco.tidelift>=1.4; extra == \"docs\"", "mock; extra == \"testing\"", "paver; extra == \"testing\"", "pip>=19.1; extra == \"testing\"", "pygments-github-lexers==0.0.5; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-virtualenv>=1.2.7; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx-inline-tabs; extra == \"docs\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"testing\"", "sphinxcontrib-towncrier; extra == \"docs\"", "virtualenv>=13.0.0; extra == \"testing\"", "wheel; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "59.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44a7a86bcf24dbaba2e626cf80c779926b7c3a0d31a3a013e0d3cd1077707d23", "url": "https://files.pythonhosted.org/packages/22/1b/dda73524fc8dd5cd3b80adcc585a49b3f43f8889453d2ed96291b2fcc860/shortuuid-1.0.8-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23", "url": "https://files.pythonhosted.org/packages/ce/c2/31dc2345d8e06711f3da9d65e3a72a060293057321815bc7f11a930c2529/shortuuid-1.0.8.tar.gz" } ], "project_name": "shortuuid", "requires_dists": [], "requires_python": ">=3.5", "version": "1.0.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", "url": "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "url": "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" } ], "project_name": "six", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "1.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94", "url": "https://files.pythonhosted.org/packages/6d/01/7caa71608bc29952ae09b0be63a539e50d2484bc37747797a66a60679856/smmap-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936", "url": "https://files.pythonhosted.org/packages/21/2d/39c6c57032f786f1965022563eec60623bb3e1409ade6ad834ff703724f3/smmap-5.0.0.tar.gz" } ], "project_name": "smmap", "requires_dists": [], "requires_python": ">=3.6", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663", "url": "https://files.pythonhosted.org/packages/52/b0/7b2e028b63d092804b6794595871f936aafa5e9322dcaaad50ebf67445b3/sniffio-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de", "url": "https://files.pythonhosted.org/packages/a6/ae/44ed7978bcb1f6337a3e2bef19c941de750d73243fc9389140d62853b686/sniffio-1.2.0.tar.gz" } ], "project_name": "sniffio", "requires_dists": [ "contextvars>=2.1; python_version < \"3.7\"" ], "requires_python": ">=3.5", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7ff72b3cc9242d1a1c9b84bd945907bf174d74fc2519efe6184d6390a8df478b", "url": "https://files.pythonhosted.org/packages/75/0a/782bcbe409cc765778613114b3d8fab2a507d2dc59693aeb92d203516c50/SQLAlchemy-1.4.32-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "6fdd2dc5931daab778c2b65b03df6ae68376e028a3098eb624d0909d999885bc", "url": "https://files.pythonhosted.org/packages/7a/9f/ace7376a3ab45adf0f7169a5d8d60707c04b171b72a18bb23d505f83f362/SQLAlchemy-1.4.32.tar.gz" }, { "algorithm": "sha256", "hash": "5a2e73508f939175363d8a4be9dcdc84cf16a92578d7fa86e6e4ca0e6b3667b2", "url": "https://files.pythonhosted.org/packages/86/f1/0b58ca845cd3e0526a219f83c39114ee0a06de8d398f5e21a8781a6033fe/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "dd93162615870c976dba43963a24bb418b28448fef584f30755990c134a06a55", "url": "https://files.pythonhosted.org/packages/8b/18/4c91eccaf0174006a8981e783a493fbacafa4c344cc78fefc9b2872cde0d/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3f88a4ee192142eeed3fe173f673ea6ab1f5a863810a9d85dbf6c67a9bd08f97", "url": "https://files.pythonhosted.org/packages/a5/c6/fdbea6786ff09159500cc8778c409f8803b9cac8c79ec9d12fbd9b5de672/SQLAlchemy-1.4.32-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "bb42f9b259c33662c6a9b866012f6908a91731a419e69304e1261ba3ab87b8d1", "url": "https://files.pythonhosted.org/packages/b2/13/c0b08165292173cb0918c7ddf6dba31df97d4f12f4356ce2d16f3478cf33/SQLAlchemy-1.4.32-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bfec934aac7f9fa95fc82147a4ba5db0a8bdc4ebf1e33b585ab8860beb10232f", "url": "https://files.pythonhosted.org/packages/d6/e1/848f5671a7bc225862f5e5b9699487529dfd8c0930a2ba5c95b2d5b876e6/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "sqlalchemy", "requires_dists": [ "aiomysql; python_version >= \"3\" and extra == \"aiomysql\"", "aiosqlite; python_version >= \"3\" and extra == \"aiosqlite\"", "asyncmy>=0.2.3; python_version >= \"3\" and extra == \"asyncmy\"", "asyncpg; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "cx-oracle<8,>=7; python_version < \"3\" and extra == \"oracle\"", "cx-oracle>=7; python_version >= \"3\" and extra == \"oracle\"", "greenlet!=0.4.17; python_version >= \"3\" and (platform_machine == \"aarch64\" or (platform_machine == \"ppc64le\" or (platform_machine == \"x86_64\" or (platform_machine == \"amd64\" or (platform_machine == \"AMD64\" or (platform_machine == \"win32\" or platform_machine == \"WIN32\"))))))", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiomysql\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiosqlite\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncio\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncmy\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "importlib-metadata; python_version < \"3.8\"", "mariadb>=1.0.1; python_version >= \"3\" and extra == \"mariadb_connector\"", "mypy>=0.910; python_version >= \"3\" and extra == \"mypy\"", "mysql-connector-python; extra == \"mysql_connector\"", "mysqlclient<2,>=1.4.0; python_version < \"3\" and extra == \"mysql\"", "mysqlclient>=1.4.0; python_version >= \"3\" and extra == \"mysql\"", "pg8000>=1.16.6; extra == \"postgresql_pg8000\"", "psycopg2-binary; extra == \"postgresql_psycopg2binary\"", "psycopg2>=2.7; extra == \"postgresql\"", "psycopg2cffi; extra == \"postgresql_psycopg2cffi\"", "pymssql; extra == \"mssql_pymssql\"", "pymysql; python_version >= \"3\" and extra == \"pymysql\"", "pymysql<1; python_version < \"3\" and extra == \"pymysql\"", "pyodbc; extra == \"mssql\"", "pyodbc; extra == \"mssql_pyodbc\"", "sqlalchemy2-stubs; extra == \"mypy\"", "sqlcipher3-binary; python_version >= \"3\" and extra == \"sqlcipher\"", "typing-extensions!=3.10.0.1; extra == \"aiosqlite\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "1.4.32" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26a18cbda5e6b651c964c12c88b36d9898481cd428ed6e063f5f29c418f73050", "url": "https://files.pythonhosted.org/packages/32/57/e9c68acc2845ee4ca66202d19856f6a3581cab2a885d25d490103270ffa2/starlette-0.17.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "57eab3cc975a28af62f6faec94d355a410634940f10b30d68d31cb5ec1b44ae8", "url": "https://files.pythonhosted.org/packages/11/d3/c346849b8201f0e0339e23850c8db1cebd477e44e8b5212f40e1acbb490c/starlette-0.17.1.tar.gz" } ], "project_name": "starlette", "requires_dists": [ "anyio<4,>=3.0.0", "contextlib2>=21.6.0; python_version < \"3.7\"", "itsdangerous; extra == \"full\"", "jinja2; extra == \"full\"", "python-multipart; extra == \"full\"", "pyyaml; extra == \"full\"", "requests; extra == \"full\"", "typing-extensions; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "0.17.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65a338e4424e9079f2604923bdbe301792adce2ace1be68da6b3ddf005170def", "url": "https://files.pythonhosted.org/packages/f7/fd/67c61276de025801cfa8a1b9af2d7c577e7f27c17b6bff2baca20bf03543/tensorboard-2.8.0-py3-none-any.whl" } ], "project_name": "tensorboard", "requires_dists": [ "absl-py>=0.4", "google-auth-oauthlib<0.5,>=0.4.1", "google-auth<3,>=1.6.3", "grpcio>=1.24.3", "markdown>=2.6.8", "numpy>=1.12.0", "protobuf>=3.6.0", "requests<3,>=2.21.0", "setuptools>=41.0.0", "tensorboard-data-server<0.7.0,>=0.6.0", "tensorboard-plugin-wit>=1.6.0", "werkzeug>=0.11.15", "wheel>=0.26" ], "requires_python": ">=3.6", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8237580755e58eff68d1f3abefb5b1e39ae5c8b127cc40920f9c4fb33f4b98a", "url": "https://files.pythonhosted.org/packages/60/f9/802efd84988bffd9f644c03b6e66fde8e76c3aa33db4279ddd11c5d61f4b/tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "fa8cef9be4fcae2f2363c88176638baf2da19c5ec90addb49b1cde05c95c88ee", "url": "https://files.pythonhosted.org/packages/3e/48/dd135dbb3cf16bfb923720163493cab70e7336db4b5f3103d49efa730404/tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "809fe9887682d35c1f7d1f54f0f40f98bb1f771b14265b453ca051e2ce58fca7", "url": "https://files.pythonhosted.org/packages/74/69/5747a957f95e2e1d252ca41476ae40ce79d70d38151d2e494feb7722860c/tensorboard_data_server-0.6.1-py3-none-any.whl" } ], "project_name": "tensorboard-data-server", "requires_dists": [], "requires_python": ">=3.6", "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ff26bdd583d155aa951ee3b152b3d0cffae8005dc697f72b44a8e8c2a77a8cbe", "url": "https://files.pythonhosted.org/packages/e0/68/e8ecfac5dd594b676c23a7f07ea34c197d7d69b3313afdf8ac1b0a9905a2/tensorboard_plugin_wit-1.8.1-py3-none-any.whl" } ], "project_name": "tensorboard-plugin-wit", "requires_dists": [], "requires_python": null, "version": "1.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b", "url": "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz" } ], "project_name": "termcolor", "requires_dists": [], "requires_python": null, "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b", "url": "https://files.pythonhosted.org/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380", "url": "https://files.pythonhosted.org/packages/1b/c7/3d85f8b3894ba7228d0c74e16e97a36a72b2cd2b0e0f8f89b5d435d11f71/threadpoolctl-3.1.0.tar.gz" } ], "project_name": "threadpoolctl", "requires_dists": [], "requires_python": ">=3.6", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "68f4f3aece7daafbe3dd58751622be0412510ee5921625ca611e47b618f906e6", "url": "https://files.pythonhosted.org/packages/23/6b/cd30edb3463f77eac22080b44d834c6abee3950f90d64c229151fc4d32aa/tifffile-2022.3.16-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fe2c79190a1d625076e68a2f0e49ca72a907315fe8ebf488f5eecf70b257fe3c", "url": "https://files.pythonhosted.org/packages/37/ca/891137c951c29f3397ec164605f7aa2e6e4b4209ad834099bd0bc55f15fb/tifffile-2022.3.16.tar.gz" } ], "project_name": "tifffile", "requires_dists": [ "imagecodecs>=2021.11.20; extra == \"all\"", "lxml; extra == \"all\"", "matplotlib>=3.3; extra == \"all\"", "numpy>=1.19.2" ], "requires_python": ">=3.8", "version": "2022.3.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f", "url": "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz" } ], "project_name": "tomli", "requires_dists": [], "requires_python": ">=3.7", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3592d3dd62b32760c82624e7586222747fe2281240e8653970b35f1d6d4a434c", "url": "https://files.pythonhosted.org/packages/c0/2a/3401595e371a63195016968efd450c46048cf0d1b341adb33c029ab6aa1e/torch-1.10.2-cp38-none-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "ab77a9f838874f295ed5410c0686fa22547456e0116efb281c66ef5f9d46fe28", "url": "https://files.pythonhosted.org/packages/4a/a0/3b8d5b80560afbff0688edd66926335bef153d91a95926810ab234798ae2/torch-1.10.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "f281438ee99bd72ad65c0bba1026a32e45c3b636bc067fc145ad291e9ea2faab", "url": "https://files.pythonhosted.org/packages/7e/ee/14fcdd0e8b19108efd953cc5b38f409df39659bbec3b12afaa6dd3e2967b/torch-1.10.2-cp38-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "376fc18407add20daa6bbaaffc5a5e06d733abe53bcbd60ef2532bfed34bc091", "url": "https://files.pythonhosted.org/packages/d4/53/c4a13bbab1385d505c78064ad5ae6a63a990f207a559fcfe950bdeb5f96c/torch-1.10.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "9ef4c004f9e5168bd1c1930c6aff25fed5b097de81db6271ffbb2e4fb8b89319", "url": "https://files.pythonhosted.org/packages/f8/2c/ace8d8d942ccd064639fae6c366344d832fbca174b8df059396a5f51e3a5/torch-1.10.2-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torch", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "typing-extensions" ], "requires_python": ">=3.6.2", "version": "1.10.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d0fbf8440912ef93f22e21bae43fda8fa26a651313acc3ea93beafe3c86dd474", "url": "https://files.pythonhosted.org/packages/f7/ec/3160fd2d30b55b35e9cfd8670c95fcaeb1daa9dba28aa912cfe40d696a3b/torchmetrics-0.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "af03334c4a33fc32a9a40b037b1ce3ff6273ea9a0050c11ddde29bf1335da95e", "url": "https://files.pythonhosted.org/packages/31/0d/d5dbb1a5ba604bcac35a751d8ece9972a87232388be96c44997c64fda32e/torchmetrics-0.7.2.tar.gz" } ], "project_name": "torchmetrics", "requires_dists": [ "bert-score==0.3.10; extra == \"all\"", "bert-score==0.3.10; extra == \"test\"", "check-manifest; extra == \"all\"", "check-manifest; extra == \"test\"", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"test\"", "coverage>5.2; extra == \"all\"", "coverage>5.2; extra == \"test\"", "docutils>=0.16; extra == \"all\"", "docutils>=0.16; extra == \"docs\"", "fast-bss-eval>=0.1.0; extra == \"all\"", "fast-bss-eval>=0.1.0; extra == \"audio\"", "jiwer>=2.3.0; extra == \"all\"", "jiwer>=2.3.0; extra == \"test\"", "lpips; extra == \"all\"", "lpips; extra == \"image\"", "mir-eval>=0.6; extra == \"all\"", "mir-eval>=0.6; extra == \"test\"", "mypy>=0.790; extra == \"all\"", "mypy>=0.790; extra == \"test\"", "myst-parser; extra == \"all\"", "myst-parser; extra == \"docs\"", "nbsphinx>=0.8; extra == \"all\"", "nbsphinx>=0.8; extra == \"docs\"", "nltk>=3.6; extra == \"all\"", "nltk>=3.6; extra == \"text\"", "numpy>=1.17.2", "packaging", "pandoc>=1.0; extra == \"all\"", "pandoc>=1.0; extra == \"docs\"", "pesq>=0.0.3; extra == \"all\"", "pesq>=0.0.3; extra == \"audio\"", "phmdoctest>=1.1.1; extra == \"all\"", "phmdoctest>=1.1.1; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.*", "pypesq; extra == \"all\"", "pypesq; extra == \"test\"", "pystoi; extra == \"all\"", "pystoi; extra == \"audio\"", "pytest-cov>2.10; extra == \"all\"", "pytest-cov>2.10; extra == \"test\"", "pytest-doctestplus>=0.9.0; extra == \"all\"", "pytest-doctestplus>=0.9.0; extra == \"test\"", "pytest==6.*; extra == \"all\"", "pytest==6.*; extra == \"test\"", "pytorch-lightning>=1.1; extra == \"all\"", "pytorch-lightning>=1.1; extra == \"docs\"", "pytorch-lightning>=1.3; extra == \"all\"", "pytorch-lightning>=1.3; extra == \"integrate\"", "pytorch-msssim; extra == \"all\"", "pytorch-msssim; extra == \"test\"", "regex>=2021.9.24; extra == \"all\"", "regex>=2021.9.24; extra == \"text\"", "rouge-score>=0.0.4; extra == \"all\"", "rouge-score>=0.0.4; extra == \"test\"", "sacrebleu>=2.0.0; extra == \"all\"", "sacrebleu>=2.0.0; extra == \"test\"", "scikit-image>0.17.1; extra == \"all\"", "scikit-image>0.17.1; extra == \"test\"", "scikit-learn>=0.24; extra == \"all\"", "scikit-learn>=0.24; extra == \"test\"", "scipy; extra == \"all\"", "scipy; extra == \"image\"", "sphinx-autodoc-typehints>=1.0; extra == \"all\"", "sphinx-autodoc-typehints>=1.0; extra == \"docs\"", "sphinx-copybutton>=0.3; extra == \"all\"", "sphinx-copybutton>=0.3; extra == \"docs\"", "sphinx-paramlinks>=0.5.1; extra == \"all\"", "sphinx-paramlinks>=0.5.1; extra == \"docs\"", "sphinx-togglebutton>=0.2; extra == \"all\"", "sphinx-togglebutton>=0.2; extra == \"docs\"", "sphinx>=4.0; extra == \"all\"", "sphinx>=4.0; extra == \"docs\"", "sphinxcontrib-fulltoc>=1.0; extra == \"all\"", "sphinxcontrib-fulltoc>=1.0; extra == \"docs\"", "sphinxcontrib-mockautodoc; extra == \"all\"", "sphinxcontrib-mockautodoc; extra == \"docs\"", "torch-fidelity; extra == \"all\"", "torch-fidelity; extra == \"image\"", "torch>=1.3.1", "torchvision; extra == \"all\"", "torchvision; extra == \"image\"", "torchvision>=0.8; extra == \"all\"", "torchvision>=0.8; extra == \"detection\"", "tqdm>=4.41.0; extra == \"all\"", "tqdm>=4.41.0; extra == \"text\"", "transformers>=4.0; extra == \"all\"", "transformers>=4.0; extra == \"test\"", "twine>=3.2; extra == \"all\"", "twine>=3.2; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dc144114d5991a33bf8909277b02ea082d99cee4cdcf3f7a9c6b48f0c6c8ddde", "url": "https://files.pythonhosted.org/packages/f0/cb/b484ba727714926cbebe68687960da3481df5619280d17b1d5c90fb610bc/torchvision-0.11.3-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "63647dfb9b0354bc8c5bb120f2dc15a123cee7f5fd6a8e84561da46cc2c89e3a", "url": "https://files.pythonhosted.org/packages/00/a8/0d59336acc849c5d6beb1d38d59b16e4a2e6ac66036ae92ba748f7f02575/torchvision-0.11.3-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "0eda00afc5176b35e69eddd018ee633e3e3d74bbcf139eccdc150781c4ae83a7", "url": "https://files.pythonhosted.org/packages/21/f4/0a2978512bab69a1bd2626e311a45c37b4dec100025661df70d1ede69de4/torchvision-0.11.3-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a82d7d383fabb45fb54aa569ab216b87b98f9eb9de75b3cbfedab555a71209fa", "url": "https://files.pythonhosted.org/packages/a8/1f/3ae670bb65fa932cf7b22db62ef088a5069165844c0b186e61ecbe315c9b/torchvision-0.11.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "b237b39e1c558ad5c9043b6e56bc568ee745f7f064f53270a3fceb53b9725c4b", "url": "https://files.pythonhosted.org/packages/e1/cf/d19fc48359f888607bac25d1102b72540b40316587fc572efe9fdc7642a6/torchvision-0.11.3-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torchvision", "requires_dists": [ "numpy", "pillow!=8.3.0,>=5.3.0", "scipy; extra == \"scipy\"", "torch==1.10.2" ], "requires_python": null, "version": "0.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e643e071046f17139dea55b880dc9b33822ce21613b4a4f5ea57f202833dbc29", "url": "https://files.pythonhosted.org/packages/81/1c/93a2b77b97cdba15a59c3d2d03e53d3292158d1106d37f579069abd90ece/tqdm-4.63.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1d9835ede8e394bb8c9dcbffbca02d717217113adc679236873eeaac5bc0b3cd", "url": "https://files.pythonhosted.org/packages/cb/a5/803a55cae355bc2402492c6a1c23dc08117844e4a1c3a293b0ea19bca6fa/tqdm-4.63.0.tar.gz" } ], "project_name": "tqdm", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-resources; python_version < \"3.7\"", "ipywidgets>=6; extra == \"notebook\"", "py-make>=0.1.0; extra == \"dev\"", "requests; extra == \"telegram\"", "twine; extra == \"dev\"", "wheel; extra == \"dev\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "4.63" }, { "artifacts": [ { "algorithm": "sha256", "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], "requires_python": ">=3.6", "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14", "url": "https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e", "url": "https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz" } ], "project_name": "urllib3", "requires_dists": [ "PySocks!=1.5.7,<2.0,>=1.5.6; extra == \"socks\"", "brotli>=1.0.9; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation == \"CPython\") and extra == \"brotli\"", "brotlicffi>=0.8.0; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation != \"CPython\") and extra == \"brotli\"", "brotlipy>=0.6.0; (os_name == \"nt\" and python_version < \"3\") and extra == \"brotli\"", "certifi; extra == \"secure\"", "cryptography>=1.3.4; extra == \"secure\"", "idna>=2.0.0; extra == \"secure\"", "ipaddress; python_version == \"2.7\" and extra == \"secure\"", "pyOpenSSL>=0.14; extra == \"secure\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4,>=2.7", "version": "1.26.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a8637ae1b580d5839bde4792d9c31ecd40392ae8a245874391edd82c74e7b17", "url": "https://files.pythonhosted.org/packages/e6/1e/6ae3c7774b6537a48a1a896b483fcd13b09d7ca3ace63f423f6cff828b56/wandb-0.12.11-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "808c832a109cdd49f85226446b4224c77ff3bd81c0a9470e8fce43e5306a39a0", "url": "https://files.pythonhosted.org/packages/a0/c4/37887f989bed4784bb11fc90201da76f45ac11c6582f9fed94ed1a7c8de1/wandb-0.12.11.tar.gz" } ], "project_name": "wandb", "requires_dists": [ "Click!=8.0.0,>=7.0", "GitPython>=1.0.0", "PyYAML", "PyYAML; extra == \"sweeps\"", "azure-storage-blob; extra == \"azure\"", "bokeh; extra == \"media\"", "boto3; extra == \"aws\"", "chardet; extra == \"launch\"", "docker-pycreds>=0.4.0", "google-cloud-storage; extra == \"gcp\"", "google-cloud-storage; extra == \"kubeflow\"", "grpcio>=1.27.2; extra == \"grpc\"", "iso8601; extra == \"launch\"", "jsonref>=0.2; extra == \"sweeps\"", "jsonschema>=3.2.0; extra == \"sweeps\"", "jupyter-repo2docker; extra == \"launch\"", "kubernetes; extra == \"kubeflow\"", "minio; extra == \"kubeflow\"", "moviepy; extra == \"media\"", "nbconvert; extra == \"launch\"", "numpy; extra == \"media\"", "numpy<1.21,>=1.15; extra == \"sweeps\"", "pathtools", "pillow; extra == \"media\"", "plotly; extra == \"media\"", "promise<3,>=2.0", "protobuf>=3.12.0", "psutil>=5.0.0", "pydantic>=1.8.2; extra == \"sweeps\"", "python-dateutil>=2.6.1", "rdkit-pypi; extra == \"media\"", "requests<3,>=2.0.0", "scikit-learn==0.24.1; extra == \"sweeps\"", "scipy>=1.5.4; extra == \"sweeps\"", "sentry-sdk>=1.0.0", "setproctitle", "sh; extra == \"kubeflow\"", "shortuuid>=0.5.0", "six>=1.13.0", "soundfile; extra == \"media\"", "typing-extensions; extra == \"launch\"", "yaspin; extra == \"launch\"", "yaspin>=1.0.0" ], "requires_python": ">=3.6", "version": "0.12.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1421ebfc7648a39a5c58c601b154165d05cf47a3cd0ccb70857cbdacf6c8f2b8", "url": "https://files.pythonhosted.org/packages/f4/f3/22afbdb20cc4654b10c98043414a14057cd27fdba9d4ae61cea596000ba2/Werkzeug-2.0.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b863f8ff057c522164b6067c9e28b041161b4be5ba4d0daceeaa50a163822d3c", "url": "https://files.pythonhosted.org/packages/6c/a8/60514fade2318e277453c9588545d0c335ea3ea6440ce5cdabfca7f73117/Werkzeug-2.0.3.tar.gz" } ], "project_name": "werkzeug", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "watchdog; extra == \"watchdog\"" ], "requires_python": ">=3.6", "version": "2.0.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a", "url": "https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4", "url": "https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz" } ], "project_name": "wheel", "requires_dists": [ "pytest-cov; extra == \"test\"", "pytest>=3.0.0; extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.37.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0ed6ad6c9640671689c2dbe6244680fe8b897c08fd1fab2228429b66c518e5e", "url": "https://files.pythonhosted.org/packages/fa/01/3c5d57f130c16d583f17cd07c46194c00bdea53ed0260b26780897834793/wrapt-1.14.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d9bdfa74d369256e4218000a629978590fd7cb6cf6893251dad13d051090436d", "url": "https://files.pythonhosted.org/packages/12/d7/4e095710e80ab428d886a4431a32a99d903a617e5ce27efa613b796233eb/wrapt-1.14.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "1f83e9c21cd5275991076b2ba1cd35418af3504667affb4745b48937e214bafe", "url": "https://files.pythonhosted.org/packages/3b/07/4958cf817f1e5c713e81d7e8a404bc8e683162202442295b978d228f85cd/wrapt-1.14.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "28c659878f684365d53cf59dc9a1929ea2eecd7ac65da762be8b1ba193f7e84f", "url": "https://files.pythonhosted.org/packages/4e/0b/72831883b921c3c57567d9cd609a9020af22c66fd4f1d802d69e0d4ad155/wrapt-1.14.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "b21650fa6907e523869e0396c5bd591cc326e5c1dd594dcdccac089561cacfb8", "url": "https://files.pythonhosted.org/packages/5f/f3/ec6e05ede4feaf56a2ce495446ed94b72c4b24055ede983929f0347dd1f9/wrapt-1.14.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "61e1a064906ccba038aa3c4a5a82f6199749efbbb3cef0804ae5c37f550eded0", "url": "https://files.pythonhosted.org/packages/74/ef/fb62285681190b332d3fda7234358a9eca41b86e83fa24bd4416b668df0d/wrapt-1.14.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "5b835b86bd5a1bdbe257d610eecab07bf685b1af2a7563093e0e69180c1d4af1", "url": "https://files.pythonhosted.org/packages/a8/7f/bac1100383505bd4b215768be4bb60dd2c9780efb39fd9fe63614eccc590/wrapt-1.14.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2498762814dd7dd2a1d0248eda2afbc3dd9c11537bc8200a4b21789b6df6cd38", "url": "https://files.pythonhosted.org/packages/ab/1e/af8eeabaa85e91d32bab0b4cdfb98f5f39eab564a8bd64168db8d86e1c2e/wrapt-1.14.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "354d9fc6b1e44750e2a67b4b108841f5f5ea08853453ecbf44c81fdc2e0d50bd", "url": "https://files.pythonhosted.org/packages/ac/54/bc25e4d8260d4574e4a7952c1dc885e060912774859a0ba14bb9b036c2d6/wrapt-1.14.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "8323a43bd9c91f62bb7d4be74cc9ff10090e7ef820e27bfe8815c57e68261311", "url": "https://files.pythonhosted.org/packages/c7/b4/3a937c7f8ee4751b38274c8542e02f42ebf3e080f1344c4a2aff6416630e/wrapt-1.14.0.tar.gz" }, { "algorithm": "sha256", "hash": "5f24ca7953f2643d59a9c87d6e272d8adddd4a53bb62b9208f36db408d7aafc7", "url": "https://files.pythonhosted.org/packages/ef/e8/62648d3ee379766a94ff2853106a91932d9c1c63e7bd0c4686659ec411c0/wrapt-1.14.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "wrapt", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.14" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cc8b7a7254c0fc3187d43d6cb54b5032d2365efd1df0cd1749c0c4df5f0ad45f", "url": "https://files.pythonhosted.org/packages/1d/1d/818930219ed93cb1f8de61dc2c9d30f3ec8af1a1f1c8878f1c6d68adff23/yarl-1.7.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "39d5493c5ecd75c8093fa7700a2fb5c94fe28c839c8e40144b7ab7ccba6938c8", "url": "https://files.pythonhosted.org/packages/29/00/03a2186fde995f71a0b8fe6ea3f22965e1333ff622556aa2cddf841acfb9/yarl-1.7.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "fd547ec596d90c8676e369dd8a581a21227fe9b4ad37d0dc7feb4ccf544c2d59", "url": "https://files.pythonhosted.org/packages/34/9c/17cefab10d3f3397916255ce990ac358939bc14806e73503805d8bac766a/yarl-1.7.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "e39378894ee6ae9f555ae2de332d513a5763276a9265f8e7cbaeb1b1ee74623a", "url": "https://files.pythonhosted.org/packages/80/45/5aca44624dfbbbe942b22aa4ed9c2a6ff28f6de63b47c52b46b456b307b5/yarl-1.7.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "737e401cd0c493f7e3dd4db72aca11cfe069531c9761b8ea474926936b3c57c8", "url": "https://files.pythonhosted.org/packages/8f/21/769f312eb7c03dcc0dec55300b2cf6c460a9c75fbb08994996686b87c4ef/yarl-1.7.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "ede3b46cdb719c794427dcce9d8beb4abe8b9aa1e97526cc20de9bd6583ad1ef", "url": "https://files.pythonhosted.org/packages/94/6d/e42ac52b021b2b66cbded3c4aabb117a5c6415b81d53da9f6979516c0b78/yarl-1.7.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "5ba63585a89c9885f18331a55d25fe81dc2d82b71311ff8bd378fc8004202ff6", "url": "https://files.pythonhosted.org/packages/9e/e2/dd68672208e604b426ecb498083bf3ed1fd9a3732fb2e514a99f9a3ba4c2/yarl-1.7.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "6feca8b6bfb9eef6ee057628e71e1734caf520a907b6ec0d62839e8293e945c0", "url": "https://files.pythonhosted.org/packages/aa/a6/a4ddcb1c3d93fc5d77a19b1ec338a3efec65b44345168d8ac9bf8461224a/yarl-1.7.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "baf81561f2972fb895e7844882898bda1eef4b07b5b385bcd308d2098f1a767b", "url": "https://files.pythonhosted.org/packages/b0/aa/f92592c2bbc603f408c78ab8a90f5408f303729368fbad29b992dc14dbc0/yarl-1.7.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "788713c2896f426a4e166b11f4ec538b5736294ebf7d5f654ae445fd44270832", "url": "https://files.pythonhosted.org/packages/bc/1a/76621726e249b753de9fda3313eb4c63c8b4449f8681348ce3dbc89b1bf8/yarl-1.7.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "1eb6480ef366d75b54c68164094a6a560c247370a68c02dddb11f20c4c6d3c9d", "url": "https://files.pythonhosted.org/packages/bd/ab/a5c39f35c6e037aaf5aa3ff069801d0345b0301feee83a48a14005ce2cf3/yarl-1.7.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "8300401dc88cad23f5b4e4c1226f44a5aa696436a4026e456fe0e5d2f7f486e6", "url": "https://files.pythonhosted.org/packages/c1/27/9f925be515fc4e5b0b67d9c8bf04a275cbc1936a32d4249afc7e0d3a1c1c/yarl-1.7.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "c2a1ac41a6aa980db03d098a5531f13985edcb451bcd9d00670b03129922cd0d", "url": "https://files.pythonhosted.org/packages/cf/4f/acc91373cec9990cdb4a93351c3c8e240c87cae6b9e57dbcdcc337d26902/yarl-1.7.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "fce78593346c014d0d986b7ebc80d782b7f5e19843ca798ed62f8e3ba8728576", "url": "https://files.pythonhosted.org/packages/e0/24/9abac7eeab2344756148d5909aba8179d84ed7f95683ca86f0fc6a79811a/yarl-1.7.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "c0910c6b6c31359d2f6184828888c983d54d09d581a4a23547a35f1d0b9484b1", "url": "https://files.pythonhosted.org/packages/f4/25/b3b47a3a0ca4b00d5c7069fb3970d648f658a9ac77ca4f8d1c96c841babc/yarl-1.7.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd", "url": "https://files.pythonhosted.org/packages/f6/da/46d1b3d69a9a0835dabf9d59c7eb0f1600599edd421a4c5a15ab09f527e0/yarl-1.7.2.tar.gz" } ], "project_name": "yarl", "requires_dists": [ "idna>=2.0", "multidict>=4.0", "typing-extensions>=3.7.4; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "1.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d574cbfaf0a349df466c91f7f81b22460ae5ebb15ecb8bf9411d6049923aee8d", "url": "https://files.pythonhosted.org/packages/ce/ed/1ae83648729025952b483046d5164fc91625703899707655406db76ce671/yaspin-2.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a", "url": "https://files.pythonhosted.org/packages/6a/b2/144d100c915784ab551e0f7809aaecdd103786a227b0f30db341ffe649be/yaspin-2.1.0.tar.gz" } ], "project_name": "yaspin", "requires_dists": [ "dataclasses<0.9,>=0.8; python_version >= \"3.6\" and python_version < \"3.7\"", "termcolor<2.0.0,>=1.1.0" ], "requires_python": "<4.0.0,>=3.6.2", "version": "2.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375", "url": "https://files.pythonhosted.org/packages/52/c5/df7953fe6065185af5956265e3b16f13c2826c2b1ba23d43154f3af453bc/zipp-3.7.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d", "url": "https://files.pythonhosted.org/packages/94/64/3115548d41cb001378099cb4fc6a6889c64ef43ac1b0e68c9e80b55884fa/zipp-3.7.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ "func-timeout; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "3.7" } ], "platform_tag": [ "cp310", "cp310", "manylinux_2_31_x86_64" ] } ], "pex_version": "2.1.72", "prefer_older_binary": false, "requirements": [ "aio-pika<7.2.0,>=7.1.0", "aiobotocore<2.2.0,>=2.1.2", "aioredis<2.1.0,>=2.0.1", "albumentations<1.2.0,>=1.1", "alembic<1.8.0,>=1.7.7", "anyio<3.6.0,>=3.5", "awscli<1.23.0,>=1.22.24", "black==22.1.0", "boto3<1.21.0,>=1.20.24", "botocore<1.24.0,>=1.23.24", "click<8.1.0,>=8.0.4", "docstring-parser<0.14.0,>=0.13.0", "fastapi<0.76.0,>=0.75.0", "flake8==4.0.1", "grpcio<1.45.0,>=1.44", "hiredis<2.1.0,>=2.0.0", "imageio<2.17.0,>=2.16.1", "isort==5.10.1", "itsdangerous<2.2.0,>=2.1.1", "javaobj-py3<0.5.0,>=0.4.3", "jpeg4py<0.2.0,>=0.1.4", "jsonargparse[signatures]<4.5.0,>=4.4.0", "mypy==0.930", "numpy<1.23.0,>=1.22.3", "nvidia-dali-cuda110<1.12.0,>=1.11.1", "onnxruntime<1.11.0,>=1.10.0", "opencv-python==4.5.1.48", "pillow<9.1.0,>=9.0.1", "protobuf<3.20.0,>=3.19.4", "psycopg2-binary==2.8.6", "pydantic<1.10.0,>=1.9.0", "pytest-cov==3.0.0", "pytest-icdiff==0.5", "pytest==7.1.0", "pytorch-lightning<1.6.0,>=1.5.10", "pyyaml<5.5.0,>=5.4.1", "requests<2.28.0,>=2.27.1", "rich<11.3.0,>=11.2.0", "s3fs<2022.3.0,>=2022.2.0", "s3transfer<0.6.0,>=0.5.2", "scikit-image<0.20.0,>=0.19.2", "scikit-learn<1.1.0,>=1.0.2", "scipy<1.9.0,>=1.8.0", "setuptools<59.6.0,>=59.5.0", "sqlalchemy<1.5.0,>=1.4.32", "starlette<0.18.0,>=0.17.1", "tensorboard<2.9.0,>=2.8.0", "torch<1.11.0,>=1.10.2", "torchvision<0.12.0,>=0.11.3", "tqdm<4.64.0,>=4.63.0", "wandb<0.13.0,>=0.12.11", "wheel<0.38.0,>=0.37.1" ], "requires_python": [ "==3.8.*" ], "resolver_version": "pip-2020-resolver", "style": "universal", "transitive": true, "use_pep517": null } ``` </details> Thanks @obendidi. The issue is over in Pex dealing with `nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_*` wheels which have a build tag (`4069477`) in their wheel filename: https://github.com/pantsbuild/pex/issues/1676 I'll get out a fix for that in Pex 2.1.73 with a paired Pants upgrade staged for 2.11.0rc1.
2022-04-06T19:35:48Z
[]
[]
Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3)
16,043
pantsbuild/pants
pantsbuild__pants-15029
289b68d19df0fd8bd27b4aa8f02b21dc582953f4
diff --git a/src/python/pants/backend/python/util_rules/pex_cli.py b/src/python/pants/backend/python/util_rules/pex_cli.py --- a/src/python/pants/backend/python/util_rules/pex_cli.py +++ b/src/python/pants/backend/python/util_rules/pex_cli.py @@ -37,9 +37,9 @@ class PexBinary(TemplatedExternalTool): name = "pex" help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)." - default_version = "v2.1.71" + default_version = "v2.1.73" default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex" - version_constraints = ">=2.1.71,<3.0" + version_constraints = ">=2.1.73,<3.0" @classproperty def default_known_versions(cls): @@ -48,8 +48,8 @@ def default_known_versions(cls): ( cls.default_version, plat, - "d7fddbdfc374b78768fee6729a53077593a6ad6834df401fff4061ad5602cb19", - "3734831", + "0f30b06c02743393b745497580a410d28055b0de022a27cbb8e460845a6ba1c9", + "3723175", ) ) for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64"]
Third party dependencies installation fail with bug using pex resolver in pants 2.11.0rc0 **Describe the bug** Using `pants@2.11.0rc0` and the pex resolver, lockfile generation works fine but the installation fails: ```sh 10:45:58.20 [INFO] Completed: Installing default.lock for the resolve `default` 10:45:58.20 [ERROR] 1 Exception encountered: ProcessExecutionFailure: Process 'Installing default.lock for the resolve `default`' failed with exit code 1. stdout: stderr: Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3) ``` **Pants version** 2.11.0rc0 **OS** ubuntu-20.04 **Additional info** Dependencies: ```toml [tool.poetry.dependencies] python = "~3.8" aio-pika = "~7.1.0" aiobotocore = "~2.1.2" aioredis = "~2.0.1" albumentations = "~1.1" alembic = "~1.7.7" anyio = "~3.5" awscli = "~1.22.24" boto3 = "~1.20.24" botocore = "~1.23.24" click = "~8.0.4" docstring-parser = "~0.13.0" fastapi = "~0.75.0" grpcio = "~1.44" hiredis = "~2.0.0" imageio = "~2.16.1" itsdangerous = "~2.1.1" javaobj-py3 = "~0.4.3" jpeg4py = "~0.1.4" jsonargparse = {extras = ["signatures"], version = "~4.4.0"} numpy = "~1.22.3" nvidia-dali-cuda110 = "~1.11.1" onnxruntime = "~1.10.0" opencv-python = "4.5.1.48" pillow = "~9.0.1" protobuf = "~3.19.4" psycopg2-binary = "2.8.6" pydantic = "~1.9.0" pytorch-lightning = "~1.5.10" pyyaml = "~5.4.1" requests = "~2.27.1" rich = "~11.2.0" s3fs = "~2022.2.0" s3transfer = "~0.5.2" scikit-image = "~0.19.2" scikit-learn = "~1.0.2" scipy = "~1.8.0" setuptools = "~59.5.0" sqlalchemy = "~1.4.32" starlette = "~0.17.1" tensorboard = "~2.8.0" torch = "~1.10.2" torchvision = "~0.11.3" tqdm = "~4.63.0" wandb = "~0.12.11" wheel = "~0.37.1" ``` pants.toml: ```toml ..... [python] interpreter_constraints = ["==3.8.*"] lockfile_generator = "pex" tailor_ignore_solitary_init_files = false enable_resolves = true default_resolve = "default" [python.resolves] default = "default.lock" [python-infer] inits = true [python-bootstrap] search_path = ["<PYENV>", "<PATH>"] [python-repos] indexes.add = ["https://developer.download.nvidia.com/compute/redist"] ```
@obendidi can you include the contents of default.lock? This will be very hard to debug without that. Sure: <details> <summary>default.lock</summary> ```js // This lockfile was autogenerated by Pants. To regenerate, run: // // ./pants generate-lockfiles --resolve=default // // --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE --- // { // "version": 2, // "valid_for_interpreter_constraints": [ // "CPython==3.8.*" // ], // "generated_with_requirements": [ // "aio-pika<7.2.0,>=7.1.0", // "aiobotocore<2.2.0,>=2.1.2", // "aioredis<2.1.0,>=2.0.1", // "albumentations<1.2.0,>=1.1", // "alembic<1.8.0,>=1.7.7", // "anyio<3.6.0,>=3.5", // "awscli<1.23.0,>=1.22.24", // "black==22.1.0", // "boto3<1.21.0,>=1.20.24", // "botocore<1.24.0,>=1.23.24", // "click<8.1.0,>=8.0.4", // "docstring-parser<0.14.0,>=0.13.0", // "fastapi<0.76.0,>=0.75.0", // "flake8==4.0.1", // "grpcio<1.45.0,>=1.44", // "hiredis<2.1.0,>=2.0.0", // "imageio<2.17.0,>=2.16.1", // "isort==5.10.1", // "itsdangerous<2.2.0,>=2.1.1", // "javaobj-py3<0.5.0,>=0.4.3", // "jpeg4py<0.2.0,>=0.1.4", // "jsonargparse[signatures]<4.5.0,>=4.4.0", // "mypy==0.930", // "numpy<1.23.0,>=1.22.3", // "nvidia-dali-cuda110<1.12.0,>=1.11.1", // "onnxruntime<1.11.0,>=1.10.0", // "opencv-python==4.5.1.48", // "pillow<9.1.0,>=9.0.1", // "protobuf<3.20.0,>=3.19.4", // "psycopg2-binary==2.8.6", // "pydantic<1.10.0,>=1.9.0", // "pytest-cov==3.0.0", // "pytest-icdiff==0.5", // "pytest==7.1.0", // "pytorch-lightning<1.6.0,>=1.5.10", // "pyyaml<5.5.0,>=5.4.1", // "requests<2.28.0,>=2.27.1", // "rich<11.3.0,>=11.2.0", // "s3fs<2022.3.0,>=2022.2.0", // "s3transfer<0.6.0,>=0.5.2", // "scikit-image<0.20.0,>=0.19.2", // "scikit-learn<1.1.0,>=1.0.2", // "scipy<1.9.0,>=1.8.0", // "setuptools<59.6.0,>=59.5.0", // "sqlalchemy<1.5.0,>=1.4.32", // "starlette<0.18.0,>=0.17.1", // "tensorboard<2.9.0,>=2.8.0", // "torch<1.11.0,>=1.10.2", // "torchvision<0.12.0,>=0.11.3", // "tqdm<4.64.0,>=4.63.0", // "wandb<0.13.0,>=0.12.11", // "wheel<0.38.0,>=0.37.1" // ] // } // --- END PANTS LOCKFILE METADATA --- { "allow_builds": true, "allow_prereleases": false, "allow_wheels": true, "build_isolation": true, "constraints": [], "locked_resolves": [ { "locked_requirements": [ { "artifacts": [ { "algorithm": "sha256", "hash": "84e6dcdc69c947d0c13e5457d056bd43cade4c2393dce00d684aedea77ddc2a3", "url": "https://files.pythonhosted.org/packages/2c/03/e3e19d3faf430ede32e41221b294e37952e06acc96781c417ac25d4a0324/absl_py-1.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ac511215c01ee9ae47b19716599e8ccfa746f2e18de72bdf641b79b22afa27ea", "url": "https://files.pythonhosted.org/packages/bc/44/3ab719b4fea06882351cd9f9582c15ba5b4d376992ac40c3ed377761a172/absl-py-1.0.0.tar.gz" } ], "project_name": "absl-py", "requires_dists": [ "six" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f7803c6b5ced5fe8b4c2119065c213283e3bccb035c13d88b0c256bbc3fe6cb6", "url": "https://files.pythonhosted.org/packages/40/4a/58001977a471696af67ce91e859d8c07878822f52c0398c06512c3d3d861/aio_pika-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dec14ddb7e22d04ddc46f656899f7f3a592431cb618719aa7e03dfe85311be17", "url": "https://files.pythonhosted.org/packages/17/c3/bc912ef97202bb888295d08ac48e7629e97ef496d8f027d7825db8195a00/aio-pika-7.1.0.tar.gz" } ], "project_name": "aio-pika", "requires_dists": [ "aiomisc~=15.6.8; extra == \"develop\"", "aiormq~=6.2.3", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "nox; extra == \"develop\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "shortuuid; extra == \"develop\"", "sphinx-autobuild; extra == \"develop\"", "sphinx; extra == \"develop\"", "timeout-decorator; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": "<4,>3.6", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "00fd7f43cc0484d8ed274fd0be492aa16a7fea679dbea96a602bb722ca4c2d22", "url": "https://files.pythonhosted.org/packages/4e/8d/01035d9b56893bd3b5d6eb4505d3ed1383d124b1c9c2b6024c175681c64b/aiobotocore-2.1.2.tar.gz" } ], "project_name": "aiobotocore", "requires_dists": [ "aiohttp>=3.3.1", "aioitertools>=0.5.1", "awscli<1.22.25,>=1.22.24; extra == \"awscli\"", "boto3<1.20.25,>=1.20.24; extra == \"boto3\"", "botocore<1.23.25,>=1.23.24", "wrapt>=1.10.10" ], "requires_python": ">=3.6", "version": "2.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "04d48b8ce6ab3cf2097b1855e1505181bdd05586ca275f2505514a6e274e8e75", "url": "https://files.pythonhosted.org/packages/e4/eb/2e5c66f6ab8bf1fa9743552ec49bd8deb9a8ad385545bbd60c8f50529e21/aiohttp-3.8.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "2ed076098b171573161eb146afcb9129b5ff63308960aeca4b676d9d3c35e700", "url": "https://files.pythonhosted.org/packages/17/ab/36da1a4b5d2685acdc84117b32588b1edb4033b40cfbdf27a219bd6a4c6d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "31d1e1c0dbf19ebccbfd62eff461518dcb1e307b195e93bba60c965a4dcf1ba0", "url": "https://files.pythonhosted.org/packages/20/0b/c077ca31bba80ed7c1c81a7505e7e339ef82ab3d9ee679c09b3ffb04cdd5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "11691cf4dc5b94236ccc609b70fec991234e7ef8d4c02dd0c9668d1e486f5abf", "url": "https://files.pythonhosted.org/packages/38/71/e1db3f96fa85f77906ef002a08fa8d02dbdb3292180d41eb1b17ddab72bf/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "589c72667a5febd36f1315aa6e5f56dd4aa4862df295cb51c769d16142ddd7cd", "url": "https://files.pythonhosted.org/packages/54/ab/5e5d0e042b9b149efd867eaaf4a6c94c51ccdf3f955564e0fce1dbfbcb4d/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "bb01ba6b0d3f6c68b89fce7305080145d4877ad3acaed424bae4d4ee75faa950", "url": "https://files.pythonhosted.org/packages/55/a5/2912baebc80570a34a2103a34e3c65b84e93bcf20f6e09fbe335ce27e3cf/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "11a67c0d562e07067c4e86bffc1553f2cf5b664d6111c894671b2b8712f3aba5", "url": "https://files.pythonhosted.org/packages/58/54/f4c1bac24b2365c2eb8d5205822b3ea41e40e1c471060c2409b9dbf05be5/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578", "url": "https://files.pythonhosted.org/packages/5a/86/5f63de7a202550269a617a5d57859a2961f3396ecd1739a70b92224766bc/aiohttp-3.8.1.tar.gz" }, { "algorithm": "sha256", "hash": "c3d6a4d0619e09dcd61021debf7059955c2004fa29f48788a3dfaf9c9901a7cd", "url": "https://files.pythonhosted.org/packages/5e/34/a5d2619c062e6fed7224fb920e93b1d8ad055bb3b1b544e754c864c978a0/aiohttp-3.8.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "8b7ef7cbd4fec9a1e811a5de813311ed4f7ac7d93e0fda233c9b3e1428f7dd7b", "url": "https://files.pythonhosted.org/packages/79/5c/573d590ebff44e927aa0820b194a46c15253808725f82f23aa13440808ef/aiohttp-3.8.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "844a9b460871ee0a0b0b68a64890dae9c415e513db0f4a7e3cab41a0f2fedf33", "url": "https://files.pythonhosted.org/packages/81/31/baf1ff4e36da246dc3ff2e0c12f2f7688b4f394ad21e29e3ef4ba864d035/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "44db35a9e15d6fe5c40d74952e803b1d96e964f683b5a78c3cc64eb177878155", "url": "https://files.pythonhosted.org/packages/9f/bc/5928e69637252150176b3604f7c386a9184358fcc7338c0b8c55a7908523/aiohttp-3.8.1-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0c7ebbbde809ff4e970824b2b6cb7e4222be6b95a296e46c03cf050878fc1785", "url": "https://files.pythonhosted.org/packages/cf/6a/acf689f13f39700cfa526f6bff2d10dfd29aa21cbc0d3a5cf0f153298a74/aiohttp-3.8.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "086f92daf51a032d062ec5f58af5ca6a44d082c35299c96376a41cbb33034675", "url": "https://files.pythonhosted.org/packages/ed/af/cf551e595af1979ba74c280d94aa0c351e634285608ac70cb6def374f661/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "7d08744e9bae2ca9c382581f7dce1273fe3c9bae94ff572c3626e8da5b193c6a", "url": "https://files.pythonhosted.org/packages/f1/ca/603261545a757915fb30446a9d7a394cd934865a8eac3c18ce638df90687/aiohttp-3.8.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "718626a174e7e467f0558954f94af117b7d4695d48eb980146016afa4b580b2e", "url": "https://files.pythonhosted.org/packages/ff/a6/184cd63b06ea05edfcfba946fed3da7afb2f0b7e3237fb1b2c056cce57f6/aiohttp-3.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "aiohttp", "requires_dists": [ "Brotli; extra == \"speedups\"", "aiodns; extra == \"speedups\"", "aiosignal>=1.1.2", "async-timeout<5.0,>=4.0.0a3", "asynctest==0.13.0; python_version < \"3.8\"", "attrs>=17.3.0", "cchardet; extra == \"speedups\"", "charset-normalizer<3.0,>=2.0", "frozenlist>=1.1.1", "idna-ssl>=1.0; python_version < \"3.7\"", "multidict<7.0,>=4.5", "typing-extensions>=3.7.4; python_version < \"3.8\"", "yarl<2.0,>=1.0" ], "requires_python": ">=3.6", "version": "3.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a2ea2a39ebf272a2fbb58bfdb73e1daeeb6686edbbc8082215dfc8b8ffffa6e8", "url": "https://files.pythonhosted.org/packages/b4/20/8af729fab3df6827407b060211ffffe79e0d220fba0c4f768de599f3cbe3/aioitertools-0.10.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7d1d1d4a03d462c5a0840787d3df098f125847e0d38b833b30f8f8cbc45a1420", "url": "https://files.pythonhosted.org/packages/c2/9c/36180745f894257a50b1473fa348daf996b959d66f5985bbc868e44ef3ee/aioitertools-0.10.0.tar.gz" } ], "project_name": "aioitertools", "requires_dists": [ "typing_extensions>=4.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9ac0d0b3b485d293b8ca1987e6de8658d7dafcca1cddfcd1d506cae8cdebfdd6", "url": "https://files.pythonhosted.org/packages/9b/a9/0da089c3ae7a31cbcd2dcf0214f6f571e1295d292b6139e2bac68ec081d0/aioredis-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eaa51aaf993f2d71f54b70527c440437ba65340588afeb786cd87c55c89cd98e", "url": "https://files.pythonhosted.org/packages/2e/cf/9eb144a0b05809ffc5d29045c4b51039000ea275bc1268d0351c9e7dfc06/aioredis-2.0.1.tar.gz" } ], "project_name": "aioredis", "requires_dists": [ "async-timeout", "hiredis>=1.0; implementation_name == \"cpython\" and extra == \"hiredis\"", "typing-extensions" ], "requires_python": ">=3.6", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "95f0da57edd55f214a2e6c5b7ac98fa58a7c33911acd0d3315e86926b2dd2605", "url": "https://files.pythonhosted.org/packages/aa/2b/e104ac73ea2679a90a41cb943f17034177179f5c225d5cea83910ac7ad25/aiormq-6.2.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db6c1e6e384f1d4dafe19f8df70c6dfc994932b40f4e542690016023ff8e952b", "url": "https://files.pythonhosted.org/packages/ed/e9/5d28ab240de260351b509441506a9ca93fc5c2ab081afb0ab7c5f663512d/aiormq-6.2.3.tar.gz" } ], "project_name": "aiormq", "requires_dists": [ "aiomisc~=11.0; extra == \"develop\"", "coverage!=4.3; extra == \"develop\"", "coveralls; extra == \"develop\"", "pamqp==3.0.1; python_version < \"3.7\"", "pamqp==3.1.0; python_version >= \"3.7\"", "pylava; extra == \"develop\"", "pytest-cov; extra == \"develop\"", "pytest; extra == \"develop\"", "tox>=2.4; extra == \"develop\"", "yarl" ], "requires_python": ">=3.6", "version": "6.2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a", "url": "https://files.pythonhosted.org/packages/3b/87/fe94898f2d44a93a35d5aa74671ed28094d80753a1113d68b799fab6dc22/aiosignal-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2", "url": "https://files.pythonhosted.org/packages/27/6b/a89fbcfae70cf53f066ec22591938296889d3cc58fec1e1c393b10e8d71d/aiosignal-1.2.0.tar.gz" } ], "project_name": "aiosignal", "requires_dists": [ "frozenlist>=1.1.0" ], "requires_python": ">=3.6", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6acf78a5f9504bd36c4a8e18eed29f7103c2fa6a7ba5be399c6088820cc88a8a", "url": "https://files.pythonhosted.org/packages/75/27/a8b0a738f8423b7ef9d0c9f8e73d5867395dbdae563c1655e9548cf700b9/albumentations-1.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60b067b3093908bcc52adb2aa5d44f57ebdbb8ab57a47b0b42f3dc1d3b1ce824", "url": "https://files.pythonhosted.org/packages/c8/a2/ab0ddadd960b4caf824063783d24174119cbddae409ff99fbe6fd45c63ec/albumentations-1.1.0.tar.gz" } ], "project_name": "albumentations", "requires_dists": [ "PyYAML", "imgaug>=0.4.0; extra == \"develop\"", "imgaug>=0.4.0; extra == \"imgaug\"", "numpy>=1.11.1", "opencv-python-headless>=4.1.1", "pytest; extra == \"develop\"", "pytest; extra == \"tests\"", "qudida>=0.0.4", "scikit-image>=0.16.1", "scipy" ], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "29be0856ec7591c39f4e1cb10f198045d890e6e2274cf8da80cb5e721a09642b", "url": "https://files.pythonhosted.org/packages/b3/e2/8d48220731b7279911c43e95cd182961a703b939de6822b00de3ea0d3159/alembic-1.7.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4961248173ead7ce8a21efb3de378f13b8398e6630fab0eb258dc74a8af24c58", "url": "https://files.pythonhosted.org/packages/30/b9/5526b43a4c54d177ab14af0af4b5c31d73db33d1ad3e30976d3b023e0594/alembic-1.7.7.tar.gz" } ], "project_name": "alembic", "requires_dists": [ "Mako", "SQLAlchemy>=1.3.0", "importlib-metadata; python_version < \"3.9\"", "importlib-resources; python_version < \"3.9\"", "python-dateutil; extra == \"tz\"" ], "requires_python": ">=3.6", "version": "1.7.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e", "url": "https://files.pythonhosted.org/packages/b1/ae/9a8af72d6f0c551943903eefcf93c3a29898fb7b594603c0d70679c199b1/anyio-3.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6", "url": "https://files.pythonhosted.org/packages/4f/d0/b957c0679a9bd0ed334e2e584102f077c3e703f83d099464c3d9569b7c8a/anyio-3.5.0.tar.gz" } ], "project_name": "anyio", "requires_dists": [ "contextlib2; python_version < \"3.7\" and extra == \"test\"", "contextvars; python_version < \"3.7\"", "coverage[toml]>=4.5; extra == \"test\"", "dataclasses; python_version < \"3.7\"", "hypothesis>=4.0; extra == \"test\"", "idna>=2.8", "mock>=4; python_version < \"3.8\" and extra == \"test\"", "packaging; extra == \"doc\"", "pytest-mock>=3.6.1; extra == \"test\"", "pytest>=6.0; extra == \"test\"", "sniffio>=1.1", "sphinx-autodoc-typehints>=1.2.0; extra == \"doc\"", "sphinx-rtd-theme; extra == \"doc\"", "trio>=0.16; extra == \"trio\"", "trustme; extra == \"test\"", "typing-extensions; python_version < \"3.8\"", "uvloop<0.15; (python_version < \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"", "uvloop>=0.15; (python_version >= \"3.7\" and (platform_python_implementation == \"CPython\" and platform_system != \"Windows\")) and extra == \"test\"" ], "requires_python": ">=3.6.2", "version": "3.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c", "url": "https://files.pythonhosted.org/packages/d6/c1/8991e7c5385b897b8c020cdaad718c5b087a6626d1d11a23e1ea87e325a7/async_timeout-4.0.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15", "url": "https://files.pythonhosted.org/packages/54/6e/9678f7b2993537452710ffb1750c62d2c26df438aa621ad5fa9d1507a43a/async-timeout-4.0.2.tar.gz" } ], "project_name": "async-timeout", "requires_dists": [ "typing-extensions>=3.6.5; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "4.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197", "url": "https://files.pythonhosted.org/packages/2c/a0/da5f49008ec6e9a658dbf5d7310a4debd397bce0b4db03cf8a410066bb87/atomicwrites-1.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a", "url": "https://files.pythonhosted.org/packages/55/8d/74a75635f2c3c914ab5b3850112fd4b0c8039975ecb320e4449aa363ba54/atomicwrites-1.4.0.tar.gz" } ], "project_name": "atomicwrites", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", "url": "https://files.pythonhosted.org/packages/be/be/7abce643bfdf8ca01c48afa2ddf8308c2308b0c3b239a44e57d020afa0ef/attrs-21.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd", "url": "https://files.pythonhosted.org/packages/d7/77/ebb15fc26d0f815839ecd897b919ed6d85c050feeb83e100e020df9153d2/attrs-21.4.0.tar.gz" } ], "project_name": "attrs", "requires_dists": [ "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"dev\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests\"", "cloudpickle; platform_python_implementation == \"CPython\" and extra == \"tests_no_zope\"", "coverage[toml]>=5.0.2; extra == \"dev\"", "coverage[toml]>=5.0.2; extra == \"tests\"", "coverage[toml]>=5.0.2; extra == \"tests_no_zope\"", "furo; extra == \"dev\"", "furo; extra == \"docs\"", "hypothesis; extra == \"dev\"", "hypothesis; extra == \"tests\"", "hypothesis; extra == \"tests_no_zope\"", "mypy; extra == \"dev\"", "mypy; extra == \"tests\"", "mypy; extra == \"tests_no_zope\"", "pre-commit; extra == \"dev\"", "pympler; extra == \"dev\"", "pympler; extra == \"tests\"", "pympler; extra == \"tests_no_zope\"", "pytest-mypy-plugins; extra == \"dev\"", "pytest-mypy-plugins; extra == \"tests\"", "pytest-mypy-plugins; extra == \"tests_no_zope\"", "pytest>=4.3.0; extra == \"dev\"", "pytest>=4.3.0; extra == \"tests\"", "pytest>=4.3.0; extra == \"tests_no_zope\"", "six; extra == \"dev\"", "six; extra == \"tests\"", "six; extra == \"tests_no_zope\"", "sphinx-notfound-page; extra == \"dev\"", "sphinx-notfound-page; extra == \"docs\"", "sphinx; extra == \"dev\"", "sphinx; extra == \"docs\"", "zope.interface; extra == \"dev\"", "zope.interface; extra == \"docs\"", "zope.interface; extra == \"tests\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "21.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "87708701ccd390109bfa3c8f974a425fd0fce3abf7ef681a1fb889d1f6bb7a1f", "url": "https://files.pythonhosted.org/packages/0a/3c/c2d48f848050b66894ef0e95cf498f175d4d93bfc53a329bff80bd42d4cf/awscli-1.22.24-py3-none-any.whl" } ], "project_name": "awscli", "requires_dists": [ "PyYAML<5.5,>=3.10", "botocore==1.23.24", "colorama<0.4.4,>=0.2.5", "docutils<0.16,>=0.10", "rsa<4.8,>=3.1.2", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.22.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d", "url": "https://files.pythonhosted.org/packages/a5/59/bd6d44da2b364fd2bd7a0b2ce2edfe200b79faad1cde14ce5ef13d504393/black-22.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3", "url": "https://files.pythonhosted.org/packages/08/b2/dbd7330ffe13571e17b7f905f7639ba77f01282ff1ecd94f3278c50ebb32/black-22.1.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61", "url": "https://files.pythonhosted.org/packages/0b/7f/384cf21254346f4cd535fa8bf2531ff2b3f1307680199e28ea949c3ecb89/black-22.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912", "url": "https://files.pythonhosted.org/packages/3e/c4/95eea7bd67b37c54b7322ff3595fd3d679345e2b89ceca48fe3ec10df52c/black-22.1.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5", "url": "https://files.pythonhosted.org/packages/42/58/8a3443a5034685152270f9012a9d196c9f165791ed3f2777307708b15f6c/black-22.1.0.tar.gz" }, { "algorithm": "sha256", "hash": "6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd", "url": "https://files.pythonhosted.org/packages/66/83/47fa3811eea48edbbea09a07fd137f593e10af2f481f965855eb09a17e20/black-22.1.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3", "url": "https://files.pythonhosted.org/packages/9b/78/42a83acaf953b3ea5d6067c72f795a4df4b3eb540123cc2a59ec797d174b/black-22.1.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "black", "requires_dists": [ "aiohttp>=3.7.4; extra == \"d\"", "click>=8.0.0", "colorama>=0.4.3; extra == \"colorama\"", "dataclasses>=0.6; python_version < \"3.7\"", "ipython>=7.8.0; extra == \"jupyter\"", "mypy-extensions>=0.4.3", "pathspec>=0.9.0", "platformdirs>=2", "tokenize-rt>=3.2.0; extra == \"jupyter\"", "tomli>=1.1.0", "typed-ast>=1.4.2; python_version < \"3.8\" and implementation_name == \"cpython\"", "typing-extensions>=3.10.0.0; python_version < \"3.10\"", "uvloop>=0.15.2; extra == \"uvloop\"" ], "requires_python": ">=3.6.2", "version": "22.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8f08e8e94bf107c5e9866684e9aadf8d9f60abed0cfe5c1dba4e7328674a1986", "url": "https://files.pythonhosted.org/packages/4a/15/d854221077e22acd05c190778c29b14398bce0cee0fed34a6979d320546e/boto3-1.20.24-py3-none-any.whl" } ], "project_name": "boto3", "requires_dists": [ "botocore<1.24.0,>=1.23.24", "botocore[crt]<2.0a0,>=1.21.0; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "s3transfer<0.6.0,>=0.5.0" ], "requires_python": ">=3.6", "version": "1.20.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e78d48c50c8c013fb9b362c6202fece2fe868edfd89b51968080180bdff41617", "url": "https://files.pythonhosted.org/packages/ef/05/cb9048c57f77ab9fa6970d2c88bd92471dc4ccc4bcf5b59c645db9cbdedc/botocore-1.23.24-py3-none-any.whl" } ], "project_name": "botocore", "requires_dists": [ "awscrt==0.12.5; extra == \"crt\"", "jmespath<1.0.0,>=0.7.1", "python-dateutil<3.0.0,>=2.1", "urllib3<1.27,>=1.25.4" ], "requires_python": ">=3.6", "version": "1.23.24" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8fecd4203a38af17928be7b90689d8083603073622229ca7077b72d8e5a976e4", "url": "https://files.pythonhosted.org/packages/19/99/ace1769546388976b45e93445bb04c6df95e96363f03fbb56f916da5ebde/cachetools-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "486471dfa8799eb7ec503a8059e263db000cdda20075ce5e48903087f79d5fd6", "url": "https://files.pythonhosted.org/packages/ad/81/539036a8716b4e0a96f77540194bb1e863a24b8e9bc9ddd74e30f1653df5/cachetools-5.0.0.tar.gz" } ], "project_name": "cachetools", "requires_dists": [], "requires_python": "~=3.7", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569", "url": "https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872", "url": "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz" } ], "project_name": "certifi", "requires_dists": [], "requires_python": null, "version": "2021.10.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443", "url": "https://files.pythonhosted.org/packages/b6/15/a50bf922c5f025665a9671c5ef063c3f384303d422f6b1d3134510cc044e/cffi-1.15.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954", "url": "https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz" }, { "algorithm": "sha256", "hash": "0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20", "url": "https://files.pythonhosted.org/packages/25/ba/a1d3428797f25a42530adb2c8cce1655863b6a37ece63465a16b5e939a43/cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6", "url": "https://files.pythonhosted.org/packages/33/e7/afbae3b77e10929dd5ccdf9ae99c39ec4085148888ff4507000429937166/cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c", "url": "https://files.pythonhosted.org/packages/46/ab/b8dbd36f793cc3492ad26148e0ee0cad38fd47105ff30295e2cd88cc62e2/cffi-1.15.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880", "url": "https://files.pythonhosted.org/packages/5e/f0/693b6c7fea52d1afad55d1bfa3e5991a9075d98ac66330ab404dbc69ec8d/cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e", "url": "https://files.pythonhosted.org/packages/97/5b/88b6fde78749406ddd15ef89466927e688912ff9ff3248d9f41b4551362a/cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024", "url": "https://files.pythonhosted.org/packages/e5/fe/1dac7533ddb73767df8ba26183a9375dde2ee136aec7c92c9fb3038108e3/cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728", "url": "https://files.pythonhosted.org/packages/f5/7b/dba03f566c1966b2f23e95fbbe1b6d8e2b98450f0b779f2b5ce38470447f/cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" } ], "project_name": "cffi", "requires_dists": [ "pycparser" ], "requires_python": null, "version": "1.15" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df", "url": "https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597", "url": "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz" } ], "project_name": "charset-normalizer", "requires_dists": [ "unicodedata2; extra == \"unicode_backport\"" ], "requires_python": ">=3.5.0", "version": "2.0.12" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", "url": "https://files.pythonhosted.org/packages/4a/a8/0b2ced25639fb20cc1c9784de90a8c25f9504a7f18cd8b5397bd61696d7d/click-8.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb", "url": "https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz" } ], "project_name": "click", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-metadata; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "8.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff", "url": "https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl" } ], "project_name": "colorama", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9", "url": "https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60", "url": "https://files.pythonhosted.org/packages/60/48/a60f593447e8f0894ebb7f6e6c1f25dafc5e89c5879fdc9360ae93ff83f0/commonmark-0.9.1.tar.gz" } ], "project_name": "commonmark", "requires_dists": [ "flake8==3.7.8; extra == \"test\"", "future>=0.14.0; python_version < \"3\"", "hypothesis==3.55.3; extra == \"test\"" ], "requires_python": null, "version": "0.9.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "18d520c6860515a771708937d2f78f63cc47ab3b80cb78e86573b0a760161faf", "url": "https://files.pythonhosted.org/packages/93/20/cce510ad6ee47ad3e3a9993bc83eaa8df5aead5c0b68b769f10fc7daad45/coverage-6.3.2-pp36.pp37.pp38-none-any.whl" }, { "algorithm": "sha256", "hash": "fd9e830e9d8d89b20ab1e5af09b32d33e1a08ef4c4e14411e559556fd788e6b2", "url": "https://files.pythonhosted.org/packages/03/22/38506bc2af4fc49bb49cb76c52ed4523ff80277ad98fd46e981736419fb2/coverage-6.3.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "8fbbdc8d55990eac1b0919ca69eb5a988a802b854488c34b8f37f3e2025fa90d", "url": "https://files.pythonhosted.org/packages/0c/58/25b4d208e0f6f00e19440385f360dc9891f8fa5ab62c11da52eb226fd9cd/coverage-6.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9baff2a45ae1f17c8078452e9e5962e518eab705e50a0aa8083733ea7d45f3a6", "url": "https://files.pythonhosted.org/packages/0d/ac/31bb95db096b26455416aa8d8804a2a3ed93c60dc339b737b939f3f30b7b/coverage-6.3.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "07e6db90cd9686c767dcc593dff16c8c09f9814f5e9c51034066cad3373b914d", "url": "https://files.pythonhosted.org/packages/13/e5/eaec94d3037f4300a23303819f066b72cb0c18b7789505a0a56e1e765a8e/coverage-6.3.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "68353fe7cdf91f109fc7d474461b46e7f1f14e533e911a2a2cbb8b0fc8613cf1", "url": "https://files.pythonhosted.org/packages/1c/f7/3e6cdff1210a670793aad0f87e0bc357054431450893a867302c372da6c2/coverage-6.3.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7331dbf301b7289013175087636bbaf5b2405e57259dd2c42fdcc9fcc47325e", "url": "https://files.pythonhosted.org/packages/3a/f4/35d8789ec3d50d099ebdd3d7d062b58075135bdfa0fe93efded481407dec/coverage-6.3.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "03e2a7826086b91ef345ff18742ee9fc47a6839ccd517061ef8fa1976e652ce9", "url": "https://files.pythonhosted.org/packages/74/fb/f481628033d42f6f6021af8a9a13d913707221e139567f39b09b337421b9/coverage-6.3.2.tar.gz" }, { "algorithm": "sha256", "hash": "8cf5cfcb1521dc3255d845d9dca3ff204b3229401994ef8d1984b32746bb45ca", "url": "https://files.pythonhosted.org/packages/82/34/1920e7a59217c8bc841ad5de12813802e0db7cb5c6d6395acd1f9e78253b/coverage-6.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2c6dbb42f3ad25760010c45191e9757e7dce981cbfb90e42feef301d71540059", "url": "https://files.pythonhosted.org/packages/8e/39/d3bc33bea5180ed18feba96de51b5deba6e330e2fc3b487f3117fcf391bc/coverage-6.3.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c76aeef1b95aff3905fb2ae2d96e319caca5b76fa41d3470b19d4e4a3a313512", "url": "https://files.pythonhosted.org/packages/f2/45/824cb20113fa6a2bf97b6f4a592361a30460f8f24335e033f2d31ee1a487/coverage-6.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ec6bc7fe73a938933d4178c9b23c4e0568e43e220aef9472c4f6044bfc6dd0f0", "url": "https://files.pythonhosted.org/packages/fe/ae/1574d61ed41a8d82a5643affcd9beb7f626cbcab3d09c8a714054f670d75/coverage-6.3.2-cp38-cp38-musllinux_1_1_aarch64.whl" } ], "project_name": "coverage", "requires_dists": [ "tomli; extra == \"toml\"" ], "requires_python": ">=3.7", "version": "6.3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49", "url": "https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4", "url": "https://files.pythonhosted.org/packages/c5/e6/d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009/docker-pycreds-0.4.0.tar.gz" } ], "project_name": "docker-pycreds", "requires_dists": [ "six>=1.4.0" ], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "66dd7eac7232202bf220fd98a5f11491863c01f958a75fdd535c7eccac9ced78", "url": "https://files.pythonhosted.org/packages/e7/18/8476fa1363bf038caf7b88cab473c6f9a821a5886c98364bf43d6fdea8a7/docstring_parser-0.13.tar.gz" } ], "project_name": "docstring-parser", "requires_dists": [ "black; extra == \"test\"", "pytest; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.13" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6c4f696463b79f1fb8ba0c594b63840ebd41f059e92b31957c46b74a4599b6d0", "url": "https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99", "url": "https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61/docutils-0.15.2.tar.gz" } ], "project_name": "docutils", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.15.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "43d12891b78fc497a50623e9c7c24640c569489f060acd9ce2c4902080487a93", "url": "https://files.pythonhosted.org/packages/4f/46/226355e82ccb4be82e06269e9a546f16c1d87fbda2286fb5d36a1c31af9e/fastapi-0.75.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "124774ce4cb3322841965f559669b233a0b8d343ea24fdd8b293253c077220d7", "url": "https://files.pythonhosted.org/packages/6d/0b/64ecaddaa9d6d4bbf40422664650f7ec45de9281306c69f22f16f92c510c/fastapi-0.75.0.tar.gz" } ], "project_name": "fastapi", "requires_dists": [ "anyio[trio]<4.0.0,>=3.2.1; extra == \"test\"", "autoflake<2.0.0,>=1.4.0; extra == \"dev\"", "black==21.9b0; extra == \"test\"", "databases[sqlite]<0.6.0,>=0.3.2; extra == \"test\"", "email_validator<2.0.0,>=1.1.1; extra == \"all\"", "email_validator<2.0.0,>=1.1.1; extra == \"test\"", "flake8<4.0.0,>=3.8.3; extra == \"dev\"", "flake8<4.0.0,>=3.8.3; extra == \"test\"", "flask<3.0.0,>=1.1.2; extra == \"test\"", "httpx<0.19.0,>=0.14.0; extra == \"test\"", "isort<6.0.0,>=5.0.6; extra == \"test\"", "itsdangerous<3.0.0,>=1.1.0; extra == \"all\"", "jinja2<4.0.0,>=2.11.2; extra == \"all\"", "mdx-include<2.0.0,>=1.4.1; extra == \"doc\"", "mkdocs-markdownextradata-plugin<0.3.0,>=0.1.7; extra == \"doc\"", "mkdocs-material<9.0.0,>=8.1.4; extra == \"doc\"", "mkdocs<2.0.0,>=1.1.2; extra == \"doc\"", "mypy==0.910; extra == \"test\"", "orjson<4.0.0,>=3.2.1; extra == \"all\"", "orjson<4.0.0,>=3.2.1; extra == \"test\"", "passlib[bcrypt]<2.0.0,>=1.7.2; extra == \"dev\"", "peewee<4.0.0,>=3.13.3; extra == \"test\"", "pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2", "pytest-cov<4.0.0,>=2.12.0; extra == \"test\"", "pytest<7.0.0,>=6.2.4; extra == \"test\"", "python-jose[cryptography]<4.0.0,>=3.3.0; extra == \"dev\"", "python-multipart<0.0.6,>=0.0.5; extra == \"all\"", "python-multipart<0.0.6,>=0.0.5; extra == \"test\"", "pyyaml<6.0.0,>=5.3.1; extra == \"all\"", "pyyaml<6.0.0,>=5.3.1; extra == \"doc\"", "requests<3.0.0,>=2.24.0; extra == \"all\"", "requests<3.0.0,>=2.24.0; extra == \"test\"", "sqlalchemy<1.5.0,>=1.3.18; extra == \"test\"", "starlette==0.17.1", "typer-cli<0.0.13,>=0.0.12; extra == \"doc\"", "types-dataclasses==0.1.7; extra == \"test\" and python_version < \"3.7\"", "types-orjson==3.6.0; extra == \"test\"", "types-ujson==0.1.1; extra == \"test\"", "ujson<5.0.0,>=4.0.1; extra == \"all\"", "ujson<5.0.0,>=4.0.1; extra == \"test\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"all\"", "uvicorn[standard]<0.16.0,>=0.12.0; extra == \"dev\"" ], "requires_python": ">=3.6.1", "version": "0.75" }, { "artifacts": [ { "algorithm": "sha256", "hash": "479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d", "url": "https://files.pythonhosted.org/packages/34/39/cde2c8a227abb4f9ce62fe55586b920f438f1d2903a1a22514d0b982c333/flake8-4.0.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d", "url": "https://files.pythonhosted.org/packages/e6/84/d8db922289195c435779b4ca3a3f583f263f87e67954f7b2e83c8da21f48/flake8-4.0.1.tar.gz" } ], "project_name": "flake8", "requires_dists": [ "importlib-metadata<4.3; python_version < \"3.8\"", "mccabe<0.7.0,>=0.6.0", "pycodestyle<2.9.0,>=2.8.0", "pyflakes<2.5.0,>=2.4.0" ], "requires_python": ">=3.6", "version": "4.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3751954f0604580d3219ae49a85fafec9d85eec599c0b96226e1bc0b48e57474", "url": "https://files.pythonhosted.org/packages/3d/d0/26033c70d642fbc1e35d3619cf3210986fb953c173b1226709f75056c149/flatbuffers-2.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "12158ab0272375eab8db2d663ae97370c33f152b27801fa6024e1d6105fd4dd2", "url": "https://files.pythonhosted.org/packages/10/41/09e9ab2134895b82466fada08b69b800f9a724bc81fcca3d4474ce48ffce/flatbuffers-2.0.tar.gz" } ], "project_name": "flatbuffers", "requires_dists": [], "requires_python": null, "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f20baa05eaa2bcd5404c445ec51aed1c268d62600362dc6cfe04fae34a424bd9", "url": "https://files.pythonhosted.org/packages/db/d7/a18b9586dbed333e7106497a863105b70f0f8b02be690cafbac728108c33/frozenlist-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "aff388be97ef2677ae185e72dc500d19ecaf31b698986800d3fc4f399a5e30a5", "url": "https://files.pythonhosted.org/packages/27/0f/e90231d20dc520d94977cc5f4aa22cc25f1f3f60984c0161cacc2455ac2c/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "30530930410855c451bea83f7b272fb1c495ed9d5cc72895ac29e91279401db3", "url": "https://files.pythonhosted.org/packages/27/bf/e5580ee57ff1d13369afa00f76041cddef1479302212bca2fc5e28b04a12/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "871d42623ae15eb0b0e9df65baeee6976b2e161d0ba93155411d58ff27483ad8", "url": "https://files.pythonhosted.org/packages/3b/76/3d7c273b91e6dc914859f8752d42b763f39ae83782ec9a063a526c816977/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "40dff8962b8eba91fd3848d857203f0bd704b5f1fa2b3fc9af64901a190bba08", "url": "https://files.pythonhosted.org/packages/41/c9/d6041d7c59e9e6300777362ac63fcaebe52c7529ce11e1fc3457e79c4a88/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "40ec383bc194accba825fbb7d0ef3dda5736ceab2375462f1d8672d9f6b68d07", "url": "https://files.pythonhosted.org/packages/58/a1/c7864e112750c9db984504410439162461f5c0e0defaf6cd4f691a6f1936/frozenlist-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e982878792c971cbd60ee510c4ee5bf089a8246226dea1f2138aa0bb67aff148", "url": "https://files.pythonhosted.org/packages/63/32/d294f2807bb9738ef817c536cea274ca92db09631c9bf5363006b9e0a0cb/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "006d3595e7d4108a12025ddf415ae0f6c9e736e726a5db0183326fd191b14c5e", "url": "https://files.pythonhosted.org/packages/67/9b/1d7d4600c554466b35c08710a685b595d734ac7a5ad435b62a41e523bc5b/frozenlist-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "8c905a5186d77111f02144fab5b849ab524f1e876a1e75205cd1386a9be4b00a", "url": "https://files.pythonhosted.org/packages/73/cb/f59ce1c5ed397ef2ad48f4ff275c88891b853d0958c0a3b3314a4d271247/frozenlist-1.3.0-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "9f892d6a94ec5c7b785e548e42722e6f3a52f5f32a8461e82ac3e67a3bd073f1", "url": "https://files.pythonhosted.org/packages/9f/95/781f7ab716cf0484808b41be6663e19fb1499478d985f9a4cb849126ab36/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "92e650bd09b5dda929523b9f8e7f99b24deac61240ecc1a32aeba487afcd970f", "url": "https://files.pythonhosted.org/packages/aa/4a/cf7d70fda15ca8db585a52fa56b46285284e5fe622ffb88ece85108fe5be/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2fdc3cd845e5a1f71a0c3518528bfdbfe2efaf9886d6f49eacc5ee4fd9a10953", "url": "https://files.pythonhosted.org/packages/c9/2e/459161a83044c8a823e3e8b50b949e30e13660db2e80b38ebc2484e65a21/frozenlist-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "c6c321dd013e8fc20735b92cb4892c115f5cdb82c817b1e5b07f6b95d952b2f0", "url": "https://files.pythonhosted.org/packages/cb/33/df01f848ea55bdc3b9cf0abbbfa06b331f67af78c9ef1cf79d48e8ce2e04/frozenlist-1.3.0-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "b5009062d78a8c6890d50b4e53b0ddda31841b3935c1937e2ed8c1bda1c7fb9d", "url": "https://files.pythonhosted.org/packages/f0/f3/68f7ea79bfc62ad514179cdfeef7ed590be196643b552584064e326e10d7/frozenlist-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b", "url": "https://files.pythonhosted.org/packages/f4/f7/8dfeb76d2a52bcea2b0718427af954ffec98be1d34cd8f282034b3e36829/frozenlist-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "768efd082074bb203c934e83a61654ed4931ef02412c2fbdecea0cff7ecd0274", "url": "https://files.pythonhosted.org/packages/fc/8a/1ac3824da6435a042a43d5a8c68c53bb04acf0998338f85a4b0ccdd44465/frozenlist-1.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" } ], "project_name": "frozenlist", "requires_dists": [], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "eb9c9d9aee49d23028deefffe53e87c55d3515512c63f57e893710301001449a", "url": "https://files.pythonhosted.org/packages/b4/80/cd21f093faef23c03b9fc1274be7a3bfd63b809d2f06a1cff92e00cacfcc/fsspec-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "20322c659538501f52f6caa73b08b2ff570b7e8ea30a86559721d090e473ad5c", "url": "https://files.pythonhosted.org/packages/47/d1/53c0b8e6bd4082a7fdee652b96d30b4c433e277793da6e650eabe73fc2cb/fsspec-2022.2.0.tar.gz" } ], "project_name": "fsspec", "requires_dists": [ "adlfs; extra == \"abfs\"", "adlfs; extra == \"adl\"", "aiohttp; extra == \"http\"", "dask; extra == \"dask\"", "distributed; extra == \"dask\"", "dropbox; extra == \"dropbox\"", "dropboxdrivefs; extra == \"dropbox\"", "fusepy; extra == \"fuse\"", "gcsfs; extra == \"gcs\"", "gcsfs; extra == \"gs\"", "importlib-metadata; python_version < \"3.8\" and extra == \"entrypoints\"", "libarchive-c; extra == \"libarchive\"", "ocifs; extra == \"oci\"", "panel; extra == \"gui\"", "paramiko; extra == \"sftp\"", "paramiko; extra == \"ssh\"", "pyarrow>=1; extra == \"arrow\"", "pyarrow>=1; extra == \"hdfs\"", "pygit2; extra == \"git\"", "requests; extra == \"dropbox\"", "requests; extra == \"github\"", "requests; extra == \"http\"", "s3fs; extra == \"s3\"", "smbprotocol; extra == \"smb\"" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d", "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz" } ], "project_name": "future", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.18.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd", "url": "https://files.pythonhosted.org/packages/a3/7c/5d747655049bfbf75b5fcec57c8115896cb78d6fafa84f6d3ef4c0f13a98/gitdb-4.0.9-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa", "url": "https://files.pythonhosted.org/packages/fc/44/64e02ef96f20b347385f0e9c03098659cb5a1285d36c3d17c56e534d80cf/gitdb-4.0.9.tar.gz" } ], "project_name": "gitdb", "requires_dists": [ "smmap<6,>=3.0.1" ], "requires_python": ">=3.6", "version": "4.0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5b68b000463593e05ff2b261acff0ff0972df8ab1b70d3cdbd41b546c8b8fc3d", "url": "https://files.pythonhosted.org/packages/83/32/ce68915670da6fd6b1e3fb4b3554b4462512f6441dddd194fc0f4f6ec653/GitPython-3.1.27-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1c885ce809e8ba2d88a29befeb385fcea06338d3640712b59ca623c220bb5704", "url": "https://files.pythonhosted.org/packages/d6/39/5b91b6c40570dc1c753359de7492404ba8fe7d71af40b618a780c7ad1fc7/GitPython-3.1.27.tar.gz" } ], "project_name": "gitpython", "requires_dists": [ "gitdb<5,>=4.0.1", "typing-extensions>=3.7.4.3; python_version < \"3.8\"" ], "requires_python": ">=3.7", "version": "3.1.27" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3ba4d63cb29c1e6d5ffcc1c0623c03cf02ede6240a072f213084749574e691ab", "url": "https://files.pythonhosted.org/packages/21/6c/e784c6883689fae9d1c5f82d995ddc82c284daa514edd5ba67ea38d88341/google_auth-2.6.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "60d449f8142c742db760f4c0be39121bc8d9be855555d784c252deaca1ced3f5", "url": "https://files.pythonhosted.org/packages/61/82/ff343c5917420acf0089d51355d1d693d724ac0be30d099a95e504af9920/google-auth-2.6.2.tar.gz" } ], "project_name": "google-auth", "requires_dists": [ "aiohttp<4.0.0dev,>=3.6.2; python_version >= \"3.6\" and extra == \"aiohttp\"", "cachetools<6.0,>=2.0.0", "enum34>=1.1.10; python_version < \"3.4\"", "pyasn1-modules>=0.2.1", "pyopenssl>=20.0.0; extra == \"pyopenssl\"", "pyu2f>=0.1.5; extra == \"reauth\"", "requests<3.0.0dev,>=2.20.0; extra == \"aiohttp\"", "rsa<4.6; python_version < \"3.6\"", "rsa<5,>=3.1.4; python_version >= \"3.6\"", "six>=1.9.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.6.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3f2a6e802eebbb6fb736a370fbf3b055edcb6b52878bf2f26330b5e041316c73", "url": "https://files.pythonhosted.org/packages/b1/0e/0636cc1448a7abc444fb1b3a63655e294e0d2d49092dc3de05241be6d43c/google_auth_oauthlib-0.4.6-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a90a072f6993f2c327067bf65270046384cda5a8ecb20b94ea9a687f1f233a7a", "url": "https://files.pythonhosted.org/packages/30/21/b84fa7ef834d4b126faad13da6e582c8f888e196326b9d6aab1ae303df4f/google-auth-oauthlib-0.4.6.tar.gz" } ], "project_name": "google-auth-oauthlib", "requires_dists": [ "click>=6.0.0; extra == \"tool\"", "google-auth>=1.0.0", "requests-oauthlib>=0.7.0" ], "requires_python": ">=3.6", "version": "0.4.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8d2f1fb53a421b410751887eb4ff21386d119ef9cde3797bf5e7ed49fb51a3b3", "url": "https://files.pythonhosted.org/packages/4e/33/2eb5b46e3f1f46b24ff09d04ff227520273820f6be9e2176ea5e39063b3f/greenlet-1.1.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f3acda1924472472ddd60c29e5b9db0cec629fbe3c5c5accb74d6d6d14773478", "url": "https://files.pythonhosted.org/packages/07/97/6f07d888c4fce65ec4fb2177e75d45e604789eb075a09946dd7e7f88e790/greenlet-1.1.2-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a", "url": "https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341/greenlet-1.1.2.tar.gz" }, { "algorithm": "sha256", "hash": "288c6a76705dc54fba69fbcb59904ae4ad768b4c768839b8ca5fdadec6dd8cfd", "url": "https://files.pythonhosted.org/packages/30/1c/5f4df8816093dbfc8ded8b53ab672223deeb39e9dec6a48aaf278c52df99/greenlet-1.1.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "00e44c8afdbe5467e4f7b5851be223be68adb4272f44696ee71fe46b7036a711", "url": "https://files.pythonhosted.org/packages/72/2d/53428626ef5cd9837701cfc49d2a60ecefe8e0737c345b5547b1d88dd739/greenlet-1.1.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "eb6ea6da4c787111adf40f697b4e58732ee0942b5d3bd8f435277643329ba627", "url": "https://files.pythonhosted.org/packages/a1/b6/949a07551279b770d49efe18e1a732a53a45cf76c5f5981ee6ebd17eab19/greenlet-1.1.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "ec8c433b3ab0419100bd45b47c9c8551248a5aee30ca5e9d399a0b57ac04651b", "url": "https://files.pythonhosted.org/packages/d4/00/7474a1f27efa5c023fe114d84801fe2ded66db2fa5e72253d698b9a95a2a/greenlet-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "9633b3034d3d901f0a46b7939f8c4d64427dfba6bbc5a36b1a67364cf148a1b0", "url": "https://files.pythonhosted.org/packages/e7/b3/e4f84cd23ea46676dd88c514457ca0bad7a8efe40be76cffc009fed4b16e/greenlet-1.1.2-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "e859fcb4cbe93504ea18008d1df98dee4f7766db66c435e4882ab35cf70cac43", "url": "https://files.pythonhosted.org/packages/e8/2e/a8c9772f3adb294f015775547f990aa2d9c3e2dfdcddaa4e5a9d544a6a8c/greenlet-1.1.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "2bde6792f313f4e918caabc46532aa64aa27a0db05d75b20edfc5c6f46479de2", "url": "https://files.pythonhosted.org/packages/f4/4d/52cdc4fb2d9c7a226c490a19373c32a837b38205abd10010c3ade0b011ca/greenlet-1.1.2-cp38-cp38-musllinux_1_1_x86_64.whl" } ], "project_name": "greenlet", "requires_dists": [ "Sphinx; extra == \"docs\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "13343e7b840c20f43b44f0e6d3bbdc037c964f0aec9735d7cb685c407731c9ff", "url": "https://files.pythonhosted.org/packages/d5/a1/0f893b9e639c89181d519e20f10373a176e666936feb634980c19f0132fb/grpcio-1.44.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bfd36b959c3c4e945119387baed1414ea46f7116886aa23de0172302b49d7ff1", "url": "https://files.pythonhosted.org/packages/4e/05/9975d04ecb33d94e2aa9fd60d6201d2faa294be74f14ec4cf048579fe315/grpcio-1.44.0-cp38-cp38-macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "36a7bdd6ef9bca050c7ade8cba5f0e743343ea0756d5d3d520e915098a9dc503", "url": "https://files.pythonhosted.org/packages/5b/92/a00eed89bae16e48644f514c842b1cc6deaf0f79cb7dcfeda2dc514e11af/grpcio-1.44.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "dc3290d0411ddd2bd49adba5793223de8de8b01588d45e9376f1a9f7d25414f4", "url": "https://files.pythonhosted.org/packages/61/0c/dcd6f8a86de1aa29c5f597be8a21311eeaa24b0fd6f040efe60000c58a38/grpcio-1.44.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "4bae1c99896045d3062ab95478411c8d5a52cb84b91a1517312629fa6cfeb50e", "url": "https://files.pythonhosted.org/packages/65/75/8b706e1170e2c7b6242b1675259e47986bb4fc490f29387989a965972e6e/grpcio-1.44.0.tar.gz" }, { "algorithm": "sha256", "hash": "e898194f76212facbaeb6d7545debff29351afa23b53ff8f0834d66611af5139", "url": "https://files.pythonhosted.org/packages/ab/4a/d3b3bcdd3eba0b9a9b0bb9752a813fb856df6aa5061da3a2900f33c50762/grpcio-1.44.0-cp38-cp38-manylinux_2_17_aarch64.whl" }, { "algorithm": "sha256", "hash": "9075c0c003c1ff14ebce8f0ba55cc692158cb55c68da09cf8b0f9fc5b749e343", "url": "https://files.pythonhosted.org/packages/b4/6f/40ae3f63c944705d5ce31cec02dd8a5bf1898ebdf828269b8da97c47adfa/grpcio-1.44.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "19e54f0c7083c8332b5a75a9081fc5127f1dbb67b6c1a32bd7fe896ef0934918", "url": "https://files.pythonhosted.org/packages/c5/7a/35c847b757de67bef35b058049481ad970a4110094cc1ca523e6e9db46cb/grpcio-1.44.0-cp38-cp38-linux_armv7l.whl" }, { "algorithm": "sha256", "hash": "ccd388b8f37b19d06e4152189726ce309e36dc03b53f2216a4ea49f09a7438e6", "url": "https://files.pythonhosted.org/packages/c7/bc/9513390807ce0265c5a072345bd57da90173ea9f82d5744a25e433a5386a/grpcio-1.44.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "8fa6584046a7cf281649975a363673fa5d9c6faf9dc923f261cc0e56713b5892", "url": "https://files.pythonhosted.org/packages/f7/10/47060cd72e190f4cbe1a579cc5c15667b3a3fc5b479619198b570e4b5838/grpcio-1.44.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" } ], "project_name": "grpcio", "requires_dists": [ "enum34>=1.0.4; python_version < \"3.4\"", "futures>=2.2.0; python_version < \"3.2\"", "grpcio-tools>=1.44.0; extra == \"protobuf\"", "six>=1.5.2" ], "requires_python": ">=3.6", "version": "1.44" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65d653df249a2f95673976e4e9dd7ce10de61cfc6e64fa7eeaa6891a9559c581", "url": "https://files.pythonhosted.org/packages/4c/48/bc57d3b4047dd0d249577b4792c1b7043935cc41925e84a20d18f42005f9/hiredis-2.0.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a", "url": "https://files.pythonhosted.org/packages/0c/39/eae11344d69ba435ec13d6bcc1a9eea3d2278324506fcd0e52d1ed8958c8/hiredis-2.0.0.tar.gz" }, { "algorithm": "sha256", "hash": "7492af15f71f75ee93d2a618ca53fea8be85e7b625e323315169977fae752426", "url": "https://files.pythonhosted.org/packages/4b/aa/ba2ce23c9f953092439abc5b795aae72e5c9e5ee43023461aab04d97fccd/hiredis-2.0.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "dcef843f8de4e2ff5e35e96ec2a4abbdf403bd0f732ead127bd27e51f38ac298", "url": "https://files.pythonhosted.org/packages/77/f5/9c0b289fe1663c5511a915979d108bc302b671c0b4fcacd3ac7ee0bcebf6/hiredis-2.0.0-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f0055f1809b911ab347a25d786deff5e10e9cf083c3c3fd2dd04e8612e8d9db", "url": "https://files.pythonhosted.org/packages/85/75/9f1305aee73bb3ffe9f0f992e520d307ddb72e1ff3fc656e2799f0a44580/hiredis-2.0.0-cp38-cp38-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "11d119507bb54e81f375e638225a2c057dda748f2b1deef05c2b1a5d42686048", "url": "https://files.pythonhosted.org/packages/ae/5f/dcbe5f119641f6a2df99d5520b31b003599768bdd4911729d1ac2d016c5c/hiredis-2.0.0-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3dddf681284fe16d047d3ad37415b2e9ccdc6c8986c8062dbe51ab9a358b50a5", "url": "https://files.pythonhosted.org/packages/d1/27/af30a56ea77120d72cabef1bb00e7e73c8158d49db4e9b3974a269add85b/hiredis-2.0.0-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "87c7c10d186f1743a8fd6a971ab6525d60abd5d5d200f31e073cd5e94d7e7a9d", "url": "https://files.pythonhosted.org/packages/d6/20/be0addd761a2f1ccd772c4900fa2c281af107b59ccfb519fe0794212da8f/hiredis-2.0.0-cp38-cp38-manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "294a6697dfa41a8cba4c365dd3715abc54d29a86a40ec6405d677ca853307cfb", "url": "https://files.pythonhosted.org/packages/e8/d0/4fb9094b104d28814932d17b4a5b987e569753166e25ff7dc8e3e36af539/hiredis-2.0.0-cp38-cp38-macosx_10_9_x86_64.whl" } ], "project_name": "hiredis", "requires_dists": [], "requires_python": ">=3.6", "version": "2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c72572e5ce087bc7a7748af2664764d4a805897caeefb665bdc12677fefb2212", "url": "https://files.pythonhosted.org/packages/77/6c/d029e50e4ba5c4a357b30875e46f13304873ad8541c61bdd8bbdceda55bd/icdiff-2.0.4.tar.gz" } ], "project_name": "icdiff", "requires_dists": [], "requires_python": null, "version": "2.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff", "url": "https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d", "url": "https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz" } ], "project_name": "idna", "requires_dists": [], "requires_python": ">=3.5", "version": "3.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8d17c59b6f5f3b350bbbe346e7cb7dda0399b1881d93ad01cb29b5acdb24c42", "url": "https://files.pythonhosted.org/packages/29/24/a3a7aa7f1e7f1c3a5c9fe2ff3fec8d9d17e10741eafb710f06705744b35f/imageio-2.16.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2", "url": "https://files.pythonhosted.org/packages/1d/74/1c2972a6afdf215e8706c254a75ee5af6f30f1cfad1abb55dda5d1ca8701/imageio-2.16.1.tar.gz" } ], "project_name": "imageio", "requires_dists": [ "astropy; extra == \"fits\"", "astropy; extra == \"full\"", "black; extra == \"dev\"", "black; extra == \"full\"", "black; extra == \"linting\"", "flake8; extra == \"dev\"", "flake8; extra == \"full\"", "flake8; extra == \"linting\"", "fsspec[github]; extra == \"dev\"", "fsspec[github]; extra == \"full\"", "fsspec[github]; extra == \"test\"", "gdal; extra == \"full\"", "gdal; extra == \"gdal\"", "imageio-ffmpeg; extra == \"ffmpeg\"", "imageio-ffmpeg; extra == \"full\"", "invoke; extra == \"dev\"", "invoke; extra == \"full\"", "invoke; extra == \"test\"", "itk; extra == \"full\"", "itk; extra == \"itk\"", "numpy>=1.20.0", "numpydoc; extra == \"docs\"", "numpydoc; extra == \"full\"", "pillow>=8.3.2", "psutil; extra == \"ffmpeg\"", "psutil; extra == \"full\"", "pydata-sphinx-theme; extra == \"docs\"", "pydata-sphinx-theme; extra == \"full\"", "pytest-cov; extra == \"dev\"", "pytest-cov; extra == \"full\"", "pytest-cov; extra == \"test\"", "pytest; extra == \"dev\"", "pytest; extra == \"full\"", "pytest; extra == \"test\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"full\"", "tifffile; extra == \"full\"", "tifffile; extra == \"tifffile\"", "wheel; extra == \"build\"", "wheel; extra == \"full\"" ], "requires_python": ">=3.7", "version": "2.16.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6", "url": "https://files.pythonhosted.org/packages/92/f2/c48787ca7d1e20daa185e1b6b2d4e16acd2fb5e0320bc50ffc89b91fa4d7/importlib_metadata-4.11.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539", "url": "https://files.pythonhosted.org/packages/3e/1d/964b27278cfa369fbe9041f604ab09c6e99556f8b7910781b4584b428c2f/importlib_metadata-4.11.3.tar.gz" } ], "project_name": "importlib-metadata", "requires_dists": [ "flufl.flake8; extra == \"testing\"", "importlib-resources>=1.3; python_version < \"3.9\" and extra == \"testing\"", "ipython; extra == \"perf\"", "jaraco.packaging>=9; extra == \"docs\"", "packaging; extra == \"testing\"", "pyfakefs; extra == \"testing\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-perf>=0.9.2; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "typing-extensions>=3.6.4; python_version < \"3.8\"", "zipp>=0.5" ], "requires_python": ">=3.7", "version": "4.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45", "url": "https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b", "url": "https://files.pythonhosted.org/packages/b5/d8/51ace1c1ea6609c01c7f46ca2978e11821aa0efaaa7516002ef6df000731/importlib_resources-5.4.0.tar.gz" } ], "project_name": "importlib-resources", "requires_dists": [ "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"", "zipp>=3.1.0; python_version < \"3.10\"" ], "requires_python": ">=3.6", "version": "5.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", "url": "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", "url": "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz" } ], "project_name": "iniconfig", "requires_dists": [], "requires_python": null, "version": "1.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7", "url": "https://files.pythonhosted.org/packages/b8/5b/f18e227df38b94b4ee30d2502fd531bebac23946a2497e5595067a561274/isort-5.10.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951", "url": "https://files.pythonhosted.org/packages/ab/e9/964cb0b2eedd80c92f5172f1f8ae0443781a9d461c1372a3ce5762489593/isort-5.10.1.tar.gz" } ], "project_name": "isort", "requires_dists": [ "colorama<0.5.0,>=0.4.3; extra == \"colors\"", "pip-api; extra == \"requirements_deprecated_finder\"", "pipreqs; extra == \"pipfile_deprecated_finder\" or extra == \"requirements_deprecated_finder\"", "requirementslib; extra == \"pipfile_deprecated_finder\"", "setuptools; extra == \"plugins\"" ], "requires_python": "<4.0,>=3.6.1", "version": "5.10.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "935642cd4b987cdbee7210080004033af76306757ff8b4c0a506a4b6e06f02cf", "url": "https://files.pythonhosted.org/packages/76/9b/88ac47681ba6af8ee994c9e83ecdfc0048df59f8f6df5c2f766998fe87e7/itsdangerous-2.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7b7d3023cd35d9cb0c1fd91392f8c95c6fa02c59bf8ad64b8849be3401b95afb", "url": "https://files.pythonhosted.org/packages/9d/86/39f81e23f49eaf62d22248d48771dbf3bce7c52dfdf566e3d8d4c0657f15/itsdangerous-2.1.1.tar.gz" } ], "project_name": "itsdangerous", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f6ac64cab49e282cf8171d4c479de413dedbbb1a69c64499648185f974080db3", "url": "https://files.pythonhosted.org/packages/4a/ab/756d5965665633b3c7dc252397e4c111da30235eaca68af204fe53f36d1b/javaobj_py3-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38f74db3a57e9998a9774e3614afb95cb396f139f29b3fdb130c5af554435259", "url": "https://files.pythonhosted.org/packages/66/d3/0e4fa237161b3a00eea031575f46ac052a79b0908982b52794d113f43813/javaobj-py3-0.4.3.tar.gz" } ], "project_name": "javaobj-py3", "requires_dists": [ "enum34; python_version <= \"3.4\"", "typing; python_version <= \"3.4\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f", "url": "https://files.pythonhosted.org/packages/07/cb/5f001272b6faeb23c1c9e0acc04d48eaaf5c862c17709d20e3469c6e0139/jmespath-0.10.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9", "url": "https://files.pythonhosted.org/packages/3c/56/3f325b1eef9791759784aa5046a8f6a1aff8f7c898a2e34506771d3b99d8/jmespath-0.10.0.tar.gz" } ], "project_name": "jmespath", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6", "version": "0.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6", "url": "https://files.pythonhosted.org/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35", "url": "https://files.pythonhosted.org/packages/92/b9/9e3616e7e00c8165fb25175c53444533bdde05f3e974d45d9fcbbe451ee6/joblib-1.1.0.tar.gz" } ], "project_name": "joblib", "requires_dists": [], "requires_python": ">=3.6", "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cec3adcb110bd1391659670f2fe64d2a70a0218e84fdb7b08506107946d3bdb0", "url": "https://files.pythonhosted.org/packages/b4/b7/d06702a6f2fe907f8e1eb337334163f045c833db6710fb3acf47ca2460ee/jpeg4py-0.1.4.tar.gz" } ], "project_name": "jpeg4py", "requires_dists": [ "cffi", "numpy" ], "requires_python": null, "version": "0.1.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1861e1f684810b4063471c680ed08435cc9e3d410daf80a41b72b789d2771e8e", "url": "https://files.pythonhosted.org/packages/a3/85/a8e62005dda7c0dcc65764011e7e4cca9de09f2ae3a92e6a42d997372713/jsonargparse-4.4.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aa58091d435c2ab44ad54873e952340e20ebb967f3dbfb28b3c604ac5938e1c5", "url": "https://files.pythonhosted.org/packages/d1/1a/01ebb65cfe5224f2f8657ba9df26dd3b974beab816aca139d54eafc55256/jsonargparse-4.4.0.tar.gz" } ], "project_name": "jsonargparse", "requires_dists": [ "PyYAML>=3.13", "Sphinx>=1.7.9; extra == \"doc\"", "argcomplete>=2.0.0; extra == \"all\"", "argcomplete>=2.0.0; extra == \"argcomplete\"", "autodocsumm>=0.1.10; extra == \"doc\"", "bump2version>=0.5.11; extra == \"dev\"", "contextvars>=2.4; python_version == \"3.6\"", "coverage>=4.5.1; extra == \"dev\"", "coverage>=4.5.1; extra == \"test\"", "coverage>=4.5.1; extra == \"test_no_urls\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"all\"", "dataclasses>=0.8; python_version == \"3.6\" and extra == \"dataclasses\"", "docstring-parser>=0.7.3; extra == \"all\"", "docstring-parser>=0.7.3; extra == \"signatures\"", "fsspec>=0.8.4; extra == \"all\"", "fsspec>=0.8.4; extra == \"fsspec\"", "jsonnet>=0.13.0; extra == \"all\"", "jsonnet>=0.13.0; extra == \"jsonnet\"", "jsonschema>=3.2.0; extra == \"all\"", "jsonschema>=3.2.0; extra == \"jsonschema\"", "mypy>=0.701; extra == \"dev\"", "omegaconf>=2.1.1; extra == \"all\"", "omegaconf>=2.1.1; extra == \"omegaconf\"", "pycodestyle>=2.5.0; extra == \"dev\"", "pylint>=1.8.3; extra == \"dev\"", "reconplogger>=4.4.0; extra == \"all\"", "reconplogger>=4.4.0; extra == \"reconplogger\"", "requests>=2.18.4; extra == \"all\"", "requests>=2.18.4; extra == \"urls\"", "responses>=0.12.0; extra == \"dev\"", "responses>=0.12.0; extra == \"test\"", "ruyaml>=0.20.0; extra == \"all\"", "ruyaml>=0.20.0; extra == \"ruyaml\"", "sphinx-autodoc-typehints>=1.11.1; extra == \"doc\"", "sphinx-rtd-theme>=0.4.3; extra == \"doc\"", "twine>=3.1.1; extra == \"dev\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"all\"", "typing-extensions>=3.10.0.0; python_version < \"3.8\" and extra == \"typing_extensions\"", "validators>=0.14.2; extra == \"all\"", "validators>=0.14.2; extra == \"urls\"" ], "requires_python": ">=3.6", "version": "4.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "23aab11fdbbb0f1051b93793a58323ff937e98e34aece1c4219675122e57e4ba", "url": "https://files.pythonhosted.org/packages/6e/01/45ab9f723a93e0ca75fba4d2c266bb041120cb4215eab94f7c78743ac7ed/Mako-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9a7c7e922b87db3686210cf49d5d767033a41d4010b284e747682c92bddd8b39", "url": "https://files.pythonhosted.org/packages/50/ec/1d687348f0954bda388bfd1330c158ba8d7dea4044fc160e74e080babdb9/Mako-1.2.0.tar.gz" } ], "project_name": "mako", "requires_dists": [ "Babel; extra == \"babel\"", "MarkupSafe>=0.9.2", "importlib-metadata; python_version < \"3.8\"", "lingua; extra == \"lingua\"", "pytest; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "9923332318f843411e9932237530df53162e29dc7a4e2b91e35764583c46c9a3", "url": "https://files.pythonhosted.org/packages/9f/d4/2c7f83915d437736996b2674300c6c4b578a6f897f34e40f5c04db146719/Markdown-3.3.6-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006", "url": "https://files.pythonhosted.org/packages/15/06/d60f21eda994b044cbd496892d4d4c5c708aa597fcaded7d421513cb219b/Markdown-3.3.6.tar.gz" } ], "project_name": "markdown", "requires_dists": [ "coverage; extra == \"testing\"", "importlib-metadata>=4.4; python_version < \"3.10\"", "pyyaml; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3.3.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7", "url": "https://files.pythonhosted.org/packages/2c/81/91062a81ac8a18f557f12e2618475b53878755c016c9914c8aa207155c4e/MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1", "url": "https://files.pythonhosted.org/packages/18/a6/913b1d80fe93f7c3aa79206544b98841616c3eaa7790f37bdfb9fc13311e/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b", "url": "https://files.pythonhosted.org/packages/1d/97/2288fe498044284f39ab8950703e88abbac2abbdf65524d576157af70556/MarkupSafe-2.1.1.tar.gz" }, { "algorithm": "sha256", "hash": "0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003", "url": "https://files.pythonhosted.org/packages/3c/d3/c7ab031b14ae4e83214949acee957a8fcf6a992698edff039ee1e77eb4e1/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88", "url": "https://files.pythonhosted.org/packages/68/b5/b3aafabe7e1f71aa64ffe32fd8c767fd7db1bb304d339d8df6f2fdd2543c/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925", "url": "https://files.pythonhosted.org/packages/69/60/08791e4a971ea976f0fd58fb916d76de7c962dc8e26430564258820ac21f/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1", "url": "https://files.pythonhosted.org/packages/6c/44/cd459988fe29cb82f0482fe6b6c47ec17ae700a500634edd876075d5e1ee/MarkupSafe-2.1.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452", "url": "https://files.pythonhosted.org/packages/92/7c/3c33294e506eafa7f1c40dd283089a45652ea0f073fc0ce24419d46bfe4b/MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63", "url": "https://files.pythonhosted.org/packages/be/d8/5ab7f07d8f60155c4f12b4b2dca785355b8ee7e16b2d3f00c3830add5f10/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f", "url": "https://files.pythonhosted.org/packages/d3/4f/9ea1c0a7796f7f81371b40d32aa31766b76fbdba316abf888897042e6e0f/MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601", "url": "https://files.pythonhosted.org/packages/fd/f4/524d2e8f5a3727cf309c2b7df7c732038375322df1376c9e9ef3aa92fcaf/MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "markupsafe", "requires_dists": [], "requires_python": ">=3.7", "version": "2.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", "url": "https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f", "url": "https://files.pythonhosted.org/packages/06/18/fa675aa501e11d6d6ca0ae73a101b2f3571a565e0f7d38e062eec18a91ee/mccabe-0.6.1.tar.gz" } ], "project_name": "mccabe", "requires_dists": [], "requires_python": null, "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8004dca28e15b86d1b1372515f32eb6f814bdf6f00952699bdeb541691091f96", "url": "https://files.pythonhosted.org/packages/24/6d/9fb21688e47bb822a1b3b836f9d305ad8e4dee3c4818f4fcdaa499a0f50e/multidict-6.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd9fc9c4849a07f3635ccffa895d57abce554b467d611a5009ba4f39b78a8849", "url": "https://files.pythonhosted.org/packages/04/c2/fc03a56aeb5991c8f345c2c8d00b0262466ef38b8fa04c9f9efccf46b6a9/multidict-6.0.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "e5b20e9599ba74391ca0cfbd7b328fcc20976823ba19bc573983a25b32e92b57", "url": "https://files.pythonhosted.org/packages/1a/04/2c006bdd1550f9d8f966db6851ea829434bc6e186334fc11c39e059b6538/multidict-6.0.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "e875b6086e325bab7e680e4316d667fc0e5e174bb5611eb16b3ea121c8951b86", "url": "https://files.pythonhosted.org/packages/24/6c/168e7222f6bb2df35fe323e54729aef2d1095dccf044f2ee66244b467a93/multidict-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "4070613ea2227da2bfb2c35a6041e4371b0af6b0be57f424fe2318b42a748516", "url": "https://files.pythonhosted.org/packages/47/26/cecae22c6edef06ba383644961d5963ecd0fdcf8a605f48788a1368de7ec/multidict-6.0.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "9cc57c68cb9139c7cd6fc39f211b02198e69fb90ce4bc4a094cf5fe0d20fd8b0", "url": "https://files.pythonhosted.org/packages/68/a8/729f85ce29323befe25efdff8cf03132a85fe2365e7baf7a4c71d99ce3e6/multidict-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "684133b1e1fe91eda8fa7447f137c9490a064c6b7f392aa857bba83a28cfb693", "url": "https://files.pythonhosted.org/packages/8f/39/a7e04961b4c00d68aba337e3fdef9fd4f666dcd98f41725067a1de5d3399/multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e07c8e79d6e6fd37b42f3250dba122053fddb319e84b55dd3a8d6446e1a7ee49", "url": "https://files.pythonhosted.org/packages/8f/cc/8eb3fe20d9104e41202fa2477c4d5b8ca47b5e47ef02a731c9e2ef917131/multidict-6.0.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "2957489cba47c2539a8eb7ab32ff49101439ccf78eab724c828c1a54ff3ff98d", "url": "https://files.pythonhosted.org/packages/92/19/c2b7660122624a1df587a457f6074ca325b6ffc316e699edddd16c8cb741/multidict-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "47fbeedbf94bed6547d3aa632075d804867a352d86688c04e606971595460227", "url": "https://files.pythonhosted.org/packages/a3/2e/f87e45cb76df62ac7f66c1c11f285c4d620dc2f6883f884212f0ffdc8c2b/multidict-6.0.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "89171b2c769e03a953d5969b2f272efa931426355b6c0cb508022976a17fd376", "url": "https://files.pythonhosted.org/packages/b4/7a/8ac06729f3f59d0272a1069c8f7bf8eda660f558a7d1825f0c7c00af9115/multidict-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "feea820722e69451743a3d56ad74948b68bf456984d63c1a92e8347b7b88452d", "url": "https://files.pythonhosted.org/packages/b5/3a/63c8ca310f9a1f9fe91e8237a48e75c0ce9146b0420d978e8e53801f2bb6/multidict-6.0.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "497988d6b6ec6ed6f87030ec03280b696ca47dbf0648045e4e1d28b80346560d", "url": "https://files.pythonhosted.org/packages/c0/90/04a6c0926d2f5dbb1e32ffabf94543619fdfc98cff00344a26c2e43ff03f/multidict-6.0.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "5774d9218d77befa7b70d836004a768fb9aa4fdb53c97498f4d8d3f67bb9cfa9", "url": "https://files.pythonhosted.org/packages/d6/4f/3b0518f32c50e5c9aa7f868423346a4a2c926fff33dfc6aea19bc92bc19a/multidict-6.0.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "0327292e745a880459ef71be14e709aaea2f783f3537588fb4ed09b6c01bca60", "url": "https://files.pythonhosted.org/packages/e6/dc/7654159cea77f16cb60837f3629dd42ac348570256abd26bf2c1fee46ad9/multidict-6.0.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013", "url": "https://files.pythonhosted.org/packages/fa/a7/71c253cdb8a1528802bac7503bf82fe674367e4055b09c28846fdfa4ab90/multidict-6.0.2.tar.gz" } ], "project_name": "multidict", "requires_dists": [], "requires_python": ">=3.7", "version": "6.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bf4a44e03040206f7c058d1f5ba02ef2d1820720c88bc4285c7d9a4269f54173", "url": "https://files.pythonhosted.org/packages/1e/57/196ea2a730cc48fbeff9af4934f1f036c07cf7eb7b4e40a09226d8c51b31/mypy-0.930-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5feb56f8bb280468fe5fc8e6f56f48f99aa0df9eed3c507a11505ee4657b5380", "url": "https://files.pythonhosted.org/packages/3d/a6/b673ca62f3c3cb98a9d79537543e047956a6833ed99c60a2e938603ab525/mypy-0.930-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "1ea7199780c1d7940b82dbc0a4e37722b4e3851264dbba81e01abecc9052d8a7", "url": "https://files.pythonhosted.org/packages/48/5c/ca1b1a2617ae63118174da0a225168a2c1631c7303315f221b5be6f79afb/mypy-0.930-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "51426262ae4714cc7dd5439814676e0992b55bcc0f6514eccb4cf8e0678962c2", "url": "https://files.pythonhosted.org/packages/8e/79/116f9828cfb88904c94640c683ca1f24d9abc89c688e31d436eba82e09a1/mypy-0.930.tar.gz" }, { "algorithm": "sha256", "hash": "70b197dd8c78fc5d2daf84bd093e8466a2b2e007eedaa85e792e513a820adbf7", "url": "https://files.pythonhosted.org/packages/9b/2a/f61022b5f459eb667f4d7e78f05baa889b6751b9f4257e416cd9c5b88cb6/mypy-0.930-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "2e9c5409e9cb81049bb03fa1009b573dea87976713e3898561567a86c4eaee01", "url": "https://files.pythonhosted.org/packages/c0/5d/1833d72ada88bdbc78b2655e55c519889337a0ae744629bad9f0b2431ad3/mypy-0.930-cp38-cp38-win_amd64.whl" } ], "project_name": "mypy", "requires_dists": [ "mypy-extensions>=0.4.3", "psutil>=4.0; extra == \"dmypy\"", "tomli>=1.1.0", "typed-ast<2,>=1.4.0; extra == \"python2\"", "typed-ast<2,>=1.4.0; python_version < \"3.8\"", "typing-extensions>=3.10" ], "requires_python": ">=3.6", "version": "0.930" }, { "artifacts": [ { "algorithm": "sha256", "hash": "090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", "url": "https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8", "url": "https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f/mypy_extensions-0.4.3.tar.gz" } ], "project_name": "mypy-extensions", "requires_dists": [ "typing>=3.5.3; python_version < \"3.5\"" ], "requires_python": null, "version": "0.4.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "011e85d277c89681e8fa661cf5ff0743443445049b0b68789ad55ef09340c6e0", "url": "https://files.pythonhosted.org/packages/f6/34/4913f651b8e178dde5abcf8d62495e4dcd0757a9a6840f1b1f7a290afaea/networkx-2.7.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d1194ba753e5eed07cdecd1d23c5cd7a3c772099bd8dbd2fea366788cf4de7ba", "url": "https://files.pythonhosted.org/packages/9e/9e/3d67df5d543ffd743f4ccb12c9c90929e4f48136e3062e15a6d971d91202/networkx-2.7.1.tar.gz" } ], "project_name": "networkx", "requires_dists": [ "black==22.1; extra == \"developer\"", "codecov>=2.1; extra == \"test\"", "lxml>=4.6; extra == \"extra\"", "matplotlib>=3.4; extra == \"default\"", "mypy>=0.931; extra == \"developer\"", "nb2plots>=0.6; extra == \"doc\"", "numpy>=1.19; extra == \"default\"", "numpydoc>=1.2; extra == \"doc\"", "pandas>=1.3; extra == \"default\"", "pillow>=9.0; extra == \"doc\"", "pre-commit>=2.17; extra == \"developer\"", "pydata-sphinx-theme>=0.8; extra == \"doc\"", "pydot>=1.4.2; extra == \"extra\"", "pygraphviz>=1.9; extra == \"extra\"", "pytest-cov>=3.0; extra == \"test\"", "pytest>=7.0; extra == \"test\"", "pyupgrade>=2.31; extra == \"developer\"", "scipy>=1.8; extra == \"default\"", "sphinx-gallery>=0.10; extra == \"doc\"", "sphinx>=4.4; extra == \"doc\"", "texext>=0.6.6; extra == \"doc\"" ], "requires_python": ">=3.8", "version": "2.7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c34ea7e9d13a70bf2ab64a2532fe149a9aced424cd05a2c4ba662fd989e3e45f", "url": "https://files.pythonhosted.org/packages/d8/30/2facfdcee2f9af55e6a7277c089736edfce1144acb3ccffaf3cff8781058/numpy-1.22.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "e7927a589df200c5e23c57970bafbd0cd322459aa7b1ff73b7c2e84d6e3eae62", "url": "https://files.pythonhosted.org/packages/2f/0d/5a0a0bb939f4cc6db6fe777a7221c7c33bf5f5a601f5abfc82692bb4b6aa/numpy-1.22.3-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "3ca688e1b9b95d80250bca34b11a05e389b1420d00e87a0d12dc45f131f704a1", "url": "https://files.pythonhosted.org/packages/38/c0/c45c5eb0e25247d5fbb333fd0b56e570ba21cf0e3dca3abad174fb780e8c/numpy-1.22.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "201b4d0552831f7250a08d3b38de0d989d6f6e4658b709a02a73c524ccc6ffce", "url": "https://files.pythonhosted.org/packages/52/d0/d7a200f2c3d6c6a879dbdc6d762c7dbed542527333ac9a6a72c8ffab9814/numpy-1.22.3-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "f8c1f39caad2c896bc0018f699882b345b2a63708008be29b1f355ebf6f933fe", "url": "https://files.pythonhosted.org/packages/5c/51/872b5c1f40c740e9ebdad87dca8bd42fc7cb5aafab14b96d3a83fca52fd3/numpy-1.22.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18", "url": "https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip" }, { "algorithm": "sha256", "hash": "568dfd16224abddafb1cbcce2ff14f522abe037268514dd7e42c6776a1c3f8e5", "url": "https://files.pythonhosted.org/packages/e1/f0/5c3cf38272793a610cc843052e58c93b40b424e2c4a933422cd0bd6391ba/numpy-1.22.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "07a8c89a04997625236c5ecb7afe35a02af3896c8aa01890a849913a2309c676", "url": "https://files.pythonhosted.org/packages/fa/f2/f4ec28f935f980167740c5af5a1908090a48a564bed5e689f4b92386d7d9/numpy-1.22.3-cp38-cp38-win_amd64.whl" } ], "project_name": "numpy", "requires_dists": [], "requires_python": ">=3.8", "version": "1.22.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "daffbe3b4e95bdaec64cae6ea6a7dbb43ac8b6fddc8a7407598f18a83ec8fa79", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "5271f704e5a7e97a72e28f9585b9619f90223378ca9a9c7fe54cc38a1a5c75d4", "url": "https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_aarch64.whl" } ], "project_name": "nvidia-dali-cuda110", "requires_dists": [], "requires_python": "<3.11,>=3.6", "version": "1.11.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6db33440354787f9b7f3a6dbd4febf5d0f93758354060e802f6c06cb493022fe", "url": "https://files.pythonhosted.org/packages/1d/46/5ee2475e1b46a26ca0fa10d3c1d479577fde6ee289f8c6aa6d7ec33e31fd/oauthlib-3.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "23a8208d75b902797ea29fd31fa80a15ed9dc2c6c16fe73f5d346f83f6fa27a2", "url": "https://files.pythonhosted.org/packages/6e/7e/a43cec8b2df28b6494a865324f0ac4be213cb2edcf1e2a717547a93279b0/oauthlib-3.2.0.tar.gz" } ], "project_name": "oauthlib", "requires_dists": [ "blinker>=1.4.0; extra == \"signals\"", "cryptography>=3.0.0; extra == \"rsa\"", "cryptography>=3.0.0; extra == \"signedtoken\"", "pyjwt<3,>=2.0.0; extra == \"signedtoken\"" ], "requires_python": ">=3.6", "version": "3.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "df0c434f4a40212e87003b1b6f38a152d2f1d6447c261cd32c28434dd765c41c", "url": "https://files.pythonhosted.org/packages/70/b2/452b2bd78a4268b3b577d5c93cc02f39fc17a4135aa7df1ca92434e2a345/onnxruntime-1.10.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f7265bcd62f154f891f745d96f686ed92a0c0ca5589dc14f9203ae847e932792", "url": "https://files.pythonhosted.org/packages/28/ff/89c572d8b62567a21ed7629e34d9379d68de848cb3cc2061fd5050334d53/onnxruntime-1.10.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "2419563e9fc4f5b7dedd4b70d2249a952001c33f3186b83212ad2a7a0824c9b4", "url": "https://files.pythonhosted.org/packages/56/f3/66ceb302edeadb4e0fd6839c43ce4d366cbd7ec8960873bd42137526dde7/onnxruntime-1.10.0-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "618c84c6bff73fd6dd6fcf304eb24a804df6c11f512ddead4cc73074b60012b8", "url": "https://files.pythonhosted.org/packages/59/08/8fd20460342de561b8964731e015a847efcee45c13d18e812bb337471e69/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3913769691f7f20e13070d65bfddd9f85f862274fcc17312c3b7d3fee8af21d8", "url": "https://files.pythonhosted.org/packages/8b/74/5b30ee067fba2228d0b6bbf5c8915cadc5ce98b4c97beba978b03128d344/onnxruntime-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "onnxruntime", "requires_dists": [ "flatbuffers", "numpy>=1.16.6", "protobuf" ], "requires_python": null, "version": "1.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "30edebc81b260bcfeb760b3600c367c5261dfb2fe41e5d1408d5357d0867b40d", "url": "https://files.pythonhosted.org/packages/00/84/1c26cfa8d202c8c42fe9db27ea0925382b2ed8f16af5d7e5d93a62c780d8/opencv_python-4.5.1.48-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c1159d91f29a85c3333edef6ca420284566d9bcdae46dda2fe7282515b48c8b6", "url": "https://files.pythonhosted.org/packages/15/ed/dcfc6baea9b557d53668c54ac33733c9b0a1e2e651bec2870e5ceb513336/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "d16144c435b816c5536d5ff012c1a2b7e93155017db7103942ff7efb98c4df1f", "url": "https://files.pythonhosted.org/packages/2a/9a/ff309b530ac1b029bfdb9af3a95eaff0f5f45f6a2dbe37b3454ae8412f4c/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "78a6db8467639383caedf1d111da3510a4ee1a0aacf2117821cae2ee8f92ce37", "url": "https://files.pythonhosted.org/packages/bb/08/9dbc183a3ac6baa95fabf749ddb531bd26256edfff5b6c2195eca26258e9/opencv-python-4.5.1.48.tar.gz" }, { "algorithm": "sha256", "hash": "b2b9ac86aec5f2dd531545cebdea1a1ef4f81ef1fb1760d78b4725f9575504f9", "url": "https://files.pythonhosted.org/packages/ca/3a/dec2efcbfa1b0261915aa2e1a94d3f8f987e259c3872060973e8c17ce7d2/opencv_python-4.5.1.48-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ffc75c614b8dc3d8102f3ba15dafd6ec0400c7ffa71a91953d41511964ee50e0", "url": "https://files.pythonhosted.org/packages/f9/67/10a3659b93f0b1108d63841100fda017cf857bd4bb24fab2faa274991f5f/opencv_python-4.5.1.48-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "e77d0feaff37326f62b127098264e2a7099deb476e38432b1083ce11cdedf560", "url": "https://files.pythonhosted.org/packages/fb/2b/4d9d295e1d068314684cbab7b8596a215aa92eb66d1fedc5dfa05b997cb4/opencv_python-4.5.1.48-cp38-cp38-macosx_10_13_x86_64.whl" } ], "project_name": "opencv-python", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.6", "version": "4.5.1.48" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ca4f013fa958f60fb2327fe87e6127c1ac0ab536890b1d4b00847f417b7af1ba", "url": "https://files.pythonhosted.org/packages/00/72/c8a11b6139142e5aa94ce883520e2636591f570ed1270735bfbbccc0a8f6/opencv_python_headless-4.5.5.64-cp37-abi3-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "62e31878641a8f96e773118d1eea9f34bdda87c9990a0faab04ebaafb5ae015c", "url": "https://files.pythonhosted.org/packages/27/4e/275ca1020f9a3501d4012aeb5b4669c29ebc903be23355257dd1d8697a08/opencv_python_headless-4.5.5.64-cp36-abi3-macosx_10_15_x86_64.whl" }, { "algorithm": "sha256", "hash": "567a54c1919bcf5b3d20a9830e3c511e57134de8def286ce137c3544a892f98c", "url": "https://files.pythonhosted.org/packages/43/03/13447b012f11ed59948a1f09fc791bd2fbc32afca11a49eea75a4e683d1d/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "4bdf982574bf2fefc5f82c86df7cb42e56ad627874c7c0f4d94ecf4ae8885304", "url": "https://files.pythonhosted.org/packages/45/a3/c310868db16d71c716e8861850cca20f3f9379a12605bce88519d35b0586/opencv_python_headless-4.5.5.64-cp36-abi3-win32.whl" }, { "algorithm": "sha256", "hash": "a60e9ff48854ec37be391e19dd634883cc26c2f0f814e5325b3deca33420912c", "url": "https://files.pythonhosted.org/packages/9f/8c/3a1a159cd953f955b80a479a7cedf8ee88692b87884c05a74d20f04f6f3c/opencv_python_headless-4.5.5.64-cp36-abi3-win_amd64.whl" }, { "algorithm": "sha256", "hash": "c3c2dda44d601757a508b07d628537c49f31223ad4edd0f747a70d4c852a7b98", "url": "https://files.pythonhosted.org/packages/b4/0e/eb390a76bff15ebc453c539bcc6bfdaff5b9ca9e566441dae45eb508a138/opencv-python-headless-4.5.5.64.tar.gz" }, { "algorithm": "sha256", "hash": "3f330468c29882dbbec5af25695c5e575572c6b855cb0f9fe53e14116fd46bfc", "url": "https://files.pythonhosted.org/packages/bf/3e/9dee09e56d42a0c01d7898ceaa6ed4a8fe2763c10d7bded91ef6362e6537/opencv_python_headless-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "opencv-python-headless", "requires_dists": [ "numpy>=1.13.3; python_version < \"3.7\"", "numpy>=1.14.5; python_version >= \"3.7\"", "numpy>=1.17.3; python_version >= \"3.8\"", "numpy>=1.19.3; python_version >= \"3.6\" and platform_system == \"Linux\" and platform_machine == \"aarch64\"", "numpy>=1.19.3; python_version >= \"3.9\"", "numpy>=1.21.2; python_version >= \"3.10\"", "numpy>=1.21.2; python_version >= \"3.6\" and platform_system == \"Darwin\" and platform_machine == \"arm64\"" ], "requires_python": ">=3.6", "version": "4.5.5.64" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522", "url": "https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", "url": "https://files.pythonhosted.org/packages/df/9e/d1a7217f69310c1db8fdf8ab396229f55a699ce34a203691794c5d1cad0c/packaging-21.3.tar.gz" } ], "project_name": "packaging", "requires_dists": [ "pyparsing!=3.0.5,>=2.0.2" ], "requires_python": ">=3.6", "version": "21.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e4f0886d72c6166637a5513626148bf5a7e818073a558980e9aaed8b4ccf30da", "url": "https://files.pythonhosted.org/packages/43/42/1d2cb909afb055fcf2df5285f67eeec6ad16c138b83f1304808af81c31b7/pamqp-3.1.0.tar.gz" } ], "project_name": "pamqp", "requires_dists": [ "coverage; extra == \"testing\"", "flake8-comprehensions; extra == \"testing\"", "flake8-deprecated; extra == \"testing\"", "flake8-import-order; extra == \"testing\"", "flake8-print; extra == \"testing\"", "flake8-quotes; extra == \"testing\"", "flake8-rst-docstrings; extra == \"testing\"", "flake8-tuple; extra == \"testing\"", "flake8; extra == \"testing\"", "lxml; extra == \"codegen\"", "requests; extra == \"codegen\"", "yapf; extra == \"codegen\"", "yapf; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", "url": "https://files.pythonhosted.org/packages/42/ba/a9d64c7bcbc7e3e8e5f93a52721b377e994c22d16196e2b0f1236774353a/pathspec-0.9.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1", "url": "https://files.pythonhosted.org/packages/f6/33/436c5cb94e9f8902e59d1d544eb298b83c84b9ec37b5b769c5a0ad6edb19/pathspec-0.9.0.tar.gz" } ], "project_name": "pathspec", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0", "url": "https://files.pythonhosted.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-0.1.2.tar.gz" } ], "project_name": "pathtools", "requires_dists": [], "requires_python": null, "version": "0.1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2632d0f846b7c7600edf53c48f8f9f1e13e62f66a6dbc15191029d950bfed976", "url": "https://files.pythonhosted.org/packages/d1/65/cdc3720f37d9dc89a899e69248ebfccd0302ddcccf6f9b012a10e35ccd6e/Pillow-9.0.1-1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa", "url": "https://files.pythonhosted.org/packages/03/a3/f61a9a7ff7969cdef2a6e0383a346eb327495d20d25a2de5a088dbb543a6/Pillow-9.0.1.tar.gz" }, { "algorithm": "sha256", "hash": "14d4b1341ac07ae07eb2cc682f459bec932a380c3b122f5540432d8977e64eae", "url": "https://files.pythonhosted.org/packages/18/7f/58f056f31358956f8aaaf042982693d96f3d35d5a9df94acecdabb1db6f8/Pillow-9.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "7f7609a718b177bf171ac93cea9fd2ddc0e03e84d8fa4e887bdfc39671d46b00", "url": "https://files.pythonhosted.org/packages/40/9f/5d958243bd15fc5f7ce863aff4ae68ee160b6c93bf421af9a64c8ec4c304/Pillow-9.0.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "effb7749713d5317478bb3acb3f81d9d7c7f86726d41c1facca068a04cf5bb4c", "url": "https://files.pythonhosted.org/packages/61/2f/e735faee35d14330734be50176b4b6743bd3e9da2e9fdbe32c403fc10610/Pillow-9.0.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "335ace1a22325395c4ea88e00ba3dc89ca029bd66bd5a3c382d53e44f0ccd77e", "url": "https://files.pythonhosted.org/packages/69/49/70ed4f05d8c16c0aeb5a6ff78985e06f37441ac98ebfce51cb7c7950f239/Pillow-9.0.1-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "db6d9fac65bd08cea7f3540b899977c6dee9edad959fa4eaf305940d9cbd861c", "url": "https://files.pythonhosted.org/packages/91/e2/32513a5a2401867763db4c1b8fc93d44e877b9b966185dd8814087ce96f7/Pillow-9.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "a9f44cd7e162ac6191491d7249cceb02b8116b0f7e847ee33f739d7cb1ea1f70", "url": "https://files.pythonhosted.org/packages/b2/c4/1ce69eef7d5d8167acdeda81749649efa9997329489bb7f4ad2bc0242fa6/Pillow-9.0.1-pp38-pypy38_pp73-win_amd64.whl" }, { "algorithm": "sha256", "hash": "f154d173286a5d1863637a7dcd8c3437bb557520b01bddb0be0258dcb72696b5", "url": "https://files.pythonhosted.org/packages/c9/97/f4dc557509a12bb7cce044db0ab68e1025a774b466f87e8edd51471ba894/Pillow-9.0.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5b3f092fe345c03bca1e0b687dfbb39364b21ebb8ba90e3fa707374b7915204", "url": "https://files.pythonhosted.org/packages/f3/34/04170ba6c6c58d07806b75da4ed96d39d0ba63e36a6830118434e9da9542/Pillow-9.0.1-cp38-cp38-macosx_10_10_x86_64.whl" } ], "project_name": "pillow", "requires_dists": [], "requires_python": ">=3.7", "version": "9.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227", "url": "https://files.pythonhosted.org/packages/de/de/d8b9da351517c3dece273224522d4714cfdb9a89e2e6f7f7f054a340cc2b/platformdirs-2.5.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", "url": "https://files.pythonhosted.org/packages/33/66/61da40aa546141b0d70b37fe6bb4ef1200b4b4cb98849f131b58faa9a5d2/platformdirs-2.5.1.tar.gz" } ], "project_name": "platformdirs", "requires_dists": [ "Sphinx>=4; extra == \"docs\"", "appdirs==1.4.4; extra == \"test\"", "furo>=2021.7.5b38; extra == \"docs\"", "proselint>=0.10.2; extra == \"docs\"", "pytest-cov>=2.7; extra == \"test\"", "pytest-mock>=3.6; extra == \"test\"", "pytest>=6; extra == \"test\"", "sphinx-autodoc-typehints>=1.12; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "2.5.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3", "url": "https://files.pythonhosted.org/packages/9e/01/f38e2ff29715251cf25532b9082a1589ab7e4f571ced434f98d0139336dc/pluggy-1.0.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", "url": "https://files.pythonhosted.org/packages/a1/16/db2d7de3474b6e37cbb9c008965ee63835bba517e22cdb8c35b5116b5ce1/pluggy-1.0.0.tar.gz" } ], "project_name": "pluggy", "requires_dists": [ "importlib-metadata>=0.12; python_version < \"3.8\"", "pre-commit; extra == \"dev\"", "pytest-benchmark; extra == \"testing\"", "pytest; extra == \"testing\"", "tox; extra == \"dev\"" ], "requires_python": ">=3.6", "version": "1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b6b4dcdd0c0c0d75e4d7b2f21a9e933e5b2ce62b26e1a54537f9651ae5a5c01d", "url": "https://files.pythonhosted.org/packages/4e/d1/e4ed95fdd3ef13b78630280d9e9e240aeb65cc7c544ec57106149c3942fb/pprintpp-0.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "ea826108e2c7f49dc6d66c752973c3fc9749142a798d6b254e1e301cfdbc6403", "url": "https://files.pythonhosted.org/packages/06/1a/7737e7a0774da3c3824d654993cf57adc915cb04660212f03406334d8c0b/pprintpp-0.4.0.tar.gz" } ], "project_name": "pprintpp", "requires_dists": [], "requires_python": null, "version": "0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0", "url": "https://files.pythonhosted.org/packages/cf/9c/fb5d48abfe5d791cd496e4242ebcf87a4bb2e0c3dcd6e0ae68c11426a528/promise-2.3.tar.gz" } ], "project_name": "promise", "requires_dists": [ "coveralls; extra == \"test\"", "futures; extra == \"test\"", "mock; extra == \"test\"", "pytest-asyncio; extra == \"test\"", "pytest-benchmark; extra == \"test\"", "pytest-cov; extra == \"test\"", "pytest>=2.7.3; extra == \"test\"", "six", "typing>=3.6.4; python_version < \"3.5\"" ], "requires_python": null, "version": "2.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8961c3a78ebfcd000920c9060a262f082f29838682b1f7201889300c1fbe0616", "url": "https://files.pythonhosted.org/packages/c6/1c/f18d97fc479b4fb6f72bbb0e41188575362e3bbd31014cf294ef0fdec8bf/protobuf-3.19.4-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "7ca7da9c339ca8890d66958f5462beabd611eca6c958691a8fe6eccbd1eb0c6e", "url": "https://files.pythonhosted.org/packages/11/8f/3703b61ee707fbd9ea683d1642392af41338b8cd71d7fda76fc002a7e939/protobuf-3.19.4-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "48ed3877fa43e22bcacc852ca76d4775741f9709dd9575881a373bd3e85e54b2", "url": "https://files.pythonhosted.org/packages/2a/b8/c8282a5ccabc8aa6b4478f38da26d711458638a56b1790008783ad588792/protobuf-3.19.4-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "69da7d39e39942bd52848438462674c463e23963a1fdaa84d88df7fbd7e749b2", "url": "https://files.pythonhosted.org/packages/34/af/4b3cdb20ac3ee72ad9ed528c8653dbd1cee029f23e44209def0703119270/protobuf-3.19.4-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "b38057450a0c566cbd04890a40edf916db890f2818e8682221611d78dc32ae26", "url": "https://files.pythonhosted.org/packages/5c/71/f54505f67e12ddfa96adce2ac889206ab218c5671a933429a56ae63d156f/protobuf-3.19.4-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "9df0c10adf3e83015ced42a9a7bd64e13d06c4cf45c340d2c63020ea04499d0a", "url": "https://files.pythonhosted.org/packages/6c/49/f864b9fd6310d9a15ddae5b37d78dff1df0e2e1da476442fee062c6032b2/protobuf-3.19.4.tar.gz" }, { "algorithm": "sha256", "hash": "bd95d1dfb9c4f4563e6093a9aa19d9c186bf98fa54da5252531cc0d3a07977e7", "url": "https://files.pythonhosted.org/packages/d5/c8/64de54ef0121a1ff6309f102124c6b5a89260dc584e1871341f5199b7b85/protobuf-3.19.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "protobuf", "requires_dists": [], "requires_python": ">=3.5", "version": "3.19.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3151a58f0fbd8942ba94f7c31c7e6b310d2989f4da74fcbf28b934374e9bf841", "url": "https://files.pythonhosted.org/packages/62/d4/72fc44dfd9939851bd672e94e43d12848a98b1d2c3f6f794d54a220fe4a7/psutil-5.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "1070a9b287846a21a5d572d6dddd369517510b68710fca56b0e9e02fd24bed9a", "url": "https://files.pythonhosted.org/packages/0a/66/b2188d8e738ee52206a4ee804907f6eab5bcc9fc0e8486e7ab973a8323b7/psutil-5.9.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25", "url": "https://files.pythonhosted.org/packages/47/b6/ea8a7728f096a597f0032564e8013b705aa992a0990becd773dcc4d7b4a7/psutil-5.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "b2237f35c4bbae932ee98902a08050a27821f8f6dfa880a47195e5993af4702d", "url": "https://files.pythonhosted.org/packages/4c/95/3c0858c62ec02106cf5f3e79d74223264a6269a16996f31d5ab43abcec86/psutil-5.9.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "c3400cae15bdb449d518545cbd5b649117de54e3596ded84aacabfbb3297ead2", "url": "https://files.pythonhosted.org/packages/89/8e/2a8814f903bc06471621f6e0cd3fc1a7085868656106f31aacf2f844eea2/psutil-5.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "76cebf84aac1d6da5b63df11fe0d377b46b7b500d892284068bacccf12f20666", "url": "https://files.pythonhosted.org/packages/d0/cf/7a86fc08f821d66c528939f155079df7d0945678fc474c6a6455c909f6eb/psutil-5.9.0-cp38-cp38-win32.whl" } ], "project_name": "psutil", "requires_dists": [ "enum34; python_version <= \"3.4\" and extra == \"test\"", "ipaddress; python_version < \"3.0\" and extra == \"test\"", "mock; python_version < \"3.0\" and extra == \"test\"", "pywin32; sys_platform == \"win32\" and extra == \"test\"", "unittest2; python_version < \"3.0\" and extra == \"test\"", "wmi; sys_platform == \"win32\" and extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6", "version": "5.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8cd0fb36c7412996859cb4606a35969dd01f4ea34d9812a141cd920c3b18be77", "url": "https://files.pythonhosted.org/packages/90/20/25f1ab5810e1956029b8941c938672bbd4c72bdbe6ae14d68d59aaf24f96/psycopg2_binary-2.8.6-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "bd1be66dde2b82f80afb9459fc618216753f67109b859a361cf7def5c7968729", "url": "https://files.pythonhosted.org/packages/02/1b/549967f3ce5f6e3155380728dbb9d2844c286c7408e734db88d7b9c65847/psycopg2_binary-2.8.6-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "ba381aec3a5dc29634f20692349d73f2d21f17653bda1decf0b52b11d694541f", "url": "https://files.pythonhosted.org/packages/2c/85/c26507efb110f5a91f503e517f1db55f12ebecb001ff224b2cea234a07ef/psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl" }, { "algorithm": "sha256", "hash": "2dac98e85565d5688e8ab7bdea5446674a83a3945a8f416ad0110018d1501b94", "url": "https://files.pythonhosted.org/packages/b5/5a/985969fb49617701ddf10b8c6b3f53a2ffd7feaaf598277a94d62401c4d9/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a0c50db33c32594305b0ef9abc0cb7db13de7621d2cadf8392a1d9b3c437ef77", "url": "https://files.pythonhosted.org/packages/b8/63/06e08c2c19737c305777806113491f0b2beeec94a3cf4844844ea1c20f86/psycopg2_binary-2.8.6-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0", "url": "https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz" } ], "project_name": "psycopg2-binary", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.8.6" }, { "artifacts": [ { "algorithm": "sha256", "hash": "607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378", "url": "https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", "url": "https://files.pythonhosted.org/packages/98/ff/fec109ceb715d2a6b4c4a85a61af3b40c723a961e8828319fbcb15b868dc/py-1.11.0.tar.gz" } ], "project_name": "py", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d", "url": "https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba", "url": "https://files.pythonhosted.org/packages/a4/db/fffec68299e6d7bad3d504147f9094830b704527a7fc098b721d38cc7fa7/pyasn1-0.4.8.tar.gz" } ], "project_name": "pyasn1", "requires_dists": [], "requires_python": null, "version": "0.4.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74", "url": "https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e", "url": "https://files.pythonhosted.org/packages/88/87/72eb9ccf8a58021c542de2588a867dbefc7556e14b2866d1e40e9e2b587e/pyasn1-modules-0.2.8.tar.gz" } ], "project_name": "pyasn1-modules", "requires_dists": [ "pyasn1<0.5.0,>=0.4.6" ], "requires_python": null, "version": "0.2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20", "url": "https://files.pythonhosted.org/packages/15/94/bc43a2efb7b8615e38acde2b6624cae8c9ec86faf718ff5676c5179a7714/pycodestyle-2.8.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f", "url": "https://files.pythonhosted.org/packages/08/dc/b29daf0a202b03f57c19e7295b60d1d5e1281c45a6f5f573e41830819918/pycodestyle-2.8.0.tar.gz" } ], "project_name": "pycodestyle", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", "url": "https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206", "url": "https://files.pythonhosted.org/packages/5e/0b/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de/pycparser-2.21.tar.gz" } ], "project_name": "pycparser", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.21" }, { "artifacts": [ { "algorithm": "sha256", "hash": "085ca1de245782e9b46cefcf99deecc67d418737a1fd3f6a4f511344b613a5b3", "url": "https://files.pythonhosted.org/packages/d4/4e/00724eebf52854e65dabe2c190b4842afbda0e09817f415683a3130a123c/pydantic-1.9.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "5e48ef4a8b8c066c4a31409d91d7ca372a774d0212da2787c0d32f8045b1e034", "url": "https://files.pythonhosted.org/packages/04/dc/5105af75c5c91d776d4f427949b5a06dcec7f6053c2d509c1b24f6ac6385/pydantic-1.9.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "e0896200b6a40197405af18828da49f067c2fa1f821491bc8f5bde241ef3f7d7", "url": "https://files.pythonhosted.org/packages/25/49/6df23c8b5ffbac37c9d41260249be1c948ed430eecbf372a96d1068f0230/pydantic-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "c556695b699f648c58373b542534308922c46a1cda06ea47bc9ca45ef5b39ae6", "url": "https://files.pythonhosted.org/packages/29/76/abb6ece4dcba641e86dcd3a50b63420b388160e5751d90ae2fc5bb9c17e3/pydantic-1.9.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "96f240bce182ca7fe045c76bcebfa0b0534a1bf402ed05914a6f1dadff91877f", "url": "https://files.pythonhosted.org/packages/5f/ca/ec4b2597b7ace79a05300a2e7eff8713b55745312b2acc89f74bf73f8dfc/pydantic-1.9.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "742645059757a56ecd886faf4ed2441b9c0cd406079c2b4bee51bcc3fbcd510a", "url": "https://files.pythonhosted.org/packages/60/a3/23a8a9378ff06853bda6527a39fe317b088d760adf41cf70fc0f6110e485/pydantic-1.9.0.tar.gz" }, { "algorithm": "sha256", "hash": "574936363cd4b9eed8acdd6b80d0143162f2eb654d96cb3a8ee91d3e64bf4cf9", "url": "https://files.pythonhosted.org/packages/78/b0/fdedac2f07344035607bfbf42217c103a6421e7845fc3cb9fd07f3fa0d2e/pydantic-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "f947352c3434e8b937e3aa8f96f47bdfe6d92779e44bb3f41e4c213ba6a32145", "url": "https://files.pythonhosted.org/packages/9f/86/fdc1381a7f8473a6d96c197b71b47a936ed3a6db28a167a19736c9749cd9/pydantic-1.9.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "7bdfdadb5994b44bd5579cfa7c9b0e1b0e540c952d56f627eb227851cda9db77", "url": "https://files.pythonhosted.org/packages/d6/17/08817636de348f6621349ebaf7a046d7df3aa1f4927dea1f504604cfd13d/pydantic-1.9.0-cp38-cp38-macosx_11_0_arm64.whl" } ], "project_name": "pydantic", "requires_dists": [ "dataclasses>=0.6; python_version < \"3.7\"", "email-validator>=1.0.3; extra == \"email\"", "python-dotenv>=0.10.4; extra == \"dotenv\"", "typing-extensions>=3.7.4.3" ], "requires_python": ">=3.6.1", "version": "1.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b5dd8c4c0535854b6a52936d1256883a940e3b02006fc7118b53027c0acde181", "url": "https://files.pythonhosted.org/packages/a2/17/ff7ec2752f53ea245499b23ee64e76d12f45fcde7a5b1b445f9c58cd1ec0/pyDeprecate-0.3.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fa26870924d3475621c344045c2c01a16ba034113a902600c78e75b3fac5f72c", "url": "https://files.pythonhosted.org/packages/1b/93/bf1ab43f9306a6972762abc12104cd5b35d1e93f2a85cf4ab08a19ccf71b/pyDeprecate-0.3.1.tar.gz" } ], "project_name": "pydeprecate", "requires_dists": [], "requires_python": ">=3.6", "version": "0.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e", "url": "https://files.pythonhosted.org/packages/43/fb/38848eb494af7df9aeb2d7673ace8b213313eb7e391691a79dbaeb6a838f/pyflakes-2.4.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c", "url": "https://files.pythonhosted.org/packages/15/60/c577e54518086e98470e9088278247f4af1d39cb43bcbd731e2c307acd6a/pyflakes-2.4.0.tar.gz" } ], "project_name": "pyflakes", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "2.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65", "url": "https://files.pythonhosted.org/packages/1d/17/ed4d2df187995561b28f1073df24137cb750e12f9879d291cc8ab67c65d2/Pygments-2.11.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a", "url": "https://files.pythonhosted.org/packages/94/9c/cb656d06950268155f46d4f6ce25d7ffc51a0da47eadf1b164bbf23b718b/Pygments-2.11.2.tar.gz" } ], "project_name": "pygments", "requires_dists": [], "requires_python": ">=3.5", "version": "2.11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484", "url": "https://files.pythonhosted.org/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", "url": "https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b/pyparsing-3.0.7.tar.gz" } ], "project_name": "pyparsing", "requires_dists": [ "jinja2; extra == \"diagrams\"", "railroad-diagrams; extra == \"diagrams\"" ], "requires_python": ">=3.6", "version": "3.0.7" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b555252a95bbb2a37a97b5ac2eb050c436f7989993565f5e0c9128fcaacadd0e", "url": "https://files.pythonhosted.org/packages/36/e6/dea2b8cd72cf0600f3c2572fb5a48b01aa8e8fd8703c830dab972036c34c/pytest-7.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47", "url": "https://files.pythonhosted.org/packages/6e/1c/5a8a4ae3548eaa9a082a25cd6118f166d6bbe440300b3c57c4904cc47935/pytest-7.1.0.tar.gz" } ], "project_name": "pytest", "requires_dists": [ "argcomplete; extra == \"testing\"", "atomicwrites>=1.0; sys_platform == \"win32\"", "attrs>=19.2.0", "colorama; sys_platform == \"win32\"", "hypothesis>=3.56; extra == \"testing\"", "importlib-metadata>=0.12; python_version < \"3.8\"", "iniconfig", "mock; extra == \"testing\"", "nose; extra == \"testing\"", "packaging", "pluggy<2.0,>=0.12", "py>=1.8.2", "pygments>=2.7.2; extra == \"testing\"", "requests; extra == \"testing\"", "tomli>=1.0.0", "xmlschema; extra == \"testing\"" ], "requires_python": ">=3.7", "version": "7.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6", "url": "https://files.pythonhosted.org/packages/20/49/b3e0edec68d81846f519c602ac38af9db86e1e71275528b3e814ae236063/pytest_cov-3.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470", "url": "https://files.pythonhosted.org/packages/61/41/e046526849972555928a6d31c2068410e47a31fb5ab0a77f868596811329/pytest-cov-3.0.0.tar.gz" } ], "project_name": "pytest-cov", "requires_dists": [ "coverage[toml]>=5.2.1", "fields; extra == \"testing\"", "hunter; extra == \"testing\"", "process-tests; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=4.6", "six; extra == \"testing\"", "virtualenv; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a14097f4385665cb04330e6ae09a3dd430375f717e94482af6944470ad5f100", "url": "https://files.pythonhosted.org/packages/1b/8b/52cbf350699f5264eadd06355237648306487a9137874f00147647e4f87a/pytest-icdiff-0.5.tar.gz" } ], "project_name": "pytest-icdiff", "requires_dists": [ "icdiff", "pprintpp", "pytest" ], "requires_python": ">=3.6", "version": "0.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9", "url": "https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", "url": "https://files.pythonhosted.org/packages/4c/c4/13b4776ea2d76c115c1d1b84579f3764ee6d57204f6be27119f13a61d0a9/python-dateutil-2.8.2.tar.gz" } ], "project_name": "python-dateutil", "requires_dists": [ "six>=1.5" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "2.8.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "c86ed633ce8d25667797635db3ea1fe9fe6b51121d43d7031d5bdb4c5b046895", "url": "https://files.pythonhosted.org/packages/18/f1/f59b307f75db1886c96e396eec878501510677394868680b8d2b8b58c47c/pytorch_lightning-1.5.10-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "119e5a0ad0678444c0bbf95755da571e5e372ab12df7c6115ddd26e364a8ddfa", "url": "https://files.pythonhosted.org/packages/de/84/88b3bdc376d671c8ac165758a10ddb6ae1a3e034f78d75a96a1b8fdc644d/pytorch-lightning-1.5.10.tar.gz" } ], "project_name": "pytorch-lightning", "requires_dists": [ "PyYAML>=5.1", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"cpu\"", "cloudpickle>=1.3; extra == \"dev\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"cpu\"", "codecov>=2.1; extra == \"dev\"", "codecov>=2.1; extra == \"test\"", "comet-ml>=3.1.12; extra == \"all\"", "comet-ml>=3.1.12; extra == \"cpu\"", "comet-ml>=3.1.12; extra == \"dev\"", "comet-ml>=3.1.12; extra == \"loggers\"", "coverage<6.3,>5.2.0; extra == \"all\"", "coverage<6.3,>5.2.0; extra == \"cpu\"", "coverage<6.3,>5.2.0; extra == \"dev\"", "coverage<6.3,>5.2.0; extra == \"test\"", "flake8>=3.9.2; extra == \"all\"", "flake8>=3.9.2; extra == \"cpu\"", "flake8>=3.9.2; extra == \"dev\"", "flake8>=3.9.2; extra == \"test\"", "fsspec[http]!=2021.06.0,>=2021.05.0", "future>=0.17.1", "gcsfs>=2021.5.0; extra == \"all\"", "gcsfs>=2021.5.0; extra == \"cpu\"", "gcsfs>=2021.5.0; extra == \"cpu-extra\"", "gcsfs>=2021.5.0; extra == \"dev\"", "gcsfs>=2021.5.0; extra == \"extra\"", "gym>=0.17.0; extra == \"all\"", "gym>=0.17.0; extra == \"cpu\"", "gym>=0.17.0; extra == \"examples\"", "horovod>=0.21.2; extra == \"all\"", "horovod>=0.21.2; extra == \"dev\"", "horovod>=0.21.2; extra == \"extra\"", "hydra-core>=1.0.5; extra == \"all\"", "hydra-core>=1.0.5; extra == \"cpu\"", "hydra-core>=1.0.5; extra == \"cpu-extra\"", "hydra-core>=1.0.5; extra == \"dev\"", "hydra-core>=1.0.5; extra == \"extra\"", "ipython[all]; extra == \"all\"", "ipython[all]; extra == \"cpu\"", "ipython[all]; extra == \"examples\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"all\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"cpu-extra\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"dev\"", "jsonargparse[signatures]<5.0.0,>=4.0.4; extra == \"extra\"", "matplotlib>3.1; extra == \"all\"", "matplotlib>3.1; extra == \"cpu\"", "matplotlib>3.1; extra == \"cpu-extra\"", "matplotlib>3.1; extra == \"dev\"", "matplotlib>3.1; extra == \"extra\"", "mlflow>=1.0.0; extra == \"all\"", "mlflow>=1.0.0; extra == \"cpu\"", "mlflow>=1.0.0; extra == \"dev\"", "mlflow>=1.0.0; extra == \"loggers\"", "mypy>=0.920; extra == \"all\"", "mypy>=0.920; extra == \"cpu\"", "mypy>=0.920; extra == \"dev\"", "mypy>=0.920; extra == \"test\"", "neptune-client>=0.10.0; extra == \"all\"", "neptune-client>=0.10.0; extra == \"cpu\"", "neptune-client>=0.10.0; extra == \"dev\"", "neptune-client>=0.10.0; extra == \"loggers\"", "numpy>=1.17.2", "omegaconf>=2.0.5; extra == \"all\"", "omegaconf>=2.0.5; extra == \"cpu\"", "omegaconf>=2.0.5; extra == \"cpu-extra\"", "omegaconf>=2.0.5; extra == \"dev\"", "omegaconf>=2.0.5; extra == \"extra\"", "onnxruntime; extra == \"all\"", "onnxruntime; extra == \"cpu\"", "onnxruntime; extra == \"dev\"", "onnxruntime; extra == \"test\"", "packaging>=17.0", "pandas; extra == \"all\"", "pandas; extra == \"cpu\"", "pandas; extra == \"dev\"", "pandas; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"cpu\"", "pre-commit>=1.0; extra == \"dev\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.1", "pytest-rerunfailures>=10.2; extra == \"all\"", "pytest-rerunfailures>=10.2; extra == \"cpu\"", "pytest-rerunfailures>=10.2; extra == \"dev\"", "pytest-rerunfailures>=10.2; extra == \"test\"", "pytest>=6.0; extra == \"all\"", "pytest>=6.0; extra == \"cpu\"", "pytest>=6.0; extra == \"dev\"", "pytest>=6.0; extra == \"test\"", "rich>=10.2.2; extra == \"all\"", "rich>=10.2.2; extra == \"cpu\"", "rich>=10.2.2; extra == \"cpu-extra\"", "rich>=10.2.2; extra == \"dev\"", "rich>=10.2.2; extra == \"extra\"", "scikit-learn>0.22.1; extra == \"all\"", "scikit-learn>0.22.1; extra == \"cpu\"", "scikit-learn>0.22.1; extra == \"dev\"", "scikit-learn>0.22.1; extra == \"test\"", "setuptools==59.5.0", "tensorboard>=2.2.0", "test-tube>=0.7.5; extra == \"all\"", "test-tube>=0.7.5; extra == \"cpu\"", "test-tube>=0.7.5; extra == \"dev\"", "test-tube>=0.7.5; extra == \"loggers\"", "torch>=1.7.*", "torchmetrics>=0.4.1", "torchtext>=0.8.*; extra == \"all\"", "torchtext>=0.8.*; extra == \"cpu\"", "torchtext>=0.8.*; extra == \"cpu-extra\"", "torchtext>=0.8.*; extra == \"dev\"", "torchtext>=0.8.*; extra == \"extra\"", "torchvision>=0.8.*; extra == \"all\"", "torchvision>=0.8.*; extra == \"cpu\"", "torchvision>=0.8.*; extra == \"examples\"", "tqdm>=4.41.0", "twine==3.2; extra == \"all\"", "twine==3.2; extra == \"cpu\"", "twine==3.2; extra == \"dev\"", "twine==3.2; extra == \"test\"", "typing-extensions", "wandb>=0.8.21; extra == \"all\"", "wandb>=0.8.21; extra == \"cpu\"", "wandb>=0.8.21; extra == \"dev\"", "wandb>=0.8.21; extra == \"loggers\"" ], "requires_python": ">=3.6", "version": "1.5.10" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3383d106fa8da0c2df30401ad056cd7a11b76d885f4bfa16ca7bcc6b4ca2831c", "url": "https://files.pythonhosted.org/packages/28/53/d8eaf1ffe27fb239c61c1b73a8f936bc7e66632b8cab08b5bdedb9fdeda5/PyWavelets-1.3.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "a555a7a85da01357d8258cb45f751881f69013f8920f8738718c60cf8a47b755", "url": "https://files.pythonhosted.org/packages/09/80/a85831bbf6dcd886435726822b972de7bd533fc0e71bb9a205d02d71684a/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "a51225d24811ba7ef5184c03bb7072db0aa9651c4370a115d4069dedfb8d2f7a", "url": "https://files.pythonhosted.org/packages/25/2c/eae94f875a0f6a60baa3907563c0c685bc17d23cae1b92fa5404d66adbd2/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "cbaa9d62052d9daf8da765fc8e7c30c38ea2b8e9e1c18841913dfb4aec671ee5", "url": "https://files.pythonhosted.org/packages/32/ab/b96b19cae562aecaa57f0cdb501be169a38ec685ddcc91f1de20f849b22e/PyWavelets-1.3.0.tar.gz" }, { "algorithm": "sha256", "hash": "307ab8a4c3e5c2b8f7d3d371de4a5f019cf4b030b897c3394a4a7ad157369367", "url": "https://files.pythonhosted.org/packages/3c/f4/b14e863a7f4b146c090d9c70cd130938c4616fbc02877eef4fc747abe6a5/PyWavelets-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "d7369597e1b1d125eb4b458a36cef052beed188444e55ed21445c1196008e200", "url": "https://files.pythonhosted.org/packages/4b/20/04a0a3e43a45a459c2bcde756833b2eca9430729e89d65da35f70e99e997/PyWavelets-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "69e9a46facf89b51e5700d10f6d831f29745471c1ab42917f2f849a257b9fd77", "url": "https://files.pythonhosted.org/packages/96/e2/a4c51bb664f3605ef7a1ca644606fd95e8ea416519585f863a99ecb7678b/PyWavelets-1.3.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "27e99818d3c26481de3c68dbe880a7fcafe661cc031b22eff4a64237fe17a7ff", "url": "https://files.pythonhosted.org/packages/a8/37/f2ed3819e8d4091cb021f9fcdb30c4266cb0625c0a34e8678e6d66fde6f1/PyWavelets-1.3.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8a5941d1f4eb1bc9569c655b63ecb31aa15b3ef0fc9b57df275892c39bccc59e", "url": "https://files.pythonhosted.org/packages/ea/16/f74ccb794053560dcb0a50d65f29c9c607ca9d8859ed4489e5a6df671303/PyWavelets-1.3.0-cp38-cp38-macosx_10_13_universal2.whl" } ], "project_name": "pywavelets", "requires_dists": [ "numpy>=1.17.3" ], "requires_python": ">=3.7", "version": "1.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0f5f5786c0e09baddcd8b4b45f20a7b5d61a7e7e99846e3c799b05c7c53fa696", "url": "https://files.pythonhosted.org/packages/97/d3/24097209f6af04fcdbb40500480a0feaa62164e60bca4c9532f0e9354e47/PyYAML-5.4.1-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "fd7f6999a8070df521b6384004ef42833b9bd62cfee11a09bda1079b4b704247", "url": "https://files.pythonhosted.org/packages/06/2f/c03b2b7e6fcda2793f751c82bd2c488d4bd064720edffa2fdda9a422bec2/PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "fa5ae20527d8e831e8230cbffd9f8fe952815b2b7dae6ffec25318803a7528fc", "url": "https://files.pythonhosted.org/packages/42/55/8f1ccdce64a42eb72d5509057d53badfeaa08814cea4d1d11cadaa2d2b3d/PyYAML-5.4.1-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "8c1be557ee92a20f184922c7b6424e8ab6691788e6d86137c5d93c1a6ec1b8fb", "url": "https://files.pythonhosted.org/packages/70/96/c7245e551b1cb496bfb95840ace55ca60f20d3d8e33d70faf8c78a976899/PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e", "url": "https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz" }, { "algorithm": "sha256", "hash": "d2d9808ea7b4af864f35ea216be506ecec180628aced0704e34aca0b040ffe46", "url": "https://files.pythonhosted.org/packages/cb/3f/2f35751408c0b2a425aa48dd79301a48418858d3366f84c75d1aa42b6e2d/PyYAML-5.4.1-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "bfb51918d4ff3d77c1c856a9699f8492c612cde32fd3bcd344af9be34999bfdc", "url": "https://files.pythonhosted.org/packages/d6/0d/4820527144e18e35488e6253a8b886ed0b90491fb8fff48c11ff71542529/PyYAML-5.4.1-cp38-cp38-manylinux2014_s390x.whl" } ], "project_name": "pyyaml", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "5.4.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4519714c40cd0f2e6c51e1735edae8f8b19f4efe1f33be13e9d644ca5f736dd6", "url": "https://files.pythonhosted.org/packages/f0/a1/a5f4bebaa31d109003909809d88aeb0d4b201463a9ea29308d9e4f9e7655/qudida-0.0.4-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "db198e2887ab0c9aa0023e565afbff41dfb76b361f85fd5e13f780d75ba18cc8", "url": "https://files.pythonhosted.org/packages/3e/2d/bab8babd9dc9a9e4df6eb115540cee4322c1a74078fb6f3b3ebc452a22b3/qudida-0.0.4.tar.gz" } ], "project_name": "qudida", "requires_dists": [ "numpy>=0.18.0", "opencv-python-headless>=4.0.1", "scikit-learn>=0.19.1", "typing-extensions" ], "requires_python": ">=3.5.0", "version": "0.0.4" }, { "artifacts": [ { "algorithm": "sha256", "hash": "f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d", "url": "https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61", "url": "https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz" } ], "project_name": "requests", "requires_dists": [ "PySocks!=1.5.7,>=1.5.6; extra == \"socks\"", "certifi>=2017.4.17", "chardet<5,>=3.0.2; extra == \"use_chardet_on_py3\"", "chardet<5,>=3.0.2; python_version < \"3\"", "charset-normalizer~=2.0.0; python_version >= \"3\"", "idna<3,>=2.5; python_version < \"3\"", "idna<4,>=2.5; python_version >= \"3\"", "urllib3<1.27,>=1.21.1", "win-inet-pton; (sys_platform == \"win32\" and python_version == \"2.7\") and extra == \"socks\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "2.27.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2577c501a2fb8d05a304c09d090d6e47c306fef15809d102b327cf8364bddab5", "url": "https://files.pythonhosted.org/packages/6f/bb/5deac77a9af870143c684ab46a7934038a53eb4aa975bc0687ed6ca2c610/requests_oauthlib-1.3.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "75beac4a47881eeb94d5ea5d6ad31ef88856affe2332b9aafb52c6452ccf0d7a", "url": "https://files.pythonhosted.org/packages/95/52/531ef197b426646f26b53815a7d2a67cb7a331ef098bb276db26a68ac49f/requests-oauthlib-1.3.1.tar.gz" } ], "project_name": "requests-oauthlib", "requires_dists": [ "oauthlib>=3.0.0", "oauthlib[signedtoken]>=3.0.0; extra == \"rsa\"", "requests>=2.0.0" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "1.3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d5f49ad91fb343efcae45a2b2df04a9755e863e50413623ab8c9e74f05aee52b", "url": "https://files.pythonhosted.org/packages/74/41/6adf6aeb9b3d4a058a82fd053cbb6824432269caa0998574cb766c555287/rich-11.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a6266a5738115017bb64a66c59c717e7aa047b3ae49a011ede4abdeffc6536e", "url": "https://files.pythonhosted.org/packages/72/de/b3a53cf1dfdbdc124e8110a60d6c6da8e39d4610c82491fc862383960552/rich-11.2.0.tar.gz" } ], "project_name": "rich", "requires_dists": [ "colorama<0.5.0,>=0.4.0", "commonmark<0.10.0,>=0.9.0", "dataclasses<0.9,>=0.7; python_version < \"3.7\"", "ipywidgets<8.0.0,>=7.5.1; extra == \"jupyter\"", "pygments<3.0.0,>=2.6.0", "typing-extensions<5.0,>=3.7.4; python_version < \"3.8\"" ], "requires_python": "<4.0.0,>=3.6.2", "version": "11.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "78f9a9bf4e7be0c5ded4583326e7461e3a3c5aae24073648b4bdfa797d78c9d2", "url": "https://files.pythonhosted.org/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9", "url": "https://files.pythonhosted.org/packages/db/b5/475c45a58650b0580421746504b680cd2db4e81bc941e94ca53785250269/rsa-4.7.2.tar.gz" } ], "project_name": "rsa", "requires_dists": [ "pyasn1>=0.1.3" ], "requires_python": "<4,>=3.5", "version": "4.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "62cc021e4b192942cb51667a4b5299e948476f318838df7a693ed7a3628fcb8d", "url": "https://files.pythonhosted.org/packages/ff/10/683249cebdb8893fefdc08d8260eba7f4bacc908281b54f01f25f679ae32/s3fs-2022.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "4611d0f7e41e5bc9dac3009070e0ad37da87a42f6def75b4813c06f7e404a738", "url": "https://files.pythonhosted.org/packages/68/8d/f04b74e58637399e57f2da566553a07b1370d45b798e0a15ae34aa1db01a/s3fs-2022.2.0.tar.gz" } ], "project_name": "s3fs", "requires_dists": [ "aiobotocore[awscli]~=2.1.0; extra == \"awscli\"", "aiobotocore[boto3]~=2.1.0; extra == \"boto3\"", "aiobotocore~=2.1.0", "aiohttp<=4", "fsspec==2022.02.0" ], "requires_python": ">=3.7", "version": "2022.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7a6f4c4d1fdb9a2b640244008e142cbc2cd3ae34b386584ef044dd0f27101971", "url": "https://files.pythonhosted.org/packages/7b/9c/f51775ebe7df5a7aa4e7c79ed671bde94e154bd968aca8d65bb24aba0c8c/s3transfer-0.5.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "95c58c194ce657a5f4fb0b9e60a84968c808888aed628cd98ab8771fe1db98ed", "url": "https://files.pythonhosted.org/packages/7e/19/f82e4af435a19b28bdbfba63f338ea20a264f4df4beaf8f2ab9bfa34072b/s3transfer-0.5.2.tar.gz" } ], "project_name": "s3transfer", "requires_dists": [ "botocore<2.0a.0,>=1.12.36", "botocore[crt]<2.0a.0,>=1.20.29; extra == \"crt\"" ], "requires_python": ">=3.6", "version": "0.5.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0f294ed7f0ea1e90fb6c764d04b8c298096b3403fad7539b9c6f22777d879c6", "url": "https://files.pythonhosted.org/packages/97/b0/3476439c9d4a85e3040bb3a5645fe32013bd41537eb3dab5efd048602fc1/scikit_image-0.19.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d3d0a85c6f53f0d4f704e67b35b3e8c6570846ec37eaeb1ca0f47a1088708cb8", "url": "https://files.pythonhosted.org/packages/38/51/28cd7d4b98a3c4ab0a920ecdc28148f2f6fd7748e5da19fa827acd8317d0/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "aa40f84383961a1a4afebb92f373e42a3d86e2540f012a4f7d2661a417f9e995", "url": "https://files.pythonhosted.org/packages/4d/a1/f1cce8ac5c244f75d196f937b87f7aae6096862e79c8ae4f0b6b643a449e/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "d2c022044eb762d3f03ed6e08a3e06c067953393036e4ca2bf16b0bffde36acb", "url": "https://files.pythonhosted.org/packages/7b/45/bc519bbc94fb3ef52c816a17709d7875bbd5028ba0071b4c798a86f550ee/scikit_image-0.19.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "d433b4642a6f8219e749dfbbe4b5e742d560996540c9749ede510274d061866d", "url": "https://files.pythonhosted.org/packages/83/7d/756dcbf1f2fcbfd60e14842aeadefa2354eff714ed4ec3ae7a107a5787d1/scikit-image-0.19.2.tar.gz" }, { "algorithm": "sha256", "hash": "5ab19b11bd5f836a3de07f087d24db5ea734365122956f53dc5c5c9e018e2ec0", "url": "https://files.pythonhosted.org/packages/88/96/2ab19541e2775babf3799e5dff5e47f2a7ce70477c91e7efde8fdeabe8b4/scikit_image-0.19.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "cabf07a7886861510d4a39ed64fc121708fb7d72a6fe601d87388d36240f4242", "url": "https://files.pythonhosted.org/packages/9c/59/e9e2d8f001df1554b9f501cab52554dc2c173adb34ef029a6c958d233a32/scikit_image-0.19.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "cd115a4412b4561d62036e309c8cb543bfc2ca6b7b184ac23a65f6350959a716", "url": "https://files.pythonhosted.org/packages/fd/96/cd5eca8c528b3ebe666835e3748f07ca4daf3ed5b010cae7a76fa238b7e6/scikit_image-0.19.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "scikit-image", "requires_dists": [ "PyWavelets>=1.1.1", "SimpleITK; extra == \"optional\"", "astropy>=3.1.2; extra == \"optional\"", "asv; extra == \"test\"", "cloudpickle>=0.2.1; extra == \"docs\"", "cloudpickle>=0.2.1; extra == \"optional\"", "codecov; extra == \"test\"", "dask[array]!=2.17.0,>=0.15.0; extra == \"docs\"", "dask[array]!=2.17.0,>=1.0.0; extra == \"optional\"", "flake8; extra == \"test\"", "imageio>=2.4.1", "ipywidgets; extra == \"docs\"", "kaleido; extra == \"docs\"", "matplotlib>=3.0.3; extra == \"optional\"", "matplotlib>=3.0.3; extra == \"test\"", "matplotlib>=3.3; extra == \"docs\"", "myst-parser; extra == \"docs\"", "networkx>=2.2", "numpy>=1.17.0", "numpydoc>=1.0; extra == \"docs\"", "packaging>=20.0", "pandas>=0.23.0; extra == \"docs\"", "pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0", "plotly>=4.14.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"data\"", "pooch>=1.3.0; extra == \"docs\"", "pooch>=1.3.0; extra == \"optional\"", "pooch>=1.3.0; extra == \"test\"", "pyamg; extra == \"optional\"", "pytest-cov>=2.7.0; extra == \"test\"", "pytest-faulthandler; extra == \"test\"", "pytest-localserver; extra == \"test\"", "pytest-runner; extra == \"docs\"", "pytest>=5.2.0; extra == \"test\"", "qtpy; extra == \"optional\"", "scikit-learn; extra == \"docs\"", "scipy>=1.4.1", "seaborn>=0.7.1; extra == \"docs\"", "sphinx-copybutton; extra == \"docs\"", "sphinx-gallery>=0.10.1; extra == \"docs\"", "sphinx>=1.8; extra == \"docs\"", "tifffile>=2019.7.26", "tifffile>=2020.5.30; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "0.19.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7626a34eabbf370a638f32d1a3ad50526844ba58d63e3ab81ba91e2a7c6d037e", "url": "https://files.pythonhosted.org/packages/50/f5/2bfd87943a29870bdbe00346c9f3b0545dd7a188201297a33189f866f04e/scikit_learn-1.0.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "5cb33fe1dc6f73dc19e67b264dbb5dde2a0539b986435fdd78ed978c14654830", "url": "https://files.pythonhosted.org/packages/0d/18/883dd0dc906a30ddd06be9412f2c84776900e6091497f70e78346ee7851f/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "bc3744dabc56b50bec73624aeca02e0def06b03cb287de26836e730659c5d29c", "url": "https://files.pythonhosted.org/packages/40/d3/206905d836cd496c1f78a15ef92a0f0477d74113b4f349342bf31dfd62ca/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "ff3fa8ea0e09e38677762afc6e14cad77b5e125b0ea70c9bba1992f02c93b028", "url": "https://files.pythonhosted.org/packages/44/95/bf3bdfd6b8d93b79728b3193aba7e1c44f5518b648ed72c4ceb6f5d7d670/scikit_learn-1.0.2-cp38-cp38-macosx_10_13_x86_64.whl" }, { "algorithm": "sha256", "hash": "b1391d1a6e2268485a63c3073111fe3ba6ec5145fc957481cfd0652be571226d", "url": "https://files.pythonhosted.org/packages/6a/f4/a655d7421579783fc49d19a5b28cac994cff998268f7353029e8ea02ff78/scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "b5870959a5484b614f26d31ca4c17524b1b0317522199dc985c3b4256e030767", "url": "https://files.pythonhosted.org/packages/75/44/074b780d8ac0b0899937e9b8ba6d5d8873a71b99aa915219251ef85a8890/scikit-learn-1.0.2.tar.gz" }, { "algorithm": "sha256", "hash": "285db0352e635b9e3392b0b426bc48c3b485512d3b4ac3c7a44ec2a2ba061e66", "url": "https://files.pythonhosted.org/packages/7e/2c/27fcd754e40eb176f4ea261042194a8a39b4cebb6f4cf8557c41014019dc/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "7d6b2475f1c23a698b48515217eb26b45a6598c7b1840ba23b3c5acece658dbb", "url": "https://files.pythonhosted.org/packages/7e/d4/e7087c1083c051c67707005ee65bb5c9c84761cedc09dea2c670c5559e2b/scikit_learn-1.0.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "9369b030e155f8188743eb4893ac17a27f81d28a884af460870c7c072f114243", "url": "https://files.pythonhosted.org/packages/8b/f1/e9097e4dd7ffc26e0e578e598e9dade3e5f16eb80058ca6fad28fbebccaa/scikit_learn-1.0.2-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "a999c9f02ff9570c783069f1074f06fe7386ec65b84c983db5aeb8144356a355", "url": "https://files.pythonhosted.org/packages/a4/41/d3c747b3542bc4ad3c68e8e042f791abf78365eb90b25742c33679a361a1/scikit_learn-1.0.2-cp38-cp38-win32.whl" } ], "project_name": "scikit-learn", "requires_dists": [ "Pillow>=7.1.2; extra == \"docs\"", "black>=21.6b0; extra == \"tests\"", "flake8>=3.8.2; extra == \"tests\"", "joblib>=0.11", "matplotlib>=2.2.3; extra == \"benchmark\"", "matplotlib>=2.2.3; extra == \"docs\"", "matplotlib>=2.2.3; extra == \"examples\"", "matplotlib>=2.2.3; extra == \"tests\"", "memory-profiler>=0.57.0; extra == \"benchmark\"", "memory-profiler>=0.57.0; extra == \"docs\"", "mypy>=0.770; extra == \"tests\"", "numpy>=1.14.6", "numpydoc>=1.0.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"benchmark\"", "pandas>=0.25.0; extra == \"docs\"", "pandas>=0.25.0; extra == \"examples\"", "pandas>=0.25.0; extra == \"tests\"", "pyamg>=4.0.0; extra == \"tests\"", "pytest-cov>=2.9.0; extra == \"tests\"", "pytest>=5.0.1; extra == \"tests\"", "scikit-image>=0.14.5; extra == \"docs\"", "scikit-image>=0.14.5; extra == \"examples\"", "scikit-image>=0.14.5; extra == \"tests\"", "scipy>=1.1.0", "seaborn>=0.9.0; extra == \"docs\"", "seaborn>=0.9.0; extra == \"examples\"", "sphinx-gallery>=0.7.0; extra == \"docs\"", "sphinx-prompt>=1.3.0; extra == \"docs\"", "sphinx>=4.0.1; extra == \"docs\"", "sphinxext-opengraph>=0.4.2; extra == \"docs\"", "threadpoolctl>=2.0.0" ], "requires_python": ">=3.7", "version": "1.0.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "5e73343c5e0d413c1f937302b2e04fb07872f5843041bcfd50699aef6e95e399", "url": "https://files.pythonhosted.org/packages/56/a3/591dbf477c35f173279afa7b9ba8e13d9c7c3d001e09aebbf6100aae33a8/scipy-1.8.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "38aa39b6724cb65271e469013aeb6f2ce66fd44f093e241c28a9c6bc64fd79ed", "url": "https://files.pythonhosted.org/packages/0c/a5/dca69d5ddb81da167d434f72b0ecfa10f68bf99b648fc49e4d9db81dff1c/scipy-1.8.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "559a8a4c03a5ba9fe3232f39ed24f86457e4f3f6c0abbeae1fb945029f092720", "url": "https://files.pythonhosted.org/packages/70/ba/82877dfa10828cb585cff9df6d87a66564a0571859c15488d16a9413598a/scipy-1.8.0-cp38-cp38-macosx_12_0_arm64.whl" }, { "algorithm": "sha256", "hash": "92b2c2af4183ed09afb595709a8ef5783b2baf7f41e26ece24e1329c109691a7", "url": "https://files.pythonhosted.org/packages/84/d1/74a1e3b528556bdb94a1360e731eb838ffcb05106ea95eb8ba4af85f71e6/scipy-1.8.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd", "url": "https://files.pythonhosted.org/packages/b4/a2/4faa34bf0cdbefd5c706625f1234987795f368eb4e97bde9d6f46860843e/scipy-1.8.0.tar.gz" }, { "algorithm": "sha256", "hash": "a279e27c7f4566ef18bab1b1e2c37d168e365080974758d107e7d237d3f0f484", "url": "https://files.pythonhosted.org/packages/bd/84/6f6218c338e1fa77f715e2db777b162bf1e4535289cf462ee3f002612ed6/scipy-1.8.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "ad5be4039147c808e64f99c0e8a9641eb5d2fa079ff5894dcd8240e94e347af4", "url": "https://files.pythonhosted.org/packages/d2/27/b2648569175ba233cb6ad13029f8df4049a581c268156c5dd1db5ca44a8c/scipy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "3d9dd6c8b93a22bf9a3a52d1327aca7e092b1299fb3afc4f89e8eba381be7b59", "url": "https://files.pythonhosted.org/packages/e5/2c/fd50b818174554057294ea7f788bd3f8d448bb0f9cbefeeaf8e19067bee0/scipy-1.8.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "f4a6d3b9f9797eb2d43938ac2c5d96d02aed17ef170c8b38f11798717523ddba", "url": "https://files.pythonhosted.org/packages/f4/45/9b57c6fd181f5031d99e1395b3cc3bc83653ff064c614ff211882bd85d50/scipy-1.8.0-cp38-cp38-macosx_12_0_universal2.macosx_10_9_x86_64.whl" } ], "project_name": "scipy", "requires_dists": [ "numpy<1.25.0,>=1.17.3" ], "requires_python": "<3.11,>=3.8", "version": "1.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "32af1a57954576709242beb8c373b3dbde346ac6bd616921def29d68846fb8c3", "url": "https://files.pythonhosted.org/packages/87/54/0a04c906c97073119e4030c9f4d86e8fe70c93aee1b3bc5670257b76eab0/sentry_sdk-1.5.8-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "38fd16a92b5ef94203db3ece10e03bdaa291481dd7e00e77a148aa0302267d47", "url": "https://files.pythonhosted.org/packages/74/74/82f06055ccbcb05ba84b942346acf39f342fdf3937f2638cb780dac3f125/sentry-sdk-1.5.8.tar.gz" } ], "project_name": "sentry-sdk", "requires_dists": [ "aiohttp>=3.5; extra == \"aiohttp\"", "apache-beam>=2.12; extra == \"beam\"", "asttokens; extra == \"pure_eval\"", "blinker>=1.1; extra == \"flask\"", "blinker>=1.1; extra == \"quart\"", "bottle>=0.12.13; extra == \"bottle\"", "celery>=3; extra == \"celery\"", "certifi", "chalice>=1.16.0; extra == \"chalice\"", "django>=1.8; extra == \"django\"", "executing; extra == \"pure_eval\"", "falcon>=1.4; extra == \"falcon\"", "flask>=0.11; extra == \"flask\"", "httpx>=0.16.0; extra == \"httpx\"", "pure-eval; extra == \"pure_eval\"", "pyspark>=2.4.4; extra == \"pyspark\"", "quart>=0.16.1; extra == \"quart\"", "rq>=0.6; extra == \"rq\"", "sanic>=0.8; extra == \"sanic\"", "sqlalchemy>=1.2; extra == \"sqlalchemy\"", "tornado>=5; extra == \"tornado\"", "urllib3>=1.10.0" ], "requires_python": null, "version": "1.5.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "0d160d46c8f3567e0aa27b26b1f36e03122e3de475aacacc14a92b8fe45b648a", "url": "https://files.pythonhosted.org/packages/38/7e/6794cfb1d910d982221f08b0617737e454470b53d67fbb3cf831ab891b81/setproctitle-1.2.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "e13a5c1d9c369cb11cdfc4b75be432b83eb3205c95a69006008ffd4366f87b9e", "url": "https://files.pythonhosted.org/packages/21/8a/32fdafc0664c681507df24dbaa7c28f823a5289f03e663c51dae7f3a3278/setproctitle-1.2.2-cp38-cp38-manylinux1_i686.whl" }, { "algorithm": "sha256", "hash": "c611f65bc9de5391a1514de556f71101e6531bb0715d240efd3e9732626d5c9e", "url": "https://files.pythonhosted.org/packages/3c/dc/00fb59a01ed15134e6ccdd450e629418431fe9a6433b2ee9479c27660ae3/setproctitle-1.2.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "17598f38be9ef499d74f2380bf76b558be72e87da75d66b153350e586649171b", "url": "https://files.pythonhosted.org/packages/4c/6b/a70de194afd9b65253180603a80cb19109d7c00d45c44b3454c06b822ffb/setproctitle-1.2.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bc4393576ed3ac87ddac7d1bd0faaa2fab24840a025cc5f3c21d14cf0c9c8a12", "url": "https://files.pythonhosted.org/packages/7d/e1/761a1e90ac68b92e296025e7e93b24f4e0f46f92d5ae86108228312f2b22/setproctitle-1.2.2-cp38-cp38-manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "7dfb472c8852403d34007e01d6e3c68c57eb66433fb8a5c77b13b89a160d97df", "url": "https://files.pythonhosted.org/packages/a1/7f/a1d4f4c7b66f0fc02f35dc5c85f45a8b4e4a7988357a29e61c14e725ef86/setproctitle-1.2.2.tar.gz" } ], "project_name": "setproctitle", "requires_dists": [ "pytest<6.2,>=6.1; extra == \"test\"" ], "requires_python": ">=3.6", "version": "1.2.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "6d10741ff20b89cd8c6a536ee9dc90d3002dec0226c78fb98605bfb9ef8a7adf", "url": "https://files.pythonhosted.org/packages/40/a9/7deac76c58fa47c95360116a06b53b9b62f6db11336fe61b6ab53784d98b/setuptools-59.5.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2fa4fad0", "url": "https://files.pythonhosted.org/packages/e6/e2/f2bfdf364e016f7a464db709ea40d1101c4c5a463dd7019dae0a42dbd1c6/setuptools-59.5.0.tar.gz" } ], "project_name": "setuptools", "requires_dists": [ "flake8-2020; extra == \"testing\"", "furo; extra == \"docs\"", "jaraco.envs>=2.2; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "jaraco.path>=3.2.0; extra == \"testing\"", "jaraco.tidelift>=1.4; extra == \"docs\"", "mock; extra == \"testing\"", "paver; extra == \"testing\"", "pip>=19.1; extra == \"testing\"", "pygments-github-lexers==0.0.5; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-virtualenv>=1.2.7; extra == \"testing\"", "pytest-xdist; extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx-inline-tabs; extra == \"docs\"", "sphinx; extra == \"docs\"", "sphinx; extra == \"testing\"", "sphinxcontrib-towncrier; extra == \"docs\"", "virtualenv>=13.0.0; extra == \"testing\"", "wheel; extra == \"testing\"" ], "requires_python": ">=3.6", "version": "59.5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44a7a86bcf24dbaba2e626cf80c779926b7c3a0d31a3a013e0d3cd1077707d23", "url": "https://files.pythonhosted.org/packages/22/1b/dda73524fc8dd5cd3b80adcc585a49b3f43f8889453d2ed96291b2fcc860/shortuuid-1.0.8-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23", "url": "https://files.pythonhosted.org/packages/ce/c2/31dc2345d8e06711f3da9d65e3a72a060293057321815bc7f11a930c2529/shortuuid-1.0.8.tar.gz" } ], "project_name": "shortuuid", "requires_dists": [], "requires_python": ">=3.5", "version": "1.0.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", "url": "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "url": "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" } ], "project_name": "six", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7", "version": "1.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94", "url": "https://files.pythonhosted.org/packages/6d/01/7caa71608bc29952ae09b0be63a539e50d2484bc37747797a66a60679856/smmap-5.0.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936", "url": "https://files.pythonhosted.org/packages/21/2d/39c6c57032f786f1965022563eec60623bb3e1409ade6ad834ff703724f3/smmap-5.0.0.tar.gz" } ], "project_name": "smmap", "requires_dists": [], "requires_python": ">=3.6", "version": "5" }, { "artifacts": [ { "algorithm": "sha256", "hash": "471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663", "url": "https://files.pythonhosted.org/packages/52/b0/7b2e028b63d092804b6794595871f936aafa5e9322dcaaad50ebf67445b3/sniffio-1.2.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de", "url": "https://files.pythonhosted.org/packages/a6/ae/44ed7978bcb1f6337a3e2bef19c941de750d73243fc9389140d62853b686/sniffio-1.2.0.tar.gz" } ], "project_name": "sniffio", "requires_dists": [ "contextvars>=2.1; python_version < \"3.7\"" ], "requires_python": ">=3.5", "version": "1.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "7ff72b3cc9242d1a1c9b84bd945907bf174d74fc2519efe6184d6390a8df478b", "url": "https://files.pythonhosted.org/packages/75/0a/782bcbe409cc765778613114b3d8fab2a507d2dc59693aeb92d203516c50/SQLAlchemy-1.4.32-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "6fdd2dc5931daab778c2b65b03df6ae68376e028a3098eb624d0909d999885bc", "url": "https://files.pythonhosted.org/packages/7a/9f/ace7376a3ab45adf0f7169a5d8d60707c04b171b72a18bb23d505f83f362/SQLAlchemy-1.4.32.tar.gz" }, { "algorithm": "sha256", "hash": "5a2e73508f939175363d8a4be9dcdc84cf16a92578d7fa86e6e4ca0e6b3667b2", "url": "https://files.pythonhosted.org/packages/86/f1/0b58ca845cd3e0526a219f83c39114ee0a06de8d398f5e21a8781a6033fe/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "dd93162615870c976dba43963a24bb418b28448fef584f30755990c134a06a55", "url": "https://files.pythonhosted.org/packages/8b/18/4c91eccaf0174006a8981e783a493fbacafa4c344cc78fefc9b2872cde0d/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "3f88a4ee192142eeed3fe173f673ea6ab1f5a863810a9d85dbf6c67a9bd08f97", "url": "https://files.pythonhosted.org/packages/a5/c6/fdbea6786ff09159500cc8778c409f8803b9cac8c79ec9d12fbd9b5de672/SQLAlchemy-1.4.32-cp38-cp38-macosx_10_14_x86_64.whl" }, { "algorithm": "sha256", "hash": "bb42f9b259c33662c6a9b866012f6908a91731a419e69304e1261ba3ab87b8d1", "url": "https://files.pythonhosted.org/packages/b2/13/c0b08165292173cb0918c7ddf6dba31df97d4f12f4356ce2d16f3478cf33/SQLAlchemy-1.4.32-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "bfec934aac7f9fa95fc82147a4ba5db0a8bdc4ebf1e33b585ab8860beb10232f", "url": "https://files.pythonhosted.org/packages/d6/e1/848f5671a7bc225862f5e5b9699487529dfd8c0930a2ba5c95b2d5b876e6/SQLAlchemy-1.4.32-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" } ], "project_name": "sqlalchemy", "requires_dists": [ "aiomysql; python_version >= \"3\" and extra == \"aiomysql\"", "aiosqlite; python_version >= \"3\" and extra == \"aiosqlite\"", "asyncmy>=0.2.3; python_version >= \"3\" and extra == \"asyncmy\"", "asyncpg; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "cx-oracle<8,>=7; python_version < \"3\" and extra == \"oracle\"", "cx-oracle>=7; python_version >= \"3\" and extra == \"oracle\"", "greenlet!=0.4.17; python_version >= \"3\" and (platform_machine == \"aarch64\" or (platform_machine == \"ppc64le\" or (platform_machine == \"x86_64\" or (platform_machine == \"amd64\" or (platform_machine == \"AMD64\" or (platform_machine == \"win32\" or platform_machine == \"WIN32\"))))))", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiomysql\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"aiosqlite\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncio\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"asyncmy\"", "greenlet!=0.4.17; python_version >= \"3\" and extra == \"postgresql_asyncpg\"", "importlib-metadata; python_version < \"3.8\"", "mariadb>=1.0.1; python_version >= \"3\" and extra == \"mariadb_connector\"", "mypy>=0.910; python_version >= \"3\" and extra == \"mypy\"", "mysql-connector-python; extra == \"mysql_connector\"", "mysqlclient<2,>=1.4.0; python_version < \"3\" and extra == \"mysql\"", "mysqlclient>=1.4.0; python_version >= \"3\" and extra == \"mysql\"", "pg8000>=1.16.6; extra == \"postgresql_pg8000\"", "psycopg2-binary; extra == \"postgresql_psycopg2binary\"", "psycopg2>=2.7; extra == \"postgresql\"", "psycopg2cffi; extra == \"postgresql_psycopg2cffi\"", "pymssql; extra == \"mssql_pymssql\"", "pymysql; python_version >= \"3\" and extra == \"pymysql\"", "pymysql<1; python_version < \"3\" and extra == \"pymysql\"", "pyodbc; extra == \"mssql\"", "pyodbc; extra == \"mssql_pyodbc\"", "sqlalchemy2-stubs; extra == \"mypy\"", "sqlcipher3-binary; python_version >= \"3\" and extra == \"sqlcipher\"", "typing-extensions!=3.10.0.1; extra == \"aiosqlite\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7", "version": "1.4.32" }, { "artifacts": [ { "algorithm": "sha256", "hash": "26a18cbda5e6b651c964c12c88b36d9898481cd428ed6e063f5f29c418f73050", "url": "https://files.pythonhosted.org/packages/32/57/e9c68acc2845ee4ca66202d19856f6a3581cab2a885d25d490103270ffa2/starlette-0.17.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "57eab3cc975a28af62f6faec94d355a410634940f10b30d68d31cb5ec1b44ae8", "url": "https://files.pythonhosted.org/packages/11/d3/c346849b8201f0e0339e23850c8db1cebd477e44e8b5212f40e1acbb490c/starlette-0.17.1.tar.gz" } ], "project_name": "starlette", "requires_dists": [ "anyio<4,>=3.0.0", "contextlib2>=21.6.0; python_version < \"3.7\"", "itsdangerous; extra == \"full\"", "jinja2; extra == \"full\"", "python-multipart; extra == \"full\"", "pyyaml; extra == \"full\"", "requests; extra == \"full\"", "typing-extensions; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "0.17.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "65a338e4424e9079f2604923bdbe301792adce2ace1be68da6b3ddf005170def", "url": "https://files.pythonhosted.org/packages/f7/fd/67c61276de025801cfa8a1b9af2d7c577e7f27c17b6bff2baca20bf03543/tensorboard-2.8.0-py3-none-any.whl" } ], "project_name": "tensorboard", "requires_dists": [ "absl-py>=0.4", "google-auth-oauthlib<0.5,>=0.4.1", "google-auth<3,>=1.6.3", "grpcio>=1.24.3", "markdown>=2.6.8", "numpy>=1.12.0", "protobuf>=3.6.0", "requests<3,>=2.21.0", "setuptools>=41.0.0", "tensorboard-data-server<0.7.0,>=0.6.0", "tensorboard-plugin-wit>=1.6.0", "werkzeug>=0.11.15", "wheel>=0.26" ], "requires_python": ">=3.6", "version": "2.8" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d8237580755e58eff68d1f3abefb5b1e39ae5c8b127cc40920f9c4fb33f4b98a", "url": "https://files.pythonhosted.org/packages/60/f9/802efd84988bffd9f644c03b6e66fde8e76c3aa33db4279ddd11c5d61f4b/tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "fa8cef9be4fcae2f2363c88176638baf2da19c5ec90addb49b1cde05c95c88ee", "url": "https://files.pythonhosted.org/packages/3e/48/dd135dbb3cf16bfb923720163493cab70e7336db4b5f3103d49efa730404/tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "809fe9887682d35c1f7d1f54f0f40f98bb1f771b14265b453ca051e2ce58fca7", "url": "https://files.pythonhosted.org/packages/74/69/5747a957f95e2e1d252ca41476ae40ce79d70d38151d2e494feb7722860c/tensorboard_data_server-0.6.1-py3-none-any.whl" } ], "project_name": "tensorboard-data-server", "requires_dists": [], "requires_python": ">=3.6", "version": "0.6.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "ff26bdd583d155aa951ee3b152b3d0cffae8005dc697f72b44a8e8c2a77a8cbe", "url": "https://files.pythonhosted.org/packages/e0/68/e8ecfac5dd594b676c23a7f07ea34c197d7d69b3313afdf8ac1b0a9905a2/tensorboard_plugin_wit-1.8.1-py3-none-any.whl" } ], "project_name": "tensorboard-plugin-wit", "requires_dists": [], "requires_python": null, "version": "1.8.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b", "url": "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz" } ], "project_name": "termcolor", "requires_dists": [], "requires_python": null, "version": "1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b", "url": "https://files.pythonhosted.org/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380", "url": "https://files.pythonhosted.org/packages/1b/c7/3d85f8b3894ba7228d0c74e16e97a36a72b2cd2b0e0f8f89b5d435d11f71/threadpoolctl-3.1.0.tar.gz" } ], "project_name": "threadpoolctl", "requires_dists": [], "requires_python": ">=3.6", "version": "3.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "68f4f3aece7daafbe3dd58751622be0412510ee5921625ca611e47b618f906e6", "url": "https://files.pythonhosted.org/packages/23/6b/cd30edb3463f77eac22080b44d834c6abee3950f90d64c229151fc4d32aa/tifffile-2022.3.16-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "fe2c79190a1d625076e68a2f0e49ca72a907315fe8ebf488f5eecf70b257fe3c", "url": "https://files.pythonhosted.org/packages/37/ca/891137c951c29f3397ec164605f7aa2e6e4b4209ad834099bd0bc55f15fb/tifffile-2022.3.16.tar.gz" } ], "project_name": "tifffile", "requires_dists": [ "imagecodecs>=2021.11.20; extra == \"all\"", "lxml; extra == \"all\"", "matplotlib>=3.3; extra == \"all\"", "numpy>=1.19.2" ], "requires_python": ">=3.8", "version": "2022.3.16" }, { "artifacts": [ { "algorithm": "sha256", "hash": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f", "url": "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz" } ], "project_name": "tomli", "requires_dists": [], "requires_python": ">=3.7", "version": "2.0.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3592d3dd62b32760c82624e7586222747fe2281240e8653970b35f1d6d4a434c", "url": "https://files.pythonhosted.org/packages/c0/2a/3401595e371a63195016968efd450c46048cf0d1b341adb33c029ab6aa1e/torch-1.10.2-cp38-none-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "ab77a9f838874f295ed5410c0686fa22547456e0116efb281c66ef5f9d46fe28", "url": "https://files.pythonhosted.org/packages/4a/a0/3b8d5b80560afbff0688edd66926335bef153d91a95926810ab234798ae2/torch-1.10.2-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "f281438ee99bd72ad65c0bba1026a32e45c3b636bc067fc145ad291e9ea2faab", "url": "https://files.pythonhosted.org/packages/7e/ee/14fcdd0e8b19108efd953cc5b38f409df39659bbec3b12afaa6dd3e2967b/torch-1.10.2-cp38-none-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "376fc18407add20daa6bbaaffc5a5e06d733abe53bcbd60ef2532bfed34bc091", "url": "https://files.pythonhosted.org/packages/d4/53/c4a13bbab1385d505c78064ad5ae6a63a990f207a559fcfe950bdeb5f96c/torch-1.10.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "9ef4c004f9e5168bd1c1930c6aff25fed5b097de81db6271ffbb2e4fb8b89319", "url": "https://files.pythonhosted.org/packages/f8/2c/ace8d8d942ccd064639fae6c366344d832fbca174b8df059396a5f51e3a5/torch-1.10.2-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torch", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "typing-extensions" ], "requires_python": ">=3.6.2", "version": "1.10.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d0fbf8440912ef93f22e21bae43fda8fa26a651313acc3ea93beafe3c86dd474", "url": "https://files.pythonhosted.org/packages/f7/ec/3160fd2d30b55b35e9cfd8670c95fcaeb1daa9dba28aa912cfe40d696a3b/torchmetrics-0.7.2-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "af03334c4a33fc32a9a40b037b1ce3ff6273ea9a0050c11ddde29bf1335da95e", "url": "https://files.pythonhosted.org/packages/31/0d/d5dbb1a5ba604bcac35a751d8ece9972a87232388be96c44997c64fda32e/torchmetrics-0.7.2.tar.gz" } ], "project_name": "torchmetrics", "requires_dists": [ "bert-score==0.3.10; extra == \"all\"", "bert-score==0.3.10; extra == \"test\"", "check-manifest; extra == \"all\"", "check-manifest; extra == \"test\"", "cloudpickle>=1.3; extra == \"all\"", "cloudpickle>=1.3; extra == \"test\"", "codecov>=2.1; extra == \"all\"", "codecov>=2.1; extra == \"test\"", "coverage>5.2; extra == \"all\"", "coverage>5.2; extra == \"test\"", "docutils>=0.16; extra == \"all\"", "docutils>=0.16; extra == \"docs\"", "fast-bss-eval>=0.1.0; extra == \"all\"", "fast-bss-eval>=0.1.0; extra == \"audio\"", "jiwer>=2.3.0; extra == \"all\"", "jiwer>=2.3.0; extra == \"test\"", "lpips; extra == \"all\"", "lpips; extra == \"image\"", "mir-eval>=0.6; extra == \"all\"", "mir-eval>=0.6; extra == \"test\"", "mypy>=0.790; extra == \"all\"", "mypy>=0.790; extra == \"test\"", "myst-parser; extra == \"all\"", "myst-parser; extra == \"docs\"", "nbsphinx>=0.8; extra == \"all\"", "nbsphinx>=0.8; extra == \"docs\"", "nltk>=3.6; extra == \"all\"", "nltk>=3.6; extra == \"text\"", "numpy>=1.17.2", "packaging", "pandoc>=1.0; extra == \"all\"", "pandoc>=1.0; extra == \"docs\"", "pesq>=0.0.3; extra == \"all\"", "pesq>=0.0.3; extra == \"audio\"", "phmdoctest>=1.1.1; extra == \"all\"", "phmdoctest>=1.1.1; extra == \"test\"", "pre-commit>=1.0; extra == \"all\"", "pre-commit>=1.0; extra == \"test\"", "pyDeprecate==0.3.*", "pypesq; extra == \"all\"", "pypesq; extra == \"test\"", "pystoi; extra == \"all\"", "pystoi; extra == \"audio\"", "pytest-cov>2.10; extra == \"all\"", "pytest-cov>2.10; extra == \"test\"", "pytest-doctestplus>=0.9.0; extra == \"all\"", "pytest-doctestplus>=0.9.0; extra == \"test\"", "pytest==6.*; extra == \"all\"", "pytest==6.*; extra == \"test\"", "pytorch-lightning>=1.1; extra == \"all\"", "pytorch-lightning>=1.1; extra == \"docs\"", "pytorch-lightning>=1.3; extra == \"all\"", "pytorch-lightning>=1.3; extra == \"integrate\"", "pytorch-msssim; extra == \"all\"", "pytorch-msssim; extra == \"test\"", "regex>=2021.9.24; extra == \"all\"", "regex>=2021.9.24; extra == \"text\"", "rouge-score>=0.0.4; extra == \"all\"", "rouge-score>=0.0.4; extra == \"test\"", "sacrebleu>=2.0.0; extra == \"all\"", "sacrebleu>=2.0.0; extra == \"test\"", "scikit-image>0.17.1; extra == \"all\"", "scikit-image>0.17.1; extra == \"test\"", "scikit-learn>=0.24; extra == \"all\"", "scikit-learn>=0.24; extra == \"test\"", "scipy; extra == \"all\"", "scipy; extra == \"image\"", "sphinx-autodoc-typehints>=1.0; extra == \"all\"", "sphinx-autodoc-typehints>=1.0; extra == \"docs\"", "sphinx-copybutton>=0.3; extra == \"all\"", "sphinx-copybutton>=0.3; extra == \"docs\"", "sphinx-paramlinks>=0.5.1; extra == \"all\"", "sphinx-paramlinks>=0.5.1; extra == \"docs\"", "sphinx-togglebutton>=0.2; extra == \"all\"", "sphinx-togglebutton>=0.2; extra == \"docs\"", "sphinx>=4.0; extra == \"all\"", "sphinx>=4.0; extra == \"docs\"", "sphinxcontrib-fulltoc>=1.0; extra == \"all\"", "sphinxcontrib-fulltoc>=1.0; extra == \"docs\"", "sphinxcontrib-mockautodoc; extra == \"all\"", "sphinxcontrib-mockautodoc; extra == \"docs\"", "torch-fidelity; extra == \"all\"", "torch-fidelity; extra == \"image\"", "torch>=1.3.1", "torchvision; extra == \"all\"", "torchvision; extra == \"image\"", "torchvision>=0.8; extra == \"all\"", "torchvision>=0.8; extra == \"detection\"", "tqdm>=4.41.0; extra == \"all\"", "tqdm>=4.41.0; extra == \"text\"", "transformers>=4.0; extra == \"all\"", "transformers>=4.0; extra == \"test\"", "twine>=3.2; extra == \"all\"", "twine>=3.2; extra == \"test\"" ], "requires_python": ">=3.6", "version": "0.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "dc144114d5991a33bf8909277b02ea082d99cee4cdcf3f7a9c6b48f0c6c8ddde", "url": "https://files.pythonhosted.org/packages/f0/cb/b484ba727714926cbebe68687960da3481df5619280d17b1d5c90fb610bc/torchvision-0.11.3-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "63647dfb9b0354bc8c5bb120f2dc15a123cee7f5fd6a8e84561da46cc2c89e3a", "url": "https://files.pythonhosted.org/packages/00/a8/0d59336acc849c5d6beb1d38d59b16e4a2e6ac66036ae92ba748f7f02575/torchvision-0.11.3-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "0eda00afc5176b35e69eddd018ee633e3e3d74bbcf139eccdc150781c4ae83a7", "url": "https://files.pythonhosted.org/packages/21/f4/0a2978512bab69a1bd2626e311a45c37b4dec100025661df70d1ede69de4/torchvision-0.11.3-cp38-cp38-manylinux1_x86_64.whl" }, { "algorithm": "sha256", "hash": "a82d7d383fabb45fb54aa569ab216b87b98f9eb9de75b3cbfedab555a71209fa", "url": "https://files.pythonhosted.org/packages/a8/1f/3ae670bb65fa932cf7b22db62ef088a5069165844c0b186e61ecbe315c9b/torchvision-0.11.3-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "b237b39e1c558ad5c9043b6e56bc568ee745f7f064f53270a3fceb53b9725c4b", "url": "https://files.pythonhosted.org/packages/e1/cf/d19fc48359f888607bac25d1102b72540b40316587fc572efe9fdc7642a6/torchvision-0.11.3-cp38-cp38-manylinux2014_aarch64.whl" } ], "project_name": "torchvision", "requires_dists": [ "numpy", "pillow!=8.3.0,>=5.3.0", "scipy; extra == \"scipy\"", "torch==1.10.2" ], "requires_python": null, "version": "0.11.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "e643e071046f17139dea55b880dc9b33822ce21613b4a4f5ea57f202833dbc29", "url": "https://files.pythonhosted.org/packages/81/1c/93a2b77b97cdba15a59c3d2d03e53d3292158d1106d37f579069abd90ece/tqdm-4.63.0-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1d9835ede8e394bb8c9dcbffbca02d717217113adc679236873eeaac5bc0b3cd", "url": "https://files.pythonhosted.org/packages/cb/a5/803a55cae355bc2402492c6a1c23dc08117844e4a1c3a293b0ea19bca6fa/tqdm-4.63.0.tar.gz" } ], "project_name": "tqdm", "requires_dists": [ "colorama; platform_system == \"Windows\"", "importlib-resources; python_version < \"3.7\"", "ipywidgets>=6; extra == \"notebook\"", "py-make>=0.1.0; extra == \"dev\"", "requests; extra == \"telegram\"", "twine; extra == \"dev\"", "wheel; extra == \"dev\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7", "version": "4.63" }, { "artifacts": [ { "algorithm": "sha256", "hash": "21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2", "url": "https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", "url": "https://files.pythonhosted.org/packages/b1/5a/8b5fbb891ef3f81fc923bf3cb4a578c0abf9471eb50ce0f51c74212182ab/typing_extensions-4.1.1.tar.gz" } ], "project_name": "typing-extensions", "requires_dists": [], "requires_python": ">=3.6", "version": "4.1.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14", "url": "https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e", "url": "https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz" } ], "project_name": "urllib3", "requires_dists": [ "PySocks!=1.5.7,<2.0,>=1.5.6; extra == \"socks\"", "brotli>=1.0.9; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation == \"CPython\") and extra == \"brotli\"", "brotlicffi>=0.8.0; ((os_name != \"nt\" or python_version >= \"3\") and platform_python_implementation != \"CPython\") and extra == \"brotli\"", "brotlipy>=0.6.0; (os_name == \"nt\" and python_version < \"3\") and extra == \"brotli\"", "certifi; extra == \"secure\"", "cryptography>=1.3.4; extra == \"secure\"", "idna>=2.0.0; extra == \"secure\"", "ipaddress; python_version == \"2.7\" and extra == \"secure\"", "pyOpenSSL>=0.14; extra == \"secure\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4,>=2.7", "version": "1.26.9" }, { "artifacts": [ { "algorithm": "sha256", "hash": "3a8637ae1b580d5839bde4792d9c31ecd40392ae8a245874391edd82c74e7b17", "url": "https://files.pythonhosted.org/packages/e6/1e/6ae3c7774b6537a48a1a896b483fcd13b09d7ca3ace63f423f6cff828b56/wandb-0.12.11-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "808c832a109cdd49f85226446b4224c77ff3bd81c0a9470e8fce43e5306a39a0", "url": "https://files.pythonhosted.org/packages/a0/c4/37887f989bed4784bb11fc90201da76f45ac11c6582f9fed94ed1a7c8de1/wandb-0.12.11.tar.gz" } ], "project_name": "wandb", "requires_dists": [ "Click!=8.0.0,>=7.0", "GitPython>=1.0.0", "PyYAML", "PyYAML; extra == \"sweeps\"", "azure-storage-blob; extra == \"azure\"", "bokeh; extra == \"media\"", "boto3; extra == \"aws\"", "chardet; extra == \"launch\"", "docker-pycreds>=0.4.0", "google-cloud-storage; extra == \"gcp\"", "google-cloud-storage; extra == \"kubeflow\"", "grpcio>=1.27.2; extra == \"grpc\"", "iso8601; extra == \"launch\"", "jsonref>=0.2; extra == \"sweeps\"", "jsonschema>=3.2.0; extra == \"sweeps\"", "jupyter-repo2docker; extra == \"launch\"", "kubernetes; extra == \"kubeflow\"", "minio; extra == \"kubeflow\"", "moviepy; extra == \"media\"", "nbconvert; extra == \"launch\"", "numpy; extra == \"media\"", "numpy<1.21,>=1.15; extra == \"sweeps\"", "pathtools", "pillow; extra == \"media\"", "plotly; extra == \"media\"", "promise<3,>=2.0", "protobuf>=3.12.0", "psutil>=5.0.0", "pydantic>=1.8.2; extra == \"sweeps\"", "python-dateutil>=2.6.1", "rdkit-pypi; extra == \"media\"", "requests<3,>=2.0.0", "scikit-learn==0.24.1; extra == \"sweeps\"", "scipy>=1.5.4; extra == \"sweeps\"", "sentry-sdk>=1.0.0", "setproctitle", "sh; extra == \"kubeflow\"", "shortuuid>=0.5.0", "six>=1.13.0", "soundfile; extra == \"media\"", "typing-extensions; extra == \"launch\"", "yaspin; extra == \"launch\"", "yaspin>=1.0.0" ], "requires_python": ">=3.6", "version": "0.12.11" }, { "artifacts": [ { "algorithm": "sha256", "hash": "1421ebfc7648a39a5c58c601b154165d05cf47a3cd0ccb70857cbdacf6c8f2b8", "url": "https://files.pythonhosted.org/packages/f4/f3/22afbdb20cc4654b10c98043414a14057cd27fdba9d4ae61cea596000ba2/Werkzeug-2.0.3-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "b863f8ff057c522164b6067c9e28b041161b4be5ba4d0daceeaa50a163822d3c", "url": "https://files.pythonhosted.org/packages/6c/a8/60514fade2318e277453c9588545d0c335ea3ea6440ce5cdabfca7f73117/Werkzeug-2.0.3.tar.gz" } ], "project_name": "werkzeug", "requires_dists": [ "dataclasses; python_version < \"3.7\"", "watchdog; extra == \"watchdog\"" ], "requires_python": ">=3.6", "version": "2.0.3" }, { "artifacts": [ { "algorithm": "sha256", "hash": "4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a", "url": "https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl" }, { "algorithm": "sha256", "hash": "e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4", "url": "https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz" } ], "project_name": "wheel", "requires_dists": [ "pytest-cov; extra == \"test\"", "pytest>=3.0.0; extra == \"test\"" ], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "0.37.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b0ed6ad6c9640671689c2dbe6244680fe8b897c08fd1fab2228429b66c518e5e", "url": "https://files.pythonhosted.org/packages/fa/01/3c5d57f130c16d583f17cd07c46194c00bdea53ed0260b26780897834793/wrapt-1.14.0-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "d9bdfa74d369256e4218000a629978590fd7cb6cf6893251dad13d051090436d", "url": "https://files.pythonhosted.org/packages/12/d7/4e095710e80ab428d886a4431a32a99d903a617e5ce27efa613b796233eb/wrapt-1.14.0-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "1f83e9c21cd5275991076b2ba1cd35418af3504667affb4745b48937e214bafe", "url": "https://files.pythonhosted.org/packages/3b/07/4958cf817f1e5c713e81d7e8a404bc8e683162202442295b978d228f85cd/wrapt-1.14.0-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "28c659878f684365d53cf59dc9a1929ea2eecd7ac65da762be8b1ba193f7e84f", "url": "https://files.pythonhosted.org/packages/4e/0b/72831883b921c3c57567d9cd609a9020af22c66fd4f1d802d69e0d4ad155/wrapt-1.14.0-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "b21650fa6907e523869e0396c5bd591cc326e5c1dd594dcdccac089561cacfb8", "url": "https://files.pythonhosted.org/packages/5f/f3/ec6e05ede4feaf56a2ce495446ed94b72c4b24055ede983929f0347dd1f9/wrapt-1.14.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }, { "algorithm": "sha256", "hash": "61e1a064906ccba038aa3c4a5a82f6199749efbbb3cef0804ae5c37f550eded0", "url": "https://files.pythonhosted.org/packages/74/ef/fb62285681190b332d3fda7234358a9eca41b86e83fa24bd4416b668df0d/wrapt-1.14.0-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "5b835b86bd5a1bdbe257d610eecab07bf685b1af2a7563093e0e69180c1d4af1", "url": "https://files.pythonhosted.org/packages/a8/7f/bac1100383505bd4b215768be4bb60dd2c9780efb39fd9fe63614eccc590/wrapt-1.14.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl" }, { "algorithm": "sha256", "hash": "2498762814dd7dd2a1d0248eda2afbc3dd9c11537bc8200a4b21789b6df6cd38", "url": "https://files.pythonhosted.org/packages/ab/1e/af8eeabaa85e91d32bab0b4cdfb98f5f39eab564a8bd64168db8d86e1c2e/wrapt-1.14.0-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "354d9fc6b1e44750e2a67b4b108841f5f5ea08853453ecbf44c81fdc2e0d50bd", "url": "https://files.pythonhosted.org/packages/ac/54/bc25e4d8260d4574e4a7952c1dc885e060912774859a0ba14bb9b036c2d6/wrapt-1.14.0-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "8323a43bd9c91f62bb7d4be74cc9ff10090e7ef820e27bfe8815c57e68261311", "url": "https://files.pythonhosted.org/packages/c7/b4/3a937c7f8ee4751b38274c8542e02f42ebf3e080f1344c4a2aff6416630e/wrapt-1.14.0.tar.gz" }, { "algorithm": "sha256", "hash": "5f24ca7953f2643d59a9c87d6e272d8adddd4a53bb62b9208f36db408d7aafc7", "url": "https://files.pythonhosted.org/packages/ef/e8/62648d3ee379766a94ff2853106a91932d9c1c63e7bd0c4686659ec411c0/wrapt-1.14.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" } ], "project_name": "wrapt", "requires_dists": [], "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", "version": "1.14" }, { "artifacts": [ { "algorithm": "sha256", "hash": "cc8b7a7254c0fc3187d43d6cb54b5032d2365efd1df0cd1749c0c4df5f0ad45f", "url": "https://files.pythonhosted.org/packages/1d/1d/818930219ed93cb1f8de61dc2c9d30f3ec8af1a1f1c8878f1c6d68adff23/yarl-1.7.2-cp38-cp38-win_amd64.whl" }, { "algorithm": "sha256", "hash": "39d5493c5ecd75c8093fa7700a2fb5c94fe28c839c8e40144b7ab7ccba6938c8", "url": "https://files.pythonhosted.org/packages/29/00/03a2186fde995f71a0b8fe6ea3f22965e1333ff622556aa2cddf841acfb9/yarl-1.7.2-cp38-cp38-macosx_11_0_arm64.whl" }, { "algorithm": "sha256", "hash": "fd547ec596d90c8676e369dd8a581a21227fe9b4ad37d0dc7feb4ccf544c2d59", "url": "https://files.pythonhosted.org/packages/34/9c/17cefab10d3f3397916255ce990ac358939bc14806e73503805d8bac766a/yarl-1.7.2-cp38-cp38-musllinux_1_1_ppc64le.whl" }, { "algorithm": "sha256", "hash": "e39378894ee6ae9f555ae2de332d513a5763276a9265f8e7cbaeb1b1ee74623a", "url": "https://files.pythonhosted.org/packages/80/45/5aca44624dfbbbe942b22aa4ed9c2a6ff28f6de63b47c52b46b456b307b5/yarl-1.7.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl" }, { "algorithm": "sha256", "hash": "737e401cd0c493f7e3dd4db72aca11cfe069531c9761b8ea474926936b3c57c8", "url": "https://files.pythonhosted.org/packages/8f/21/769f312eb7c03dcc0dec55300b2cf6c460a9c75fbb08994996686b87c4ef/yarl-1.7.2-cp38-cp38-musllinux_1_1_s390x.whl" }, { "algorithm": "sha256", "hash": "ede3b46cdb719c794427dcce9d8beb4abe8b9aa1e97526cc20de9bd6583ad1ef", "url": "https://files.pythonhosted.org/packages/94/6d/e42ac52b021b2b66cbded3c4aabb117a5c6415b81d53da9f6979516c0b78/yarl-1.7.2-cp38-cp38-win32.whl" }, { "algorithm": "sha256", "hash": "5ba63585a89c9885f18331a55d25fe81dc2d82b71311ff8bd378fc8004202ff6", "url": "https://files.pythonhosted.org/packages/9e/e2/dd68672208e604b426ecb498083bf3ed1fd9a3732fb2e514a99f9a3ba4c2/yarl-1.7.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" }, { "algorithm": "sha256", "hash": "6feca8b6bfb9eef6ee057628e71e1734caf520a907b6ec0d62839e8293e945c0", "url": "https://files.pythonhosted.org/packages/aa/a6/a4ddcb1c3d93fc5d77a19b1ec338a3efec65b44345168d8ac9bf8461224a/yarl-1.7.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" }, { "algorithm": "sha256", "hash": "baf81561f2972fb895e7844882898bda1eef4b07b5b385bcd308d2098f1a767b", "url": "https://files.pythonhosted.org/packages/b0/aa/f92592c2bbc603f408c78ab8a90f5408f303729368fbad29b992dc14dbc0/yarl-1.7.2-cp38-cp38-musllinux_1_1_x86_64.whl" }, { "algorithm": "sha256", "hash": "788713c2896f426a4e166b11f4ec538b5736294ebf7d5f654ae445fd44270832", "url": "https://files.pythonhosted.org/packages/bc/1a/76621726e249b753de9fda3313eb4c63c8b4449f8681348ce3dbc89b1bf8/yarl-1.7.2-cp38-cp38-musllinux_1_1_i686.whl" }, { "algorithm": "sha256", "hash": "1eb6480ef366d75b54c68164094a6a560c247370a68c02dddb11f20c4c6d3c9d", "url": "https://files.pythonhosted.org/packages/bd/ab/a5c39f35c6e037aaf5aa3ff069801d0345b0301feee83a48a14005ce2cf3/yarl-1.7.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }, { "algorithm": "sha256", "hash": "8300401dc88cad23f5b4e4c1226f44a5aa696436a4026e456fe0e5d2f7f486e6", "url": "https://files.pythonhosted.org/packages/c1/27/9f925be515fc4e5b0b67d9c8bf04a275cbc1936a32d4249afc7e0d3a1c1c/yarl-1.7.2-cp38-cp38-musllinux_1_1_aarch64.whl" }, { "algorithm": "sha256", "hash": "c2a1ac41a6aa980db03d098a5531f13985edcb451bcd9d00670b03129922cd0d", "url": "https://files.pythonhosted.org/packages/cf/4f/acc91373cec9990cdb4a93351c3c8e240c87cae6b9e57dbcdcc337d26902/yarl-1.7.2-cp38-cp38-macosx_10_9_x86_64.whl" }, { "algorithm": "sha256", "hash": "fce78593346c014d0d986b7ebc80d782b7f5e19843ca798ed62f8e3ba8728576", "url": "https://files.pythonhosted.org/packages/e0/24/9abac7eeab2344756148d5909aba8179d84ed7f95683ca86f0fc6a79811a/yarl-1.7.2-cp38-cp38-macosx_10_9_universal2.whl" }, { "algorithm": "sha256", "hash": "c0910c6b6c31359d2f6184828888c983d54d09d581a4a23547a35f1d0b9484b1", "url": "https://files.pythonhosted.org/packages/f4/25/b3b47a3a0ca4b00d5c7069fb3970d648f658a9ac77ca4f8d1c96c841babc/yarl-1.7.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl" }, { "algorithm": "sha256", "hash": "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd", "url": "https://files.pythonhosted.org/packages/f6/da/46d1b3d69a9a0835dabf9d59c7eb0f1600599edd421a4c5a15ab09f527e0/yarl-1.7.2.tar.gz" } ], "project_name": "yarl", "requires_dists": [ "idna>=2.0", "multidict>=4.0", "typing-extensions>=3.7.4; python_version < \"3.8\"" ], "requires_python": ">=3.6", "version": "1.7.2" }, { "artifacts": [ { "algorithm": "sha256", "hash": "d574cbfaf0a349df466c91f7f81b22460ae5ebb15ecb8bf9411d6049923aee8d", "url": "https://files.pythonhosted.org/packages/ce/ed/1ae83648729025952b483046d5164fc91625703899707655406db76ce671/yaspin-2.1.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a", "url": "https://files.pythonhosted.org/packages/6a/b2/144d100c915784ab551e0f7809aaecdd103786a227b0f30db341ffe649be/yaspin-2.1.0.tar.gz" } ], "project_name": "yaspin", "requires_dists": [ "dataclasses<0.9,>=0.8; python_version >= \"3.6\" and python_version < \"3.7\"", "termcolor<2.0.0,>=1.1.0" ], "requires_python": "<4.0.0,>=3.6.2", "version": "2.1" }, { "artifacts": [ { "algorithm": "sha256", "hash": "b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375", "url": "https://files.pythonhosted.org/packages/52/c5/df7953fe6065185af5956265e3b16f13c2826c2b1ba23d43154f3af453bc/zipp-3.7.0-py3-none-any.whl" }, { "algorithm": "sha256", "hash": "9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d", "url": "https://files.pythonhosted.org/packages/94/64/3115548d41cb001378099cb4fc6a6889c64ef43ac1b0e68c9e80b55884fa/zipp-3.7.0.tar.gz" } ], "project_name": "zipp", "requires_dists": [ "func-timeout; extra == \"testing\"", "jaraco.itertools; extra == \"testing\"", "jaraco.packaging>=8.2; extra == \"docs\"", "pytest-black>=0.3.7; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest-checkdocs>=2.4; extra == \"testing\"", "pytest-cov; extra == \"testing\"", "pytest-enabler>=1.0.1; extra == \"testing\"", "pytest-flake8; extra == \"testing\"", "pytest-mypy; platform_python_implementation != \"PyPy\" and extra == \"testing\"", "pytest>=6; extra == \"testing\"", "rst.linker>=1.9; extra == \"docs\"", "sphinx; extra == \"docs\"" ], "requires_python": ">=3.7", "version": "3.7" } ], "platform_tag": [ "cp310", "cp310", "manylinux_2_31_x86_64" ] } ], "pex_version": "2.1.72", "prefer_older_binary": false, "requirements": [ "aio-pika<7.2.0,>=7.1.0", "aiobotocore<2.2.0,>=2.1.2", "aioredis<2.1.0,>=2.0.1", "albumentations<1.2.0,>=1.1", "alembic<1.8.0,>=1.7.7", "anyio<3.6.0,>=3.5", "awscli<1.23.0,>=1.22.24", "black==22.1.0", "boto3<1.21.0,>=1.20.24", "botocore<1.24.0,>=1.23.24", "click<8.1.0,>=8.0.4", "docstring-parser<0.14.0,>=0.13.0", "fastapi<0.76.0,>=0.75.0", "flake8==4.0.1", "grpcio<1.45.0,>=1.44", "hiredis<2.1.0,>=2.0.0", "imageio<2.17.0,>=2.16.1", "isort==5.10.1", "itsdangerous<2.2.0,>=2.1.1", "javaobj-py3<0.5.0,>=0.4.3", "jpeg4py<0.2.0,>=0.1.4", "jsonargparse[signatures]<4.5.0,>=4.4.0", "mypy==0.930", "numpy<1.23.0,>=1.22.3", "nvidia-dali-cuda110<1.12.0,>=1.11.1", "onnxruntime<1.11.0,>=1.10.0", "opencv-python==4.5.1.48", "pillow<9.1.0,>=9.0.1", "protobuf<3.20.0,>=3.19.4", "psycopg2-binary==2.8.6", "pydantic<1.10.0,>=1.9.0", "pytest-cov==3.0.0", "pytest-icdiff==0.5", "pytest==7.1.0", "pytorch-lightning<1.6.0,>=1.5.10", "pyyaml<5.5.0,>=5.4.1", "requests<2.28.0,>=2.27.1", "rich<11.3.0,>=11.2.0", "s3fs<2022.3.0,>=2022.2.0", "s3transfer<0.6.0,>=0.5.2", "scikit-image<0.20.0,>=0.19.2", "scikit-learn<1.1.0,>=1.0.2", "scipy<1.9.0,>=1.8.0", "setuptools<59.6.0,>=59.5.0", "sqlalchemy<1.5.0,>=1.4.32", "starlette<0.18.0,>=0.17.1", "tensorboard<2.9.0,>=2.8.0", "torch<1.11.0,>=1.10.2", "torchvision<0.12.0,>=0.11.3", "tqdm<4.64.0,>=4.63.0", "wandb<0.13.0,>=0.12.11", "wheel<0.38.0,>=0.37.1" ], "requires_python": [ "==3.8.*" ], "resolver_version": "pip-2020-resolver", "style": "universal", "transitive": true, "use_pep517": null } ``` </details> Thanks @obendidi. The issue is over in Pex dealing with `nvidia_dali_cuda110-1.11.1-4069477-py3-none-manylinux2014_*` wheels which have a build tag (`4069477`) in their wheel filename: https://github.com/pantsbuild/pex/issues/1676 I'll get out a fix for that in Pex 2.1.73 with a paired Pants upgrade staged for 2.11.0rc1.
2022-04-06T19:49:27Z
[]
[]
Traceback (most recent call last): File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 504, in execute exit_value = self._wrap_coverage(self._wrap_profiling, self._execute) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 409, in _wrap_coverage return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 440, in _wrap_profiling return runner(*args) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 560, in _execute return self.execute_entry(self._pex_info.entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 696, in execute_entry return self.execute_pkg_resources(entry_point) File "/home/obendidi/.cache/pants/named_caches/pex_root/unzipped_pexes/38cdfc09438399cde0c3c3c4ee091074f928b118/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources return runner() File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 724, in main do_main( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 745, in do_main pex_builder = build_pex( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/bin/pex.py", line 594, in build_pex resolve_from_lock( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/lock_resolver.py", line 139, in resolve_from_lock resolve_result = locked_resolve.resolve( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 586, in resolve ranked_artifact = locked_requirement.select_artifact( File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 196, in select_artifact for tag in artifact.parse_tags(): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/resolve/locked_resolve.py", line 111, in parse_tags for tag in tags.parse_tag(artifact_stem.split("-", 2)[-1]): File "/home/obendidi/.cache/pants/named_caches/pex_root/installed_wheels/011143db8b77ec9508f2599e80f422621fdb0de7d868cb08cd2f859026236c83/pex-2.1.72-py2.py3-none-any.whl/pex/vendor/_vendored/packaging/packaging/tags.py", line 149, in parse_tag interpreters, abis, platforms = tag.split("-") ValueError: too many values to unpack (expected 3)
16,044
pantsbuild/pants
pantsbuild__pants-15031
6b2209d860b842db2683f8bf8956d8eaed513c0d
diff --git a/src/python/pants/backend/python/target_types.py b/src/python/pants/backend/python/target_types.py --- a/src/python/pants/backend/python/target_types.py +++ b/src/python/pants/backend/python/target_types.py @@ -1025,8 +1025,9 @@ def parse_requirements_file(content: str, *, rel_path: str) -> Iterator[PipRequi VCS requirements will fail, with a helpful error message describing how to use PEP 440. """ for i, line in enumerate(content.splitlines()): - line = line.strip() - if not line or line.startswith("#") or line.startswith("-"): + line, _, _ = line.partition("--") + line = line.strip().rstrip("\\") + if not line or line.startswith("#"): continue try: yield PipRequirement.parse(line) diff --git a/src/python/pants/backend/python/util_rules/pex_from_targets.py b/src/python/pants/backend/python/util_rules/pex_from_targets.py --- a/src/python/pants/backend/python/util_rules/pex_from_targets.py +++ b/src/python/pants/backend/python/util_rules/pex_from_targets.py @@ -393,6 +393,9 @@ async def create_pex_from_targets( pex_native_subsetting_supported = False if python_setup.enable_resolves: + # TODO: Once `requirement_constraints` is removed in favor of `enable_resolves`, + # `ChosenPythonResolveRequest` and `_PexRequirementsRequest` should merge and + # do a single transitive walk to replace this method. chosen_resolve = await Get( ChosenPythonResolve, ChosenPythonResolveRequest(request.addresses) ) @@ -400,6 +403,10 @@ async def create_pex_from_targets( LoadedLockfile, LoadedLockfileRequest(chosen_resolve.lockfile) ) pex_native_subsetting_supported = loaded_lockfile.is_pex_native + if loaded_lockfile.constraints_strings: + requirements = dataclasses.replace( + requirements, constraints_strings=loaded_lockfile.constraints_strings + ) should_return_entire_lockfile = ( python_setup.run_against_entire_lockfile and request.internal_only @@ -520,6 +527,10 @@ async def create_pex_from_targets( async def get_repository_pex( request: _RepositoryPexRequest, python_setup: PythonSetup ) -> OptionalPexRequest: + # NB: It isn't safe to resolve against an entire lockfile or constraints file if + # platforms are in use. See https://github.com/pantsbuild/pants/issues/12222. + if request.platforms or request.complete_platforms: + return OptionalPexRequest(None) interpreter_constraints = await Get( InterpreterConstraints, @@ -570,9 +581,7 @@ async def _setup_constraints_repository_pex( global_requirement_constraints: GlobalRequirementConstraints, ) -> OptionalPexRequest: request = constraints_request.repository_pex_request - # NB: it isn't safe to resolve against the whole constraints file if - # platforms are in use. See https://github.com/pantsbuild/pants/issues/12222. - if not python_setup.resolve_all_constraints or request.platforms or request.complete_platforms: + if not python_setup.resolve_all_constraints: return OptionalPexRequest(None) constraints_path = python_setup.requirement_constraints diff --git a/src/python/pants/backend/python/util_rules/pex_requirements.py b/src/python/pants/backend/python/util_rules/pex_requirements.py --- a/src/python/pants/backend/python/util_rules/pex_requirements.py +++ b/src/python/pants/backend/python/util_rules/pex_requirements.py @@ -9,7 +9,7 @@ from pants.backend.python.pip_requirement import PipRequirement from pants.backend.python.subsystems.setup import InvalidLockfileBehavior, PythonSetup -from pants.backend.python.target_types import PythonRequirementsField +from pants.backend.python.target_types import PythonRequirementsField, parse_requirements_file from pants.backend.python.util_rules.interpreter_constraints import InterpreterConstraints from pants.backend.python.util_rules.lockfile_metadata import ( InvalidPythonLockfileReason, @@ -87,8 +87,11 @@ class LoadedLockfile: requirement_estimate: int # True if the loaded lockfile is in PEX's native format. is_pex_native: bool + # If !is_pex_native, the lockfile parsed as constraints strings, for use when the lockfile + # needs to be subsetted (see #15031, ##12222). + constraints_strings: FrozenOrderedSet[str] | None # The original file or file content (which may not have identical content to the output - # `lockfile_digest). + # `lockfile_digest`). original_lockfile: Lockfile | LockfileContent @@ -167,11 +170,16 @@ async def load_lockfile( ), ) requirement_estimate = _pex_lockfile_requirement_count(lock_bytes) + constraints_strings = None else: header_delimiter = "#" + lock_string = lock_bytes.decode() # Note: this is a very naive heuristic. It will overcount because entries often # have >1 line due to `--hash`. - requirement_estimate = len(lock_bytes.decode().splitlines()) + requirement_estimate = len(lock_string.splitlines()) + constraints_strings = FrozenOrderedSet( + str(req) for req in parse_requirements_file(lock_string, rel_path=lockfile_path) + ) metadata: PythonLockfileMetadata | None = None if should_validate_metadata(lockfile, python_setup): @@ -188,6 +196,7 @@ async def load_lockfile( metadata, requirement_estimate, is_pex_native, + constraints_strings, original_lockfile=lockfile, )
Failure to build an AWS Lambda on macOS, even without native deps A lambda which used to build successfully with `2.9.x` (with `resolve_all_constraints`) fails to build in `2.10.0` and `2.11.0rc0` (with `enable_resolves`). ``` stderr: ERROR: Exception: Traceback (most recent call last): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/commands/download.py", line 131, in run reqs, check_supported_wheels=True File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 101, in resolve req, requested_extras=(), File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 291, in make_requirement_from_install_req if not ireq.match_markers(requested_extras): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 292, in match_markers for extra in extras_requested) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 292, in <genexpr> for extra in extras_requested) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 336, in evaluate return _evaluate_markers(self._markers, current_environment) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 252, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 233, in _get_env "{0!r} does not exist in evaluation environment.".format(name) pip._vendor.packaging.markers.UndefinedEnvironmentName: 'python_full_version' does not exist in evaluation environment. pid 86188 -> $HOME/.cache/pants/named_caches/pex_root/venvs/b295182ab4c550677e62422803f6a58e63ee0a33/a58bfc017a488e495e46564ebdf4aa8aa8f2c0fb/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir $HOME/.cache/pants/named_caches/pex_root --log /private/var/folders/hv/p6g7p3p95d19gtm5cfkrk5w00000gn/T/process-executionzr9mEY/.tmp/tmpavs4y06b/pip.log download --dest /private/var/folders/hv/p6g7p3p95d19gtm5cfkrk5w00000gn/T/process-executionzr9mEY/.tmp/tmply2cuzf5/cp38-cp38-linux_x86_64 --only-binary :all: --no-deps --requirement 3rdparty/python/default_$ORG_lock.txt --platform manylinux2014_x86_64 --platform linux_x86_64 --implementation cp --python-version 38 --abi cp38 --index-url https://pypi.org/simple/ --retries 5 --timeout 15 exited with 2 and STDERR: Failed to resolve for platform linux_x86_64-cp-38-cp38. Resolve requires evaluation of unknown environment marker: 'python_full_version' does not exist in evaluation environment. ``` The process that is failing is the building of a repository PEX... which seems strange to me, since I didn't think that we could build a repository PEX in this case (where a PEX is being built for another platform than the current one). So possibly that special casing broke.
This is also busted on 2.10, my guess is this has more to do with the usage of lockfiles (as opposed to constraint file) Ok, good to know. Have expanded the description. This should probably be fixed independently from #14980 and #14991 then, since those only need picking to `2.11.x`.
2022-04-06T20:35:35Z
[]
[]
Traceback (most recent call last): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args)
16,045
pantsbuild/pants
pantsbuild__pants-15033
837724987cd065274c70cadb7a2d06d3257fe0ec
diff --git a/src/python/pants/backend/python/target_types.py b/src/python/pants/backend/python/target_types.py --- a/src/python/pants/backend/python/target_types.py +++ b/src/python/pants/backend/python/target_types.py @@ -1011,8 +1011,9 @@ def parse_requirements_file(content: str, *, rel_path: str) -> Iterator[PipRequi VCS requirements will fail, with a helpful error message describing how to use PEP 440. """ for i, line in enumerate(content.splitlines()): - line = line.strip() - if not line or line.startswith("#") or line.startswith("-"): + line, _, _ = line.partition("--") + line = line.strip().rstrip("\\") + if not line or line.startswith("#"): continue try: yield PipRequirement.parse(line) diff --git a/src/python/pants/backend/python/util_rules/pex_from_targets.py b/src/python/pants/backend/python/util_rules/pex_from_targets.py --- a/src/python/pants/backend/python/util_rules/pex_from_targets.py +++ b/src/python/pants/backend/python/util_rules/pex_from_targets.py @@ -46,6 +46,7 @@ from pants.util.docutil import doc_url from pants.util.logging import LogLevel from pants.util.meta import frozen_after_init +from pants.util.ordered_set import FrozenOrderedSet from pants.util.strutil import bullet_list, path_safe logger = logging.getLogger(__name__) @@ -376,7 +377,10 @@ class _ConstraintsRepositoryPexRequest: @rule(level=LogLevel.DEBUG) -async def create_pex_from_targets(request: PexFromTargetsRequest) -> PexRequest: +async def create_pex_from_targets( + request: PexFromTargetsRequest, + python_setup: PythonSetup, +) -> PexRequest: interpreter_constraints = await Get( InterpreterConstraints, InterpreterConstraintsRequest, @@ -444,6 +448,29 @@ async def create_pex_from_targets(request: PexFromTargetsRequest) -> PexRequest: ), ) requirements = dataclasses.replace(requirements, repository_pex=repository_pex.maybe_pex) + if python_setup.enable_resolves and not repository_pex.maybe_pex: + # If we cannot use a PEX-repository for whatever reason, we still need to parse and + # apply the lockfile as constraints. + chosen_resolve = await Get( + ChosenPythonResolve, ChosenPythonResolveRequest(request.addresses) + ) + lockfile_contents = await Get( + DigestContents, + PathGlobs( + [chosen_resolve.lockfile_path], + glob_match_error_behavior=GlobMatchErrorBehavior.error, + description_of_origin=f"the resolve `{chosen_resolve.name}` (from `[python].resolves`)", + ), + ) + constraints_strings = FrozenOrderedSet( + str(req) + for req in parse_requirements_file( + lockfile_contents[0].content.decode(), rel_path=chosen_resolve.lockfile_path + ) + ) + requirements = dataclasses.replace( + requirements, constraints_strings=constraints_strings + ) return PexRequest( output_filename=request.output_filename, @@ -465,6 +492,10 @@ async def create_pex_from_targets(request: PexFromTargetsRequest) -> PexRequest: async def get_repository_pex( request: _RepositoryPexRequest, python_setup: PythonSetup ) -> OptionalPexRequest: + # NB: It isn't safe to resolve against an entire lockfile or constraints file if + # platforms are in use. See https://github.com/pantsbuild/pants/issues/12222. + if request.platforms or request.complete_platforms: + return OptionalPexRequest(None) interpreter_constraints = await Get( InterpreterConstraints, @@ -520,9 +551,7 @@ async def _setup_constraints_repository_pex( global_requirement_constraints: GlobalRequirementConstraints, ) -> OptionalPexRequest: request = constraints_request.repository_pex_request - # NB: it isn't safe to resolve against the whole constraints file if - # platforms are in use. See https://github.com/pantsbuild/pants/issues/12222. - if not python_setup.resolve_all_constraints or request.platforms or request.complete_platforms: + if not python_setup.resolve_all_constraints: return OptionalPexRequest(None) constraints_path = python_setup.requirement_constraints
Failure to build an AWS Lambda on macOS, even without native deps A lambda which used to build successfully with `2.9.x` (with `resolve_all_constraints`) fails to build in `2.10.0` and `2.11.0rc0` (with `enable_resolves`). ``` stderr: ERROR: Exception: Traceback (most recent call last): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/commands/download.py", line 131, in run reqs, check_supported_wheels=True File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 101, in resolve req, requested_extras=(), File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 291, in make_requirement_from_install_req if not ireq.match_markers(requested_extras): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 292, in match_markers for extra in extras_requested) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 292, in <genexpr> for extra in extras_requested) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 336, in evaluate return _evaluate_markers(self._markers, current_environment) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 252, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 233, in _get_env "{0!r} does not exist in evaluation environment.".format(name) pip._vendor.packaging.markers.UndefinedEnvironmentName: 'python_full_version' does not exist in evaluation environment. pid 86188 -> $HOME/.cache/pants/named_caches/pex_root/venvs/b295182ab4c550677e62422803f6a58e63ee0a33/a58bfc017a488e495e46564ebdf4aa8aa8f2c0fb/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir $HOME/.cache/pants/named_caches/pex_root --log /private/var/folders/hv/p6g7p3p95d19gtm5cfkrk5w00000gn/T/process-executionzr9mEY/.tmp/tmpavs4y06b/pip.log download --dest /private/var/folders/hv/p6g7p3p95d19gtm5cfkrk5w00000gn/T/process-executionzr9mEY/.tmp/tmply2cuzf5/cp38-cp38-linux_x86_64 --only-binary :all: --no-deps --requirement 3rdparty/python/default_$ORG_lock.txt --platform manylinux2014_x86_64 --platform linux_x86_64 --implementation cp --python-version 38 --abi cp38 --index-url https://pypi.org/simple/ --retries 5 --timeout 15 exited with 2 and STDERR: Failed to resolve for platform linux_x86_64-cp-38-cp38. Resolve requires evaluation of unknown environment marker: 'python_full_version' does not exist in evaluation environment. ``` The process that is failing is the building of a repository PEX... which seems strange to me, since I didn't think that we could build a repository PEX in this case (where a PEX is being built for another platform than the current one). So possibly that special casing broke.
This is also busted on 2.10, my guess is this has more to do with the usage of lockfiles (as opposed to constraint file) Ok, good to know. Have expanded the description. This should probably be fixed independently from #14980 and #14991 then, since those only need picking to `2.11.x`. It turns out that this is exactly described by #12222. Working on it now.
2022-04-07T04:04:44Z
[]
[]
Traceback (most recent call last): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args)
16,047
pantsbuild/pants
pantsbuild__pants-15034
232293c198160d9b984139282ec8560a76e1c057
diff --git a/src/python/pants/backend/python/target_types.py b/src/python/pants/backend/python/target_types.py --- a/src/python/pants/backend/python/target_types.py +++ b/src/python/pants/backend/python/target_types.py @@ -1025,8 +1025,9 @@ def parse_requirements_file(content: str, *, rel_path: str) -> Iterator[PipRequi VCS requirements will fail, with a helpful error message describing how to use PEP 440. """ for i, line in enumerate(content.splitlines()): - line = line.strip() - if not line or line.startswith("#") or line.startswith("-"): + line, _, _ = line.partition("--") + line = line.strip().rstrip("\\") + if not line or line.startswith("#"): continue try: yield PipRequirement.parse(line) diff --git a/src/python/pants/backend/python/util_rules/pex_from_targets.py b/src/python/pants/backend/python/util_rules/pex_from_targets.py --- a/src/python/pants/backend/python/util_rules/pex_from_targets.py +++ b/src/python/pants/backend/python/util_rules/pex_from_targets.py @@ -393,6 +393,9 @@ async def create_pex_from_targets( pex_native_subsetting_supported = False if python_setup.enable_resolves: + # TODO: Once `requirement_constraints` is removed in favor of `enable_resolves`, + # `ChosenPythonResolveRequest` and `_PexRequirementsRequest` should merge and + # do a single transitive walk to replace this method. chosen_resolve = await Get( ChosenPythonResolve, ChosenPythonResolveRequest(request.addresses) ) @@ -400,6 +403,10 @@ async def create_pex_from_targets( LoadedLockfile, LoadedLockfileRequest(chosen_resolve.lockfile) ) pex_native_subsetting_supported = loaded_lockfile.is_pex_native + if loaded_lockfile.constraints_strings: + requirements = dataclasses.replace( + requirements, constraints_strings=loaded_lockfile.constraints_strings + ) should_return_entire_lockfile = ( python_setup.run_against_entire_lockfile and request.internal_only @@ -520,6 +527,10 @@ async def create_pex_from_targets( async def get_repository_pex( request: _RepositoryPexRequest, python_setup: PythonSetup ) -> OptionalPexRequest: + # NB: It isn't safe to resolve against an entire lockfile or constraints file if + # platforms are in use. See https://github.com/pantsbuild/pants/issues/12222. + if request.platforms or request.complete_platforms: + return OptionalPexRequest(None) interpreter_constraints = await Get( InterpreterConstraints, @@ -570,9 +581,7 @@ async def _setup_constraints_repository_pex( global_requirement_constraints: GlobalRequirementConstraints, ) -> OptionalPexRequest: request = constraints_request.repository_pex_request - # NB: it isn't safe to resolve against the whole constraints file if - # platforms are in use. See https://github.com/pantsbuild/pants/issues/12222. - if not python_setup.resolve_all_constraints or request.platforms or request.complete_platforms: + if not python_setup.resolve_all_constraints: return OptionalPexRequest(None) constraints_path = python_setup.requirement_constraints diff --git a/src/python/pants/backend/python/util_rules/pex_requirements.py b/src/python/pants/backend/python/util_rules/pex_requirements.py --- a/src/python/pants/backend/python/util_rules/pex_requirements.py +++ b/src/python/pants/backend/python/util_rules/pex_requirements.py @@ -9,7 +9,7 @@ from pants.backend.python.pip_requirement import PipRequirement from pants.backend.python.subsystems.setup import InvalidLockfileBehavior, PythonSetup -from pants.backend.python.target_types import PythonRequirementsField +from pants.backend.python.target_types import PythonRequirementsField, parse_requirements_file from pants.backend.python.util_rules.interpreter_constraints import InterpreterConstraints from pants.backend.python.util_rules.lockfile_metadata import ( InvalidPythonLockfileReason, @@ -87,8 +87,11 @@ class LoadedLockfile: requirement_estimate: int # True if the loaded lockfile is in PEX's native format. is_pex_native: bool + # If !is_pex_native, the lockfile parsed as constraints strings, for use when the lockfile + # needs to be subsetted (see #15031, ##12222). + constraints_strings: FrozenOrderedSet[str] | None # The original file or file content (which may not have identical content to the output - # `lockfile_digest). + # `lockfile_digest`). original_lockfile: Lockfile | LockfileContent @@ -167,11 +170,16 @@ async def load_lockfile( ), ) requirement_estimate = _pex_lockfile_requirement_count(lock_bytes) + constraints_strings = None else: header_delimiter = "#" + lock_string = lock_bytes.decode() # Note: this is a very naive heuristic. It will overcount because entries often # have >1 line due to `--hash`. - requirement_estimate = len(lock_bytes.decode().splitlines()) + requirement_estimate = len(lock_string.splitlines()) + constraints_strings = FrozenOrderedSet( + str(req) for req in parse_requirements_file(lock_string, rel_path=lockfile_path) + ) metadata: PythonLockfileMetadata | None = None if should_validate_metadata(lockfile, python_setup): @@ -188,6 +196,7 @@ async def load_lockfile( metadata, requirement_estimate, is_pex_native, + constraints_strings, original_lockfile=lockfile, )
Failure to build an AWS Lambda on macOS, even without native deps A lambda which used to build successfully with `2.9.x` (with `resolve_all_constraints`) fails to build in `2.10.0` and `2.11.0rc0` (with `enable_resolves`). ``` stderr: ERROR: Exception: Traceback (most recent call last): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper return func(self, options, args) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/commands/download.py", line 131, in run reqs, check_supported_wheels=True File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 101, in resolve req, requested_extras=(), File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 291, in make_requirement_from_install_req if not ireq.match_markers(requested_extras): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 292, in match_markers for extra in extras_requested) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 292, in <genexpr> for extra in extras_requested) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 336, in evaluate return _evaluate_markers(self._markers, current_environment) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 252, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_vendor/packaging/markers.py", line 233, in _get_env "{0!r} does not exist in evaluation environment.".format(name) pip._vendor.packaging.markers.UndefinedEnvironmentName: 'python_full_version' does not exist in evaluation environment. pid 86188 -> $HOME/.cache/pants/named_caches/pex_root/venvs/b295182ab4c550677e62422803f6a58e63ee0a33/a58bfc017a488e495e46564ebdf4aa8aa8f2c0fb/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir $HOME/.cache/pants/named_caches/pex_root --log /private/var/folders/hv/p6g7p3p95d19gtm5cfkrk5w00000gn/T/process-executionzr9mEY/.tmp/tmpavs4y06b/pip.log download --dest /private/var/folders/hv/p6g7p3p95d19gtm5cfkrk5w00000gn/T/process-executionzr9mEY/.tmp/tmply2cuzf5/cp38-cp38-linux_x86_64 --only-binary :all: --no-deps --requirement 3rdparty/python/default_$ORG_lock.txt --platform manylinux2014_x86_64 --platform linux_x86_64 --implementation cp --python-version 38 --abi cp38 --index-url https://pypi.org/simple/ --retries 5 --timeout 15 exited with 2 and STDERR: Failed to resolve for platform linux_x86_64-cp-38-cp38. Resolve requires evaluation of unknown environment marker: 'python_full_version' does not exist in evaluation environment. ``` The process that is failing is the building of a repository PEX... which seems strange to me, since I didn't think that we could build a repository PEX in this case (where a PEX is being built for another platform than the current one). So possibly that special casing broke.
This is also busted on 2.10, my guess is this has more to do with the usage of lockfiles (as opposed to constraint file) Ok, good to know. Have expanded the description. This should probably be fixed independently from #14980 and #14991 then, since those only need picking to `2.11.x`. It turns out that this is exactly described by #12222. Working on it now.
2022-04-07T04:18:26Z
[]
[]
Traceback (most recent call last): File "$HOME/.cache/pants/named_caches/pex_root/venvs/s/ed918e81/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 223, in _main status = self.run(options, args)
16,048
pantsbuild/pants
pantsbuild__pants-15483
b083fbcdd0f3a83ece3fd6a91994d2457de6cacc
diff --git a/src/python/pants/core/goals/fmt.py b/src/python/pants/core/goals/fmt.py --- a/src/python/pants/core/goals/fmt.py +++ b/src/python/pants/core/goals/fmt.py @@ -286,7 +286,8 @@ async def fmt_language(language_fmt_request: _LanguageFmtRequest) -> _LanguageFm continue result = await Get(FmtResult, FmtRequest, request) results.append(result) - prior_formatter_result = result.output + if not result.skipped: + prior_formatter_result = result.output return _LanguageFmtResults( tuple(results), input=original_sources.snapshot.digest,
--black-skip breaks fmt goal on isort exception **Describe the bug** There are a few related bugs, but the breaking behaviour is the most important I think. I've tested on 2.11, and everything works as expected, so this appears to only be a pre-release/dev bug. While writing a plugin, I started implementing and testing the `skip` functionality and noticed some strange behaviour on `main`. This behaviour isn't limited to `black`, but it's quick to replicate. Note below that even after skipping `black` in the `lint` goal, it is in the associated list and marked "succeeded". In reality, it should be failing if it's actually running. In 2.11, black just wouldn't be shown in that list. Personally, I think "black skipped" in yellow text might make more sense, but 🤷🏽 ```bash > ./pants lint --black-skip :: ✓ autoflake succeeded. ✓ bandit succeeded. ✓ black succeeded. ✕ flake8 failed. ✓ isort succeeded. ✓ pylint succeeded. ✓ pyupgrade succeeded. ✓ shellcheck succeeded. ✓ shfmt succeeded. ``` The more concerning behaviour is on format. ```bash > ./pants fmt --black-skip :: 14:28:06.41 [ERROR] 1 Exception encountered: Engine traceback: in select in pants.core.goals.fmt.fmt in pants.core.goals.fmt.fmt_language in pants.backend.python.lint.isort.rules.isort_fmt (isort) in pants.engine.process.fallible_to_exec_result_or_raise Traceback (most recent call last): File "/Users/sj/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.NUYNTS/install/lib/python3.9/site-packages/pants/engine/process.py", line 272, in fallible_to_exec_result_or_raise raise ProcessExecutionFailure( pants.engine.process.ProcessExecutionFailure: Process 'Run isort on 7 files.' failed with exit code 1. ``` **Pants version** 2.13.0.dev1 **OS** MacOS **Additional info** Using this repo (https://github.com/sureshjoshi/pants-example-plugin) and I manually set the toml to `2.13.0.dev`. I also went in and messed with the `main.py` formatting, so I knew `black` would want to run.
I can reproduce :fearful: Oh this is just a silly mistake :sweat_smile: I'll get to work on PR and add test we don't goof in the future.
2022-05-15T16:09:11Z
[]
[]
Traceback (most recent call last): File "/Users/sj/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.NUYNTS/install/lib/python3.9/site-packages/pants/engine/process.py", line 272, in fallible_to_exec_result_or_raise raise ProcessExecutionFailure( pants.engine.process.ProcessExecutionFailure: Process 'Run isort on 7 files.' failed with exit code 1.
16,091
pantsbuild/pants
pantsbuild__pants-15602
af0adbae7cc9cbed89eb665c6b219c1443e14096
diff --git a/src/python/pants/core/goals/fmt.py b/src/python/pants/core/goals/fmt.py --- a/src/python/pants/core/goals/fmt.py +++ b/src/python/pants/core/goals/fmt.py @@ -286,7 +286,8 @@ async def fmt_language(language_fmt_request: _LanguageFmtRequest) -> _LanguageFm continue result = await Get(FmtResult, FmtRequest, request) results.append(result) - prior_formatter_result = result.output + if not result.skipped: + prior_formatter_result = result.output return _LanguageFmtResults( tuple(results), input=original_sources.snapshot.digest,
--black-skip breaks fmt goal on isort exception **Describe the bug** There are a few related bugs, but the breaking behaviour is the most important I think. I've tested on 2.11, and everything works as expected, so this appears to only be a pre-release/dev bug. While writing a plugin, I started implementing and testing the `skip` functionality and noticed some strange behaviour on `main`. This behaviour isn't limited to `black`, but it's quick to replicate. Note below that even after skipping `black` in the `lint` goal, it is in the associated list and marked "succeeded". In reality, it should be failing if it's actually running. In 2.11, black just wouldn't be shown in that list. Personally, I think "black skipped" in yellow text might make more sense, but 🤷🏽 ```bash > ./pants lint --black-skip :: ✓ autoflake succeeded. ✓ bandit succeeded. ✓ black succeeded. ✕ flake8 failed. ✓ isort succeeded. ✓ pylint succeeded. ✓ pyupgrade succeeded. ✓ shellcheck succeeded. ✓ shfmt succeeded. ``` The more concerning behaviour is on format. ```bash > ./pants fmt --black-skip :: 14:28:06.41 [ERROR] 1 Exception encountered: Engine traceback: in select in pants.core.goals.fmt.fmt in pants.core.goals.fmt.fmt_language in pants.backend.python.lint.isort.rules.isort_fmt (isort) in pants.engine.process.fallible_to_exec_result_or_raise Traceback (most recent call last): File "/Users/sj/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.NUYNTS/install/lib/python3.9/site-packages/pants/engine/process.py", line 272, in fallible_to_exec_result_or_raise raise ProcessExecutionFailure( pants.engine.process.ProcessExecutionFailure: Process 'Run isort on 7 files.' failed with exit code 1. ``` **Pants version** 2.13.0.dev1 **OS** MacOS **Additional info** Using this repo (https://github.com/sureshjoshi/pants-example-plugin) and I manually set the toml to `2.13.0.dev`. I also went in and messed with the `main.py` formatting, so I knew `black` would want to run.
I can reproduce :fearful: Oh this is just a silly mistake :sweat_smile: I'll get to work on PR and add test we don't goof in the future.
2022-05-23T20:19:49Z
[]
[]
Traceback (most recent call last): File "/Users/sj/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.NUYNTS/install/lib/python3.9/site-packages/pants/engine/process.py", line 272, in fallible_to_exec_result_or_raise raise ProcessExecutionFailure( pants.engine.process.ProcessExecutionFailure: Process 'Run isort on 7 files.' failed with exit code 1.
16,101
pantsbuild/pants
pantsbuild__pants-16249
28d7af5861538d139a7e23c1c357c0571a396905
diff --git a/src/python/pants/engine/internals/graph.py b/src/python/pants/engine/internals/graph.py --- a/src/python/pants/engine/internals/graph.py +++ b/src/python/pants/engine/internals/graph.py @@ -9,7 +9,7 @@ import os.path from dataclasses import dataclass from pathlib import PurePath -from typing import Iterable, NamedTuple, Sequence, Type, cast +from typing import Iterable, Iterator, NamedTuple, Sequence, Type, cast from pants.base.deprecated import warn_or_error from pants.base.specs import AncestorGlobSpec, RawSpecsWithoutFileOwners, RecursiveGlobSpec @@ -33,7 +33,7 @@ _TargetParametrizationsRequest as _TargetParametrizationsRequest, ) from pants.engine.internals.target_adaptor import TargetAdaptor, TargetAdaptorRequest -from pants.engine.rules import Get, MultiGet, collect_rules, rule +from pants.engine.rules import Get, MultiGet, collect_rules, rule, rule_helper from pants.engine.target import ( AllTargets, AllTargetsRequest, @@ -338,13 +338,7 @@ async def resolve_target( base_address, description_of_origin=request.description_of_origin ), ) - if address.is_generated_target: - # TODO: This is an accommodation to allow using file/generator Addresses for - # non-generator atom targets. See https://github.com/pantsbuild/pants/issues/14419. - original_target = parametrizations.get(base_address) - if original_target and not target_types_to_generate_requests.is_generator(original_target): - return WrappedTarget(original_target) - target = parametrizations.get(address) + target = parametrizations.get(address, target_types_to_generate_requests) if target is None: raise ResolveError( softwrap( @@ -1055,6 +1049,35 @@ async def determine_explicitly_provided_dependencies( ) +@rule_helper +async def _fill_parameters( + field_alias: str, + consumer_tgt: Target, + addresses: Iterable[Address], + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests, + field_defaults: FieldDefaults, +) -> tuple[Address, ...]: + assert not isinstance(addresses, Iterator) + + parametrizations = await MultiGet( + Get( + _TargetParametrizations, + _TargetParametrizationsRequest( + address.maybe_convert_to_target_generator(), + description_of_origin=f"the `{field_alias}` field of the target {consumer_tgt.address}", + ), + ) + for address in addresses + ) + + return tuple( + parametrizations.get_subset( + address, consumer_tgt, field_defaults, target_types_to_generate_requests + ).address + for address, parametrizations in zip(addresses, parametrizations) + ) + + @rule(desc="Resolve direct dependencies") async def resolve_dependencies( request: DependenciesRequest, @@ -1111,25 +1134,24 @@ async def resolve_dependencies( # parameters. If so, fill them in. explicitly_provided_includes: Iterable[Address] = explicitly_provided.includes if explicitly_provided_includes: - explicit_dependency_parametrizations = await MultiGet( - Get( - _TargetParametrizations, - _TargetParametrizationsRequest( - address.maybe_convert_to_target_generator(), - description_of_origin=( - f"the `{request.field.alias}` field of the target {tgt.address}" - ), - ), - ) - for address in explicitly_provided_includes + explicitly_provided_includes = await _fill_parameters( + request.field.alias, + tgt, + explicitly_provided_includes, + target_types_to_generate_requests, + field_defaults, ) - - explicitly_provided_includes = [ - parametrizations.get_subset(address, tgt, field_defaults).address - for address, parametrizations in zip( - explicitly_provided_includes, explicit_dependency_parametrizations + explicitly_provided_ignores: FrozenOrderedSet[Address] = explicitly_provided.ignores + if explicitly_provided_ignores: + explicitly_provided_ignores = FrozenOrderedSet( + await _fill_parameters( + request.field.alias, + tgt, + tuple(explicitly_provided_ignores), + target_types_to_generate_requests, + field_defaults, ) - ] + ) # If the target has `SpecialCasedDependencies`, such as the `archive` target having # `files` and `packages` fields, then we possibly include those too. We don't want to always @@ -1162,7 +1184,7 @@ async def resolve_dependencies( for addr in special_cased_field.to_unparsed_address_inputs().values ) - excluded = explicitly_provided.ignores.union( + excluded = explicitly_provided_ignores.union( *itertools.chain(deps.exclude for deps in inferred) ) result = Addresses( diff --git a/src/python/pants/engine/internals/parametrize.py b/src/python/pants/engine/internals/parametrize.py --- a/src/python/pants/engine/internals/parametrize.py +++ b/src/python/pants/engine/internals/parametrize.py @@ -12,7 +12,7 @@ from pants.engine.addresses import Address from pants.engine.collection import Collection from pants.engine.engine_aware import EngineAwareParameter -from pants.engine.target import Field, FieldDefaults, Target +from pants.engine.target import Field, FieldDefaults, Target, TargetTypesToGenerateTargetsRequests from pants.util.frozendict import FrozenDict from pants.util.meta import frozen_after_init from pants.util.strutil import bullet_list, softwrap @@ -193,12 +193,27 @@ def generated_for(self, address: Address) -> FrozenDict[Address, Target]: raise self._bare_address_error(address) - def get(self, address: Address) -> Target | None: + def get( + self, + address: Address, + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests | None = None, + ) -> Target | None: """Find the Target with an exact Address match, if any.""" for parametrization in self: instance = parametrization.get(address) if instance is not None: return instance + + # TODO: This is an accommodation to allow using file/generator Addresses for + # non-generator atom targets. See https://github.com/pantsbuild/pants/issues/14419. + if target_types_to_generate_requests and address.is_generated_target: + base_address = address.maybe_convert_to_target_generator() + original_target = self.get(base_address, target_types_to_generate_requests) + if original_target and not target_types_to_generate_requests.is_generator( + original_target + ): + return original_target + return None def get_all_superset_targets(self, address: Address) -> Iterator[Address]: @@ -225,11 +240,15 @@ def get_all_superset_targets(self, address: Address) -> Iterator[Address]: yield parametrized_tgt.address def get_subset( - self, address: Address, consumer: Target, field_defaults: FieldDefaults + self, + address: Address, + consumer: Target, + field_defaults: FieldDefaults, + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests, ) -> Target: """Find the Target with the given Address, or with fields matching the given consumer.""" # Check for exact matches. - instance = self.get(address) + instance = self.get(address, target_types_to_generate_requests) if instance is not None: return instance
Apply parameter expansion for dependency ignores We only apply for includes: https://github.com/pantsbuild/pants/blob/ae9e2c866cf0b41c2de1730046afa3e0021daf1a/src/python/pants/engine/internals/graph.py#L1110-L1132 But maybe we should also apply for ignores: https://github.com/pantsbuild/pants/blob/ae9e2c866cf0b41c2de1730046afa3e0021daf1a/src/python/pants/engine/internals/graph.py#L1165-L1167 A user is getting issues excluding the target generator `dir:foo` because it parametrized to `dir:foo@resolve=a` and `dir:foo@resolve=b`, along with all of its generated targets like `dir:foo#gen@resolve=a`. Pants crashes with error related to parameterization on latest 2.13.x **Describe the bug** I upgraded to 757a2664cb82fac6693f13609ce14911d8fd88e3 to pull in the `pex` upgrade. Most CI runs on the PR failed with: ``` 20:03:57.76 [INFO] Starting: Resolving plugins: toolchain.pants.plugin==0.20.0 20:04:11.50 [INFO] Completed: Resolving plugins: toolchain.pants.plugin==0.20.0 20:04:12.12 [INFO] [auth-plugin] Successfully loaded Toolchain token from env var 'TOOLCHAIN_AUTH_TOKEN', expiration: 2022-12-20T20:52:09+00:00. Exception caught: (pants.engine.internals.scheduler.ExecutionError) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/bin/pants", line 8, in <module> sys.exit(main()) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 115, in main PantsLoader.main() File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 111, in main cls.run_default_entrypoint() File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 93, in run_default_entrypoint exit_code = runner.run(start_time) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_runner.py", line 99, in run runner = LocalPantsRunner.create( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 159, in create specs = calculate_specs( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/init/specs_calculator.py", line 94, in calculate_specs (changed_addresses,) = session.product_request( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 577, in product_request return self.execute(request) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 521, in execute self._raise_on_error([t for _, t in throws]) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 498, in _raise_on_error raise ExecutionError( Exception message: 1 Exception encountered: Engine traceback: in select in pants.vcs.changed.find_changed_owners in pants.backend.project_info.dependees.find_dependees in pants.backend.project_info.dependees.map_addresses_to_dependees in pants.engine.internals.graph.resolve_dependencies (src/projects/rhp/backend:celery) Traceback (most recent call last): File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/selectors.py", line 653, in native_engine_generator_send res = func.send(arg) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1146, in resolve_dependencies explicitly_provided_includes = [ File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1147, in <listcomp> parametrizations.get_subset(address, tgt, field_defaults).address File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/parametrize.py", line 271, in get_subset raise ValueError( ValueError: The explicit dependency `src/projects/rhp/backend/celery.py` of the target at `src/projects/rhp/backend:celery` does not provide enough address parameters to identify which parametrization of the dependency target should be used. Target `src/projects/rhp/backend:backend` can be addressed as: * src/projects/rhp/backend:backend NoneType: None FATAL: exception not rethrown FATAL: exception not rethrown ``` The code in question is laid out like: ``` src/projects/rhp/backend/ celery.py other.py BUILD.pants ``` With targets: ``` python_sources() pex_binary( name="celery", entry_point="celery.bin.celery", dependencies=[ "./celery.py", ], restartable=True, ) ``` The crash happened when running the `test`, `check`, and `lint --skip-formatters` but not when running `tailor`, `update-build-files --check`, or `lint --only=black --only=isort`. I haven't been able to reproduce it locally. Note that we don't `parameterize` any of our targets so I'm not sure why Pants is trying to figure out which parameterization to use. **Pants version** 757a2664cb82fac6693f13609ce14911d8fd88e3 **OS** Linux
Hm, I don't reproduce this in simple cases, such as: ```diff diff --git a/testprojects/src/python/print_env/BUILD b/testprojects/src/python/print_env/BUILD index f6018298ff..35d53f8e41 100644 --- a/testprojects/src/python/print_env/BUILD +++ b/testprojects/src/python/print_env/BUILD @@ -1,6 +1,6 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -pex_binary(name="binary", entry_point="print_env.main", dependencies=[":lib"]) +pex_binary(name="binary", entry_point="print_env.main", dependencies=["./main.py"]) -python_sources(name="lib") +python_sources() ``` ...which successfully runs `./pants dependencies testprojects/src/python/print_env:binary` and `--changed-dependees=transitive`. I believe that we have enough info in [the Slack thread](https://pantsbuild.slack.com/archives/C0D7TNJHL/p1658271672639599?thread_ts=1658263758.236709&cid=C0D7TNJHL) to reproduce this one: I'll take a stab tomorrow. Thanks again!
2022-07-20T17:43:42Z
[]
[]
Traceback (most recent call last): File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/selectors.py", line 653, in native_engine_generator_send res = func.send(arg) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1146, in resolve_dependencies explicitly_provided_includes = [ File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1147, in <listcomp> parametrizations.get_subset(address, tgt, field_defaults).address File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/parametrize.py", line 271, in get_subset raise ValueError( ValueError: The explicit dependency `src/projects/rhp/backend/celery.py` of the target at `src/projects/rhp/backend:celery` does not provide enough address parameters to identify which parametrization of the dependency target should be used.
16,157
pantsbuild/pants
pantsbuild__pants-16250
7c4c77ba45d7c1958977198f47f4114f77fc4885
diff --git a/src/python/pants/engine/internals/graph.py b/src/python/pants/engine/internals/graph.py --- a/src/python/pants/engine/internals/graph.py +++ b/src/python/pants/engine/internals/graph.py @@ -9,7 +9,7 @@ import os.path from dataclasses import dataclass from pathlib import PurePath -from typing import Iterable, NamedTuple, Sequence, cast +from typing import Iterable, Iterator, NamedTuple, Sequence, cast from pants.base.deprecated import resolve_conflicting_options, warn_or_error from pants.base.specs import AncestorGlobSpec, RawSpecsWithoutFileOwners, RecursiveGlobSpec @@ -33,7 +33,7 @@ _TargetParametrizationsRequest as _TargetParametrizationsRequest, ) from pants.engine.internals.target_adaptor import TargetAdaptor, TargetAdaptorRequest -from pants.engine.rules import Get, MultiGet, collect_rules, rule +from pants.engine.rules import Get, MultiGet, collect_rules, rule, rule_helper from pants.engine.target import ( AllTargets, AllTargetsRequest, @@ -340,13 +340,7 @@ async def resolve_target( base_address, description_of_origin=request.description_of_origin ), ) - if address.is_generated_target: - # TODO: This is an accommodation to allow using file/generator Addresses for - # non-generator atom targets. See https://github.com/pantsbuild/pants/issues/14419. - original_target = parametrizations.get(base_address) - if original_target and not target_types_to_generate_requests.is_generator(original_target): - return WrappedTarget(original_target) - target = parametrizations.get(address) + target = parametrizations.get(address, target_types_to_generate_requests) if target is None: raise ResolveError( softwrap( @@ -1067,6 +1061,35 @@ async def determine_explicitly_provided_dependencies( ) +@rule_helper +async def _fill_parameters( + field_alias: str, + consumer_tgt: Target, + addresses: Iterable[Address], + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests, + field_defaults: FieldDefaults, +) -> tuple[Address, ...]: + assert not isinstance(addresses, Iterator) + + parametrizations = await MultiGet( + Get( + _TargetParametrizations, + _TargetParametrizationsRequest( + address.maybe_convert_to_target_generator(), + description_of_origin=f"the `{field_alias}` field of the target {consumer_tgt.address}", + ), + ) + for address in addresses + ) + + return tuple( + parametrizations.get_subset( + address, consumer_tgt, field_defaults, target_types_to_generate_requests + ).address + for address, parametrizations in zip(addresses, parametrizations) + ) + + @rule(desc="Resolve direct dependencies") async def resolve_dependencies( request: DependenciesRequest, @@ -1130,25 +1153,24 @@ async def resolve_dependencies( # parameters. If so, fill them in. explicitly_provided_includes: Iterable[Address] = explicitly_provided.includes if explicitly_provided_includes: - explicit_dependency_parametrizations = await MultiGet( - Get( - _TargetParametrizations, - _TargetParametrizationsRequest( - address.maybe_convert_to_target_generator(), - description_of_origin=( - f"the `{request.field.alias}` field of the target {tgt.address}" - ), - ), - ) - for address in explicitly_provided_includes + explicitly_provided_includes = await _fill_parameters( + request.field.alias, + tgt, + explicitly_provided_includes, + target_types_to_generate_requests, + field_defaults, ) - - explicitly_provided_includes = [ - parametrizations.get_subset(address, tgt, field_defaults).address - for address, parametrizations in zip( - explicitly_provided_includes, explicit_dependency_parametrizations + explicitly_provided_ignores: FrozenOrderedSet[Address] = explicitly_provided.ignores + if explicitly_provided_ignores: + explicitly_provided_ignores = FrozenOrderedSet( + await _fill_parameters( + request.field.alias, + tgt, + tuple(explicitly_provided_ignores), + target_types_to_generate_requests, + field_defaults, ) - ] + ) # If the target has `SpecialCasedDependencies`, such as the `archive` target having # `files` and `packages` fields, then we possibly include those too. We don't want to always @@ -1192,7 +1214,7 @@ async def resolve_dependencies( *itertools.chain.from_iterable(inferred), *special_cased, ) - if addr not in explicitly_provided.ignores + if addr not in explicitly_provided_ignores } ) ) diff --git a/src/python/pants/engine/internals/parametrize.py b/src/python/pants/engine/internals/parametrize.py --- a/src/python/pants/engine/internals/parametrize.py +++ b/src/python/pants/engine/internals/parametrize.py @@ -12,7 +12,7 @@ from pants.engine.addresses import Address from pants.engine.collection import Collection from pants.engine.engine_aware import EngineAwareParameter -from pants.engine.target import Field, FieldDefaults, Target +from pants.engine.target import Field, FieldDefaults, Target, TargetTypesToGenerateTargetsRequests from pants.util.frozendict import FrozenDict from pants.util.meta import frozen_after_init from pants.util.strutil import bullet_list, softwrap @@ -193,12 +193,27 @@ def generated_for(self, address: Address) -> FrozenDict[Address, Target]: raise self._bare_address_error(address) - def get(self, address: Address) -> Target | None: + def get( + self, + address: Address, + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests | None = None, + ) -> Target | None: """Find the Target with an exact Address match, if any.""" for parametrization in self: instance = parametrization.get(address) if instance is not None: return instance + + # TODO: This is an accommodation to allow using file/generator Addresses for + # non-generator atom targets. See https://github.com/pantsbuild/pants/issues/14419. + if target_types_to_generate_requests and address.is_generated_target: + base_address = address.maybe_convert_to_target_generator() + original_target = self.get(base_address, target_types_to_generate_requests) + if original_target and not target_types_to_generate_requests.is_generator( + original_target + ): + return original_target + return None def get_all_superset_targets(self, address: Address) -> Iterator[Address]: @@ -225,11 +240,15 @@ def get_all_superset_targets(self, address: Address) -> Iterator[Address]: yield parametrized_tgt.address def get_subset( - self, address: Address, consumer: Target, field_defaults: FieldDefaults + self, + address: Address, + consumer: Target, + field_defaults: FieldDefaults, + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests, ) -> Target: """Find the Target with the given Address, or with fields matching the given consumer.""" # Check for exact matches. - instance = self.get(address) + instance = self.get(address, target_types_to_generate_requests) if instance is not None: return instance
Apply parameter expansion for dependency ignores We only apply for includes: https://github.com/pantsbuild/pants/blob/ae9e2c866cf0b41c2de1730046afa3e0021daf1a/src/python/pants/engine/internals/graph.py#L1110-L1132 But maybe we should also apply for ignores: https://github.com/pantsbuild/pants/blob/ae9e2c866cf0b41c2de1730046afa3e0021daf1a/src/python/pants/engine/internals/graph.py#L1165-L1167 A user is getting issues excluding the target generator `dir:foo` because it parametrized to `dir:foo@resolve=a` and `dir:foo@resolve=b`, along with all of its generated targets like `dir:foo#gen@resolve=a`. Pants crashes with error related to parameterization on latest 2.13.x **Describe the bug** I upgraded to 757a2664cb82fac6693f13609ce14911d8fd88e3 to pull in the `pex` upgrade. Most CI runs on the PR failed with: ``` 20:03:57.76 [INFO] Starting: Resolving plugins: toolchain.pants.plugin==0.20.0 20:04:11.50 [INFO] Completed: Resolving plugins: toolchain.pants.plugin==0.20.0 20:04:12.12 [INFO] [auth-plugin] Successfully loaded Toolchain token from env var 'TOOLCHAIN_AUTH_TOKEN', expiration: 2022-12-20T20:52:09+00:00. Exception caught: (pants.engine.internals.scheduler.ExecutionError) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/bin/pants", line 8, in <module> sys.exit(main()) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 115, in main PantsLoader.main() File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 111, in main cls.run_default_entrypoint() File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 93, in run_default_entrypoint exit_code = runner.run(start_time) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_runner.py", line 99, in run runner = LocalPantsRunner.create( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 159, in create specs = calculate_specs( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/init/specs_calculator.py", line 94, in calculate_specs (changed_addresses,) = session.product_request( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 577, in product_request return self.execute(request) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 521, in execute self._raise_on_error([t for _, t in throws]) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 498, in _raise_on_error raise ExecutionError( Exception message: 1 Exception encountered: Engine traceback: in select in pants.vcs.changed.find_changed_owners in pants.backend.project_info.dependees.find_dependees in pants.backend.project_info.dependees.map_addresses_to_dependees in pants.engine.internals.graph.resolve_dependencies (src/projects/rhp/backend:celery) Traceback (most recent call last): File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/selectors.py", line 653, in native_engine_generator_send res = func.send(arg) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1146, in resolve_dependencies explicitly_provided_includes = [ File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1147, in <listcomp> parametrizations.get_subset(address, tgt, field_defaults).address File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/parametrize.py", line 271, in get_subset raise ValueError( ValueError: The explicit dependency `src/projects/rhp/backend/celery.py` of the target at `src/projects/rhp/backend:celery` does not provide enough address parameters to identify which parametrization of the dependency target should be used. Target `src/projects/rhp/backend:backend` can be addressed as: * src/projects/rhp/backend:backend NoneType: None FATAL: exception not rethrown FATAL: exception not rethrown ``` The code in question is laid out like: ``` src/projects/rhp/backend/ celery.py other.py BUILD.pants ``` With targets: ``` python_sources() pex_binary( name="celery", entry_point="celery.bin.celery", dependencies=[ "./celery.py", ], restartable=True, ) ``` The crash happened when running the `test`, `check`, and `lint --skip-formatters` but not when running `tailor`, `update-build-files --check`, or `lint --only=black --only=isort`. I haven't been able to reproduce it locally. Note that we don't `parameterize` any of our targets so I'm not sure why Pants is trying to figure out which parameterization to use. **Pants version** 757a2664cb82fac6693f13609ce14911d8fd88e3 **OS** Linux
Hm, I don't reproduce this in simple cases, such as: ```diff diff --git a/testprojects/src/python/print_env/BUILD b/testprojects/src/python/print_env/BUILD index f6018298ff..35d53f8e41 100644 --- a/testprojects/src/python/print_env/BUILD +++ b/testprojects/src/python/print_env/BUILD @@ -1,6 +1,6 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -pex_binary(name="binary", entry_point="print_env.main", dependencies=[":lib"]) +pex_binary(name="binary", entry_point="print_env.main", dependencies=["./main.py"]) -python_sources(name="lib") +python_sources() ``` ...which successfully runs `./pants dependencies testprojects/src/python/print_env:binary` and `--changed-dependees=transitive`. I believe that we have enough info in [the Slack thread](https://pantsbuild.slack.com/archives/C0D7TNJHL/p1658271672639599?thread_ts=1658263758.236709&cid=C0D7TNJHL) to reproduce this one: I'll take a stab tomorrow. Thanks again!
2022-07-20T18:37:23Z
[]
[]
Traceback (most recent call last): File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/selectors.py", line 653, in native_engine_generator_send res = func.send(arg) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1146, in resolve_dependencies explicitly_provided_includes = [ File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1147, in <listcomp> parametrizations.get_subset(address, tgt, field_defaults).address File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/parametrize.py", line 271, in get_subset raise ValueError( ValueError: The explicit dependency `src/projects/rhp/backend/celery.py` of the target at `src/projects/rhp/backend:celery` does not provide enough address parameters to identify which parametrization of the dependency target should be used.
16,158
pantsbuild/pants
pantsbuild__pants-16251
aae98adbd47d6a0dc1d83286379fedf2bc1920b1
diff --git a/src/python/pants/engine/internals/graph.py b/src/python/pants/engine/internals/graph.py --- a/src/python/pants/engine/internals/graph.py +++ b/src/python/pants/engine/internals/graph.py @@ -9,7 +9,7 @@ import os.path from dataclasses import dataclass from pathlib import PurePath -from typing import Iterable, NamedTuple, Sequence +from typing import Iterable, Iterator, NamedTuple, Sequence from pants.base.deprecated import warn_or_error from pants.base.exceptions import ResolveError @@ -45,7 +45,7 @@ _TargetParametrizations as _TargetParametrizations, ) from pants.engine.internals.target_adaptor import TargetAdaptor -from pants.engine.rules import Get, MultiGet, collect_rules, rule +from pants.engine.rules import Get, MultiGet, collect_rules, rule, rule_helper from pants.engine.target import ( AllTargets, AllTargetsRequest, @@ -298,13 +298,7 @@ async def resolve_target( ) -> WrappedTarget: base_address = address.maybe_convert_to_target_generator() parametrizations = await Get(_TargetParametrizations, Address, base_address) - if address.is_generated_target: - # TODO: This is an accommodation to allow using file/generator Addresses for - # non-generator atom targets. See https://github.com/pantsbuild/pants/issues/14419. - original_target = parametrizations.get(base_address) - if original_target and not target_types_to_generate_requests.is_generator(original_target): - return WrappedTarget(original_target) - target = parametrizations.get(address) + target = parametrizations.get(address, target_types_to_generate_requests) if target is None: raise ValueError( f"The address `{address}` was not generated by the target `{base_address}`, which " @@ -1063,6 +1057,29 @@ async def determine_explicitly_provided_dependencies( ) +@rule_helper +async def _fill_parameters( + field_alias: str, + consumer_tgt: Target, + addresses: Iterable[Address], + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests, + field_defaults: FieldDefaults, +) -> tuple[Address, ...]: + assert not isinstance(addresses, Iterator) + + parametrizations = await MultiGet( + Get(_TargetParametrizations, Address, address.maybe_convert_to_target_generator()) + for address in addresses + ) + + return tuple( + parametrizations.get_subset( + address, consumer_tgt, field_defaults, target_types_to_generate_requests + ).address + for address, parametrizations in zip(addresses, parametrizations) + ) + + @rule(desc="Resolve direct dependencies") async def resolve_dependencies( request: DependenciesRequest, @@ -1117,17 +1134,24 @@ async def resolve_dependencies( # parameters. If so, fill them in. explicitly_provided_includes: Iterable[Address] = explicitly_provided.includes if explicitly_provided_includes: - explicit_dependency_parametrizations = await MultiGet( - Get(_TargetParametrizations, Address, address.maybe_convert_to_target_generator()) - for address in explicitly_provided_includes + explicitly_provided_includes = await _fill_parameters( + request.field.alias, + tgt, + explicitly_provided_includes, + target_types_to_generate_requests, + field_defaults, ) - - explicitly_provided_includes = [ - parametrizations.get_subset(address, tgt, field_defaults).address - for address, parametrizations in zip( - explicitly_provided_includes, explicit_dependency_parametrizations + explicitly_provided_ignores: FrozenOrderedSet[Address] = explicitly_provided.ignores + if explicitly_provided_ignores: + explicitly_provided_ignores = FrozenOrderedSet( + await _fill_parameters( + request.field.alias, + tgt, + tuple(explicitly_provided_ignores), + target_types_to_generate_requests, + field_defaults, ) - ] + ) # If the target has `SpecialCasedDependencies`, such as the `archive` target having # `files` and `packages` fields, then we possibly include those too. We don't want to always @@ -1168,7 +1192,7 @@ async def resolve_dependencies( *itertools.chain.from_iterable(inferred), *special_cased, ) - if addr not in explicitly_provided.ignores + if addr not in explicitly_provided_ignores } ) ) diff --git a/src/python/pants/engine/internals/parametrize.py b/src/python/pants/engine/internals/parametrize.py --- a/src/python/pants/engine/internals/parametrize.py +++ b/src/python/pants/engine/internals/parametrize.py @@ -10,7 +10,7 @@ from pants.build_graph.address import BANNED_CHARS_IN_PARAMETERS from pants.engine.addresses import Address from pants.engine.collection import Collection -from pants.engine.target import Field, FieldDefaults, Target +from pants.engine.target import Field, FieldDefaults, Target, TargetTypesToGenerateTargetsRequests from pants.util.frozendict import FrozenDict from pants.util.meta import frozen_after_init from pants.util.strutil import bullet_list @@ -169,12 +169,27 @@ def generated_for(self, address: Address) -> FrozenDict[Address, Target]: raise self._bare_address_error(address) - def get(self, address: Address) -> Target | None: + def get( + self, + address: Address, + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests | None = None, + ) -> Target | None: """Find the Target with an exact Address match, if any.""" for parametrization in self: instance = parametrization.get(address) if instance is not None: return instance + + # TODO: This is an accommodation to allow using file/generator Addresses for + # non-generator atom targets. See https://github.com/pantsbuild/pants/issues/14419. + if target_types_to_generate_requests and address.is_generated_target: + base_address = address.maybe_convert_to_target_generator() + original_target = self.get(base_address, target_types_to_generate_requests) + if original_target and not target_types_to_generate_requests.is_generator( + original_target + ): + return original_target + return None def get_all_superset_targets(self, address: Address) -> Iterator[Address]: @@ -201,11 +216,15 @@ def get_all_superset_targets(self, address: Address) -> Iterator[Address]: yield parametrized_tgt.address def get_subset( - self, address: Address, consumer: Target, field_defaults: FieldDefaults + self, + address: Address, + consumer: Target, + field_defaults: FieldDefaults, + target_types_to_generate_requests: TargetTypesToGenerateTargetsRequests, ) -> Target: """Find the Target with the given Address, or with fields matching the given consumer.""" # Check for exact matches. - instance = self.get(address) + instance = self.get(address, target_types_to_generate_requests) if instance is not None: return instance
Apply parameter expansion for dependency ignores We only apply for includes: https://github.com/pantsbuild/pants/blob/ae9e2c866cf0b41c2de1730046afa3e0021daf1a/src/python/pants/engine/internals/graph.py#L1110-L1132 But maybe we should also apply for ignores: https://github.com/pantsbuild/pants/blob/ae9e2c866cf0b41c2de1730046afa3e0021daf1a/src/python/pants/engine/internals/graph.py#L1165-L1167 A user is getting issues excluding the target generator `dir:foo` because it parametrized to `dir:foo@resolve=a` and `dir:foo@resolve=b`, along with all of its generated targets like `dir:foo#gen@resolve=a`. Pants crashes with error related to parameterization on latest 2.13.x **Describe the bug** I upgraded to 757a2664cb82fac6693f13609ce14911d8fd88e3 to pull in the `pex` upgrade. Most CI runs on the PR failed with: ``` 20:03:57.76 [INFO] Starting: Resolving plugins: toolchain.pants.plugin==0.20.0 20:04:11.50 [INFO] Completed: Resolving plugins: toolchain.pants.plugin==0.20.0 20:04:12.12 [INFO] [auth-plugin] Successfully loaded Toolchain token from env var 'TOOLCHAIN_AUTH_TOKEN', expiration: 2022-12-20T20:52:09+00:00. Exception caught: (pants.engine.internals.scheduler.ExecutionError) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/bin/pants", line 8, in <module> sys.exit(main()) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 115, in main PantsLoader.main() File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 111, in main cls.run_default_entrypoint() File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_loader.py", line 93, in run_default_entrypoint exit_code = runner.run(start_time) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/pants_runner.py", line 99, in run runner = LocalPantsRunner.create( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 159, in create specs = calculate_specs( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/init/specs_calculator.py", line 94, in calculate_specs (changed_addresses,) = session.product_request( File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 577, in product_request return self.execute(request) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 521, in execute self._raise_on_error([t for _, t in throws]) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/scheduler.py", line 498, in _raise_on_error raise ExecutionError( Exception message: 1 Exception encountered: Engine traceback: in select in pants.vcs.changed.find_changed_owners in pants.backend.project_info.dependees.find_dependees in pants.backend.project_info.dependees.map_addresses_to_dependees in pants.engine.internals.graph.resolve_dependencies (src/projects/rhp/backend:celery) Traceback (most recent call last): File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/selectors.py", line 653, in native_engine_generator_send res = func.send(arg) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1146, in resolve_dependencies explicitly_provided_includes = [ File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1147, in <listcomp> parametrizations.get_subset(address, tgt, field_defaults).address File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/parametrize.py", line 271, in get_subset raise ValueError( ValueError: The explicit dependency `src/projects/rhp/backend/celery.py` of the target at `src/projects/rhp/backend:celery` does not provide enough address parameters to identify which parametrization of the dependency target should be used. Target `src/projects/rhp/backend:backend` can be addressed as: * src/projects/rhp/backend:backend NoneType: None FATAL: exception not rethrown FATAL: exception not rethrown ``` The code in question is laid out like: ``` src/projects/rhp/backend/ celery.py other.py BUILD.pants ``` With targets: ``` python_sources() pex_binary( name="celery", entry_point="celery.bin.celery", dependencies=[ "./celery.py", ], restartable=True, ) ``` The crash happened when running the `test`, `check`, and `lint --skip-formatters` but not when running `tailor`, `update-build-files --check`, or `lint --only=black --only=isort`. I haven't been able to reproduce it locally. Note that we don't `parameterize` any of our targets so I'm not sure why Pants is trying to figure out which parameterization to use. **Pants version** 757a2664cb82fac6693f13609ce14911d8fd88e3 **OS** Linux
Hm, I don't reproduce this in simple cases, such as: ```diff diff --git a/testprojects/src/python/print_env/BUILD b/testprojects/src/python/print_env/BUILD index f6018298ff..35d53f8e41 100644 --- a/testprojects/src/python/print_env/BUILD +++ b/testprojects/src/python/print_env/BUILD @@ -1,6 +1,6 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -pex_binary(name="binary", entry_point="print_env.main", dependencies=[":lib"]) +pex_binary(name="binary", entry_point="print_env.main", dependencies=["./main.py"]) -python_sources(name="lib") +python_sources() ``` ...which successfully runs `./pants dependencies testprojects/src/python/print_env:binary` and `--changed-dependees=transitive`. I believe that we have enough info in [the Slack thread](https://pantsbuild.slack.com/archives/C0D7TNJHL/p1658271672639599?thread_ts=1658263758.236709&cid=C0D7TNJHL) to reproduce this one: I'll take a stab tomorrow. Thanks again!
2022-07-20T18:44:11Z
[]
[]
Traceback (most recent call last): File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/selectors.py", line 653, in native_engine_generator_send res = func.send(arg) File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1146, in resolve_dependencies explicitly_provided_includes = [ File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/graph.py", line 1147, in <listcomp> parametrizations.get_subset(address, tgt, field_defaults).address File "/tmp/pants_setup/bootstrap-Linux-x86_64/2.13.0a1+git757a2664_py38/lib/python3.8/site-packages/pants/engine/internals/parametrize.py", line 271, in get_subset raise ValueError( ValueError: The explicit dependency `src/projects/rhp/backend/celery.py` of the target at `src/projects/rhp/backend:celery` does not provide enough address parameters to identify which parametrization of the dependency target should be used.
16,159
pantsbuild/pants
pantsbuild__pants-17312
5d3e3804bae1906c433c5e51e52188a19044eeb9
diff --git a/src/python/pants/backend/python/goals/export.py b/src/python/pants/backend/python/goals/export.py --- a/src/python/pants/backend/python/goals/export.py +++ b/src/python/pants/backend/python/goals/export.py @@ -141,7 +141,7 @@ async def export_virtualenv( "venv", "--pip", "--collisions-ok", - "--remove=all", + "--remove=pex", f"{{digest_root}}/{py_version}", ], { @@ -192,7 +192,7 @@ async def export_tool( os.path.join("{digest_root}", pex.name), "venv", "--collisions-ok", - "--remove=all", + "--remove=pex", f"{{digest_root}}/{request.resolve_name}", ], {
ModuleNotFoundError: No module named 'pex' **Describe the bug** When running pants in our CI system, we can have a container that has multiple clones of our repository. At various points, they will be running goals like `./pants export` or `./pants run`. At some point in the chain, we see errors like this ``` 10:42:12.54 [INFO] Initialization options changed: reinitializing scheduler... 10:42:13.10 [INFO] Scheduler initialized. Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/buildbot/.pex/unzipped_pexes/7907cee4a80399696d31dbee748702a492b91a80/__main__.py", line 102, in <module> from pex.pex_bootstrapper import bootstrap_pex ModuleNotFoundError: No module named 'pex' ``` The only way to remedy this seems to be clearing out `~/.pex` and trying the goal again. **Pants version** 2.13.0 **OS** Ubuntu 20.04 **Additional info** We've tried adding some steps to manage concurrency in the system and automatically wipe `~/.pex` when this error is detected, but that's unreliable to implement everywhere. Some initially debugging was kindly provided by @jsirois who filed https://github.com/pantsbuild/pants/issues/17176 to resolve.
I won't be back at a keyboard until the evening of 10/19 to look at this, but with Pants out of the way in this case (it specifically involves "normal" PEXes using the default `PEX_ROOT`), it lends clinching evidence to the conclusion in #17176 that the Pants shim script `rm -rf` was not the only crease for this bug. Something, somehow, is clearly broken with Pex's atomic_directory / it's use. @engnatha what version of Pants did you upgrade from to get to 2.13.0? That helps set a range of Pex releases any bugs could have been introduced in. We jumped from 2.11.0 directly to 2.13.0 It looks like `./pants export` is certainly a culprit prior to @benjyw's fix here: https://github.com/pantsbuild/pants/pull/17177#discussion_r996333078 This may be enough to explain / solve the totality of this issue. The only remaining task afaict is confirming 2.11.0 used the old venv symlinking code which did not do the ~`rm -rf ~/.pex` that @benjyw's fix removes. Hmm, on the one hand that does seem very likely to be the culprit. On the other hand, 2.11.0 does include #14640 (see `git tag --contains 3d7f6a666776a4`), so I dunno... #17177 will be in the upcoming 2.14.0rc4, so worth a try? We weren’t using the export functionality with 2.11 because we were still using pip-tools to generate our constraints file and didn’t need the special tooling for setting up a developer environment. With the upgrade, we switched to pex lock files and started using the export feature. Ah, OK, so this is back on as the leading culprit. Is 2.14.0rc4 (when we publish it) an option for you to try? It is. While I prefer to keep us on a stable release, I think it's better to bump to this if it resolves the instability we're seeing in our CI system. Do you know when that candidate is planned to be published? > will be in the upcoming 2.14.0rc4 I think this is likely to help, but the issue still exists. See https://github.com/pantsbuild/pants/actions/runs/3283455197/jobs/5408557053#step:11:11743 from today's 2.14 CI. > Do you know when that candidate is planned to be published? Today That is not the same issue. There is a difference between the `~/.pex` and named caches cases. Perhaps the test failures higher up? Multiple test files failed in this PR. https://github.com/pantsbuild/pants/actions/runs/3283455197/jobs/5408557053#step:11:11527 From my phone, but afaict no. The issues there are all named caches related. The issue @engnatha experienced was completely different where Pants was foisted on it's own petard when running ~`rm -rf` on `~/.pex` during export - decidedly not in named caches. @benjyw fixed the foisting issue. @benjyw caused the issue, and then, eventually, fixed it... @Eric-Arellano I've filed https://github.com/pantsbuild/pex/issues/1955, https://github.com/pantsbuild/pex/issues/1956 and https://github.com/pantsbuild/pex/issues/1957 for the 3 variants I found using your links. That's crazy though to see so many different types of missing file errors at once. I really have no clue what's up here. Have you seen this sort of thing regularly or just with that PR or ???. @jsirois I've never seen so many similar errors in the same run. Note that the second run of the job also had several similar errors: https://github.com/pantsbuild/pants/actions/runs/3283455197/jobs/5409915111. The third run of the job worked. @Eric-Arellano OK. Thanks, that's good to know. I've got https://github.com/pantsbuild/pex/pull/1961 spun up to hopefully make errors more clear for the #16778 style case, although that change fixes nothing afaict since I still can't see the underlying bug for that case. For the 3 cases I extracted from your failed CI runs so far (more work to do looking at the last run you posted in https://github.com/pantsbuild/pants/actions/runs/3283455197/jobs/5409915111) that change may or may not help make the underlying issue more clear. I still need to do analysis on all those backtraces against 2.1.108 code. Ok, busted 2.14.x CP: https://github.com/pantsbuild/pants/pull/17200#discussion_r1002093435 I'll fix that up and send out a review. So this is all still different from #16778 and just more petards. We'll eventually get this right!
2022-10-21T19:06:43Z
[]
[]
Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/buildbot/.pex/unzipped_pexes/7907cee4a80399696d31dbee748702a492b91a80/__main__.py", line 102, in <module> from pex.pex_bootstrapper import bootstrap_pex ModuleNotFoundError: No module named 'pex'
16,214
pantsbuild/pants
pantsbuild__pants-18025
8c83e4db33d5fe577918ce073f6d89957cb6eef1
diff --git a/build-support/bin/_release_helper.py b/build-support/bin/_release_helper.py --- a/build-support/bin/_release_helper.py +++ b/build-support/bin/_release_helper.py @@ -967,12 +967,12 @@ def check_roles() -> None: def reversion_prebuilt_wheels() -> None: - # First, rewrite to manylinux. See https://www.python.org/dev/peps/pep-0599/. We build on - # Centos7, so use manylinux2014. - source_platform = "linux_x86_64" - dest_platform = "manylinux2014_x86_64" + # First, rewrite to manylinux. See https://www.python.org/dev/peps/pep-0599/. We use + # manylinux2014 images. + source_platform = "linux_" + dest_platform = "manylinux2014_" unstable_wheel_dir = CONSTANTS.deploy_pants_wheel_dir / CONSTANTS.pants_unstable_version - for whl in unstable_wheel_dir.glob(f"*{source_platform}.whl"): + for whl in unstable_wheel_dir.glob(f"*{source_platform}*.whl"): whl.rename(str(whl).replace(source_platform, dest_platform)) # Now, reversion to use the STABLE_VERSION. diff --git a/build-support/bin/generate_github_workflows.py b/build-support/bin/generate_github_workflows.py --- a/build-support/bin/generate_github_workflows.py +++ b/build-support/bin/generate_github_workflows.py @@ -763,6 +763,9 @@ def build_wheels_job(platform: Platform, python_versions: list[str]) -> Jobs: def build_wheels_jobs() -> Jobs: + # N.B.: When altering the number of total wheels built (currently 10), please edit the expected + # total in the _release_helper script. Currently here: + # https://github.com/pantsbuild/pants/blob/8c83e4db33d5fe577918ce073f6d89957cb6eef1/build-support/bin/_release_helper.py#L1182-L1192 return { **build_wheels_job(Platform.LINUX_X86_64, ALL_PYTHON_VERSIONS), **build_wheels_job(Platform.LINUX_ARM64, ALL_PYTHON_VERSIONS),
Releases are broken by Linux aarch64 The pantsbuild.pants wheels generated by the Linux aarch64 shard are not manylinux and this is a no-go: ``` $ ./build-support/bin/release.sh publish ... Uploading distributions to https://upload.pypi.org/legacy/ Signing pantsbuild.pants.testutil-2.16.0.dev5-py3-none-any.whl Signing pantsbuild.pants-2.16.0.dev5-cp37-cp37m-manylinux2014_x86_64.whl Signing pantsbuild.pants-2.16.0.dev5-cp39-cp39-macosx_11_0_arm64.whl Signing pantsbuild.pants-2.16.0.dev5-cp38-cp38-manylinux2014_x86_64.whl Signing pantsbuild.pants-2.16.0.dev5-cp39-cp39-linux_aarch64.whl Signing pantsbuild.pants-2.16.0.dev5-cp37-cp37m-linux_aarch64.whl Signing pantsbuild.pants-2.16.0.dev5-cp37-cp37m-macosx_10_15_x86_64.whl Signing pantsbuild.pants-2.16.0.dev5-cp38-cp38-macosx_10_15_x86_64.whl Signing pantsbuild.pants-2.16.0.dev5-cp38-cp38-linux_aarch64.whl Signing pantsbuild.pants-2.16.0.dev5-cp39-cp39-macosx_10_15_x86_64.whl Signing pantsbuild.pants-2.16.0.dev5-cp39-cp39-manylinux2014_x86_64.whl Uploading pantsbuild.pants.testutil-2.16.0.dev5-py3-none-any.whl 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB • 00:00 • 81.0 MB/s Uploading pantsbuild.pants-2.16.0.dev5-cp37-cp37m-manylinux2014_x86_64.whl 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.2/60.2 MB • 02:31 • 391.7 kB/s Uploading pantsbuild.pants-2.16.0.dev5-cp39-cp39-macosx_11_0_arm64.whl 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.4/10.4 MB • 00:21 • 385.6 kB/s Uploading pantsbuild.pants-2.16.0.dev5-cp38-cp38-manylinux2014_x86_64.whl 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.2/60.2 MB • 02:30 • 403.1 kB/s Uploading pantsbuild.pants-2.16.0.dev5-cp39-cp39-linux_aarch64.whl 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.8/59.8 MB • 02:28 • 404.2 kB/s WARNING Error during upload. Retry with the --verbose option for more details. ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ Binary wheel 'pantsbuild.pants-2.16.0.dev5-cp39-cp39-linux_aarch64.whl' has an unsupported platform tag 'linux_aarch64'. Traceback (most recent call last): File "/tmp/pants-sandbox-8EEcEk/./.cache/pex_root/venvs/371f239c6e05f3b21b727016c72f786b4240472e/c118e6ce068494080810f1d842becda796e2eddb/pex", line 270, in <module> runpy.run_module(module_name, run_name="__main__", alter_sys=True) File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 1247, in <module> main() File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 1223, in main publish() File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 897, in publish upload_wheels_via_twine() File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 1020, in upload_wheels_via_twine check=True, File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/home/jsirois/dev/pantsbuild/pants/build-support/twine-deps.venv/bin/twine', 'upload', '--sign', '--sign-with=gpg2', '--identity=93E55CB567B5C626', '--skip-existing', '/home/jsirois/dev/pantsbuild/pants/dist/deploy/wheels/pantsbuild.pants/7766b9b3cedbfd9a90d5bc934b62e03ee7020ccd/2.16.0.dev5/*.whl']' returned non-zero exit status 1. ```
@benjyw you have the context right now for the new Linux aarch64 shards and what you went through to arrive where things are at. I poked around a bit and we do not use the `manylinux repair ...` tool in either x86_64 or aarch64 which is surprising. So it seems like there is some magic in our Linux x86_64 manylinux image that somehow lets us get away without doing this? Yeah, I just did whatever we did for x86_64. I guess I was under the impression that building in a manylinux image was sufficient. I'll dig further. Ah, right. I once knew this. We do something _incredibly_ hokey ... in the release script. We re-write the wheels and do this ourselves, but ~incorrectly and do not use auditwheel. I can fix the hokey to finish the release - it will still be hokey. Any reason not to use auditwheel? I know we do something weird with the stable_version, am hoping we can stop doing that and just build with the stable version up front. There is no reason not to. I will not be doing that though to solve this, I'm just fixing the broken jank with working jank for the immediate purpose. Sounds good.
2023-01-17T17:47:46Z
[]
[]
Traceback (most recent call last): File "/tmp/pants-sandbox-8EEcEk/./.cache/pex_root/venvs/371f239c6e05f3b21b727016c72f786b4240472e/c118e6ce068494080810f1d842becda796e2eddb/pex", line 270, in <module> runpy.run_module(module_name, run_name="__main__", alter_sys=True) File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 1247, in <module> main() File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 1223, in main publish() File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 897, in publish upload_wheels_via_twine() File "/tmp/pants-sandbox-8EEcEk/build-support/bin/_release_helper.py", line 1020, in upload_wheels_via_twine check=True, File "/home/jsirois/.pyenv/versions/3.7.14/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/home/jsirois/dev/pantsbuild/pants/build-support/twine-deps.venv/bin/twine', 'upload', '--sign', '--sign-with=gpg2', '--identity=93E55CB567B5C626', '--skip-existing', '/home/jsirois/dev/pantsbuild/pants/dist/deploy/wheels/pantsbuild.pants/7766b9b3cedbfd9a90d5bc934b62e03ee7020ccd/2.16.0.dev5/*.whl']' returned non-zero exit status 1.
16,262
pantsbuild/pants
pantsbuild__pants-18035
e6dec0eb0b815866bdd32f45976da21cf78b6855
diff --git a/src/python/pants/backend/python/goals/run_helper.py b/src/python/pants/backend/python/goals/run_helper.py --- a/src/python/pants/backend/python/goals/run_helper.py +++ b/src/python/pants/backend/python/goals/run_helper.py @@ -14,14 +14,9 @@ ResolvedPexEntryPoint, ResolvePexEntryPointRequest, ) -from pants.backend.python.util_rules.interpreter_constraints import InterpreterConstraints -from pants.backend.python.util_rules.local_dists import LocalDistsPex, LocalDistsPexRequest from pants.backend.python.util_rules.pex import Pex, PexRequest, VenvPex, VenvPexRequest from pants.backend.python.util_rules.pex_environment import PexEnvironment -from pants.backend.python.util_rules.pex_from_targets import ( - InterpreterConstraintsRequest, - PexFromTargetsRequest, -) +from pants.backend.python.util_rules.pex_from_targets import PexFromTargetsRequest from pants.backend.python.util_rules.python_sources import ( PythonSourceFiles, PythonSourceFilesRequest, @@ -49,8 +44,7 @@ async def _create_python_source_run_request( console_script: Optional[ConsoleScript] = None, ) -> RunRequest: addresses = [address] - interpreter_constraints, entry_point, transitive_targets = await MultiGet( - Get(InterpreterConstraints, InterpreterConstraintsRequest(addresses)), + entry_point, transitive_targets = await MultiGet( Get( ResolvedPexEntryPoint, ResolvePexEntryPointRequest(entry_point_field), @@ -70,6 +64,7 @@ async def _create_python_source_run_request( output_filename=f"{pex_filename}.pex", internal_only=True, include_source_files=False, + include_local_dists=True, # `PEX_EXTRA_SYS_PATH` should contain this entry_point's module. main=console_script or entry_point.val, additional_args=( @@ -86,18 +81,7 @@ async def _create_python_source_run_request( ), ) - local_dists = await Get( - LocalDistsPex, - LocalDistsPexRequest( - addresses, - internal_only=True, - interpreter_constraints=interpreter_constraints, - sources=sources, - ), - ) - pex_request = dataclasses.replace( - pex_request, pex_path=(*pex_request.pex_path, local_dists.pex, *pex_path) - ) + pex_request = dataclasses.replace(pex_request, pex_path=(*pex_request.pex_path, *pex_path)) if run_in_sandbox: # Note that a RunRequest always expects to run directly in the sandbox/workspace @@ -114,7 +98,7 @@ async def _create_python_source_run_request( # complexity of figuring out here which sources were codegenned, we copy everything. # The inline source roots precede the chrooted ones in PEX_EXTRA_SYS_PATH, so the inline # sources will take precedence and their copies in the chroot will be ignored. - local_dists.remaining_sources.source_files.snapshot.digest, + sources.source_files.snapshot.digest, ] merged_digest = await Get(Digest, MergeDigests(input_digests))
`No such file or directory: 'local_dists.pex/PEX-INFO'` when running a `python_source` **Describe the bug** After updating one of our CI checks to `./pants run` a `python_source` directly (vs. the previous code which ran the `pex_binary`), some of our jobs started failing with: ``` Traceback (most recent call last): File "/opt/python/3.8.14/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/opt/python/3.8.14/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/./src.pex/__main__.py", line 89, in <module> __venv_dir__ = __maybe_run_venv__( File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/./src.pex/__main__.py", line 37, in __maybe_run_venv__ venv_dir = venv_dir( File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/src.pex/.bootstrap/pex/variables.py", line 738, in venv_dir File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/src.pex/.bootstrap/pex/variables.py", line 736, in add_pex_path_items File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/src.pex/.bootstrap/pex/pex_info.py", line 82, in from_pex FileNotFoundError: [Errno 2] No such file or directory: 'local_dists.pex/PEX-INFO' ``` The `python_source` has `run_goal_use_sandbox=False`. **Pants version** v2.15.0rc1 **OS** Linux
2023-01-18T20:21:03Z
[]
[]
Traceback (most recent call last): File "/opt/python/3.8.14/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/opt/python/3.8.14/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/./src.pex/__main__.py", line 89, in <module> __venv_dir__ = __maybe_run_venv__( File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/./src.pex/__main__.py", line 37, in __maybe_run_venv__ venv_dir = venv_dir( File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/src.pex/.bootstrap/pex/variables.py", line 738, in venv_dir File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/src.pex/.bootstrap/pex/variables.py", line 736, in add_pex_path_items File "/home/runner/.pants/execution/pants-sandbox-g6NiAf/src.pex/.bootstrap/pex/pex_info.py", line 82, in from_pex FileNotFoundError: [Errno 2] No such file or directory: 'local_dists.pex/PEX-INFO'
16,263
pantsbuild/pants
pantsbuild__pants-18442
89a1458d51a37395a56f9961f60ab34c3f08557d
diff --git a/src/python/pants/engine/internals/build_files.py b/src/python/pants/engine/internals/build_files.py --- a/src/python/pants/engine/internals/build_files.py +++ b/src/python/pants/engine/internals/build_files.py @@ -9,6 +9,7 @@ import logging import os.path import sys +import typing from dataclasses import dataclass from pathlib import PurePath from typing import Any, Sequence, cast @@ -93,6 +94,7 @@ async def evaluate_preludes( ) globals: dict[str, Any] = { **{name: getattr(builtins, name) for name in dir(builtins) if name.endswith("Error")}, + **{name: getattr(typing, name) for name in dir(typing)}, # Ensure the globals for each prelude includes the builtin symbols (E.g. `python_sources`) # and any build file aliases (e.g. from plugins) **parser.symbols,
`NameError: name 'Optional' is not defined` from macros after upgrade to v2.16 **Describe the bug** We've added type annotations to our `macros.py`, i.e. ```python def ecr_docker_image( *, name: Optional[str] = None, dependencies: Optional[List[str]] = None, image_tags: Optional[List[str]] = None, git_tag_prefix: Optional[str] = None, latest_tag_prefix: Optional[str] = None, buildcache_tag: str = "buildcache", image_labels: Optional[Mapping[str, str]] = None, tags: Optional[List[str]] = None, extra_build_args: Optional[List[str]] = None, source: Optional[str] = None, target_stage: Optional[str] = None, instructions: Optional[List[str]] = None, repository: Optional[str] = None, context_root: Optional[str] = None, push_in_pants_ci: bool = True, push_latest: bool = False, ) -> None: ... ``` This worked in Pants < 2.16, but when I tried upgrading to 2.16.0a0 `pants` started crashing at startup with: ``` Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/496def19ed8a0f8d58b71d0640867bbd94ab2c94f2ca9a49bb59cd109e4a2821/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/internals/build_files.py", line 106, in evaluate_preludes exec(content, globals, locals) File "build/pants/macros.py", line 6, in <module> name: Optional[str] = None, NameError: name 'Optional' is not defined ``` **Pants version** 2.16.0a0 **OS** MacOS
Uff.. sorry about that. It's likely from this change https://github.com/pantsbuild/pants/pull/18260/files#diff-5ac95ab1caf4f0c0e4a336a9c28f6c3b748754165aa9a4ef248e9bc9831f4abeR98 Does it work if you add `from __future__ import annotations` to your macros file? Edit: well, I guess the import-ban will hit it, even if it's not a "real" import.
2023-03-07T21:45:02Z
[]
[]
Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/496def19ed8a0f8d58b71d0640867bbd94ab2c94f2ca9a49bb59cd109e4a2821/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/internals/build_files.py", line 106, in evaluate_preludes exec(content, globals, locals) File "build/pants/macros.py", line 6, in <module> name: Optional[str] = None, NameError: name 'Optional' is not defined
16,301
pantsbuild/pants
pantsbuild__pants-18449
4e788cd39fd89e3638d0193b0d8ec1e7e1349aa8
diff --git a/src/python/pants/engine/internals/build_files.py b/src/python/pants/engine/internals/build_files.py --- a/src/python/pants/engine/internals/build_files.py +++ b/src/python/pants/engine/internals/build_files.py @@ -9,6 +9,7 @@ import logging import os.path import sys +import typing from dataclasses import dataclass from pathlib import PurePath from typing import Any, Sequence, cast @@ -93,6 +94,7 @@ async def evaluate_preludes( ) globals: dict[str, Any] = { **{name: getattr(builtins, name) for name in dir(builtins) if name.endswith("Error")}, + **{name: getattr(typing, name) for name in dir(typing)}, # Ensure the globals for each prelude includes the builtin symbols (E.g. `python_sources`) # and any build file aliases (e.g. from plugins) **parser.symbols,
`NameError: name 'Optional' is not defined` from macros after upgrade to v2.16 **Describe the bug** We've added type annotations to our `macros.py`, i.e. ```python def ecr_docker_image( *, name: Optional[str] = None, dependencies: Optional[List[str]] = None, image_tags: Optional[List[str]] = None, git_tag_prefix: Optional[str] = None, latest_tag_prefix: Optional[str] = None, buildcache_tag: str = "buildcache", image_labels: Optional[Mapping[str, str]] = None, tags: Optional[List[str]] = None, extra_build_args: Optional[List[str]] = None, source: Optional[str] = None, target_stage: Optional[str] = None, instructions: Optional[List[str]] = None, repository: Optional[str] = None, context_root: Optional[str] = None, push_in_pants_ci: bool = True, push_latest: bool = False, ) -> None: ... ``` This worked in Pants < 2.16, but when I tried upgrading to 2.16.0a0 `pants` started crashing at startup with: ``` Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/496def19ed8a0f8d58b71d0640867bbd94ab2c94f2ca9a49bb59cd109e4a2821/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/internals/build_files.py", line 106, in evaluate_preludes exec(content, globals, locals) File "build/pants/macros.py", line 6, in <module> name: Optional[str] = None, NameError: name 'Optional' is not defined ``` **Pants version** 2.16.0a0 **OS** MacOS
Uff.. sorry about that. It's likely from this change https://github.com/pantsbuild/pants/pull/18260/files#diff-5ac95ab1caf4f0c0e4a336a9c28f6c3b748754165aa9a4ef248e9bc9831f4abeR98 Does it work if you add `from __future__ import annotations` to your macros file? Edit: well, I guess the import-ban will hit it, even if it's not a "real" import.
2023-03-08T13:27:31Z
[]
[]
Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/496def19ed8a0f8d58b71d0640867bbd94ab2c94f2ca9a49bb59cd109e4a2821/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/internals/build_files.py", line 106, in evaluate_preludes exec(content, globals, locals) File "build/pants/macros.py", line 6, in <module> name: Optional[str] = None, NameError: name 'Optional' is not defined
16,304
pantsbuild/pants
pantsbuild__pants-18713
a39c1b970be2cb4421b20728c21c3222aeb4b015
diff --git a/src/python/pants/engine/streaming_workunit_handler.py b/src/python/pants/engine/streaming_workunit_handler.py --- a/src/python/pants/engine/streaming_workunit_handler.py +++ b/src/python/pants/engine/streaming_workunit_handler.py @@ -23,6 +23,7 @@ from pants.goal.run_tracker import RunTracker from pants.option.options_bootstrapper import OptionsBootstrapper from pants.util.logging import LogLevel +from pants.util.strutil import softwrap logger = logging.getLogger(__name__) @@ -114,9 +115,33 @@ def get_expanded_specs(self) -> ExpandedSpecs: targets_dict: dict[str, list[TargetInfo]] = {str(addr): [] for addr in unexpanded_addresses} for target in expanded_targets: - source = targets_dict.get(str(target.address.spec), None) + target_spec = str(target.address.spec) + source = targets_dict.get(target_spec) if source is None: - source = targets_dict[str(target.address.maybe_convert_to_target_generator())] + target_gen_spec = str(target.address.maybe_convert_to_target_generator()) + source = targets_dict.get(target_gen_spec) + if source is None: + # This is a thing, that may need investigating to be fully understood. + # merely patches over a crash here. See #18564. + logger.warn( + softwrap( + f""" + Unknown source address for target: {target_spec} + Target address generator: {target_gen_spec} + + Input params: + {params} + + Unexpanded addresses: + {unexpanded_addresses} + + Expanded targets: + {expanded_targets} + """ + ) + ) + targets_dict[target_gen_spec or target_spec] = source = [] + source.append( TargetInfo( filename=(
`KeyError` in `StreamingWorkunitContext.get_expanded_specs()` **Describe the bug** We've started to observe this error at work, occasionally: ``` Exception in thread Thread-1: Traceback (most recent call last): File "/github/home/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 298, in run self.poll_workunits(finished=True) File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 281, in poll_workunits callback( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 98, in __call__ self.handle_workunits( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 126, in handle_workunits self._on_finish(context, self._call_count, work_units_map) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 152, in _on_finish run_tracker_info = self._get_run_tracker_info(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 183, in _get_run_tracker_info targets_specs = _get_expanded_specs(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 201, in _get_expanded_specs targets = context.get_expanded_specs().targets File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 119, in get_expanded_specs source = targets_dict[str(target.address.maybe_convert_to_target_generator())] KeyError: 'src/python/.../files:files' Error: Process completed with exit code 1. ``` It is for different target addresses, but so far they've all been for a `python_sources` target. **Pants version** `2.16.0a0` **OS** Linux (ubuntu, GitHub CI runner) **Additional info** Started when we switched from the old pants bootstrap script to use `scie-pants`. We do use parametrizations for multiple resolves. https://github.com/pantsbuild/pants/blob/d37d57a0640e7171d9174859d8fc69f5cde8b975/src/python/pants/engine/streaming_workunit_handler.py#L115-L120
2023-04-11T13:01:52Z
[]
[]
Traceback (most recent call last): File "/github/home/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 298, in run self.poll_workunits(finished=True) File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 281, in poll_workunits callback( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 98, in __call__ self.handle_workunits( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 126, in handle_workunits self._on_finish(context, self._call_count, work_units_map) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 152, in _on_finish run_tracker_info = self._get_run_tracker_info(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 183, in _get_run_tracker_info targets_specs = _get_expanded_specs(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 201, in _get_expanded_specs targets = context.get_expanded_specs().targets File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 119, in get_expanded_specs source = targets_dict[str(target.address.maybe_convert_to_target_generator())] KeyError: 'src/python/.../files:files'
16,336
pantsbuild/pants
pantsbuild__pants-18866
6b9c2f44bd81741434b6a4f670a6667b87822c91
diff --git a/src/python/pants/engine/streaming_workunit_handler.py b/src/python/pants/engine/streaming_workunit_handler.py --- a/src/python/pants/engine/streaming_workunit_handler.py +++ b/src/python/pants/engine/streaming_workunit_handler.py @@ -23,6 +23,7 @@ from pants.goal.run_tracker import RunTracker from pants.option.options_bootstrapper import OptionsBootstrapper from pants.util.logging import LogLevel +from pants.util.strutil import softwrap logger = logging.getLogger(__name__) @@ -114,9 +115,33 @@ def get_expanded_specs(self) -> ExpandedSpecs: targets_dict: dict[str, list[TargetInfo]] = {str(addr): [] for addr in unexpanded_addresses} for target in expanded_targets: - source = targets_dict.get(str(target.address.spec), None) + target_spec = str(target.address.spec) + source = targets_dict.get(target_spec) if source is None: - source = targets_dict[str(target.address.maybe_convert_to_target_generator())] + target_gen_spec = str(target.address.maybe_convert_to_target_generator()) + source = targets_dict.get(target_gen_spec) + if source is None: + # This is a thing, that may need investigating to be fully understood. + # merely patches over a crash here. See #18564. + logger.warn( + softwrap( + f""" + Unknown source address for target: {target_spec} + Target address generator: {target_gen_spec} + + Input params: + {params} + + Unexpanded addresses: + {unexpanded_addresses} + + Expanded targets: + {expanded_targets} + """ + ) + ) + targets_dict[target_gen_spec or target_spec] = source = [] + source.append( TargetInfo( filename=(
`KeyError` in `StreamingWorkunitContext.get_expanded_specs()` **Describe the bug** We've started to observe this error at work, occasionally: ``` Exception in thread Thread-1: Traceback (most recent call last): File "/github/home/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 298, in run self.poll_workunits(finished=True) File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 281, in poll_workunits callback( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 98, in __call__ self.handle_workunits( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 126, in handle_workunits self._on_finish(context, self._call_count, work_units_map) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 152, in _on_finish run_tracker_info = self._get_run_tracker_info(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 183, in _get_run_tracker_info targets_specs = _get_expanded_specs(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 201, in _get_expanded_specs targets = context.get_expanded_specs().targets File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 119, in get_expanded_specs source = targets_dict[str(target.address.maybe_convert_to_target_generator())] KeyError: 'src/python/.../files:files' Error: Process completed with exit code 1. ``` It is for different target addresses, but so far they've all been for a `python_sources` target. **Pants version** `2.16.0a0` **OS** Linux (ubuntu, GitHub CI runner) **Additional info** Started when we switched from the old pants bootstrap script to use `scie-pants`. We do use parametrizations for multiple resolves. https://github.com/pantsbuild/pants/blob/d37d57a0640e7171d9174859d8fc69f5cde8b975/src/python/pants/engine/streaming_workunit_handler.py#L115-L120
2023-04-30T21:48:21Z
[]
[]
Traceback (most recent call last): File "/github/home/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 298, in run self.poll_workunits(finished=True) File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 281, in poll_workunits callback( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 98, in __call__ self.handle_workunits( File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 126, in handle_workunits self._on_finish(context, self._call_count, work_units_map) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 152, in _on_finish run_tracker_info = self._get_run_tracker_info(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 183, in _get_run_tracker_info targets_specs = _get_expanded_specs(context) File "/github/home/.cache/pants/named_caches/pex_root/venvs/s/aad2bc99/venv/lib/python3.9/site-packages/toolchain/pants/buildsense/reporter.py", line 201, in _get_expanded_specs targets = context.get_expanded_specs().targets File "/github/home/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0a0/lib/python3.9/site-packages/pants/engine/streaming_workunit_handler.py", line 119, in get_expanded_specs source = targets_dict[str(target.address.maybe_convert_to_target_generator())] KeyError: 'src/python/.../files:files'
16,353
pantsbuild/pants
pantsbuild__pants-18940
7e6728e5412962674d3c2f96dff23990916f3c0c
diff --git a/src/python/pants/core/target_types.py b/src/python/pants/core/target_types.py --- a/src/python/pants/core/target_types.py +++ b/src/python/pants/core/target_types.py @@ -903,8 +903,17 @@ class LockfileTarget(Target): class LockfilesGeneratorSourcesField(MultipleSourcesField): + """Sources field for synthesized `_lockfiles` targets. + + It is special in that it always ignores any missing files, regardless of the global + `--unmatched-build-file-globs` option. + """ + help = generate_multiple_sources_field_help_message("Example: `sources=['example.lock']`") + def path_globs(self, unmatched_build_file_globs: UnmatchedBuildFileGlobs) -> PathGlobs: # type: ignore[misc] + return super().path_globs(UnmatchedBuildFileGlobs.ignore()) + class LockfilesGeneratorTarget(TargetFilesGenerator): alias = "_lockfiles"
Requesting `AllTargets` in a plugin fails if an entry in `[python.resolves]` points to a nonexistent file **Describe the bug** In one of our in-repo plugins, we request: ``` await Get(AllTargets, AllTargetsRequest()) ``` This typically works fine, but if I add a new `[python.resolves]` entry: ``` [python.resolves] new = "path/to/new.lockfile" ``` Then the goal logic explodes with: ``` Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/color/build/pants/plugins/lockfile/pex/register.py", line 304, in lock_goal all_targets = await Get(AllTargets, AllTargetsRequest()) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 455, in find_all_targets tgts = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 175, in addresses_from_raw_specs_without_file_owners target_parametrizations_list = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 283, in resolve_target_parametrizations all_generated = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1418, in generate_file_targets sources_paths = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1031, in resolve_source_paths paths = await Get(Paths, PathGlobs, path_globs) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self native_engine.IntrinsicError: Unmatched glob from path/to:_new_lockfile's `sources` field: "path/to/new.lockfile" ``` **Pants version** `PANTS_SHA=06aaef7f21092a7bd76ba157cd221266b8444653` (on the 2.16.x branch) **OS** MacOS but would presumably see it on Linux too if I pushed my branch to CI. **Additional info** I believe the error is happening because the rule that provides `AllTargets` [here](https://github.com/pantsbuild/pants/blob/main/src/python/pants/engine/internals/graph.py#L588-L593) wraps around: ``` await Get( Targets, RawSpecsWithoutFileOwners( recursive_globs=(RecursiveGlobSpec(""),), description_of_origin="the `AllTargets` rule" ), ) ``` `RawSpecsWithoutFileOwners` has an `unmatched_glob_behavior` field [here](https://github.com/pantsbuild/pants/blob/main/src/python/pants/base/specs.py#L365) that defaults to `GlobMatchErrorBehavior.error`.
Hrmmm although - it looks like that `unmatched_glob_behavior` field is only used in the `RawSpecsWithoutFileOwners.to_build_file_path_globs_tuple` method. If I replace my `AllTargets` request with this: ``` all_targets = await Get( Targets, RawSpecsWithoutFileOwners( recursive_globs=(RecursiveGlobSpec(""),), description_of_origin="the `lock` goal", unmatched_glob_behavior=GlobMatchErrorBehavior.ignore, ), ) ``` I still get the `Unmatched glob` intrinsic error 🤔 This also seems to bite `pants check` when `mypy` is enabled, because its logic includes an `await Get(AllTargets, AllTargetsRequest())`
2023-05-08T19:53:16Z
[]
[]
Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/color/build/pants/plugins/lockfile/pex/register.py", line 304, in lock_goal all_targets = await Get(AllTargets, AllTargetsRequest()) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 455, in find_all_targets tgts = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 175, in addresses_from_raw_specs_without_file_owners target_parametrizations_list = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 283, in resolve_target_parametrizations all_generated = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1418, in generate_file_targets sources_paths = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1031, in resolve_source_paths paths = await Get(Paths, PathGlobs, path_globs) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self native_engine.IntrinsicError: Unmatched glob from path/to:_new_lockfile's `sources` field: "path/to/new.lockfile"
16,361
pantsbuild/pants
pantsbuild__pants-18947
b503cde7f2201908c2d3cfee3c7d2b1128e71650
diff --git a/src/python/pants/core/target_types.py b/src/python/pants/core/target_types.py --- a/src/python/pants/core/target_types.py +++ b/src/python/pants/core/target_types.py @@ -762,8 +762,17 @@ class LockfileTarget(Target): class LockfilesGeneratorSourcesField(MultipleSourcesField): + """Sources field for synthesized `_lockfiles` targets. + + It is special in that it always ignores any missing files, regardless of the global + `--unmatched-build-file-globs` option. + """ + help = generate_multiple_sources_field_help_message("Example: `sources=['example.lock']`") + def path_globs(self, unmatched_build_file_globs: UnmatchedBuildFileGlobs) -> PathGlobs: # type: ignore[misc] + return super().path_globs(UnmatchedBuildFileGlobs.ignore()) + class LockfilesGeneratorTarget(TargetFilesGenerator): alias = "_lockfiles"
Requesting `AllTargets` in a plugin fails if an entry in `[python.resolves]` points to a nonexistent file **Describe the bug** In one of our in-repo plugins, we request: ``` await Get(AllTargets, AllTargetsRequest()) ``` This typically works fine, but if I add a new `[python.resolves]` entry: ``` [python.resolves] new = "path/to/new.lockfile" ``` Then the goal logic explodes with: ``` Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/color/build/pants/plugins/lockfile/pex/register.py", line 304, in lock_goal all_targets = await Get(AllTargets, AllTargetsRequest()) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 455, in find_all_targets tgts = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 175, in addresses_from_raw_specs_without_file_owners target_parametrizations_list = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 283, in resolve_target_parametrizations all_generated = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1418, in generate_file_targets sources_paths = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1031, in resolve_source_paths paths = await Get(Paths, PathGlobs, path_globs) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self native_engine.IntrinsicError: Unmatched glob from path/to:_new_lockfile's `sources` field: "path/to/new.lockfile" ``` **Pants version** `PANTS_SHA=06aaef7f21092a7bd76ba157cd221266b8444653` (on the 2.16.x branch) **OS** MacOS but would presumably see it on Linux too if I pushed my branch to CI. **Additional info** I believe the error is happening because the rule that provides `AllTargets` [here](https://github.com/pantsbuild/pants/blob/main/src/python/pants/engine/internals/graph.py#L588-L593) wraps around: ``` await Get( Targets, RawSpecsWithoutFileOwners( recursive_globs=(RecursiveGlobSpec(""),), description_of_origin="the `AllTargets` rule" ), ) ``` `RawSpecsWithoutFileOwners` has an `unmatched_glob_behavior` field [here](https://github.com/pantsbuild/pants/blob/main/src/python/pants/base/specs.py#L365) that defaults to `GlobMatchErrorBehavior.error`.
Hrmmm although - it looks like that `unmatched_glob_behavior` field is only used in the `RawSpecsWithoutFileOwners.to_build_file_path_globs_tuple` method. If I replace my `AllTargets` request with this: ``` all_targets = await Get( Targets, RawSpecsWithoutFileOwners( recursive_globs=(RecursiveGlobSpec(""),), description_of_origin="the `lock` goal", unmatched_glob_behavior=GlobMatchErrorBehavior.ignore, ), ) ``` I still get the `Unmatched glob` intrinsic error 🤔 This also seems to bite `pants check` when `mypy` is enabled, because its logic includes an `await Get(AllTargets, AllTargetsRequest())`
2023-05-09T02:27:46Z
[]
[]
Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/color/build/pants/plugins/lockfile/pex/register.py", line 304, in lock_goal all_targets = await Get(AllTargets, AllTargetsRequest()) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 455, in find_all_targets tgts = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 175, in addresses_from_raw_specs_without_file_owners target_parametrizations_list = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 283, in resolve_target_parametrizations all_generated = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1418, in generate_file_targets sources_paths = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1031, in resolve_source_paths paths = await Get(Paths, PathGlobs, path_globs) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self native_engine.IntrinsicError: Unmatched glob from path/to:_new_lockfile's `sources` field: "path/to/new.lockfile"
16,363
pantsbuild/pants
pantsbuild__pants-18948
8f772835f59322bcb196049cfd67bf036b63a3e5
diff --git a/src/python/pants/core/target_types.py b/src/python/pants/core/target_types.py --- a/src/python/pants/core/target_types.py +++ b/src/python/pants/core/target_types.py @@ -893,8 +893,17 @@ class LockfileTarget(Target): class LockfilesGeneratorSourcesField(MultipleSourcesField): + """Sources field for synthesized `_lockfiles` targets. + + It is special in that it always ignores any missing files, regardless of the global + `--unmatched-build-file-globs` option. + """ + help = generate_multiple_sources_field_help_message("Example: `sources=['example.lock']`") + def path_globs(self, unmatched_build_file_globs: UnmatchedBuildFileGlobs) -> PathGlobs: # type: ignore[misc] + return super().path_globs(UnmatchedBuildFileGlobs.ignore()) + class LockfilesGeneratorTarget(TargetFilesGenerator): alias = "_lockfiles"
Requesting `AllTargets` in a plugin fails if an entry in `[python.resolves]` points to a nonexistent file **Describe the bug** In one of our in-repo plugins, we request: ``` await Get(AllTargets, AllTargetsRequest()) ``` This typically works fine, but if I add a new `[python.resolves]` entry: ``` [python.resolves] new = "path/to/new.lockfile" ``` Then the goal logic explodes with: ``` Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/color/build/pants/plugins/lockfile/pex/register.py", line 304, in lock_goal all_targets = await Get(AllTargets, AllTargetsRequest()) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 455, in find_all_targets tgts = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 175, in addresses_from_raw_specs_without_file_owners target_parametrizations_list = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 283, in resolve_target_parametrizations all_generated = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1418, in generate_file_targets sources_paths = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1031, in resolve_source_paths paths = await Get(Paths, PathGlobs, path_globs) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self native_engine.IntrinsicError: Unmatched glob from path/to:_new_lockfile's `sources` field: "path/to/new.lockfile" ``` **Pants version** `PANTS_SHA=06aaef7f21092a7bd76ba157cd221266b8444653` (on the 2.16.x branch) **OS** MacOS but would presumably see it on Linux too if I pushed my branch to CI. **Additional info** I believe the error is happening because the rule that provides `AllTargets` [here](https://github.com/pantsbuild/pants/blob/main/src/python/pants/engine/internals/graph.py#L588-L593) wraps around: ``` await Get( Targets, RawSpecsWithoutFileOwners( recursive_globs=(RecursiveGlobSpec(""),), description_of_origin="the `AllTargets` rule" ), ) ``` `RawSpecsWithoutFileOwners` has an `unmatched_glob_behavior` field [here](https://github.com/pantsbuild/pants/blob/main/src/python/pants/base/specs.py#L365) that defaults to `GlobMatchErrorBehavior.error`.
Hrmmm although - it looks like that `unmatched_glob_behavior` field is only used in the `RawSpecsWithoutFileOwners.to_build_file_path_globs_tuple` method. If I replace my `AllTargets` request with this: ``` all_targets = await Get( Targets, RawSpecsWithoutFileOwners( recursive_globs=(RecursiveGlobSpec(""),), description_of_origin="the `lock` goal", unmatched_glob_behavior=GlobMatchErrorBehavior.ignore, ), ) ``` I still get the `Unmatched glob` intrinsic error 🤔 This also seems to bite `pants check` when `mypy` is enabled, because its logic includes an `await Get(AllTargets, AllTargetsRequest())`
2023-05-09T02:28:07Z
[]
[]
Traceback (most recent call last): File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/color/build/pants/plugins/lockfile/pex/register.py", line 304, in lock_goal all_targets = await Get(AllTargets, AllTargetsRequest()) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 455, in find_all_targets tgts = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/specs_rules.py", line 175, in addresses_from_raw_specs_without_file_owners target_parametrizations_list = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 283, in resolve_target_parametrizations all_generated = await MultiGet( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 358, in MultiGet return await _MultiGet(tuple(__arg0)) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 165, in __await__ result = yield self.gets File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1418, in generate_file_targets sources_paths = await Get( File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 623, in native_engine_generator_send res = rule.send(arg) if err is None else rule.throw(throw or err) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/graph.py", line 1031, in resolve_source_paths paths = await Get(Paths, PathGlobs, path_globs) File "/Users/dan.moran/Library/Caches/nce/56153e74337dc4e840948775afc9384890c3683383a5da29460a7aa1ccb965f6/bindings/venvs/2.16.0rc0+git06aaef7f/lib/python3.9/site-packages/pants/engine/internals/selectors.py", line 118, in __await__ result = yield self native_engine.IntrinsicError: Unmatched glob from path/to:_new_lockfile's `sources` field: "path/to/new.lockfile"
16,364
pantsbuild/pants
pantsbuild__pants-4606
a49a1b2d51dafb786284f403a8eb72099d5e90aa
diff --git a/src/python/pants/backend/python/tasks2/python_run.py b/src/python/pants/backend/python/tasks2/python_run.py --- a/src/python/pants/backend/python/tasks2/python_run.py +++ b/src/python/pants/backend/python/tasks2/python_run.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) +import os import signal from pants.backend.python.targets.python_binary import PythonBinary @@ -40,7 +41,7 @@ def execute(self): for arg in self.get_options().args: args.extend(safe_shlex_split(arg)) args += self.get_passthru_args() - po = pex.run(blocking=False, args=args) + po = pex.run(blocking=False, args=args, env=os.environ.copy()) try: result = po.wait() if result != 0: diff --git a/testprojects/src/python/print_env/main.py b/testprojects/src/python/print_env/main.py new file mode 100644 --- /dev/null +++ b/testprojects/src/python/print_env/main.py @@ -0,0 +1,14 @@ +# coding=utf-8 +# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). +# Licensed under the Apache License, Version 2.0 (see LICENSE). + +from __future__ import (absolute_import, division, generators, nested_scopes, print_function, + unicode_literals, with_statement) + +import os +import sys + + +if __name__ == '__main__': + # Print the content of the env var given on the command line. + print(os.environ[sys.argv[1]])
Environment variables are not available to Python binaries in 1.3.0.dev17 BUILD: ``` python_binary(source='env_var.py') ``` env_var.py: ``` import os print(os.environ['SHELL']) ``` Expected output: ``` /bin/zsh ``` Actual output: (pants 1.3.0.dev16): ``` /bin/zsh ``` Actual output: (pants 1.3.0.dev17): ``` Traceback (most recent call last): File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 360, in execute self._wrap_coverage(self._wrap_profiling, self._execute) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 288, in _wrap_coverage runner(*args) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 320, in _wrap_profiling runner(*args) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 403, in _execute return self.execute_entry(self._pex_info.entry_point) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 461, in execute_entry return runner(entry_point) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 466, in execute_module runpy.run_module(module_name, run_name='__main__') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 180, in run_module fname, loader, pkg_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Users/mike/code/fr/source/.pants.d/pyprep/sources/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_898c4dfd47d2/env_var.py", line 3, in <module> print(os.environ['SHELL']) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'SHELL' FAILURE: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 env_var ... exited non-zero (1) ```
@agenticarus : And this is for ``` ./pants run $binary ``` Yea? If you have time to fix this, we should certainly be able to get it into a `1.3.0rc2`. Yes, `./pants run $binary`
2017-05-18T22:57:02Z
[]
[]
Traceback (most recent call last): File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 360, in execute self._wrap_coverage(self._wrap_profiling, self._execute) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 288, in _wrap_coverage runner(*args) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 320, in _wrap_profiling runner(*args) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 403, in _execute return self.execute_entry(self._pex_info.entry_point) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 461, in execute_entry return runner(entry_point) File "/Users/mike/code/fr/source/.pants.d/run/py/CPython-2.7.10/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_4fa5ce70a419/.bootstrap/_pex/pex.py", line 466, in execute_module runpy.run_module(module_name, run_name='__main__') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 180, in run_module fname, loader, pkg_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Users/mike/code/fr/source/.pants.d/pyprep/sources/f4fb689ebb3890a4f8f61526b64dbf8f00714968-DefaultFingerprintStrategy_898c4dfd47d2/env_var.py", line 3, in <module> print(os.environ['SHELL']) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'SHELL'
16,428
pantsbuild/pants
pantsbuild__pants-5211
e49c7bbd734da6228c0cc02de091b5fc9367b829
diff --git a/src/python/pants/bin/local_pants_runner.py b/src/python/pants/bin/local_pants_runner.py --- a/src/python/pants/bin/local_pants_runner.py +++ b/src/python/pants/bin/local_pants_runner.py @@ -7,10 +7,11 @@ from pants.base.build_environment import get_buildroot from pants.bin.goal_runner import GoalRunner -from pants.bin.reporting_initializer import ReportingInitializer from pants.bin.repro import Reproducer +from pants.goal.run_tracker import RunTracker from pants.init.options_initializer import OptionsInitializer from pants.option.options_bootstrapper import OptionsBootstrapper +from pants.reporting.reporting import Reporting from pants.util.contextutil import hard_exit_handler, maybe_profiled @@ -56,7 +57,9 @@ def _run(self): options_bootstrapper.verify_configs_against_options(options) # Launch RunTracker as early as possible (just after Subsystem options are initialized). - run_tracker, reporting = ReportingInitializer().setup() + run_tracker = RunTracker.global_instance() + reporting = Reporting.global_instance() + reporting.initialize(run_tracker) try: # Determine the build root dir. diff --git a/src/python/pants/bin/reporting_initializer.py b/src/python/pants/bin/reporting_initializer.py deleted file mode 100644 --- a/src/python/pants/bin/reporting_initializer.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). -# Licensed under the Apache License, Version 2.0 (see LICENSE). - -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) - -from pants.goal.run_tracker import RunTracker -from pants.reporting.report import Report -from pants.reporting.reporting import Reporting - - -class ReportingInitializer(object): - """Starts and provides logged info on the RunTracker and Reporting subsystems.""" - - def __init__(self, run_tracker=None, reporting=None): - self._run_tracker = run_tracker or RunTracker.global_instance() - self._reporting = reporting or Reporting.global_instance() - - def setup(self): - """Start up the RunTracker and log reporting details.""" - report = self._reporting.initial_reporting(self._run_tracker) - self._run_tracker.start(report) - - url = self._run_tracker.run_info.get_info('report_url') - if url: - self._run_tracker.log(Report.INFO, 'See a report at: {}'.format(url)) - else: - self._run_tracker.log(Report.INFO, '(To run a reporting server: ./pants server)') - - return self._run_tracker, self._reporting diff --git a/src/python/pants/goal/run_tracker.py b/src/python/pants/goal/run_tracker.py --- a/src/python/pants/goal/run_tracker.py +++ b/src/python/pants/goal/run_tracker.py @@ -83,41 +83,24 @@ def __init__(self, *args, **kwargs): :API: public """ super(RunTracker, self).__init__(*args, **kwargs) - run_timestamp = time.time() - cmd_line = ' '.join(['pants'] + sys.argv[1:]) + self._run_timestamp = time.time() + self._cmd_line = ' '.join(['pants'] + sys.argv[1:]) - # run_id is safe for use in paths. - millis = int((run_timestamp * 1000) % 1000) - run_id = 'pants_run_{}_{}_{}'.format( - time.strftime('%Y_%m_%d_%H_%M_%S', time.localtime(run_timestamp)), millis, - uuid.uuid4().hex) - - info_dir = os.path.join(self.get_options().pants_workdir, self.options_scope) - self.run_info_dir = os.path.join(info_dir, run_id) - self.run_info = RunInfo(os.path.join(self.run_info_dir, 'info')) - self.run_info.add_basic_info(run_id, run_timestamp) - self.run_info.add_info('cmd_line', cmd_line) + # Initialized in `initialize()`. + self.run_info_dir = None + self.run_info = None + self.cumulative_timings = None + self.self_timings = None + self.artifact_cache_stats = None - # Create a 'latest' symlink, after we add_infos, so we're guaranteed that the file exists. - link_to_latest = os.path.join(os.path.dirname(self.run_info_dir), 'latest') - - relative_symlink(self.run_info_dir, link_to_latest) + # Initialized in `start()`. + self.report = None + self._main_root_workunit = None # A lock to ensure that adding to stats at the end of a workunit # operates thread-safely. self._stats_lock = threading.Lock() - # Time spent in a workunit, including its children. - self.cumulative_timings = AggregatedTimings(os.path.join(self.run_info_dir, - 'cumulative_timings')) - - # Time spent in a workunit, not including its children. - self.self_timings = AggregatedTimings(os.path.join(self.run_info_dir, 'self_timings')) - - # Hit/miss stats for the artifact cache. - self.artifact_cache_stats = \ - ArtifactCacheStats(os.path.join(self.run_info_dir, 'artifact_cache_stats')) - # Log of success/failure/aborted for each workunit. self.outcomes = {} @@ -127,16 +110,10 @@ def __init__(self, *args, **kwargs): # Number of threads for background work. self._num_background_workers = self.get_options().num_background_workers - # We report to this Report. - self.report = None - # self._threadlocal.current_workunit contains the current workunit for the calling thread. # Note that multiple threads may share a name (e.g., all the threads in a pool). self._threadlocal = threading.local() - # For main thread work. Created on start(). - self._main_root_workunit = None - # For background work. Created lazily if needed. self._background_worker_pool = None self._background_root_workunit = None @@ -172,20 +149,73 @@ def is_under_main_root(self, workunit): """Is the workunit running under the main thread's root.""" return workunit.root() == self._main_root_workunit + def initialize(self): + """Create run_info and relevant directories, and return the run id. + + Must be called before `start`. + """ + if self.run_info: + raise AssertionError('RunTracker.initialize must not be called multiple times.') + + # Initialize the run. + millis = int((self._run_timestamp * 1000) % 1000) + run_id = 'pants_run_{}_{}_{}'.format( + time.strftime('%Y_%m_%d_%H_%M_%S', time.localtime(self._run_timestamp)), millis, + uuid.uuid4().hex) + + info_dir = os.path.join(self.get_options().pants_workdir, self.options_scope) + self.run_info_dir = os.path.join(info_dir, run_id) + self.run_info = RunInfo(os.path.join(self.run_info_dir, 'info')) + self.run_info.add_basic_info(run_id, self._run_timestamp) + self.run_info.add_info('cmd_line', self._cmd_line) + + # Create a 'latest' symlink, after we add_infos, so we're guaranteed that the file exists. + link_to_latest = os.path.join(os.path.dirname(self.run_info_dir), 'latest') + + relative_symlink(self.run_info_dir, link_to_latest) + + # Time spent in a workunit, including its children. + self.cumulative_timings = AggregatedTimings(os.path.join(self.run_info_dir, + 'cumulative_timings')) + + # Time spent in a workunit, not including its children. + self.self_timings = AggregatedTimings(os.path.join(self.run_info_dir, 'self_timings')) + + # Hit/miss stats for the artifact cache. + self.artifact_cache_stats = \ + ArtifactCacheStats(os.path.join(self.run_info_dir, 'artifact_cache_stats')) + + return run_id + def start(self, report): - """Start tracking this pants run. + """Start tracking this pants run using the given Report. + + `RunTracker.initialize` must have been called first to create the run_info_dir and + run_info. TODO: This lifecycle represents a delicate dance with the `Reporting.initialize` + method, and portions of the `RunTracker` should likely move to `Reporting` instead. report: an instance of pants.reporting.Report. """ + if not self.run_info: + raise AssertionError('RunTracker.initialize must be called before RunTracker.start.') + self.report = report self.report.open() + # And create the workunit. self._main_root_workunit = WorkUnit(run_info_dir=self.run_info_dir, parent=None, name=RunTracker.DEFAULT_ROOT_NAME, cmd=None) self.register_thread(self._main_root_workunit) self._main_root_workunit.start() self.report.start_workunit(self._main_root_workunit) + # Log reporting details. + url = self.run_info.get_info('report_url') + if url: + self.log(Report.INFO, 'See a report at: {}'.format(url)) + else: + self.log(Report.INFO, '(To run a reporting server: ./pants server)') + def set_root_outcome(self, outcome): """Useful for setup code that doesn't have a reference to a workunit.""" self._main_root_workunit.set_outcome(outcome) diff --git a/src/python/pants/init/util.py b/src/python/pants/init/util.py --- a/src/python/pants/init/util.py +++ b/src/python/pants/init/util.py @@ -6,21 +6,15 @@ unicode_literals, with_statement) from pants.goal.goal import Goal -from pants.goal.run_tracker import RunTracker from pants.init.options_initializer import OptionsInitializer from pants.subsystem.subsystem import Subsystem -def clean_global_runtime_state(reset_runtracker=True, reset_subsystem=False): +def clean_global_runtime_state(reset_subsystem=False): """Resets the global runtime state of a pants runtime for cleaner forking. - :param bool reset_runtracker: Whether or not to clean RunTracker global state. :param bool reset_subsystem: Whether or not to clean Subsystem global state. """ - if reset_runtracker: - # Reset RunTracker state. - RunTracker.global_instance().reset(reset_options=False) - if reset_subsystem: # Reset subsystem state. Subsystem.reset() diff --git a/src/python/pants/reporting/reporting.py b/src/python/pants/reporting/reporting.py --- a/src/python/pants/reporting/reporting.py +++ b/src/python/pants/reporting/reporting.py @@ -15,11 +15,11 @@ from pants.reporting.invalidation_report import InvalidationReport from pants.reporting.plaintext_reporter import LabelFormat, PlainTextReporter, ToolOutputFormat from pants.reporting.quiet_reporter import QuietReporter -from pants.reporting.report import Report, ReportingError +from pants.reporting.report import Report from pants.reporting.reporter import ReporterDestination from pants.reporting.reporting_server import ReportingServerManager from pants.subsystem.subsystem import Subsystem -from pants.util.dirutil import relative_symlink, safe_mkdir, safe_rmtree +from pants.util.dirutil import relative_symlink, safe_mkdir class Reporting(Subsystem): @@ -46,23 +46,18 @@ def register_options(cls, register): '{workunits}. Possible formatting values are {formats}'.format( workunits=WorkUnitLabel.keys(), formats=ToolOutputFormat.keys())) - def initial_reporting(self, run_tracker): - """Sets up the initial reporting configuration. + def initialize(self, run_tracker): + """Initialize with the given RunTracker. - Will be changed after we parse cmd-line flags. + TODO: See `RunTracker.start`. """ - link_to_latest = os.path.join(self.get_options().reports_dir, 'latest') - run_id = run_tracker.run_info.get_info('id') - if run_id is None: - raise ReportingError('No run_id set') + run_id = run_tracker.initialize() run_dir = os.path.join(self.get_options().reports_dir, run_id) - safe_rmtree(run_dir) html_dir = os.path.join(run_dir, 'html') safe_mkdir(html_dir) - - relative_symlink(run_dir, link_to_latest) + relative_symlink(run_dir, os.path.join(self.get_options().reports_dir, 'latest')) report = Report() @@ -92,7 +87,8 @@ def initial_reporting(self, run_tracker): if port: run_tracker.run_info.add_info('report_url', 'http://localhost:{}/run/{}'.format(port, run_id)) - return report + # And start tracking the run. + run_tracker.start(report) def _get_invalidation_report(self): return InvalidationReport() if self.get_options().invalidation_report else None
daemon + pants server problems The reporting server's index includes 2 entries for each pants run. The upper entry is for the pantsd portion and the lower entry is for the thin client portion. If you click on the pantsd one, ie the top one, only the pants command that was run is printed. The timing data is missing. If you click on the thin client one, the server crashes, but does not log how it crashed. From what I can tell, it doesn't even write to a log file in the work directory. I turned off the daemon, and got a stacktrace. ``` Exception happened during processing of request from ('127.0.0.1', 52156) Traceback (most recent call last): File ".../python/2.7/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock self.process_request(request, client_address) File ".../python/2.7/lib/python2.7/SocketServer.py", line 321, in process_request self.finish_request(request, client_address) File ".../python/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 396, in __init__ PantsHandler.__init__(self, settings, renderer, request, client_address, server) File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 62, in __init__ BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, request, client_address, server) File ".../python/2.7/lib/python2.7/SocketServer.py", line 655, in __init__ self.handle() File ".../python/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle self.handle_one_request() File ".../python/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request method() File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 74, in do_GET if self._maybe_handle(prefix, handler, path, params): File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 341, in _maybe_handle handler(relpath, params) File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 117, in _handle_run report_abspath = run_info['default_report'] KeyError: u'default_report' ``` From that result, I'm guessing this has to do with how the daemonized pants run interacts with the runtracker.
Running pants server on master results in the request to the server hanging. ...finally looking at this. Sorry.
2017-12-14T21:15:33Z
[]
[]
Traceback (most recent call last): File ".../python/2.7/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock self.process_request(request, client_address) File ".../python/2.7/lib/python2.7/SocketServer.py", line 321, in process_request self.finish_request(request, client_address) File ".../python/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 396, in __init__ PantsHandler.__init__(self, settings, renderer, request, client_address, server) File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 62, in __init__ BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, request, client_address, server) File ".../python/2.7/lib/python2.7/SocketServer.py", line 655, in __init__ self.handle() File ".../python/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle self.handle_one_request() File ".../python/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request method() File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 74, in do_GET if self._maybe_handle(prefix, handler, path, params): File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 341, in _maybe_handle handler(relpath, params) File ".../.pex/install/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl.46445b2c7acbf09afd084ac31d3da3e261ae5636/pantsbuild.pants-1.4.0.dev16+899381073-cp27-none-macosx_10_8_x86_64.whl/pants/reporting/reporting_server.py", line 117, in _handle_run report_abspath = run_info['default_report'] KeyError: u'default_report'
16,479
pantsbuild/pants
pantsbuild__pants-7502
56a33229e590ef368816dd1518a67a62515f1202
diff --git a/src/python/pants/engine/native.py b/src/python/pants/engine/native.py --- a/src/python/pants/engine/native.py +++ b/src/python/pants/engine/native.py @@ -226,8 +226,9 @@ def wrapper(func): class _FFISpecification(object): - def __init__(self, ffi): + def __init__(self, ffi, lib): self._ffi = ffi + self._lib = lib @memoized_classproperty def _extern_fields(cls): @@ -295,9 +296,7 @@ def extern_identify(self, context_handle, val): """ c = self._ffi.from_handle(context_handle) obj = self._ffi.from_handle(val[0]) - hash_ = hash(obj) - type_id = c.to_id(type(obj)) - return (hash_, TypeId(type_id)) + return c.identify(obj) @_extern_decl('_Bool', ['ExternContext*', 'Handle*', 'Handle*']) def extern_equals(self, context_handle, val1, val2): @@ -419,36 +418,37 @@ def extern_create_exception(self, context_handle, msg_ptr, msg_len): def extern_generator_send(self, context_handle, func, arg): """Given a generator, send it the given value and return a response.""" c = self._ffi.from_handle(context_handle) + response = self._ffi.new('PyGeneratorResponse*') try: res = c.from_value(func[0]).send(c.from_value(arg[0])) if isinstance(res, Get): # Get. - values = [res.subject] - products = [res.product] - tag = 2 + response.tag = self._lib.Get + response.get = ( + TypeId(c.to_id(res.product)), + c.to_value(res.subject), + c.identify(res.subject), + ) elif type(res) in (tuple, list): # GetMulti. - values = [g.subject for g in res] - products = [g.product for g in res] - tag = 3 + response.tag = self._lib.GetMulti + response.get_multi = ( + c.type_ids_buf([TypeId(c.to_id(g.product)) for g in res]), + c.vals_buf([c.to_value(g.subject) for g in res]), + c.identities_buf([c.identify(g.subject) for g in res]), + ) else: # Break. - values = [res] - products = [] - tag = 0 + response.tag = self._lib.Broke + response.broke = (c.to_value(res),) except Exception as e: # Throw. + response.tag = self._lib.Throw val = e val._formatted_exc = traceback.format_exc() - values = [val] - products = [] - tag = 1 + response.throw = (c.to_value(val),) - return ( - tag, - c.vals_buf([c.to_value(v) for v in values]), - c.type_ids_buf([TypeId(c.to_id(t)) for t in products]) - ) + return response[0] @_extern_decl('PyResult', ['ExternContext*', 'Handle*', 'Handle**', 'uint64_t']) def extern_call(self, context_handle, func, args_ptr, args_len): @@ -521,6 +521,10 @@ def vals_buf(self, vals): buf = self._ffi.new('Handle[]', vals) return (buf, len(vals), self.to_value(buf)) + def identities_buf(self, idents): + buf = self._ffi.new('Ident[]', idents) + return (buf, len(idents), self.to_value(buf)) + def type_ids_buf(self, types): buf = self._ffi.new('TypeId[]', types) return (buf, len(types), self.to_value(buf)) @@ -545,6 +549,12 @@ def raise_or_return(self, pyresult): def drop_handles(self, handles): self._handles -= set(handles) + def identify(self, obj): + """Return an Ident-shaped tuple for the given object.""" + hash_ = hash(obj) + type_id = self.to_id(type(obj)) + return (hash_, TypeId(type_id)) + def to_id(self, typ): type_id = id(typ) self._types[type_id] = typ @@ -589,14 +599,14 @@ def binary(self): @memoized_property def lib(self): """Load and return the native engine module.""" - return self.ffi.dlopen(self.binary) + lib = self.ffi.dlopen(self.binary) + _FFISpecification(self.ffi, lib).register_cffi_externs() + return lib @memoized_property def ffi(self): """A CompiledCFFI handle as imported from the native engine python module.""" - ffi = getattr(self._ffi_module, 'ffi') - _FFISpecification(ffi).register_cffi_externs() - return ffi + return getattr(self._ffi_module, 'ffi') @memoized_property def ffi_lib(self):
Error for unhashable types used as Keys in the engine is unfortunate Getting a `Key` for a `Value` in the engine requires hashing it, and when that fails, the error message is unfortunate (because we do not currently treat `Interns::put` or `externs::identify` as fallible operations): ``` From cffi callback <bound method _FFISpecification.extern_identify of <pants.engine.native._FFISpecification object at 0x10a100510>>: Traceback (most recent call last): File "/Users/bescobar/workspace/otherpants/src/python/pants/engine/native.py", line 283, in extern_identify hash_ = hash(obj) File "/Users/bescobar/workspace/otherpants/src/python/pants/util/objects.py", line 107, in __hash__ return super(DataType, self).__hash__() TypeError: unhashable type: 'list' thread 'tokio-runtime-worker-2' panicked at 'WithDeps(Inner(InnerEntry { params: {TypeId(140728165282080)}, rule: Task(Task { product: TypeConstraint(Key { id: 74, type_id: TypeId(140728165231312) }), clause: [Select { product: =Console }, Select { product: =TransitiveHydratedTargets }], gets: [Get { product: TypeConstraint(Key { id: 76, type_id: TypeId(140728165231312) }), subject: TypeId(140728202990560) }], func: Function(Key { id: 75, type_id: TypeId(4418260136) }), cacheable: false }) })) did not declare a dependency on JustGet(Get { product: TypeConstraint(Key { id: 76, type_id: TypeId(140728165231312) }), subject: TypeId(0) })', src/nodes.rs:839:13 ``` ---- While not _all_ `extern` methods should be fallible (although they can effectively all fail due to python exceptions), this one is probably a good candidate. Most of the objects that pass through the engine are `Values`, and relatively few need to be converted into `Keys`: essentially, only those used as `Params` (eg. as arguments to `Get(..)`). But introducing new calls to `Get(..)` is a much more common operation, and rendering a good error message in this case would be valuable. To make this cheaper, and provide a better illusion of synchronous behaviour when you call `Get` with a bad argument, one approach would be to change the signature of [extern_generator_send](https://github.com/pantsbuild/pants/blob/00fd11701f9fb9bfcf3a5f9584c758d116d8d092/src/python/pants/engine/native.py#L418-L451) to directly return pre-identified handles (ie, including both the `Handle`, and an `Ident` as from `extern_identify`) when yielding a `Get`/`GetMulti`. This would make the `PyGeneratorResponse` struct more complicated though, because neither the `Break` nor `Throw` cases should identify their arguments.
2019-04-04T22:31:10Z
[]
[]
Traceback (most recent call last): File "/Users/bescobar/workspace/otherpants/src/python/pants/engine/native.py", line 283, in extern_identify hash_ = hash(obj) File "/Users/bescobar/workspace/otherpants/src/python/pants/util/objects.py", line 107, in __hash__ return super(DataType, self).__hash__() TypeError: unhashable type: 'list'
16,601
pantsbuild/pants
pantsbuild__pants-9401
4ddad3b3d7aa9680de22a8cd9791633b845b8750
diff --git a/src/python/pants/backend/python/rules/download_pex_bin.py b/src/python/pants/backend/python/rules/download_pex_bin.py --- a/src/python/pants/backend/python/rules/download_pex_bin.py +++ b/src/python/pants/backend/python/rules/download_pex_bin.py @@ -37,16 +37,16 @@ def directory_digest(self) -> Digest: class Factory(Script): options_scope = "download-pex-bin" name = "pex" - default_version = "v2.1.6" + default_version = "v2.1.7" # Note: You can compute the digest and size using: # curl -L https://github.com/pantsbuild/pex/releases/download/vX.Y.Z/pex | tee >(wc -c) >(shasum -a 256) >/dev/null default_versions_and_digests = { PlatformConstraint.none: ToolForPlatform( digest=Digest( - "73e692f9a67a8d8b3f8b246076a3fd99f29fd5cbe18126c69657ac8c99c277fc", 2614280 + "375ab4a405a6db57f3afd8d60eca666e61931b44f156dc78ac7d8e47bddc96d6", 2620451 ), - version=ToolVersion("v2.1.6"), + version=ToolVersion("v2.1.7"), ), }
CreatePex attempts to write to the default pex cache (~/.pex). Seen in a remote build execution platform that only presents a read-only filesystem except for the EPR chroot: ``` $ ./pants --no-v1 --v2-ui --pants-config-files=pants.local-bf.toml --remote-execution-extra-platform-properties=execution-policy=debug test src/python/toolchain/satresolver:tests 20:38:20 [WARN] Error loading access token: AuthError('Failed to load auth token (no default file or environment variable). Run `./tc auth-acquire` to set up authentication.') 20:38:20 [INFO] Starting tests: src/python/toolchain/satresolver:tests 20:38:23 [WARN] /home/jsirois/.cache/pants/setup/bootstrap-Linux-x86_64/1.27.0.dev0_py38/lib/python3.8/site-packages/pants/base/exception_sink.py:431: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats process_title=setproctitle.getproctitle(), ERROR: process 'Create a requirements PEX: ansicolors==1.1.8, coloredlogs, pex==2.1.6, pytest>=5.4.1, termcolor' failed with exit code 129. stdout: stderr: 2020-03-20T20:38:21+00:00 executor.sh DEBUG Enabling debug 2020-03-20T20:38:21+00:00 executor.sh DEBUG Called in PWD=/worker/operations/default_memory_instance/operations/0843afa8-7036-4f43-a954-791a37846457 with: network=true container-image=283194185447.dkr.ecr.us-east-1.amazonaws.com/ci:2020-03-18.00-32-05-4255fb8f57f0 debug=true python ./pex --disable-cache --output-file requirements.pex --interpreter-constraint CPython>=3.8,<4 --not-zip-safe --manylinux manylinux2014 --constraints 3rdparty/python/constraints.txt --sources-directory=source_files ansicolors==1.1.8 coloredlogs pex==2.1.6 pytest>=5.4.1 termcolor 2020-03-20T20:38:21+00:00 executor.sh DEBUG total 2564 drwxr-xr-x 3 worker worker 4096 Mar 20 20:38 3rdparty -rwxr--r-- 3 worker worker 2614280 Mar 20 19:58 pex drwxr-xr-x 2 worker worker 4096 Mar 20 20:38 source_files 2020-03-20T20:38:21+00:00 executor.sh DEBUG Performing runt.sh exec on image 283194185447.dkr.ecr.us-east-1.amazonaws.com/ci:2020-03-18.00-32-05-4255fb8f57f0 2020-03-20T20:38:21+00:00 executor.sh DEBUG Enabling network 2020-03-20T20:38:21+00:00 runt.sh DEBUG Wrapping process with waitnet: /usr/bin/waitnet -d /slirp4netns/run python ./pex --disable-cache --output-file requirements.pex --interpreter-constraint CPython>=3.8,<4 --not-zip-safe --manylinux manylinux2014 --constraints 3rdparty/python/constraints.txt --sources-directory=source_files ansicolors==1.1.8 coloredlogs pex==2.1.6 pytest>=5.4.1 termcolor 2020-03-20T20:38:21+00:00 runt.sh DEBUG Executing /worker/exec/283194185447.dkr.ecr.us-east-1.amazonaws.com/ci:2020-03-18.00-32-05-4255fb8f57f0/283194185447_dkr_ecr_us_east_1_amazonaws_com_ci_2020_03_18_00_32_05_4255fb8f57f0_4c3fa4a1_d153_4694_9c85_1ee4cbd5f40f/config.json as uid=1000(worker) gid=1000(worker) groups=1000(worker) 2020-03-20T20:38:21+00:00 start-network.sh DEBUG Called as /worker/bin/start-network.sh -d true -s /usr/bin/slirp4netns /worker/exec/283194185447.dkr.ecr.us-east-1.amazonaws.com/ci:2020-03-18.00-32-05-4255fb8f57f0/283194185447_dkr_ecr_us_east_1_amazonaws_com_ci_2020_03_18_00_32_05_4255fb8f57f0_4c3fa4a1_d153_4694_9c85_1ee4cbd5f40f/slirp4netns/run 2020-03-20T20:38:21+00:00 start-network.sh DEBUG Starting slirp4netns daemon for container process 452... 2020-03-20T20:38:21+00:00 start-network.sh DEBUG Started slirp4netns daemon @ 465. 2020-03-20T20:38:21+00:00 start-network.sh DEBUG Starting quit daemon for slirp4netns daemon @ 465... 2020-03-20T20:38:21+00:00 start-network.sh DEBUG Started quit daemon @ 473. waitnet DEBUG Received 1 on /slirp4netns/run/ready waitnet DEBUG Executing python... Traceback (most recent call last): File "/worker/operations/pex/.bootstrap/pex/pex.py", line 393, in execute File "/worker/operations/pex/.bootstrap/pex/pex.py", line 325, in _wrap_coverage File "/worker/operations/pex/.bootstrap/pex/pex.py", line 356, in _wrap_profiling File "/worker/operations/pex/.bootstrap/pex/pex.py", line 438, in _execute File "/worker/operations/pex/.bootstrap/pex/pex.py", line 535, in execute_entry File "/worker/operations/pex/.bootstrap/pex/pex.py", line 550, in execute_pkg_resources File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/bin/pex.py", line 661, in main pex_builder = build_pex(reqs, options) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/bin/pex.py", line 578, in build_pex resolveds = resolve_multi(requirements=reqs, File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 802, in resolve_multi return list(resolve_request.resolve_distributions(ignore_errors=ignore_errors)) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 497, in resolve_distributions for resolve_result in self._run_parallel(inputs=to_resolve, File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 366, in _run_parallel for result in execute_parallel( File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/jobs.py", line 219, in execute_parallel raise error File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/jobs.py", line 202, in spawn_jobs result = spawn_func(item) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 376, in _spawn_resolve download_job = get_pip().spawn_download_distributions( File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/pip.py", line 256, in get_pip _PIP = Pip.create() File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/pip.py", line 30, in create isolated_pip_environment = third_party.pkg_resources.Environment(search_path=pythonpath) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/vendor/_vendored/setuptools/pkg_resources/__init__.py", line 1016, in __init__ self.scan(search_path) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/vendor/_vendored/setuptools/pkg_resources/__init__.py", line 1047, in scan for item in search_path: File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/third_party/__init__.py", line 442, in expose for path in VendorImporter.expose(dists, root=isolated()): File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/third_party/__init__.py", line 363, in isolated with atomic_directory(isolated_dir) as chroot: File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__ return next(self.gen) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/common.py", line 303, in atomic_directory safe_mkdir(atomic_dir.work_dir) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/common.py", line 185, in safe_mkdir os.makedirs(directory) File "/usr/local/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) OSError: [Errno 30] Read-only file system: '/home/toolchain/.pex' waitnet DEBUG Sent quit on /slirp4netns/run/quit (Use --print-exception-stacktrace to see more error details.) ```
It looks like newer Pex is what is broken here, #8335 via #8283 fixed this by always passing `--disable-cache` - which no longer appears to fully work. A workaround would be to set the PEX_ROOT like `HermeticPex` does. OK - this is a problem unique to PEXed Pex. It, and only it, extracts itself to `$PEX_ROOT/isolated`, but all PEXes have `PEX_` env vars stripped before running, which leaves PEXed Pex using the default cache even though Pants tries to set that to `./pex_root`. This will need to be solved over in Pex. Forked off this issue which Pants will block on via a Pex 2.1.7 release: https://github.com/pantsbuild/pex/issues/926
2020-03-25T22:05:41Z
[]
[]
Traceback (most recent call last): File "/worker/operations/pex/.bootstrap/pex/pex.py", line 393, in execute File "/worker/operations/pex/.bootstrap/pex/pex.py", line 325, in _wrap_coverage File "/worker/operations/pex/.bootstrap/pex/pex.py", line 356, in _wrap_profiling File "/worker/operations/pex/.bootstrap/pex/pex.py", line 438, in _execute File "/worker/operations/pex/.bootstrap/pex/pex.py", line 535, in execute_entry File "/worker/operations/pex/.bootstrap/pex/pex.py", line 550, in execute_pkg_resources File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/bin/pex.py", line 661, in main pex_builder = build_pex(reqs, options) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/bin/pex.py", line 578, in build_pex resolveds = resolve_multi(requirements=reqs, File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 802, in resolve_multi return list(resolve_request.resolve_distributions(ignore_errors=ignore_errors)) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 497, in resolve_distributions for resolve_result in self._run_parallel(inputs=to_resolve, File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 366, in _run_parallel for result in execute_parallel( File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/jobs.py", line 219, in execute_parallel raise error File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/jobs.py", line 202, in spawn_jobs result = spawn_func(item) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 376, in _spawn_resolve download_job = get_pip().spawn_download_distributions( File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/pip.py", line 256, in get_pip _PIP = Pip.create() File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/pip.py", line 30, in create isolated_pip_environment = third_party.pkg_resources.Environment(search_path=pythonpath) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/vendor/_vendored/setuptools/pkg_resources/__init__.py", line 1016, in __init__ self.scan(search_path) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/vendor/_vendored/setuptools/pkg_resources/__init__.py", line 1047, in scan for item in search_path: File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/third_party/__init__.py", line 442, in expose for path in VendorImporter.expose(dists, root=isolated()): File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/third_party/__init__.py", line 363, in isolated with atomic_directory(isolated_dir) as chroot: File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__ return next(self.gen) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/common.py", line 303, in atomic_directory safe_mkdir(atomic_dir.work_dir) File "/worker/operations/pex_root/installed_wheels/297b14b117c1355307b3d1c38f87a9dbd9a11900/pex-2.1.6-py2.py3-none-any.whl/pex/common.py", line 185, in safe_mkdir os.makedirs(directory) File "/usr/local/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) OSError: [Errno 30] Read-only file system: '/home/toolchain/.pex'
16,634
pyca/cryptography
pyca__cryptography-1252
3be364eb24dc31c0a90019f71edc72f9babebb98
diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py --- a/cryptography/hazmat/backends/openssl/backend.py +++ b/cryptography/hazmat/backends/openssl/backend.py @@ -490,14 +490,24 @@ def _pem_password_cb(self, password): def pem_password_cb(buf, size, writing, userdata): pem_password_cb.called += 1 - if not password or len(password) >= size: + if not password: + pem_password_cb.exception = TypeError( + "Password was not given but private key is encrypted." + ) return 0 - else: + elif len(password) < size: pw_buf = self._ffi.buffer(buf, size) pw_buf[:len(password)] = password return len(password) + else: + pem_password_cb.exception = ValueError( + "Passwords longer than {0} bytes are not supported " + "by this backend.".format(size - 1) + ) + return 0 pem_password_cb.called = 0 + pem_password_cb.exception = None return ( self._ffi.callback("int (char *, int, int, void *)", @@ -786,7 +796,12 @@ def _load_key(self, openssl_read_func, convert_func, data, password): ) if evp_pkey == self._ffi.NULL: - self._handle_key_loading_error(password) + if password_func.exception is not None: + errors = self._consume_errors() + assert errors + raise password_func.exception + else: + self._handle_key_loading_error() evp_pkey = self._ffi.gc(evp_pkey, self._lib.EVP_PKEY_free) @@ -801,28 +816,12 @@ def _load_key(self, openssl_read_func, convert_func, data, password): return convert_func(evp_pkey) - def _handle_key_loading_error(self, password): + def _handle_key_loading_error(self): errors = self._consume_errors() + if not errors: raise ValueError("Could not unserialize key data.") - if ( - errors[0][1:] == ( - self._lib.ERR_LIB_PEM, - self._lib.PEM_F_PEM_DO_HEADER, - self._lib.PEM_R_BAD_PASSWORD_READ - ) - ) or ( - errors[0][1:] == ( - self._lib.ERR_LIB_PEM, - self._lib.PEM_F_PEM_READ_BIO_PRIVATEKEY, - self._lib.PEM_R_BAD_PASSWORD_READ - ) - ): - assert not password - raise TypeError( - "Password was not given but private key is encrypted.") - elif errors[0][1:] == ( self._lib.ERR_LIB_EVP, self._lib.EVP_F_EVP_DECRYPTFINAL_EX,
Password too long triggers an AssertionError when loading keys on the OpenSSL backend ``` pycon >>> serialization.load_pem_traditional_openssl_private_key(f.read(), "\x00" * 10000000, default_backend()._backends[1]) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "cryptography/hazmat/primitives/serialization.py", line 19, in load_pem_traditional_openssl_private_key data, password File "cryptography/hazmat/backends/openssl/backend.py", line 766, in load_traditional_openssl_pem_private_key return self.load_pkcs8_pem_private_key(data, password) File "cryptography/hazmat/backends/openssl/backend.py", line 781, in load_pkcs8_pem_private_key self._handle_key_loading_error(password) File "cryptography/hazmat/backends/openssl/backend.py", line 814, in _handle_key_loading_error assert not password AssertionError ``` This happens because in the PEM password cb: ``` py def pem_password_cb(buf, size, writing, userdata): pem_password_cb.called += 1 if not password or len(password) >= size: return 0 else: # ... ``` So we say that there isn't a password, when there is.
Just how long was this password? In this example, I was just testing a ridiculously long password (100,000 bytes or something), I was actually hunting for memory corruption bugs :-) Good find :) The buffer is fixed at 1024 bytes in OpenSSL. Looks like it might be tricky to handle this case nicely. I guess replacing the AssertionError with a ValueError or something might good? Yeah, I think we'll have to pass this info outside the normal OpenSSL error stuff (like we do with `.called`). Also, just thinking outloud here, but passwords with `NUL` bytes probably do weird things because it's a `NUL` terminated string. On Wed, Jul 9, 2014 at 7:43 AM, Alex Stapleton notifications@github.com wrote: > Good find :) The buffer is fixed at 1024 bytes in OpenSSL. Looks like it > might be tricky to handle this case nicely. I guess replacing the > AssertionError with a ValueError or something might good? > > — > Reply to this email directly or view it on GitHub > https://github.com/pyca/cryptography/issues/1235#issuecomment-48480326. ## "I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire) "The people's good is the highest law." -- Cicero GPG Key fingerprint: 125F 5C67 DFE9 4084 Probably worth writing a test for NUL bytes at least. I think OpenSSL does the right thing though. I'm fixing this :)
2014-07-10T20:54:35Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "cryptography/hazmat/primitives/serialization.py", line 19, in load_pem_traditional_openssl_private_key data, password File "cryptography/hazmat/backends/openssl/backend.py", line 766, in load_traditional_openssl_pem_private_key return self.load_pkcs8_pem_private_key(data, password) File "cryptography/hazmat/backends/openssl/backend.py", line 781, in load_pkcs8_pem_private_key self._handle_key_loading_error(password) File "cryptography/hazmat/backends/openssl/backend.py", line 814, in _handle_key_loading_error assert not password AssertionError
16,667
pyca/cryptography
pyca__cryptography-1296
7f70190bb9b45781b351735d40b77328efaa9d71
diff --git a/cryptography/hazmat/bindings/openssl/x509_vfy.py b/cryptography/hazmat/bindings/openssl/x509_vfy.py --- a/cryptography/hazmat/bindings/openssl/x509_vfy.py +++ b/cryptography/hazmat/bindings/openssl/x509_vfy.py @@ -27,7 +27,6 @@ """ TYPES = """ -static const long Cryptography_HAS_X509_VERIFY_PARAM_SET_HOSTFLAGS; static const long Cryptography_HAS_102_VERIFICATION_ERROR_CODES; static const long Cryptography_HAS_102_VERIFICATION_PARAMS; static const long Cryptography_HAS_X509_V_FLAG_TRUSTED_FIRST; @@ -186,10 +185,10 @@ Cryptography_STACK_OF_X509_CRL *); /* X509_VERIFY_PARAM */ -int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *, const unsigned char *, +int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *, const char *, size_t); void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *, unsigned int); -int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *, const unsigned char *, +int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *, const char *, size_t); int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *, const unsigned char *, size_t); @@ -197,15 +196,6 @@ """ CUSTOMIZATIONS = """ -/* OpenSSL 1.0.2+, but only some very new releases */ -#ifdef X509_VERIFY_PARAM_set_hostflags -static const long Cryptography_HAS_X509_VERIFY_PARAM_SET_HOSTFLAGS = 1; -#else -static const long Cryptography_HAS_X509_VERIFY_PARAM_SET_HOSTFLAGS = 0; -void (*X509_VERIFY_PARAM_set_hostflags)(X509_VERIFY_PARAM *, - unsigned int) = NULL; -#endif - /* OpenSSL 1.0.2+ verification error codes */ #if OPENSSL_VERSION_NUMBER >= 0x10002000L static const long Cryptography_HAS_102_VERIFICATION_ERROR_CODES = 1; @@ -234,13 +224,15 @@ static const long X509_V_FLAG_SUITEB_128_LOS = 0; static const long X509_V_FLAG_PARTIAL_CHAIN = 0; -int (*X509_VERIFY_PARAM_set1_host)(X509_VERIFY_PARAM *, const unsigned char *, +int (*X509_VERIFY_PARAM_set1_host)(X509_VERIFY_PARAM *, const char *, size_t) = NULL; -int (*X509_VERIFY_PARAM_set1_email)(X509_VERIFY_PARAM *, const unsigned char *, +int (*X509_VERIFY_PARAM_set1_email)(X509_VERIFY_PARAM *, const char *, size_t) = NULL; int (*X509_VERIFY_PARAM_set1_ip)(X509_VERIFY_PARAM *, const unsigned char *, size_t) = NULL; int (*X509_VERIFY_PARAM_set1_ip_asc)(X509_VERIFY_PARAM *, const char *) = NULL; +void (*X509_VERIFY_PARAM_set_hostflags)(X509_VERIFY_PARAM *, + unsigned int) = NULL; #endif /* OpenSSL 1.0.2+, *or* Fedora 20's flavor of OpenSSL 1.0.1e... */ @@ -286,9 +278,6 @@ """ CONDITIONAL_NAMES = { - "Cryptography_HAS_X509_VERIFY_PARAM_SET_HOSTFLAGS": [ - "X509_VERIFY_PARAM_set_hostflags", - ], "Cryptography_HAS_102_VERIFICATION_ERROR_CODES": [ 'X509_V_ERR_SUITE_B_INVALID_VERSION', 'X509_V_ERR_SUITE_B_INVALID_ALGORITHM', @@ -310,6 +299,7 @@ "X509_VERIFY_PARAM_set1_email", "X509_VERIFY_PARAM_set1_ip", "X509_VERIFY_PARAM_set1_ip_asc", + "X509_VERIFY_PARAM_set_hostflags", ], "Cryptography_HAS_X509_V_FLAG_TRUSTED_FIRST": [ "X509_V_FLAG_TRUSTED_FIRST",
Failing X509_VERIFY_PARAM_set_hostflags with openssl-1.0.2-b2 ``` x86_64-pc-linux-gnu-gcc -march=barcelona -mtune=barcelona -O2 -pipe -fPIC -I/usr/include/python3.3 -c cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_4f32d02dx3a8a382.c -o /var/tmp/portage/dev-python/cryptography-0.5.3/work/cryptography-0.5.3/cryptography/hazmat/bindings/__pycache__/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_4f32d02dx3a8a382.o cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_4f32d02dx3a8a382.c:2045:8: error: ‘X509_VERIFY_PARAM_set_hostflags’ redeclared as different kind of symbol void (*X509_VERIFY_PARAM_set_hostflags)(X509_VERIFY_PARAM *, ^ In file included from /usr/include/openssl/x509.h:601:0, from /usr/include/openssl/cms.h:58, from cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_4f32d02dx3a8a382.c:217: /usr/include/openssl/x509_vfy.h:565:6: note: previous declaration of ‘X509_VERIFY_PARAM_set_hostflags’ was here void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param, ^ Traceback (most recent call last): File "/usr/lib64/python3.3/distutils/unixccompiler.py", line 126, in _compile extra_postargs) File "/usr/lib64/python3.3/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/usr/lib64/python3.3/distutils/spawn.py", line 32, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/usr/lib64/python3.3/distutils/spawn.py", line 163, in _spawn_posix % (cmd[0], exit_status)) distutils.errors.DistutilsExecError: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 ``` As reported here: https://bugs.gentoo.org/show_bug.cgi?id=519508.
I'm actually a little confused how that code ever worked, I'm pretty sure `#ifdef` does not work in the manner that it seems to assume. @lvh Can you explain why this `#define` was used? https://github.com/pyca/cryptography/pull/1144/files#diff-4cb58295ca24023049bfb38850131c47R91 I am guessing that we can move this method into the main 1.0.2 group now that it has actual beta releases? I'd guess it appeared to work because it never took the true branch and we were testing on beta 1 (and actually I need to upgrade the builder to beta 2 still).
2014-08-09T17:33:42Z
[]
[]
Traceback (most recent call last): File "/usr/lib64/python3.3/distutils/unixccompiler.py", line 126, in _compile extra_postargs) File "/usr/lib64/python3.3/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/usr/lib64/python3.3/distutils/spawn.py", line 32, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/usr/lib64/python3.3/distutils/spawn.py", line 163, in _spawn_posix % (cmd[0], exit_status)) distutils.errors.DistutilsExecError: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
16,668
pyca/cryptography
pyca__cryptography-1398
c97992640a13c6fa654954c801988c2dc401c0f5
diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py --- a/cryptography/hazmat/backends/openssl/backend.py +++ b/cryptography/hazmat/backends/openssl/backend.py @@ -1007,7 +1007,9 @@ def _ec_key_set_public_key_affine_coordinates(self, ctx, x, y): assert res == 1 res = self._lib.EC_KEY_check_key(ctx) - assert res == 1 + if res != 1: + self._consume_errors() + raise ValueError("Invalid EC key.") return ctx
Loading private numbers fails on an assertion for bad numbers (I assume they're bad numbers, either way we should never fail assertions). ``` pycon >>>> from cryptography.hazmat.primitives.asymmetric import ec >>>> from cryptography.hazmat.backends import default_backend >>>> numbers = ec.EllipticCurvePrivateNumbers( .... 35764650566032008086366661818264207095808177403860908948280156930896899025506, .... ec.EllipticCurvePublicNumbers( .... 47250808410553270231315736020083458949276863817723245770432653745561185532964, .... 112025329241792435454837567787427195373731133352317839821028450450273536789915, .... ec.SECP256R1(), .... ) .... ) >>>> numbers.private_key(default_backend()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "cryptography/hazmat/primitives/asymmetric/ec.py", line 275, in private_key return backend.load_elliptic_curve_private_numbers(self) File "cryptography/hazmat/backends/multibackend.py", line 277, in load_elliptic_curve_private_numbers return b.load_elliptic_curve_private_numbers(numbers) File "cryptography/hazmat/backends/openssl/backend.py", line 881, in load_elliptic_curve_private_numbers ec_cdata, public.x, public.y) File "cryptography/hazmat/backends/openssl/backend.py", line 1010, in _ec_key_set_public_key_affine_coordinates assert res == 1 AssertionError ```
Looks like line 1010 is an error in EC_KEY_check_key so we should possibly handle errors there more like we do with the DSA/RSA python function checks. We could also try to write a pure python EC check, although I'm unsure how difficult that would be. I think handling the error from OpenSSL is the right first step here
2014-10-14T14:53:56Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "cryptography/hazmat/primitives/asymmetric/ec.py", line 275, in private_key return backend.load_elliptic_curve_private_numbers(self) File "cryptography/hazmat/backends/multibackend.py", line 277, in load_elliptic_curve_private_numbers return b.load_elliptic_curve_private_numbers(numbers) File "cryptography/hazmat/backends/openssl/backend.py", line 881, in load_elliptic_curve_private_numbers ec_cdata, public.x, public.y) File "cryptography/hazmat/backends/openssl/backend.py", line 1010, in _ec_key_set_public_key_affine_coordinates assert res == 1 AssertionError
16,676
pyca/cryptography
pyca__cryptography-2186
0cfb17936ebb9bbfcb9a13e21f2437da4112176f
diff --git a/src/cryptography/hazmat/backends/openssl/x509.py b/src/cryptography/hazmat/backends/openssl/x509.py --- a/src/cryptography/hazmat/backends/openssl/x509.py +++ b/src/cryptography/hazmat/backends/openssl/x509.py @@ -235,7 +235,13 @@ def parse(self, backend, x509_obj): ) else: d2i = backend._lib.X509V3_EXT_d2i(ext) - assert d2i != backend._ffi.NULL + if d2i == backend._ffi.NULL: + backend._consume_errors() + raise ValueError( + "The {0} extension is invalid and can't be " + "parsed".format(oid) + ) + value = handler(backend, d2i) extensions.append(x509.Extension(oid, critical, value))
AssertionError when accessing extensions of an X.509 cert with bad policies ``` pytb Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/alex_gaynor/projects/cryptography/src/cryptography/hazmat/backends/openssl/x509.py", line 346, in extensions return _CERTIFICATE_EXTENSION_PARSER.parse(self._backend, self._x509) File "/Users/alex_gaynor/projects/cryptography/src/cryptography/hazmat/backends/openssl/x509.py", line 237, in parse value = handler(backend, ext) File "/Users/alex_gaynor/projects/cryptography/src/cryptography/hazmat/backends/openssl/x509.py", line 366, in _decode_certificate_policies assert cp != backend._ffi.NULL AssertionError ``` Caused by the following cert: ``` pem -----BEGIN CERTIFICATE----- MIIC8TCCAdmgAwIBAgITBmsoYWX1PCELRmm8qB2WJ2QdDjANBgkqhkiG9w0BAQUFADASMRAwDgYD VQQDDAdQeUNBIENBMB4XDTE1MDUxMTE4NTc0NVoXDTE2MDUxMDE4NTc0NVowEjEQMA4GA1UEAwwH UHlDQSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK3FTRITEY4b/Y1Uv4CtH61Y 19TPxK2+H/XuqHwtYlPRyD35LLFES0wykf0V2m1DUmf9jQa9R63jBZxzCgJ/oIJzV28PgSg9P/Nn 417fNASDduY2GPvYuwwKXcLY2fBBFjBrz7z/5tyXCADjLDkzoUTzQlYPbhOrFU5QwaqlckXBgt/4 8GRDujoHy4RSMEDNjLUDgwx7Z/JK2ujbGJDguLRuBsHirk2h6xXEmSWxquKDXw4NnakwBqp8kKhQ 2xTSWXxabNps8FCBM4sC78gKgONy3lbYdHFt/2BU4yAMyowJwtDEYHCqe1g4sVsB839Ol0SXb6vl eXQ6dx+zbi8UzTsCAwEAAaNAMD4wPAYDVR0gBDUwMzAxBgtghkgB4DkBAgMEATAiMCAGCCsGAQUF BwICFhRodHRwOi8vb3RoZXIuY29tL2NwczANBgkqhkiG9w0BAQUFAAOCAQEADpZIjHvu02euPNI8 nzzDufRXEnjrF09xc9pudxTjWU2mSVApXPmTDyWzOD+2HmsNKHRE6sWjca5qPDeDbGq4JOw+TzYq 9eoqwK2Sh0QHUpg5ZaAmIJ1qe5/sNETH5RFlXrlzW9S0rwViLgUaJp6MreTdGZbxdpNsfdkuNd+S Tz0MA/3ScbdUcj6uwQQ4JxQiTuPwD35pKwxfUzHjeTmqIEHDuCk17KqIRORdbeD3vFx0R5IQ3mQ6 9zSGY2AGB0A9oS0qQ2/Mh59A6xyjbPH3Rr7g5MW58PPTWp2FSXkloy7Ze+doQ7wXE6PVmaeKz5qA 9OGaCHIiC2iG9UcqWxfeWw== -----END CERTIFICATE----- ```
2015-08-01T19:46:39Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/alex_gaynor/projects/cryptography/src/cryptography/hazmat/backends/openssl/x509.py", line 346, in extensions return _CERTIFICATE_EXTENSION_PARSER.parse(self._backend, self._x509) File "/Users/alex_gaynor/projects/cryptography/src/cryptography/hazmat/backends/openssl/x509.py", line 237, in parse value = handler(backend, ext) File "/Users/alex_gaynor/projects/cryptography/src/cryptography/hazmat/backends/openssl/x509.py", line 366, in _decode_certificate_policies assert cp != backend._ffi.NULL AssertionError
16,727
pyca/cryptography
pyca__cryptography-2200
e0277f7e4598db6628cb378ba40bec8edb6f8672
diff --git a/src/cryptography/hazmat/primitives/serialization.py b/src/cryptography/hazmat/primitives/serialization.py --- a/src/cryptography/hazmat/primitives/serialization.py +++ b/src/cryptography/hazmat/primitives/serialization.py @@ -33,9 +33,9 @@ def load_der_public_key(data, backend): def load_ssh_public_key(data, backend): - key_parts = data.split(b' ') + key_parts = data.split(b' ', 2) - if len(key_parts) != 2 and len(key_parts) != 3: + if len(key_parts) < 2: raise ValueError( 'Key is not in the proper format or contains extra data.')
Spaces in ssh public key comment header cause serialization to fail When serializing an ssh public key that contains spaces in the comment a ValueError is raised. There are several examples in RFC4716 of comments with spaces. steps to reproduce: 1. create a public key with spaces in comment ``` $ ssh-keygen -t rsa -f test_key -C "foo bar baz" ``` 1. attempt to serialize through python repl ``` >>> from cryptography.hazmat import backends >>> from cryptography.hazmat.primitives import serialization >>> key=open('test_key.pub') >>> keyval = key.read() >>> serialization.load_ssh_public_key(keyval, backends.default_backend()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/mike/.venvs/openstack/lib/python2.7/site-packages/cryptography/hazmat/primitives/serialization.py", line 40, in load_ssh_public_key 'Key is not in the proper format or contains extra data.') ValueError: Key is not in the proper format or contains extra data. >>> ```
2015-08-03T21:37:32Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/mike/.venvs/openstack/lib/python2.7/site-packages/cryptography/hazmat/primitives/serialization.py", line 40, in load_ssh_public_key 'Key is not in the proper format or contains extra data.') ValueError: Key is not in the proper format or contains extra data.
16,729
pyca/cryptography
pyca__cryptography-2766
1c6155a9aa47399ef17f23a169bc1233cec1bec3
diff --git a/src/cryptography/x509/name.py b/src/cryptography/x509/name.py --- a/src/cryptography/x509/name.py +++ b/src/cryptography/x509/name.py @@ -7,7 +7,7 @@ import six from cryptography import utils -from cryptography.x509.oid import ObjectIdentifier +from cryptography.x509.oid import NameOID, ObjectIdentifier class NameAttribute(object): @@ -22,6 +22,11 @@ def __init__(self, oid, value): "value argument must be a text type." ) + if oid == NameOID.COUNTRY_NAME and len(value.encode("utf8")) != 2: + raise ValueError( + "Country name must be a 2 character country code" + ) + self._oid = oid self._value = value
x509.CertifcateBuilder().sign() fails with "Unknown OpenSSL error' when subject has bad country code The x509.CertifcateBuilder().sign() function fails with an unknown OpenSSL error when the builder is provided with an invalid country code: ``` Traceback (most recent call last): File "./demo.py", line 30, in <module> ca_crt = builder.sign(private_key=ca_key, algorithm=hashes.SHA256(), backend=default_backend()) File "/usr/local/lib/python3.4/dist-packages/cryptography/x509/base.py", line 520, in sign return backend.create_x509_certificate(self, private_key, algorithm) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/multibackend.py", line 381, in create_x509_certificate return b.create_x509_certificate(builder, private_key, algorithm) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 1402, in create_x509_certificate x509_cert, _encode_name_gc(self, list(builder._subject_name)) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 158, in _encode_name_gc subject = _encode_name(backend, attributes) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 153, in _encode_name backend.openssl_assert(res == 1) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 719, in openssl_assert return binding._openssl_assert(self._lib, ok) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 43, in _openssl_assert errors cryptography.exceptions.InternalError: Unknown OpenSSL error. Please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLError(code=218603671, lib=13, func=122, reason=151)]) ``` The demo code below reproduces this error. Tested on Ubuntu 14.04.3 x64 w/ Python 3.4.3, cryptography 1.2.1, and libssl-dev 1.0.1f-1ubuntu2.16. ``` #!/usr/bin/env python3 import datetime from cryptography import x509 from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import rsa DUR_ONE_DAY = datetime.timedelta(1, 0, 0) DUR_ONE_YEAR = datetime.timedelta(366, 0, 0) ca_key = rsa.generate_private_key(65537, 4096, default_backend()) sub_attr = [x509.NameAttribute(x509.NameOID.COUNTRY_NAME, "InvalidCC")] builder = x509.CertificateBuilder() builder = builder.issuer_name(x509.Name(sub_attr)) builder = builder.subject_name(x509.Name(sub_attr)) builder = builder.not_valid_before(datetime.datetime.today() - DUR_ONE_DAY) builder = builder.not_valid_after(datetime.datetime.today() + DUR_ONE_YEAR) builder = builder.serial_number(3) builder = builder.public_key(ca_key.public_key()) extensions = [] extensions.append(x509.BasicConstraints(ca=True, path_length=1)) for ext in extensions: builder = builder.add_extension(ext, critical=True) ca_crt = builder.sign(private_key=ca_key, algorithm=hashes.SHA256(), backend=default_backend()) # builder.sign() will fail with when CONTRY_NAME is invalid country code: # cryptography.exceptions.InternalError: Unknown # OpenSSL error. Please file an issue at # https://github.com/pyca/cryptography/issues with information on # how to reproduce this. ([_OpenSSLError(code=218603671, lib=13, # func=122, reason=151)]) ``` Might be nice to raise a more relevant error message. Or catch this even sooner when the NameAttribute is added.
@asayler thanks for the bug report, this is definitely something we should fix. Country codes are required to be two letters so ideally we'd catch this during the NameAttribute construction. No problem. Let me know if you want me to dig deeper and submit a pull request - I might have some time to work up a fix if it's a simple as checking the code length. @reaperhulk ok, so your suggestion is that `NameAttribute` should have `oid` specific rules? I'm not a huge fan of that solution honestly, but I also think that allowing the user to build invalid objects and then having it blow up during signing is kind of weird. Is there an alternative? On Thu, Feb 4, 2016 at 9:36 PM, Paul Kehrer notifications@github.com wrote: > I'm not a huge fan of that solution honestly, but I also think that > allowing the user to build invalid objects and then having it blow up > during signing is kind of weird. > > — > Reply to this email directly or view it on GitHub > https://github.com/pyca/cryptography/issues/2665#issuecomment-180164615. ## "I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire) "The people's good is the highest law." -- Cicero GPG Key fingerprint: 125F 5C67 DFE9 4084 I guess the 3 places it could be done are: At signing, when adding to a `Name`, and when building the `NameAttribute`. Of those 3 `NameAttribute` is really the only one that makes sense. Arguably you could have a backend that would be willing to issue country codes longer than 2 characters, but I don't think I want to make our API worse to support that case.
2016-03-06T23:43:00Z
[]
[]
Traceback (most recent call last): File "./demo.py", line 30, in <module> ca_crt = builder.sign(private_key=ca_key, algorithm=hashes.SHA256(), backend=default_backend()) File "/usr/local/lib/python3.4/dist-packages/cryptography/x509/base.py", line 520, in sign return backend.create_x509_certificate(self, private_key, algorithm) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/multibackend.py", line 381, in create_x509_certificate return b.create_x509_certificate(builder, private_key, algorithm) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 1402, in create_x509_certificate x509_cert, _encode_name_gc(self, list(builder._subject_name)) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 158, in _encode_name_gc subject = _encode_name(backend, attributes) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 153, in _encode_name backend.openssl_assert(res == 1) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 719, in openssl_assert return binding._openssl_assert(self._lib, ok) File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 43, in _openssl_assert errors cryptography.exceptions.InternalError: Unknown OpenSSL error. Please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLError(code=218603671, lib=13, func=122, reason=151)])
16,764
pyca/cryptography
pyca__cryptography-3711
e67354e9e9dc8a5154e8add86d3eefbb7d83df7c
diff --git a/src/cryptography/x509/name.py b/src/cryptography/x509/name.py --- a/src/cryptography/x509/name.py +++ b/src/cryptography/x509/name.py @@ -27,6 +27,9 @@ def __init__(self, oid, value): "Country name must be a 2 character country code" ) + if len(value) == 0: + raise ValueError("Value cannot be an empty string") + self._oid = oid self._value = value
Empty subject or issuer in x.509 certificates throws Unknown OpenSSL error. When trying to build a x509 certificate with an empty string as issuer or subject name, an unknown OpenSSL error is thrown. Maybe that should be handled differently. **Tested on:** ``` Ubuntu 16.04.2 LTS OpenSSL 1.0.2g 1 Mar 2016 cryptography 1.9 ``` ``` macOS Sierra 10.12.5 OpenSSL 0.9.8zh 14 Jan 2016 cryptography 1.9 ``` **To reproduce:** ``` $ python openssl_error.py ``` ``` Traceback (most recent call last): File "openssl_error.py", line 19, in <module> cert = builder.sign(private_key, hashes.SHA256(), default_backend()) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/x509/base.py", line 564, in sign return backend.create_x509_certificate(self, private_key, algorithm) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 746, in create_x509_certificate x509_cert, _encode_name_gc(self, builder._subject_name) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/encode_asn1.py", line 103, in _encode_name_gc subject = _encode_name(backend, attributes) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/encode_asn1.py", line 97, in _encode_name backend.openssl_assert(res == 1) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 107, in openssl_assert return binding._openssl_assert(self._lib, ok) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 75, in _openssl_assert errors_with_text cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=218603672L, lib=13, func=122, reason=152, reason_text='error:0D07A098:asn1 encoding routines:ASN1_mbstring_ncopy:string too short')]) ``` **openssl_error.py** ``` import six import datetime from cryptography import x509 from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives import hashes builder = x509.CertificateBuilder() builder = builder.serial_number(x509.random_serial_number()) builder = builder.not_valid_before(datetime.datetime.today()) builder = builder.not_valid_after(datetime.datetime.today()) # Empty strings here seems to make it crash. builder = builder.subject_name(x509.Name([x509.NameAttribute(x509.oid.NameOID.COMMON_NAME, six.u('')), ])) builder = builder.issuer_name(x509.Name([x509.NameAttribute(x509.oid.NameOID.COMMON_NAME, six.u('')), ])) private_key = rsa.generate_private_key(65537, 2048, default_backend()) builder = builder.public_key(private_key.public_key()) cert = builder.sign(private_key, hashes.SHA256(), default_backend()) ```
Indeed it should. Unknown OpenSSL error is always a bug. Thanks for the report!
2017-06-19T05:34:45Z
[]
[]
Traceback (most recent call last): File "openssl_error.py", line 19, in <module> cert = builder.sign(private_key, hashes.SHA256(), default_backend()) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/x509/base.py", line 564, in sign return backend.create_x509_certificate(self, private_key, algorithm) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 746, in create_x509_certificate x509_cert, _encode_name_gc(self, builder._subject_name) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/encode_asn1.py", line 103, in _encode_name_gc subject = _encode_name(backend, attributes) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/encode_asn1.py", line 97, in _encode_name backend.openssl_assert(res == 1) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 107, in openssl_assert return binding._openssl_assert(self._lib, ok) File "/home/ubuntu/.local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 75, in _openssl_assert errors_with_text cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=218603672L, lib=13, func=122, reason=152, reason_text='error:0D07A098:asn1 encoding routines:ASN1_mbstring_ncopy:string too short')])
16,820
pyca/cryptography
pyca__cryptography-4322
dd6f4c2977ff03ba0e45e3528f49f126f587f123
diff --git a/src/cryptography/hazmat/primitives/ciphers/aead.py b/src/cryptography/hazmat/primitives/ciphers/aead.py --- a/src/cryptography/hazmat/primitives/ciphers/aead.py +++ b/src/cryptography/hazmat/primitives/ciphers/aead.py @@ -12,6 +12,8 @@ class ChaCha20Poly1305(object): + _MAX_SIZE = 2 ** 32 + def __init__(self, key): if not backend.aead_cipher_supported(self): raise exceptions.UnsupportedAlgorithm( @@ -33,6 +35,12 @@ def encrypt(self, nonce, data, associated_data): if associated_data is None: associated_data = b"" + if len(data) > self._MAX_SIZE or len(associated_data) > self._MAX_SIZE: + # This is OverflowError to match what cffi would raise + raise OverflowError( + "Data or associated data too long. Max 2**32 bytes" + ) + self._check_params(nonce, data, associated_data) return aead._encrypt( backend, self, nonce, data, associated_data, 16 @@ -56,6 +64,8 @@ def _check_params(self, nonce, data, associated_data): class AESCCM(object): + _MAX_SIZE = 2 ** 32 + def __init__(self, key, tag_length=16): utils._check_bytes("key", key) if len(key) not in (16, 24, 32): @@ -90,6 +100,12 @@ def encrypt(self, nonce, data, associated_data): if associated_data is None: associated_data = b"" + if len(data) > self._MAX_SIZE or len(associated_data) > self._MAX_SIZE: + # This is OverflowError to match what cffi would raise + raise OverflowError( + "Data or associated data too long. Max 2**32 bytes" + ) + self._check_params(nonce, data, associated_data) self._validate_lengths(nonce, len(data)) return aead._encrypt( @@ -121,6 +137,8 @@ def _check_params(self, nonce, data, associated_data): class AESGCM(object): + _MAX_SIZE = 2 ** 32 + def __init__(self, key): utils._check_bytes("key", key) if len(key) not in (16, 24, 32): @@ -142,6 +160,12 @@ def encrypt(self, nonce, data, associated_data): if associated_data is None: associated_data = b"" + if len(data) > self._MAX_SIZE or len(associated_data) > self._MAX_SIZE: + # This is OverflowError to match what cffi would raise + raise OverflowError( + "Data or associated data too long. Max 2**32 bytes" + ) + self._check_params(nonce, data, associated_data) return aead._encrypt( backend, self, nonce, data, associated_data, 16
data size limits are not documented for encrypt method on AESGCM Using the AESGCM primitive, a OverflowError can occur. Steps to reproduce: ``` import os from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.ciphers.aead import AESGCM buf = b'x' * (2**32 + 1) lend = default_backend() iv = os.urandom(16) key = os.urandom(32) encryptor = AESGCM(key) byts = encryptor.encrypt(iv, buf, None) ``` Results in the following exception: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/user/.pyenv/versions/somepyenv/lib/python3.6/site-packages/cryptography/hazmat/primitives/ciphers/aead.py", line 147, in encrypt backend, self, nonce, data, associated_data, 16 File "/home/user/.pyenv/versions/somepyenv/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/aead.py", line 109, in _encrypt processed_data = _process_data(backend, ctx, data) File "/home/user/.pyenv/versions/somepyenv/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/aead.py", line 92, in _process_data res = backend._lib.EVP_CipherUpdate(ctx, buf, outlen, data, len(data)) OverflowError: integer 4294967297 does not fit '32-bit int' ``` Test environment: Using Python 3.6.1, cryptography 2.2.2, cffi 1.11.5. Cryptography was installed using pip install onto a venv managed by pyenv. Suggested course of action: Update documentation to reflect that the amount of data that can be pushed through `encrypt()` is limited. This should probably be documented wherever user data could be encrypted and potentially cause a failure for data to cross the cffi interface.
In this particular case we can either document that we only support 2**32 bytes on an `encrypt` call or we could slice the bytes and support larger calls. @vEpiphyte does your use case really need a streaming AEAD rather than a one shot? If you know you're not going to start using any decrypted bytes until after you check the tag then https://cryptography.io/en/latest/hazmat/primitives/symmetric-encryption/?highlight=GCM#cryptography.hazmat.primitives.ciphers.modes.GCM may be what you want. @reaperhulk My use case doesn't need streaming AEAD, and in fact we're moving away from using the primitives entirely. I think it would be best to document the limits so that no one else ends up in the boat I found myself in accidentally.
2018-07-09T07:54:42Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/user/.pyenv/versions/somepyenv/lib/python3.6/site-packages/cryptography/hazmat/primitives/ciphers/aead.py", line 147, in encrypt backend, self, nonce, data, associated_data, 16 File "/home/user/.pyenv/versions/somepyenv/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/aead.py", line 109, in _encrypt processed_data = _process_data(backend, ctx, data) File "/home/user/.pyenv/versions/somepyenv/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/aead.py", line 92, in _process_data res = backend._lib.EVP_CipherUpdate(ctx, buf, outlen, data, len(data)) OverflowError: integer 4294967297 does not fit '32-bit int'
16,861
pyca/cryptography
pyca__cryptography-4811
b73ed5a6a3067c832413a6b4c987667a9d545153
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -1885,6 +1885,13 @@ def _openssh_public_key_bytes(self, key): ssh._ssh_write_mpint(parameter_numbers.g) + ssh._ssh_write_mpint(public_numbers.y) ) + elif isinstance(key, ed25519.Ed25519PublicKey): + raw_bytes = key.public_bytes(serialization.Encoding.Raw, + serialization.PublicFormat.Raw) + return b"ssh-ed25519 " + base64.b64encode( + ssh._ssh_write_string(b"ssh-ed25519") + + ssh._ssh_write_string(raw_bytes) + ) else: assert isinstance(key, ec.EllipticCurvePublicKey) public_numbers = key.public_numbers()
Exception when getting public_bytes of Ed25519PublicKey I created an ed25519 key with: `ssh-keygen -t ed25519`. This one I loaded successfully with cryptography 2.6.1. Dumping the loaded key however creates the following exception: ``` >>> print(key.__class__) <class 'cryptography.hazmat.backends.openssl.ed25519._Ed25519PublicKey'> >>> key.public_bytes(Encoding.OpenSSH, PublicFormat.OpenSSH) Traceback (most recent call last): File "/usr/lib/python3.6/code.py", line 91, in runcode exec(code, self.locals) File "<console>", line 1, in <module> File "/home/richard/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/ed25519.py", line 45, in public_bytes encoding, format, self, self._evp_pkey, None File "/home/richard/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1838, in _public_key_bytes return self._openssh_public_key_bytes(key) File "/home/richard/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1886, in _openssh_public_key_bytes assert isinstance(key, ec.EllipticCurvePublicKey) AssertionError ```
This behavior seems to be in accordance with the doc found here: https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ed25519/#cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey.public_bytes To provide a bit more context: I'd like to compute the ssh fingerprint of the key, hence the `Encoding.OpenSSH`. This works for all other ssh keys, except for this one. There's really two bugs here: a) If `OpenSSH` isn't support it should give a proper error, not an `assert` failure. b) We should support OpenSSH! are you by chance interested in implementing this? you'd need to add the implementation here https://github.com/pyca/cryptography/blob/master/src/cryptography/hazmat/backends/openssl/backend.py#L1870 and then add tests I'll look into it.
2019-03-17T10:05:16Z
[]
[]
Traceback (most recent call last): File "/usr/lib/python3.6/code.py", line 91, in runcode exec(code, self.locals) File "<console>", line 1, in <module> File "/home/richard/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/ed25519.py", line 45, in public_bytes encoding, format, self, self._evp_pkey, None File "/home/richard/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1838, in _public_key_bytes return self._openssh_public_key_bytes(key) File "/home/richard/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1886, in _openssh_public_key_bytes assert isinstance(key, ec.EllipticCurvePublicKey) AssertionError
16,880
pyca/cryptography
pyca__cryptography-4985
b5b6bd13a22ee48eec55817867a2c8737addeee0
diff --git a/src/cryptography/hazmat/backends/openssl/ed25519.py b/src/cryptography/hazmat/backends/openssl/ed25519.py --- a/src/cryptography/hazmat/backends/openssl/ed25519.py +++ b/src/cryptography/hazmat/backends/openssl/ed25519.py @@ -123,7 +123,7 @@ def private_bytes(self, encoding, format, encryption_algorithm): ): raise ValueError( "When using Raw both encoding and format must be Raw " - "and encryption_algorithm must be NoEncryption" + "and encryption_algorithm must be NoEncryption()" ) return self._raw_private_bytes() diff --git a/src/cryptography/hazmat/backends/openssl/ed448.py b/src/cryptography/hazmat/backends/openssl/ed448.py --- a/src/cryptography/hazmat/backends/openssl/ed448.py +++ b/src/cryptography/hazmat/backends/openssl/ed448.py @@ -126,7 +126,7 @@ def private_bytes(self, encoding, format, encryption_algorithm): ): raise ValueError( "When using Raw both encoding and format must be Raw " - "and encryption_algorithm must be NoEncryption" + "and encryption_algorithm must be NoEncryption()" ) return self._raw_private_bytes() diff --git a/src/cryptography/hazmat/backends/openssl/x25519.py b/src/cryptography/hazmat/backends/openssl/x25519.py --- a/src/cryptography/hazmat/backends/openssl/x25519.py +++ b/src/cryptography/hazmat/backends/openssl/x25519.py @@ -115,7 +115,7 @@ def private_bytes(self, encoding, format, encryption_algorithm): ): raise ValueError( "When using Raw both encoding and format must be Raw " - "and encryption_algorithm must be NoEncryption" + "and encryption_algorithm must be NoEncryption()" ) return self._raw_private_bytes() diff --git a/src/cryptography/hazmat/backends/openssl/x448.py b/src/cryptography/hazmat/backends/openssl/x448.py --- a/src/cryptography/hazmat/backends/openssl/x448.py +++ b/src/cryptography/hazmat/backends/openssl/x448.py @@ -95,7 +95,7 @@ def private_bytes(self, encoding, format, encryption_algorithm): ): raise ValueError( "When using Raw both encoding and format must be Raw " - "and encryption_algorithm must be NoEncryption" + "and encryption_algorithm must be NoEncryption()" ) return self._raw_private_bytes()
exception string wrong in Ed448 * Versions of Python, ``cryptography``, ``cffi``, ``pip``, and ``setuptools`` you're using cryptography 2.7 * How you installed ``cryptography`` pip install cryptography * Clear steps for reproducing your bug ``` >>> from cryptography.hazmat.primitives.asymmetric.ed448 import Ed448PrivateKey >>> private_key = Ed448PrivateKey.generate() >>> from cryptography.hazmat.primitives.serialization import Encoding >>> from cryptography.hazmat.primitives.serialization import PrivateFormat >>> from cryptography.hazmat.primitives.serialization import NoEncryption >>> private_key.private_bytes(Encoding.Raw, PrivateFormat.Raw, NoEncryption) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jmg/git/medashare/ui/p/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/ed448.py", line 128, in private_bytes "When using Raw both encoding and format must be Raw " ValueError: When using Raw both encoding and format must be Raw and encryption_algorithm must be NoEncryption ``` The issue is that at https://github.com/pyca/cryptography/blob/master/src/cryptography/hazmat/backends/openssl/ed448.py#L125 it expects an *instance* of NoEncryption, and not NoEncryption the "constant" as described in the exception text. Please update to include parenthesis, because as it stands, I called it exactly how the error message said I should call it and it didn't work. P.S. It'd be nice to have high level API's for asymmetric crypto that isn't X.509.
2019-09-06T05:27:44Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jmg/git/medashare/ui/p/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/ed448.py", line 128, in private_bytes "When using Raw both encoding and format must be Raw " ValueError: When using Raw both encoding and format must be Raw and encryption_algorithm must be NoEncryption
16,890
pyca/cryptography
pyca__cryptography-5307
4ef460abb2ca5dafa245f685f4b76e704567cca1
diff --git a/src/cryptography/hazmat/backends/openssl/rsa.py b/src/cryptography/hazmat/backends/openssl/rsa.py --- a/src/cryptography/hazmat/backends/openssl/rsa.py +++ b/src/cryptography/hazmat/backends/openssl/rsa.py @@ -314,6 +314,11 @@ def verify(self): @utils.register_interface(RSAPrivateKeyWithSerialization) class _RSAPrivateKey(object): def __init__(self, backend, rsa_cdata, evp_pkey): + res = backend._lib.RSA_check_key(rsa_cdata) + if res != 1: + errors = backend._consume_errors_with_text() + raise ValueError("Invalid private key", errors) + self._backend = backend self._rsa_cdata = rsa_cdata self._evp_pkey = evp_pkey
Internal assertion error on some corrupt private keys This has popped up since cryptography 2.x and was discovered in our unit tests where we test for signing JWTs with malformed/corrupted/invalid private keys. The way we constructed these bad private keys was to take a valid private key and replace the `a` bytes with `b` bytes. Very sophisticated, I know. I brought this up in #4635 because I thought it might be related to that but it turns out it's something else. It only happens some of the time (~10%) which makes sense since the byte-swap will be somewhat variable. Stack trace: ``` Traceback (most recent call last): File "bad_crypto.py", line 5, in <module> jwt.encode({}, my_key, algorithm='RS256') File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/jwt/api_jwt.py", line 65, in encode json_payload, key, algorithm, headers, json_encoder File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/jwt/api_jws.py", line 114, in encode signature = alg_obj.sign(signing_input, key) File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/jwt/algorithms.py", line 313, in sign return key.sign(msg, padding.PKCS1v15(), self.hash_alg()) File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 415, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 239, in _rsa_sig_sign assert errors[0].lib == backend._lib.ERR_LIB_RSA AssertionError ``` Run this code snippet a handful of times and you should see the assertion error: ```python from Crypto.PublicKey import RSA import jwt my_key = RSA.generate(2048).exportKey(passphrase=None, pkcs=1, protection='scryptAndAES128-CBC') my_key = my_key.decode().replace('a', 'b').encode() jwt.encode({}, my_key, algorithm='RS256') ``` My system/test specs: * Mac OS: 10.13.6 * Python: 3.5.4 * cryptography: 2.4.2 * PyJWT: 1.7.1 * pyOpenSSL: 16.2.0 * cffi: 1.11.5 * OpenSSL: LibreSSL 2.2.7 and 1.1.0h 27 Mar 2018 Here is a private key (with a and b swapped already) that causes the issue for me: ``` b'-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAuYE4k09MAsi1yjMrXekMe6sT9bEt3ko47dnmN8YBgO8DiiCc\n226TnQPvuX3FGxU+Y1zTJpcvVL3L37UOvh4CSb9zKyrFK9/x/UcCfK3Eq8JdS98P\nCVeGpkp5E+vwIKY72rc1RSSSCs0PtFdYbSn4trwf5BjPxIqXwIOS3R7zC7cLPHY4\nYdsM4gLGVOP17uXJr/MPoAtWTBVm5zx4bHm6Xclzgf86sbPdL3LxNs0fz4HqJZgA\n6EUtyl6Qypq2LjXbdmm2i3vC+MxW6nEPItPqgComhq0zBmVonsiEO87rEtD548Yq\nDKvxwHhlcODcVkAYebJ+W5L6PPJBNYA3t5wYyQIDAQABAoIBAAbHkg5msftpGt5Z\nVb3yUuepem7hWTF5YFlIRw5l2wNcURNpbswEhOVNJbuG+KCple7Dw4TuDmhHs/zr\nBRqpDhXldhrUtb2uc3ihqWiVFJbieqE4jUbGvMJusvtXXeDwU6wGWzV/V4qndCrk\nu4PGypk4Cbbq6ZP2oufPryQ3D4Ff1TA06RSWdP3Cg673VqwLtkXwsRDhymAviiqU\nhxQg8bRNiD7mYoUKyLVeV7YRDLTBugfiFmy54yC99NJclLkYmzCgRt1EuoW0Hixx\nEIQFEOLftgpc+sKpbbiOileMsc/stytHXXqfgozhBxDNeSzdNYfwEpkLJpLZSUNV\nEhS4X1cCgYEAz+7DkXksWw9zLqYniMIcvcBnHQcy3Anqbcu8Zbw+I9wOwzNt44Bo\nf88i2idvWvMsRq/LX4WD4jjPB4Z3wAzGBCq+2cy0GrWByMu+VbpwCrntRBkS5huY\nIIf1nr1+BuySNt8TL6nZNKz0D8+5c8wT+VbVdPH//4MzfDrK81PPnesCgYEA5GMy\nji4l+8zO33LFMlWQGYgfSMd4jGMQD0VCvfhlosK0Py0AfZj/GKEGHduo/37KVVvb\n6XdJqYgB7OxPmdEqbMGeYPKv7pKkG1jXRuEtmXXJ9hS1t0oIvXJLHJnQrOOoRRAR\n+xJZbI7WjemY+ZCMOAPT1tm97pxjs81WgSJ6ExsCgYEAze5ADfEeNskkYAz6lnz4\njgzhkmQwwK+pVzgxy9g8brNkg3qJ2Iix9fKlJ71qkX7IWPF9z4qhxQhSMbfBHZkI\n+9OB1J7huJoOgVkXliwIbvcYvxq+Fts5XO6KGb699AmT/XgMvmXO0lbAGLC3kLGL\nDqQrH3kU+m9sLBrmKPrWYiUCgYEA3/8etW4zmMvd1jAFkoFyzGfCbyocZGxAcwm2\nFQYMAN8/03p6sbSd9XTwv9YR4Uxke+WURkjVuW2IneuDgtQv6QCFKob74Jx4Uc4H\njiAKDioFg9H6C6OUAOKZIpsFnJvIDLxfNkVf6WYKrrL+cz6/F61BVsbGTsGZ094/\nynWbDyMCgYEAh44C/wkebe0zz/llG+KTRGENsw1c7+pm0/l3wPYAlH02ewbyRjFf\nOKPfyyBtBkoD5rG3IbLyPxsbd3wWwyUzSYq02qRJq43XqyMZhRnNlYhEnNu/Gr5H\nsN1f13zqkKoRxxbIjyh4RDYlAv4Sehk27z2Q3gBe9bI5xKkoQ/VfF2w=\n-----END RSA PRIVATE KEY-----' ```
You're generating the initial key with pycrypto (which is a dependency you don't need since you've got cryptography installed of course), but the more interesting issue is that the following provides different signatures every loop (except when it errors!): ```python from cryptography.hazmat.backends.openssl.backend import backend from cryptography.hazmat.primitives import hashes, serialization from cryptography.hazmat.primitives.asymmetric.padding import PKCS1v15 key_bytes = b'-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAuYE4k09MAsi1yjMrXekMe6sT9bEt3ko47dnmN8YBgO8DiiCc\n226TnQPvuX3FGxU+Y1zTJpcvVL3L37UOvh4CSb9zKyrFK9/x/UcCfK3Eq8JdS98P\nCVeGpkp5E+vwIKY72rc1RSSSCs0PtFdYbSn4trwf5BjPxIqXwIOS3R7zC7cLPHY4\nYdsM4gLGVOP17uXJr/MPoAtWTBVm5zx4bHm6Xclzgf86sbPdL3LxNs0fz4HqJZgA\n6EUtyl6Qypq2LjXbdmm2i3vC+MxW6nEPItPqgComhq0zBmVonsiEO87rEtD548Yq\nDKvxwHhlcODcVkAYebJ+W5L6PPJBNYA3t5wYyQIDAQABAoIBAAbHkg5msftpGt5Z\nVb3yUuepem7hWTF5YFlIRw5l2wNcURNpbswEhOVNJbuG+KCple7Dw4TuDmhHs/zr\nBRqpDhXldhrUtb2uc3ihqWiVFJbieqE4jUbGvMJusvtXXeDwU6wGWzV/V4qndCrk\nu4PGypk4Cbbq6ZP2oufPryQ3D4Ff1TA06RSWdP3Cg673VqwLtkXwsRDhymAviiqU\nhxQg8bRNiD7mYoUKyLVeV7YRDLTBugfiFmy54yC99NJclLkYmzCgRt1EuoW0Hixx\nEIQFEOLftgpc+sKpbbiOileMsc/stytHXXqfgozhBxDNeSzdNYfwEpkLJpLZSUNV\nEhS4X1cCgYEAz+7DkXksWw9zLqYniMIcvcBnHQcy3Anqbcu8Zbw+I9wOwzNt44Bo\nf88i2idvWvMsRq/LX4WD4jjPB4Z3wAzGBCq+2cy0GrWByMu+VbpwCrntRBkS5huY\nIIf1nr1+BuySNt8TL6nZNKz0D8+5c8wT+VbVdPH//4MzfDrK81PPnesCgYEA5GMy\nji4l+8zO33LFMlWQGYgfSMd4jGMQD0VCvfhlosK0Py0AfZj/GKEGHduo/37KVVvb\n6XdJqYgB7OxPmdEqbMGeYPKv7pKkG1jXRuEtmXXJ9hS1t0oIvXJLHJnQrOOoRRAR\n+xJZbI7WjemY+ZCMOAPT1tm97pxjs81WgSJ6ExsCgYEAze5ADfEeNskkYAz6lnz4\njgzhkmQwwK+pVzgxy9g8brNkg3qJ2Iix9fKlJ71qkX7IWPF9z4qhxQhSMbfBHZkI\n+9OB1J7huJoOgVkXliwIbvcYvxq+Fts5XO6KGb699AmT/XgMvmXO0lbAGLC3kLGL\nDqQrH3kU+m9sLBrmKPrWYiUCgYEA3/8etW4zmMvd1jAFkoFyzGfCbyocZGxAcwm2\nFQYMAN8/03p6sbSd9XTwv9YR4Uxke+WURkjVuW2IneuDgtQv6QCFKob74Jx4Uc4H\njiAKDioFg9H6C6OUAOKZIpsFnJvIDLxfNkVf6WYKrrL+cz6/F61BVsbGTsGZ094/\nynWbDyMCgYEAh44C/wkebe0zz/llG+KTRGENsw1c7+pm0/l3wPYAlH02ewbyRjFf\nOKPfyyBtBkoD5rG3IbLyPxsbd3wWwyUzSYq02qRJq43XqyMZhRnNlYhEnNu/Gr5H\nsN1f13zqkKoRxxbIjyh4RDYlAv4Sehk27z2Q3gBe9bI5xKkoQ/VfF2w=\n-----END RSA PRIVATE KEY-----' key = serialization.load_pem_private_key(key_bytes, None, backend) for _ in range(100): key.sign(b"hi", PKCS1v15(), hashes.SHA1()) ``` I'm not sure why it's doing that, as the signature should be deterministic (but clearly an invalid key can break that aspect of the output) FTR, here's what the error stack contains: - `b'error:0308B06C:bignum routines:BN_mod_inverse_no_branch:no inverse'` - `b'error:04088003:rsa routines:RSA_setup_blinding:BN lib'` - `b'error:04066044:rsa routines:rsa_ossl_private_encrypt:internal error'`
2020-07-12T15:26:21Z
[]
[]
Traceback (most recent call last): File "bad_crypto.py", line 5, in <module> jwt.encode({}, my_key, algorithm='RS256') File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/jwt/api_jwt.py", line 65, in encode json_payload, key, algorithm, headers, json_encoder File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/jwt/api_jws.py", line 114, in encode signature = alg_obj.sign(signing_input, key) File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/jwt/algorithms.py", line 313, in sign return key.sign(msg, padding.PKCS1v15(), self.hash_alg()) File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 415, in sign return _rsa_sig_sign(self._backend, padding, algorithm, self, data) File "/Users/matt/.pyenv/versions/apidev/lib/python3.5/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 239, in _rsa_sig_sign assert errors[0].lib == backend._lib.ERR_LIB_RSA AssertionError
16,903
pyca/cryptography
pyca__cryptography-5800
4b7ebaff0e3e01af1229d5f4c3dd5b152a43cb85
diff --git a/src/cryptography/hazmat/primitives/serialization/base.py b/src/cryptography/hazmat/primitives/serialization/base.py --- a/src/cryptography/hazmat/primitives/serialization/base.py +++ b/src/cryptography/hazmat/primitives/serialization/base.py @@ -25,7 +25,7 @@ def load_pem_public_key(data: bytes, backend=None) -> _PUBLIC_KEY_TYPES: return backend.load_pem_public_key(data) -def load_pem_parameters(data: bytes, backend=None) -> dh.DHParameters: +def load_pem_parameters(data: bytes, backend=None) -> "dh.DHParameters": backend = _get_backend(backend) return backend.load_pem_parameters(data) @@ -42,6 +42,6 @@ def load_der_public_key(data: bytes, backend=None) -> _PUBLIC_KEY_TYPES: return backend.load_der_public_key(data) -def load_der_parameters(data: bytes, backend=None) -> dh.DHParameters: +def load_der_parameters(data: bytes, backend=None) -> "dh.DHParameters": backend = _get_backend(backend) return backend.load_der_parameters(data)
Circular import error (again) in 3.4.3 Opening a new issue as the old one (https://github.com/pyca/cryptography/issues/5756) wasn't re-opened after my comment: @reaperhulk Hi, still got some circular import problems here with cryptography 3.4.3 : `AttributeError: partially initialized module 'cryptography.hazmat.primitives.asymmetric.dh' has no attribute 'DHParameters' (most likely due to a circular import)` reproducer used (gencrypto.py): ``` pip3 install -U cryptography Collecting cryptography Downloading cryptography-3.4.3-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB) |████████████████████████████████| 3.2 MB 5.3 MB/s python3 gencrypto.py Traceback (most recent call last): File "gencrypto.py", line 2, in <module> from cryptography.hazmat.primitives.asymmetric import dh File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py", line 11, in <module> from cryptography.hazmat.primitives import serialization File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/__init__.py", line 15, in <module> from cryptography.hazmat.primitives.serialization.base import ( File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 28, in <module> def load_pem_parameters(data: bytes, backend=None) -> dh.DHParameters: AttributeError: partially initialized module 'cryptography.hazmat.primitives.asymmetric.dh' has no attribute 'DHParameters' (most likely due to a circular import) ``` **gencrypto.py** ``` import time from cryptography.hazmat.primitives.asymmetric import dh for i in [2048,3072,4096]: begin=time.time() params = dh.generate_parameters( generator=2, key_size=i, ) end=time.time() print('took {}s for {} keysize'.format(int(end-begin), i)) ``` Import serialization early to break cyclic import Fixes: https://github.com/pyca/cryptography/issues/5794 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Thanks, I've got a patch (soon to be a PR) and I think we'll do a point release for this. Meh, import cycles from hell! ``` ImportError while loading conftest '/home/runner/work/cryptography/cryptography/tests/conftest.py'. tests/conftest.py:8: in <module> from cryptography.hazmat.backends.openssl import backend as openssl_backend .tox/py39/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/__init__.py:6: in <module> from cryptography.hazmat.backends.openssl.backend import backend .tox/py39/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py:12: in <module> from cryptography import utils, x509 .tox/py39/lib/python3.9/site-packages/cryptography/x509/__init__.py:7: in <module> from cryptography.x509.base import ( .tox/py39/lib/python3.9/site-packages/cryptography/x509/base.py:12: in <module> from cryptography.hazmat._types import _PRIVATE_KEY_TYPES, _PUBLIC_KEY_TYPES .tox/py39/lib/python3.9/site-packages/cryptography/hazmat/_types.py:7: in <module> from cryptography.hazmat.primitives.asymmetric import ( .tox/py39/lib/python3.9/site-packages/cryptography/hazmat/primitives/__init__.py:6: in <module> from . import serialization .tox/py39/lib/python3.9/site-packages/cryptography/hazmat/primitives/serialization/__init__.py:15: in <module> from cryptography.hazmat.primitives.serialization.base import ( .tox/py39/lib/python3.9/site-packages/cryptography/hazmat/primitives/serialization/base.py:8: in <module> from cryptography.hazmat._types import ( E ImportError: cannot import name '_PRIVATE_KEY_TYPES' from partially initialized module 'cryptography.hazmat._types' (most likely due to a circular import) (/home/runner/work/cryptography/cryptography/.tox/py39/lib/python3.9/site-packages/cryptography/hazmat/_types.py) ERROR: InvocationError for command /home/runner/work/cryptography/cryptography/.tox/py39/bin/pytest -n auto --cov=cryptography --cov=tests --capture=no --strict --durations=10 --color=yes --wycheproof-root=wycheproof (exited with code 4) ```
2021-02-09T15:09:13Z
[]
[]
Traceback (most recent call last): File "gencrypto.py", line 2, in <module> from cryptography.hazmat.primitives.asymmetric import dh File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py", line 11, in <module> from cryptography.hazmat.primitives import serialization File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/__init__.py", line 15, in <module> from cryptography.hazmat.primitives.serialization.base import ( File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 28, in <module> def load_pem_parameters(data: bytes, backend=None) -> dh.DHParameters: AttributeError: partially initialized module 'cryptography.hazmat.primitives.asymmetric.dh' has no attribute 'DHParameters' (most likely due to a circular import)
16,921
pyca/cryptography
pyca__cryptography-5803
86c9e4a763579d6b2369db83064c0c4b8e9c1c77
diff --git a/src/cryptography/__about__.py b/src/cryptography/__about__.py --- a/src/cryptography/__about__.py +++ b/src/cryptography/__about__.py @@ -21,7 +21,7 @@ ) __uri__ = "https://github.com/pyca/cryptography" -__version__ = "3.4.3" +__version__ = "3.4.4" __author__ = "The Python Cryptographic Authority and individual contributors" __email__ = "cryptography-dev@python.org" diff --git a/src/cryptography/hazmat/primitives/serialization/base.py b/src/cryptography/hazmat/primitives/serialization/base.py --- a/src/cryptography/hazmat/primitives/serialization/base.py +++ b/src/cryptography/hazmat/primitives/serialization/base.py @@ -25,7 +25,7 @@ def load_pem_public_key(data: bytes, backend=None) -> _PUBLIC_KEY_TYPES: return backend.load_pem_public_key(data) -def load_pem_parameters(data: bytes, backend=None) -> dh.DHParameters: +def load_pem_parameters(data: bytes, backend=None) -> "dh.DHParameters": backend = _get_backend(backend) return backend.load_pem_parameters(data) @@ -42,6 +42,6 @@ def load_der_public_key(data: bytes, backend=None) -> _PUBLIC_KEY_TYPES: return backend.load_der_public_key(data) -def load_der_parameters(data: bytes, backend=None) -> dh.DHParameters: +def load_der_parameters(data: bytes, backend=None) -> "dh.DHParameters": backend = _get_backend(backend) return backend.load_der_parameters(data) diff --git a/vectors/cryptography_vectors/__about__.py b/vectors/cryptography_vectors/__about__.py --- a/vectors/cryptography_vectors/__about__.py +++ b/vectors/cryptography_vectors/__about__.py @@ -18,7 +18,7 @@ __uri__ = "https://github.com/pyca/cryptography" -__version__ = "3.4.3" +__version__ = "3.4.4" __author__ = "The Python Cryptographic Authority and individual contributors" __email__ = "cryptography-dev@python.org"
Circular import error (again) in 3.4.3 Opening a new issue as the old one (https://github.com/pyca/cryptography/issues/5756) wasn't re-opened after my comment: @reaperhulk Hi, still got some circular import problems here with cryptography 3.4.3 : `AttributeError: partially initialized module 'cryptography.hazmat.primitives.asymmetric.dh' has no attribute 'DHParameters' (most likely due to a circular import)` reproducer used (gencrypto.py): ``` pip3 install -U cryptography Collecting cryptography Downloading cryptography-3.4.3-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB) |████████████████████████████████| 3.2 MB 5.3 MB/s python3 gencrypto.py Traceback (most recent call last): File "gencrypto.py", line 2, in <module> from cryptography.hazmat.primitives.asymmetric import dh File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py", line 11, in <module> from cryptography.hazmat.primitives import serialization File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/__init__.py", line 15, in <module> from cryptography.hazmat.primitives.serialization.base import ( File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 28, in <module> def load_pem_parameters(data: bytes, backend=None) -> dh.DHParameters: AttributeError: partially initialized module 'cryptography.hazmat.primitives.asymmetric.dh' has no attribute 'DHParameters' (most likely due to a circular import) ``` **gencrypto.py** ``` import time from cryptography.hazmat.primitives.asymmetric import dh for i in [2048,3072,4096]: begin=time.time() params = dh.generate_parameters( generator=2, key_size=i, ) end=time.time() print('took {}s for {} keysize'.format(int(end-begin), i)) ``` Create py.typed the changelog lists: > cryptography now has PEP 484 type hints on nearly all of of its public APIs. Users can begin using them to type check their code with mypy. but I'm still falling back to typeshed because this file is missing
Thanks, I've got a patch (soon to be a PR) and I think we'll do a point release for this. You also need to add the file to package data, https://www.python.org/dev/peps/pep-0561/#packaging-type-information > You also need to add the file to package data, https://www.python.org/dev/peps/pep-0561/#packaging-type-information Isn't it already covered with include_package_data ? > > You also need to add the file to package data, [python.org/dev/peps/pep-0561/#packaging-type-information](https://www.python.org/dev/peps/pep-0561/#packaging-type-information) > > Isn't it already covered with include_package_data ? Is ``include_package_data=True`` sufficient? I honestly don't know! Could you please check sdist and wheels? You definitely have to add it to ``MANIFEST.in``: ``` flake run-test: commands[2] | check-manifest lists of files in version control and sdist do not match! missing from sdist: src/cryptography/py.typed suggested MANIFEST.in rules: recursive-include src *.typed ``` > > > You also need to add the file to package data, [python.org/dev/peps/pep-0561/#packaging-type-information](https://www.python.org/dev/peps/pep-0561/#packaging-type-information) > > > > > > Isn't it already covered with include_package_data ? > > Is `include_package_data=True` sufficient? I honestly don't know! Could you please check sdist and wheels? Yes, it's sufficient. ``` $ python3 setup.py bdist_wheel $ unzip -l dist/cryptography-3.5.dev1-cp39-cp39-linux_x86_64.whl | grep py.typed 0 02-09-2021 12:36 cryptography/py.typed ```
2021-02-09T16:35:53Z
[]
[]
Traceback (most recent call last): File "gencrypto.py", line 2, in <module> from cryptography.hazmat.primitives.asymmetric import dh File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py", line 11, in <module> from cryptography.hazmat.primitives import serialization File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/__init__.py", line 15, in <module> from cryptography.hazmat.primitives.serialization.base import ( File "/home/xxxxx/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 28, in <module> def load_pem_parameters(data: bytes, backend=None) -> dh.DHParameters: AttributeError: partially initialized module 'cryptography.hazmat.primitives.asymmetric.dh' has no attribute 'DHParameters' (most likely due to a circular import)
16,922
pyca/cryptography
pyca__cryptography-6085
5565587b0b03e067a0c2f701884504cfae384886
diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py --- a/src/_cffi_src/openssl/cryptography.py +++ b/src/_cffi_src/openssl/cryptography.py @@ -41,6 +41,8 @@ #define CRYPTOGRAPHY_OPENSSL_110F_OR_GREATER \ (OPENSSL_VERSION_NUMBER >= 0x1010006f && !CRYPTOGRAPHY_IS_LIBRESSL) +#define CRYPTOGRAPHY_OPENSSL_111D_OR_GREATER \ + (OPENSSL_VERSION_NUMBER >= 0x10101040 && !CRYPTOGRAPHY_IS_LIBRESSL) #define CRYPTOGRAPHY_OPENSSL_300_OR_GREATER \ (OPENSSL_VERSION_NUMBER >= 0x30000000 && !CRYPTOGRAPHY_IS_LIBRESSL) @@ -62,6 +64,7 @@ TYPES = """ static const int CRYPTOGRAPHY_OPENSSL_110F_OR_GREATER; +static const int CRYPTOGRAPHY_OPENSSL_111D_OR_GREATER; static const int CRYPTOGRAPHY_OPENSSL_300_OR_GREATER; static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_111; diff --git a/src/_cffi_src/openssl/err.py b/src/_cffi_src/openssl/err.py --- a/src/_cffi_src/openssl/err.py +++ b/src/_cffi_src/openssl/err.py @@ -15,6 +15,7 @@ static const int PKCS12_R_PKCS12_CIPHERFINAL_ERROR; static const int PEM_R_UNSUPPORTED_ENCRYPTION; static const int EVP_R_UNKNOWN_PBE_ALGORITHM; +static const int EVP_R_XTS_DUPLICATED_KEYS; static const int ERR_LIB_EVP; static const int ERR_LIB_PEM; @@ -51,4 +52,8 @@ #ifndef ERR_LIB_PROV #define ERR_LIB_PROV 0 #endif + +#if !CRYPTOGRAPHY_OPENSSL_111D_OR_GREATER +static const int EVP_R_XTS_DUPLICATED_KEYS = 0; +#endif """ diff --git a/src/_cffi_src/openssl/provider.py b/src/_cffi_src/openssl/provider.py --- a/src/_cffi_src/openssl/provider.py +++ b/src/_cffi_src/openssl/provider.py @@ -17,6 +17,7 @@ typedef ... OSSL_LIB_CTX; static const long PROV_R_BAD_DECRYPT; +static const long PROV_R_XTS_DUPLICATED_KEYS; static const long PROV_R_WRONG_FINAL_BLOCK_LENGTH; """ @@ -33,6 +34,7 @@ typedef void OSSL_PROVIDER; typedef void OSSL_LIB_CTX; static const long PROV_R_BAD_DECRYPT = 0; +static const long PROV_R_XTS_DUPLICATED_KEYS = 0; static const long PROV_R_WRONG_FINAL_BLOCK_LENGTH = 0; OSSL_PROVIDER *(*OSSL_PROVIDER_load)(OSSL_LIB_CTX *, const char *) = NULL; int (*OSSL_PROVIDER_unload)(OSSL_PROVIDER *) = NULL; diff --git a/src/cryptography/hazmat/backends/openssl/ciphers.py b/src/cryptography/hazmat/backends/openssl/ciphers.py --- a/src/cryptography/hazmat/backends/openssl/ciphers.py +++ b/src/cryptography/hazmat/backends/openssl/ciphers.py @@ -112,7 +112,28 @@ def __init__(self, backend, cipher, mode, operation): iv_nonce, operation, ) - self._backend.openssl_assert(res != 0) + + # Check for XTS mode duplicate keys error + errors = self._backend._consume_errors() + lib = self._backend._lib + if res == 0 and ( + ( + lib.CRYPTOGRAPHY_OPENSSL_111D_OR_GREATER + and errors[0]._lib_reason_match( + lib.ERR_LIB_EVP, lib.EVP_R_XTS_DUPLICATED_KEYS + ) + ) + or ( + lib.Cryptography_HAS_PROVIDERS + and errors[0]._lib_reason_match( + lib.ERR_LIB_PROV, lib.PROV_R_XTS_DUPLICATED_KEYS + ) + ) + ): + raise ValueError("In XTS mode duplicated keys are not allowed") + + self._backend.openssl_assert(res != 0, errors=errors) + # We purposely disable padding here as it's handled higher up in the # API. self._backend._lib.EVP_CIPHER_CTX_set_padding(ctx, 0)
openssl aes "xts duplicated keys" error is reported as "Unknown OpenSSL Error" Recent versions of openssl [explicitly reject duplicated AES-XTS keys](https://github.com/openssl/openssl/blob/c39352/crypto/evp/e_aes.c#L3119). Cryptography openssl backend reports this as an Unknown OpenSSL Error. * Versions of Python, ``cryptography``, ``cffi``, ``pip``, and ``setuptools`` you're using * Python 3.8.5 * cryptopraphy main branch (f08a7de65) * cffi==1.14.5 * pip 21.0.1 * How you installed ``cryptography`` * pip install -e . * Clear steps for reproducing your bug ``` >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes >>> from cryptography.hazmat.backends import default_backend >>> badkey = b'\xEE'*32 >>> cipher = Cipher(algorithms.AES(badkey), modes.XTS(b'\x00'*16), backend=default_backend()) >>> cipher.encryptor().update(b'\x00'*16) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/angus/tmp/cryptography/src/cryptography/hazmat/primitives/ciphers/base.py", line 109, in encryptor ctx = self._backend.create_symmetric_encryption_ctx( File "/home/angus/tmp/cryptography/src/cryptography/hazmat/backends/openssl/backend.py", line 460, in create_symmetric_encryption_ctx return _CipherContext(self, cipher, mode, _CipherContext._ENCRYPT) File "/home/angus/tmp/cryptography/src/cryptography/hazmat/backends/openssl/ciphers.py", line 115, in __init__ self._backend.openssl_assert(res != 0) File "/home/angus/tmp/cryptography/src/cryptography/hazmat/backends/openssl/backend.py", line 210, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/home/angus/tmp/cryptography/src/cryptography/hazmat/bindings/openssl/binding.py", line 80, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=101511351, lib=6, func=207, reason=183, reason_text=b'error:060CF0B7:digital envelope routines:aesni_xts_init_key:xts duplicated keys')]) ``` We can probably submit a patch to convert this into a more user-friendly error. If that sounds good, I was wondering how you prefer to do this. For example a couple of ideas: 1. Python-side check that throws something like a ValueError when parsing the key+mode. (This makes the assumption that cryptography is OK to always reject vulnerable duplicate keys regardless of what the backend does, so I wanted to check that's OK and not going to break anything.) 2. Check the openssl error in hazmat/backends/openssl/ciphers.py and raise something specific there based on `EVP_R_XTS_DUPLICATED_KEYS` error. Context: This was submitted by one of our users https://github.com/espressif/esptool/issues/621 Thanks very much for all the great work on this library, we really appreciate being able to rely on it!
Extra thing-to-maybe-care-about is that in non-FIPS mode, openssl allows the duplicate key for decrypting. So it might be reasonable to do the check in Python but only if encrypting? or do the checks in the Python side of the backend and match the FIPS/not-FIPS logic in Python? I think handling the `EVP_R_XTS_DUPLICATED_KEYS` error case is the best path, assuming that error occurs in LibreSSL as well (which our CI can help confirm). If it doesn't we'll revisit. If you want to send a PR that'd be great, thank you for the kind words about the library 😄
2021-06-03T09:19:29Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/angus/tmp/cryptography/src/cryptography/hazmat/primitives/ciphers/base.py", line 109, in encryptor ctx = self._backend.create_symmetric_encryption_ctx( File "/home/angus/tmp/cryptography/src/cryptography/hazmat/backends/openssl/backend.py", line 460, in create_symmetric_encryption_ctx return _CipherContext(self, cipher, mode, _CipherContext._ENCRYPT) File "/home/angus/tmp/cryptography/src/cryptography/hazmat/backends/openssl/ciphers.py", line 115, in __init__ self._backend.openssl_assert(res != 0) File "/home/angus/tmp/cryptography/src/cryptography/hazmat/backends/openssl/backend.py", line 210, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/home/angus/tmp/cryptography/src/cryptography/hazmat/bindings/openssl/binding.py", line 80, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=101511351, lib=6, func=207, reason=183, reason_text=b'error:060CF0B7:digital envelope routines:aesni_xts_init_key:xts duplicated keys')])
16,933
pyca/cryptography
pyca__cryptography-6246
905fa95de679738e0e64a59a8ce98e47b12e364c
diff --git a/src/cryptography/hazmat/backends/openssl/ciphers.py b/src/cryptography/hazmat/backends/openssl/ciphers.py --- a/src/cryptography/hazmat/backends/openssl/ciphers.py +++ b/src/cryptography/hazmat/backends/openssl/ciphers.py @@ -238,12 +238,19 @@ def finalize(self) -> bytes: return self._backend._ffi.buffer(buf)[: outlen[0]] def finalize_with_tag(self, tag: bytes) -> bytes: - if len(tag) < self._mode._min_tag_length: + tag_len = len(tag) + if tag_len < self._mode._min_tag_length: raise ValueError( "Authentication tag must be {} bytes or longer.".format( self._mode._min_tag_length ) ) + elif tag_len > self._block_size_bytes: + raise ValueError( + "Authentication tag cannot be more than {} bytes.".format( + self._block_size_bytes + ) + ) res = self._backend._lib.EVP_CIPHER_CTX_ctrl( self._ctx, self._backend._lib.EVP_CTRL_AEAD_SET_TAG, len(tag), tag ) diff --git a/src/cryptography/hazmat/primitives/ciphers/__init__.py b/src/cryptography/hazmat/primitives/ciphers/__init__.py --- a/src/cryptography/hazmat/primitives/ciphers/__init__.py +++ b/src/cryptography/hazmat/primitives/ciphers/__init__.py @@ -3,13 +3,15 @@ # for complete details. +from cryptography.hazmat.primitives._cipheralgorithm import ( + BlockCipherAlgorithm, + CipherAlgorithm, +) from cryptography.hazmat.primitives.ciphers.base import ( AEADCipherContext, AEADDecryptionContext, AEADEncryptionContext, - BlockCipherAlgorithm, Cipher, - CipherAlgorithm, CipherContext, ) diff --git a/src/cryptography/hazmat/primitives/ciphers/base.py b/src/cryptography/hazmat/primitives/ciphers/base.py --- a/src/cryptography/hazmat/primitives/ciphers/base.py +++ b/src/cryptography/hazmat/primitives/ciphers/base.py @@ -16,20 +16,10 @@ ) from cryptography.hazmat.backends import _get_backend from cryptography.hazmat.backends.interfaces import Backend, CipherBackend -from cryptography.hazmat.primitives._cipheralgorithm import ( - CipherAlgorithm as CipherAlgorithm, -) +from cryptography.hazmat.primitives._cipheralgorithm import CipherAlgorithm from cryptography.hazmat.primitives.ciphers import modes -class BlockCipherAlgorithm(metaclass=abc.ABCMeta): - @abc.abstractproperty - def block_size(self) -> int: - """ - The size of a block as an integer in bits (e.g. 64, 128). - """ - - class CipherContext(metaclass=abc.ABCMeta): @abc.abstractmethod def update(self, data: bytes) -> bytes: diff --git a/src/cryptography/hazmat/primitives/ciphers/modes.py b/src/cryptography/hazmat/primitives/ciphers/modes.py --- a/src/cryptography/hazmat/primitives/ciphers/modes.py +++ b/src/cryptography/hazmat/primitives/ciphers/modes.py @@ -7,7 +7,11 @@ import typing from cryptography import utils -from cryptography.hazmat.primitives._cipheralgorithm import CipherAlgorithm +from cryptography.exceptions import UnsupportedAlgorithm, _Reasons +from cryptography.hazmat.primitives._cipheralgorithm import ( + BlockCipherAlgorithm, + CipherAlgorithm, +) class Mode(metaclass=abc.ABCMeta): @@ -229,3 +233,15 @@ def initialization_vector(self) -> bytes: def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: _check_aes_key_length(self, algorithm) + if not isinstance(algorithm, BlockCipherAlgorithm): + raise UnsupportedAlgorithm( + "GCM requires a block cipher algorithm", + _Reasons.UNSUPPORTED_CIPHER, + ) + block_size_bytes = algorithm.block_size // 8 + if self._tag is not None and len(self._tag) > block_size_bytes: + raise ValueError( + "Authentication tag cannot be more than {} bytes.".format( + block_size_bytes + ) + )
Unknown OpenSSL error with latest python docker image I'm seeing the following openssl error when I'm trying to use cryptography for aes-gcm. Attached are the detailed steps for repro and the results from my terminal. The outputs also contain the versions of python, openssl and cryptography. # Repro ## Detailed Repro Steps ### Dockerfile ```dockerfile FROM python:3.9 WORKDIR /app RUN pip install --no-cache-dir cryptography ``` ### Build and Run ```bash docker build -f Dockerfile -t crypto-repro . docker run --rm -it crypto-repro python3 ``` ### Code ```python import cryptography cryptography.__version__ from cryptography.hazmat.backends.openssl.backend import backend;print(backend.openssl_version_text()) from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.ciphers import (Cipher, algorithms, modes) Cipher(algorithms.AES('asdfasdfasdfasdfasdfasdfasdfasdf'.encode()), modes.GCM('asdasdfasdfasdfasdff'.encode(), 'asdfasdfaasdfasdfasdfsdf'.encode()), backend=default_backend()).decryptor() ``` ##### Output ```python Python 3.9.6 (default, Aug 17 2021, 15:37:33) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cryptography >>> cryptography.__version__ '3.4.8' >>> from cryptography.hazmat.backends import default_backend >>> from cryptography.hazmat.primitives.ciphers import (Cipher, algorithms, modes) >>> from cryptography.hazmat.backends.openssl.backend import backend;print(backend.openssl_version_text()) OpenSSL 1.1.1l 24 Aug 2021 >>> Cipher(algorithms.AES('asdfasdfasdfasdfasdfasdfasdfasdf'.encode()), modes.GCM('asdasdfasdfasdfasdff'.encode(), 'asdfasdfaasdfasdfasdfsdf'.encode()), backend=default_backend()).decryptor() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 115, in decryptor ctx = self._backend.create_symmetric_decryption_ctx( File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 487, in create_symmetric_decryption_ctx return _CipherContext(self, cipher, mode, _CipherContext._DECRYPT) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 103, in __init__ self._backend.openssl_assert(res != 0) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 241, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 80, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([]) >>> Please do not report security issues on Github! Follow the instructions in our documentation for reporting security issues: https://cryptography.io/en/latest/security.html ``` Please let me know if I'm using the library wrong, or if there's a missing dependency and how this can be fixed.
Thanks for the bug report. The issue here is that you are passing a 24 byte tag. GCM tags are, at most, 16 bytes. This is still a bug in our library though because we should catch this and raise a `ValueError` instead.
2021-08-30T03:56:26Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 115, in decryptor ctx = self._backend.create_symmetric_decryption_ctx( File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 487, in create_symmetric_decryption_ctx return _CipherContext(self, cipher, mode, _CipherContext._DECRYPT) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 103, in __init__ self._backend.openssl_assert(res != 0) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 241, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 80, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([])
16,935
pyca/cryptography
pyca__cryptography-6515
9220b16ac74fc8746a9d78415dfb95be1b5484f7
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -1266,7 +1266,9 @@ def derive_elliptic_curve_private_key(self, private_value, curve): bn_y = self._lib.BN_CTX_get(bn_ctx) res = get_func(group, point, bn_x, bn_y, bn_ctx) - self.openssl_assert(res == 1) + if res != 1: + self._consume_errors() + raise ValueError("Unable to derive key from private_value") res = self._lib.EC_KEY_set_public_key(ec_cdata, point) self.openssl_assert(res == 1)
"InternalError: Unknown OpenSSL error." when computing point at infinity of SECP256R1 Hi, I'm running version 3.4.8 of pyca/cryptography in Python 3.9.5, installed viva pip. (Indirectly) computing the point at infinity of SECP256R1 results in an OpenSSL error that is not recognized by pyca/cryptography. Not sure if the non-recognition is intended, since the Traceback output still points to the issue at the very end. The code to reproduce is ```python import cryptography print("pyca/cryptography Version:", cryptography.__version__) from cryptography.hazmat.primitives.asymmetric import ec q = 0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551 # SECP256R1's order sk = ec.derive_private_key(q, ec.SECP256R1()) ``` Running it on my machine results in ``` pyca/cryptography Version: 3.4.8 Traceback (most recent call last): File "/home/fernando/bug.py", line 7, in <module> sk = ec.derive_private_key(q, ec.SECP256R1()) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 355, in derive_private_key return backend.derive_elliptic_curve_private_key(private_value, curve) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1611, in derive_elliptic_curve_private_key self.openssl_assert(res == 1) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 241, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 80, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=269635690, lib=16, func=293, reason=106, reason_text=b'error:1012506A:elliptic curve routines:EC_POINT_get_affine_coordinates:point at infinity')]) ``` Cheers Fernando
We consider all InternalErrors to be bugs, we need to make sure the code raises a proper exception here (likely ValueError). Tentatively attaching myself to this issue (though happy to open a new one). While trying to [build](https://github.com/conda-forge/cryptography-feedstock/pull/76) cryptography 35.x against OpenSSL 3.0 in conda-forge, I get ``` cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=310378599, lib=37, reason=103, reason_text=b'error:12800067:DSO support routines::could not load the shared library'), _OpenSSLErrorWithText(code=310378599, lib=37, reason=103, reason_text=b'error:12800067:DSO support routines::could not load the shared library'), _OpenSSLErrorWithText(code=126615813, lib=15, reason=786693, reason_text=b'error:078C0105:common libcrypto routines::init fail')]) ``` upon trying `from cryptography.hazmat.backends.openssl import backend`, although this _only_ happens on windows. It's possible that this is a bug somewhere else (e.g. CPython, or conda-forge's version thereof), but since you said: > We consider all InternalErrors to be bugs I thought I'd bring it up. You've found the one exception @h-vetinari! Your issue appears to be stemming from something with your build/linking process resulting in OpenSSL not being able to init libcrypto due to a DSO load failure. Since that's an error resulting from the near-infinite ways OpenSSL can be built, linked, and distributed we can't really wrap that effectively. We could choose to raise a custom exception that just says InitializationError or something, but I don't think that provides any real value over the existing situation. @h-vetinari this bug is about an issue with elliptic curve operations, your issue is not related so this isn't the right place for it. OK, thanks a lot for the quick responses! I wanted to avoid duplicate issues, but I'll try to fix this on conda-forge side (and will come back in a separate issue if stuck). @h-vetinari Try configuring OpenSSL 3.0 with "enable-legacy shared no-module" switches. Shared libraries are bad things on Windows IMO. Good luck!
2021-11-02T04:58:32Z
[]
[]
Traceback (most recent call last): File "/home/fernando/bug.py", line 7, in <module> sk = ec.derive_private_key(q, ec.SECP256R1()) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 355, in derive_private_key return backend.derive_elliptic_curve_private_key(private_value, curve) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1611, in derive_elliptic_curve_private_key self.openssl_assert(res == 1) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 241, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/home/fernando/bin/sage-9.4/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 80, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=269635690, lib=16, func=293, reason=106, reason_text=b'error:1012506A:elliptic curve routines:EC_POINT_get_affine_coordinates:point at infinity')])
16,941
pyca/cryptography
pyca__cryptography-6641
2b22df182dac205a0848b99dae0a73142d1a8212
diff --git a/src/cryptography/x509/name.py b/src/cryptography/x509/name.py --- a/src/cryptography/x509/name.py +++ b/src/cryptography/x509/name.py @@ -3,6 +3,7 @@ # for complete details. import typing +import warnings from cryptography import utils from cryptography.hazmat.bindings._rust import ( @@ -79,7 +80,12 @@ def _escape_dn_value(val: str) -> str: class NameAttribute(object): def __init__( - self, oid: ObjectIdentifier, value: str, _type=_SENTINEL + self, + oid: ObjectIdentifier, + value: str, + _type=_SENTINEL, + *, + _validate=True, ) -> None: if not isinstance(oid, ObjectIdentifier): raise TypeError( @@ -93,10 +99,17 @@ def __init__( oid == NameOID.COUNTRY_NAME or oid == NameOID.JURISDICTION_COUNTRY_NAME ): - if len(value.encode("utf8")) != 2: + c_len = len(value.encode("utf8")) + if c_len != 2 and _validate is True: raise ValueError( "Country name must be a 2 character country code" ) + elif c_len != 2: + warnings.warn( + "Country names should be two characters, but the " + "attribute is {} characters in length.".format(c_len), + stacklevel=2, + ) # The appropriate ASN1 string type varies by OID and is defined across # multiple RFCs including 2459, 3280, and 5280. In general UTF8String
Support non-standard X509 country names I used the cryptography library to parse android APK certificates in androguard. But there are some people, who create their certificates in a non standard way. Usually they do not put the two char country code, but instead use some string. Here is an example of such an certificate: [ASN1. JavaScript Decoder with loaded Certificate](http://lapo.it/asn1js/#3082039506092A864886F70D010702A082038630820382020101310B300906052B0E03021A0500300B06092A864886F70D010701A08202D0308202CC30820289A003020102020466EDA548300B06072A8648CE380403050030363110300E06035504061307736961766173683110300E060355040A1307736961766173683110300E06035504031307736961766173683020170D3136303132353037323533305A180F32303534303532353037323533305A30363110300E06035504061307736961766173683110300E060355040A1307736961766173683110300E0603550403130773696176617368308201B83082012C06072A8648CE3804013082011F02818100FD7F53811D75122952DF4A9C2EECE4E7F611B7523CEF4400C31E3F80B6512669455D402251FB593D8D58FABFC5F5BA30F6CB9B556CD7813B801D346FF26660B76B9950A5A49F9FE8047B1022C24FBBA9D7FEB7C61BF83B57E7C6A8A6150F04FB83F6D3C51EC3023554135A169132F675F3AE2B61D72AEFF22203199DD14801C70215009760508F15230BCCB292B982A2EB840BF0581CF502818100F7E1A085D69B3DDECBBCAB5C36B857B97994AFBBFA3AEA82F9574C0B3D0782675159578EBAD4594FE67107108180B449167123E84C281613B7CF09328CC8A6E13C167A8B547C8D28E0A3AE1E2BB3A675916EA37F0BFA213562F1FB627A01243BCCA4F1BEA8519089A883DFE15AE59F06928B665E807B552564014C3BFECF492A0381850002818100E9B46A500AABCBB7B42E93477DB9F8AC7C819EADD392F4FA2DD7C10973C399D00D45796052BFB376567A518CFE1432A0F845E4BE75AA76462335BF7F84B6C634BB6C884B6AE2E7B6F1CC78C3BE6F98B65980832C40D9DA3D2B047CBA98B24C877B2ACE7908B0AF56FD62367DF355E011A0482C9B8751C373A8D131076CD01421A321301F301D0603551D0E04160414EEAC32E5F08781BB6F2F392814951B328868AE4C300B06072A8648CE3804030500033000302D0215009209EB12E966AAFAE281620E7DA9743774D7846302144BF36A9634967CA47639BBC10712571B036E13D531818E30818B020101303E30363110300E06035504061307736961766173683110300E060355040A1307736961766173683110300E0603550403130773696176617368020466EDA548300906052B0E03021A0500300B06072A8648CE3804010500042E302C02145DE23A86F0C2E45DCAD93EF8CAB675EC56A6FF4B021404C1A9F7F791631AE00D61FE8AE23F502C33FE84). As you can see, someone used `siavash` as the country name. From my point of view, such certificates are not common but also not very rare. I found out, that creating a new signing key in Android Studio does not reject the certificate if you enter something stupid in the country code field. When you load the certificate (after removing the pkcs7 message around it), you will get an error message: ``` import binascii from pyasn1.codec.der.decoder import decode from pyasn1.codec.der.encoder import encode from cryptography import x509 from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes certhex = b"3082039506092a864886f70d010702a082038630820382020101310b300906052b0e03021a0500300b06092a864886f70d010701a08202d0308202cc30820289a003020102020466eda548300b06072a8648ce380403050030363110300e06035504061307736961766173683110300e060355040a1307736961766173683110300e06035504031307736961766173683020170d3136303132353037323533305a180f32303534303532353037323533305a30363110300e06035504061307736961766173683110300e060355040a1307736961766173683110300e0603550403130773696176617368308201b83082012c06072a8648ce3804013082011f02818100fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c70215009760508f15230bccb292b982a2eb840bf0581cf502818100f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a0381850002818100e9b46a500aabcbb7b42e93477db9f8ac7c819eadd392f4fa2dd7c10973c399d00d45796052bfb376567a518cfe1432a0f845e4be75aa76462335bf7f84b6c634bb6c884b6ae2e7b6f1cc78c3be6f98b65980832c40d9da3d2b047cba98b24c877b2ace7908b0af56fd62367df355e011a0482c9b8751c373a8d131076cd01421a321301f301d0603551d0e04160414eeac32e5f08781bb6f2f392814951b328868ae4c300b06072a8648ce3804030500033000302d0215009209eb12e966aafae281620e7da9743774d7846302144bf36a9634967ca47639bbc10712571b036e13d531818e30818b020101303e30363110300e06035504061307736961766173683110300e060355040a1307736961766173683110300e0603550403130773696176617368020466eda548300906052b0e03021a0500300b06072a8648ce3804010500042e302c02145de23a86f0c2e45dcad93ef8cab675ec56a6ff4b021404c1a9f7f791631ae00d61fe8ae23f502c33fe84" pkcs7message = binascii.unhexlify(certhex) message, _ = decode(pkcs7message) cert = encode(message[1][3]) l = cert[1] if not isinstance(l, int): l = ord(l) cert = cert[2 + (l & 0x7F) if l & 0x80 > 1 else 2:] certificate = x509.load_der_x509_certificate(cert, default_backend()) print(certificate.issuer) print(certificate.fingerprint(hashes.SHA1())) ``` ``` Traceback (most recent call last): File "Desktop\test.py", line 30, in <module> print(certificate.issuer) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\x509.py", line 101, in issuer return _decode_x509_name(self._backend, issuer) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\decode_asn1.py", line 65, in _decode_x509_name attribute = _decode_x509_name_entry(backend, entry) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\decode_asn1.py", line 56, in _decode_x509_name_entry return x509.NameAttribute(x509.ObjectIdentifier(oid), value) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\x509\name.py", line 27, in __init__ "Country name must be a 2 character country code" ValueError: Country name must be a 2 character country code ``` I know this is not really a bug, because the RFC says 2 char country code... But it would be nice to work with those "broken" certificates as well. Versions (cryptography was installed via pip): ``` c:\>pip show cryptography Name: cryptography Version: 2.0.3 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. Home-page: https://github.com/pyca/cryptography Author: The cryptography developers Author-email: cryptography-dev@python.org License: BSD or Apache License, Version 2.0 Location: c:\program files\anaconda3\lib\site-packages Requires: six, cffi, asn1crypto, idna c:\>pip show cffi Name: cffi Version: 1.10.0 Summary: Foreign Function Interface for Python calling C code. Home-page: http://cffi.readthedocs.org Author: Armin Rigo, Maciej Fijalkowski Author-email: python-cffi@googlegroups.com License: MIT Location: c:\program files\anaconda3\lib\site-packages Requires: pycparser c:\>pip show setuptools Name: setuptools Version: 27.2.0 Summary: Easily download, build, install, upgrade, and uninstall Python packages Home-page: https://github.com/pypa/setuptools Author: Python Packaging Authority Author-email: distutils-sig@python.org License: UNKNOWN Location: c:\program files\anaconda3\lib\site-packages\setuptools-27.2.0-py3.6.egg Requires: c:\>python --version Python 3.6.0 :: Anaconda 4.3.0 (64-bit) c:\>pip --version pip 9.0.1 from C:\Program Files\Anaconda3\lib\site-packages (python 3.6) ```
#3857 also has discussion of what to do with another RFC violation that we might still want to allow in parsing. There's a proposal there for allowing violating certificates during parsing but rejecting them during generation. I just ran into this. Certificate issued by Salesforce in 2017 for development purposes. Self-signed, but our customers use and we need to be able to work with it. ``` File "/usr/local/lib/python3.6/dist-packages/cryptography/x509/name.py", line 50, in __init__ "Country name must be a 2 character country code" Country: USA ``` Today I found a similar case: ``` Traceback (most recent call last): [...] File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/x509.py", line 102, in issuer return _decode_x509_name(self._backend, issuer) File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/decode_asn1.py", line 66, in _decode_x509_name attribute = _decode_x509_name_entry(backend, entry) File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/decode_asn1.py", line 57, in _decode_x509_name_entry return x509.NameAttribute(x509.ObjectIdentifier(oid), value, type) File "/usr/lib/python3/dist-packages/cryptography/x509/name.py", line 57, in __init__ raise ValueError("Value cannot be an empty string") ValueError: Value cannot be an empty string ``` It looks like there are some certificates which uses an empty string... Here is an example: ``` import binascii from cryptography import x509 from cryptography.hazmat.backends import default_backend cert_der = b'3082032a30820212a00302010202045120ef99300d06092a864886f70d01010505003057310b30090603550406130249543109300706035504081300310f300d060355040713064d696c616e6f31093007060355040a130031093007060355040b1300311630140603550403130d47617261676520476c6f726961301e170d3133303231373134353632355a170d3430303730353134353632355a3057310b30090603550406130249543109300706035504081300310f300d060355040713064d696c616e6f31093007060355040a130031093007060355040b1300311630140603550403130d47617261676520476c6f72696130820122300d06092a864886f70d01010105000382010f003082010a0282010100838680f282fc9f8d5ff9d24c7786e5faf9f336f3f28fccf3a884252e15142385af1d13a0e46b8458a15c6aba62c06523739c3140b54529fef86f4d23248cba885837f5d1e5e944ad5893ee1de42a5bfc229a7cc8c2895dc4bc941c83897d4a694200ceb536c0b159ed674e44e7a42306ee06ac7b64c3177430907e79554501b4c19c0cf8489a70d122c2eede770f64719db35e7cbb8b545ada395af680f597c1100994474330f2f42d2b3ca7bb682dff23a47e6aa45a530c79cad339e0ffba6af6aadda6c288c7f02921a8e8d2732e73a72eaafacd10ee2e369090ba3730a9c46bf212cf1b44abba1262f50d0c472aeaf3fd7d8f4a3cd448867f11075b52708b0203010001300d06092a864886f70d01010505000382010100542112f5734ea59e2aad2b7b499913d3dc310161c0e2d0ab9fc86c8cf0b8a654a530d104d06dbd2f210a6f717ae0d89b5c738295f139a24443f29f77d224daef67366a9dc1beebfedae568a18b3e2715112b659002b113de26c5661891e9195ea67a594bbea5ae97d103b4f746c672e3424026e66f707a6666a1c8c32dbc83369aa57aedcf4f1070d314c43603463016fc441458f0d9cf85afa6191294c4b1d119077bcddd88d44ddf49de8bb821c12561a5d3e60c856502c4bc31ddd94ad40accce294fa712c58b1c17f16b11587e839addc84071ea100cf426fdee1b05851117b70b1e42f26097d7ae25ece48436f27a0daf879bdcd111ccf79375cd3f60ea' cert_der = binascii.unhexlify(cert_der) x509.load_der_x509_certificate(cert_der, default_backend()) ``` In this particular case, there are empty strings in stateOrProvinceName, organizationName and organizationalUnitName for both issuer and subject. This certificate popped up in logs today. It uses "Taiwan" as jurisdiction country name, and thus triggers the same exception as this field is validated in the same way as country names: ``` Subject: postalCode = 104 streetAddress = 36, Nanking E. Rd., Sec. 3,Taipei City,Taipei 10489 ,Taiwan serialNumber = 86517384 jurisdictionCountryName = Taiwan jurisdictionStateOrProvinceName = Taiwan jurisdictionLocalityName = Taipei ``` - [crt.sh](https://crt.sh/?q=8ced2e178606b7d1cf7f2d5d44e0cb9ca716bbc8d292f00de95777df6dcb0edd) - [ASN.1 javascript decoder](http://lapo.it/asn1js/#308206343082051CA003020102021047E200000000039520ADF3B6A8E54B48300D06092A864886F70D01010B05003073310B300906035504061302545731123010060355040A130954414957414E2D4341311C301A060355040B1313476C6F62616C20455653534C205375622D434131323030060355040313295457434120476C6F62616C20455653534C2043657274696669636174696F6E20417574686F72697479301E170D3138303530383130313730375A170D3139303530383135353935395A30820169310B3009060355040613025457310F300D0603550408130654616977616E311430120603550407130B5461697065692043697479311E301C060355040A131542616E6B2053696E6F50616320436F2E2C4C54442E31243022060355040B131B496E666F726D6174696F6E20546563686E6F6C6F6779204469762E311C301A060355040313136D6D6166756E642E73696E6F7061632E636F6D311D301B060355040F131450726976617465204F7267616E697A6174696F6E31173015060B2B0601040182373C020101130654616970656931173015060B2B0601040182373C020102130654616977616E31173015060B2B0601040182373C020103130654616977616E3111300F060355040513083836353137333834314430420603550409133B33362C204E616E6B696E6720452E2052642E2C205365632E20332C54616970656920436974792C546169706569203130343839202C54616977616E310C300A0603550411130331303430820122300D06092A864886F70D01010105000382010F003082010A0282010100DE496F7AA0EE3C6FD7012F09D16F5EE6A230EF79DF0F5FE72B616E3BEA465BF19DA2750B2A58597F01E37D5B5896BDC0CD3546A48B30F1AE7429E232E1BABFADCBF10D4A5C991DFD9DFA5B8A8EF59B02BB669574C81BF6B1F1259257B7F494F5D1AEE7F98EB36142584BC8C9B387BF9B259BFF82AE13FEA1514E709F68D77757A6A30BABB9FD857B671E3ED6FEBA52A8D794D0F736715D990FA23D75CF878AB627BD49428254FB0EB09C0D947E4ED28B37CB95D3113BD100DAC5349E743F745135684D5B42D18949AE471C5CD55C1391A12083B00E197E8C7886895AD7B18AE1F8CF0269A6E1E0EBB982847197B92D1678507B13B673EBAE6792A5BE6F31F13D0203010001A38201CA308201C6301F0603551D230418301680146EBDA12BCEE4C2D528745CBDD98C6F04722A06DE301D0603551D0E04160414C8A49523A4C3FDFF89D75D93EFD6B858D8F36E8330530603551D1F044C304A3048A046A0448642687474703A2F2F73736C7365727665722E747763612E636F6D2E74772F73736C7365727665722F476C6F62616C455653534C5F5265766F6B655F323031322E63726C301E0603551D110417301582136D6D6166756E642E73696E6F7061632E636F6D307F06082B0601050507010104733071304406082B060105050730028638687474703A2F2F73736C7365727665722E747763612E636F6D2E74772F6361636572742F476C6F62616C457673736C5F323031322E703762302906082B06010505073001861D687474703A2F2F657673736C6F6373702E747763612E636F6D2E74772F303F0603551D20043830363034060C2B0601040182BF25010116033024302206082B060105050702011616687474703A2F2F7777772E747763612E636F6D2E747730090603551D1304023000300E0603551D0F0101FF0404030205A0301D0603551D250416301406082B0601050507030106082B060105050703023013060A2B06010401D6790204030101FF04020500300D06092A864886F70D01010B050003820101007AE094A84114E06D8BD0BAC7FBC86DADC07092F333C4FF57FEEE1E0C3A366AE814C5ED35DBF87DDD98D8EC974C2C8223E1281BCB518D0780B52173C11843B6518F3E00495945AA63DADDFE8CF514B4E38525C2EA5464FF424806CED6946E39BA6E4AD32D6D8595738248515AD39B7BB56A3E3DE51ED6BBD926E8E5DD2020DD313EED3009514CC229FCEB83E7C560DA0B65F9B9601B2C4705B018691C459E805276B7F9D1BC12DB0036048DCFCAD14806540B08F385DBA3B5C03812996D0E92604722AD78BD10BC108E022027FBDFDF9CB4700501707ABEAAEE0BFD408E252C4F7C4A4CCFDB4A025D4BD4440AFA3400CF911DB1CE9E8DAA297561F9FEC2248372) I am using the library as a way to send alerts for expiring certificates. I have a certificate on file that is also throwing `ValueError: Country name must be a 2 character country code`. The issue is this one particular certificate doesn't have a value for Country, along with a few other attributes. ``` Traceback (most recent call last): File "expring-cert.py", line 41, in <module> for attribute in cert.subject: File "/Users/ian/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/x509.py", line 111, in subject return _decode_x509_name(self._backend, subject) File "/Users/ian/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/decode_asn1.py", line 69, in _decode_x509_name attribute = _decode_x509_name_entry(backend, entry) File "/Users/ian/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/decode_asn1.py", line 60, in _decode_x509_name_entry return x509.NameAttribute(x509.ObjectIdentifier(oid), value, type) File "/Users/ian/anaconda3/lib/python3.6/site-packages/cryptography/x509/name.py", line 58, in __init__ "Country name must be a 2 character country code" ValueError: Country name must be a 2 character country code ``` Taking a look at the certificate which is breaking shows empty attributes for - Organization - Organization Unit - Locality - State - Country cryptography version: ``` Name: cryptography Version: 2.4.2 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. Home-page: https://github.com/pyca/cryptography Author: The cryptography developers Author-email: cryptography-dev@python.org License: BSD or Apache License, Version 2.0 Location: /Users/ian/anaconda3/lib/python3.6/site-packages Requires: idna, six, asn1crypto, cffi Required-by: pyOpenSSL ``` Figuring out how we want to handle this is on our roadmap for the next release. As a temporary fix to not being able to decode x509 certs with empty Country value, I removed/commented out this section in - .../lib/python3.6/site-packages/cryptography/x509/name.py ```py if ( oid == NameOID.COUNTRY_NAME or oid == NameOID.JURISDICTION_COUNTRY_NAME ): if len(value.encode("utf8")) != 2: raise ValueError( "Country name must be a 2 character country code" ) if len(value) == 0: raise ValueError("Value cannot be an empty string") ``` I'm using the cryptography library as part of a Microsoft Authenticode signature parsing project, and encountered the `Value cannot be an empty string` ValueError when parsing a certificate used to sign an executable (and Windows has no problem with the certificate or the Authenticode signature). More info on the executable can be found at https://www.virustotal.com/gui/file/c32ade7ee7dac2bfb68c726739211f683fedb98624ba2c9aa7e9122ded1ccf56/details, and here's a program to reproduce: ```python import binascii from cryptography.hazmat.backends import default_backend from cryptography.x509 import load_der_x509_certificate cert_hex = '308203bb30820324a00302010202102c0e339024b942e5181f483f2d772131300d06092a864886f70d01010505003055310b3009060355040613025a4131253023060355040a131c54686177746520436f6e73756c74696e67202850747929204c74642e311f301d0603550403131654686177746520436f6465205369676e696e67204341301e170d3038303230353038313030385a170d3039303230343038313030385a3067310b3009060355040613024a50310d300b060355040813044f697461310e300c06035504071305426570707531163014060355040a130d4379626572466f7274204c4c4331093007060355040b1300311630140603550403130d4379626572466f7274204c4c4330820122300d06092a864886f70d01010105000382010f003082010a0282010100c617df265375d32d895aa61456b53d31bd5dbb65aa4b3561bf959466a9a14d4f2545e70640bdccca429fbc3ee8a8d7c35cae29a135747d1f8fbf6df94f96278d64ad5d6aae0794ffc40679d5171def855bf4ebc20e767b531bb8467ba9eeff5a15bab436d19bd28903d410665de313a54d395aebd63e941d594e290d689a80f938dfddb0c0e733d5fd79148ec50e62494a5d389adffe5ef720623dea14581296f209876ca40a5b493148fe65d2a12284961c92a6d68873005eda7f46d199f8ddf98193b42c9f00c500fb5d72cfc6eb5dc192e7f6b9a57380ba1fe3b59639b0164a8921e539a1a39df1ff42285beea65c2ae60da8223a9750ecf9a5b69e9f8e2b0203010001a381f53081f2301f0603551d250418301606082b06010505070303060a2b060104018237020116301106096086480186f8420101040403020410301d0603551d0404163014300e300c060a2b06010401823702011603020780301b0603551d110414301282107777772e6379626572666f72742e6a70303e0603551d1f043730353033a031a02f862d687474703a2f2f63726c2e7468617774652e636f6d2f546861777465436f64655369676e696e6743412e63726c303206082b0601050507010104263024302206082b060105050730018616687474703a2f2f6f6373702e7468617774652e636f6d300c0603551d130101ff04023000300d06092a864886f70d0101050500038181007201bdd2be014f0daf518338092577dc8ef4b8abd66d64e5b29ee7a80f7734cf3502ad872f1844cad6dbe521f4f8fe1504fda8d51cf085ddaf78d3fed0b466d9306acd2241d5a4931742310426b52c7cd5462c2068f5ab7e6c3bed07a2e04190b326382ac9bddb710a181b30b5df7dd32b684a92acf12fa43d0a8680e3e74b8b' cert_bytes = binascii.unhexlify(cert_hex) cert = load_der_x509_certificate(cert_bytes, default_backend()) subject = cert.subject.public_bytes(default_backend) ``` I'm another user who is encountering malformed certificates in the wild, and it would be great to be able to finally work with them using `cryptography` out-of-the-box. *bump* http://pedump.me/16ac01292a94b86ecb1453330a2c893d/#signature https://github.com/konstantinstadler/country_converter ```import country_converter cc = country_converter.CountryConverter() value = cc.convert(names=[value],to="ISO2")``` Can work around it for now by using OpenSSL.crypto which will parse the ASN.1 data as straight ASN.1 and not attempt to conform to specifications, example: ``` try: x509obj = x509.load_pem_x509_certificate(cert, default_backend()) cert_str = str(x509obj.subject) print('IP: ' + ip + ' - ' + cert_str) except ValueError: x509obj = x509.load_pem_x509_certificate(cert, default_backend()) temp = crypto.X509.from_cryptography(x509obj) cert_str = str(temp.get_subject()) print('IP: ' + ip + ' - ' + cert_str) ``` Given that certificates are a central component of security in many architectures, and invalid data is often the starting point for security exploits... *__why__*? This just seems like an invitation to disaster. Why have standards (like ISO-3166) if we're not going to follow them? More broadly, why encourage bad behavior? > More broadly, why encourage bad behavior? Because reality is messy and in too many cases developers would prefer to skip certificate validation over issuing a new certificate (especially if the certificate was issued by another department). I for example have to deal regularly with malformed certificates when auditing TLS configurations with sslyze. My solution so far is to monkeypatch cryptography. I want to assume, that I know what I am doing, but tbh that is something that want to disencourage. Especially in security sensitive contexts, I believe reasonable interoperability is often more beneficial than strict adherence to standards. This way we disencourage shadey workarounds.
2021-11-21T02:57:37Z
[]
[]
Traceback (most recent call last): File "Desktop\test.py", line 30, in <module> print(certificate.issuer) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\x509.py", line 101, in issuer return _decode_x509_name(self._backend, issuer) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\decode_asn1.py", line 65, in _decode_x509_name attribute = _decode_x509_name_entry(backend, entry) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\decode_asn1.py", line 56, in _decode_x509_name_entry return x509.NameAttribute(x509.ObjectIdentifier(oid), value) File "C:\Program Files\Anaconda3\lib\site-packages\cryptography\x509\name.py", line 27, in __init__ "Country name must be a 2 character country code" ValueError: Country name must be a 2 character country code
16,947
pyca/cryptography
pyca__cryptography-7080
f3f695b1c1f9a32a4ad866b8a8de5f6113ce6393
diff --git a/src/_cffi_src/openssl/bignum.py b/src/_cffi_src/openssl/bignum.py --- a/src/_cffi_src/openssl/bignum.py +++ b/src/_cffi_src/openssl/bignum.py @@ -54,6 +54,7 @@ int BN_cmp(const BIGNUM *, const BIGNUM *); int BN_is_negative(const BIGNUM *); +int BN_is_odd(const BIGNUM *); int BN_add(BIGNUM *, const BIGNUM *, const BIGNUM *); int BN_sub(BIGNUM *, const BIGNUM *, const BIGNUM *); int BN_nnmod(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); diff --git a/src/cryptography/hazmat/backends/openssl/rsa.py b/src/cryptography/hazmat/backends/openssl/rsa.py --- a/src/cryptography/hazmat/backends/openssl/rsa.py +++ b/src/cryptography/hazmat/backends/openssl/rsa.py @@ -368,6 +368,18 @@ def __init__( if res != 1: errors = backend._consume_errors_with_text() raise ValueError("Invalid private key", errors) + # 2 is prime and passes an RSA key check, so we also check + # if p and q are odd just to be safe. + p = backend._ffi.new("BIGNUM **") + q = backend._ffi.new("BIGNUM **") + backend._lib.RSA_get0_factors(rsa_cdata, p, q) + backend.openssl_assert(p[0] != backend._ffi.NULL) + backend.openssl_assert(q[0] != backend._ffi.NULL) + p_odd = backend._lib.BN_is_odd(p[0]) + q_odd = backend._lib.BN_is_odd(q[0]) + if p_odd != 1 or q_odd != 1: + errors = backend._consume_errors_with_text() + raise ValueError("Invalid private key", errors) # Blinding is on by default in many versions of OpenSSL, but let's # just be conservative here.
malformed RSA private key can trigger OpenSSL internal error A private key with a q value of 2 triggers an internal openssl error with python cryptography. Try this key: https://github.com/vcsjones/badkeys/blob/main/rsa-1025-q-is-2/key.pem Example code: ``` #!/usr/bin/python3 from cryptography.hazmat.primitives import serialization key="""-----BEGIN RSA PRIVATE KEY----- MIICoQIBAAKBgQHuRPTpIUVPb2xakO/6v/MuBfDglctfg1BYKkXg9Q9S5CKmrRfp zDMygdqlTjr46SF1vqcsMPk1mswE0O+AW7ljXjq0nrkHoIQiZnDZbHMAyXIgsENd lZ1ZLGuwf8QD2hMUqGPYYfoVH0LeNFJkZU045znqYGuWXarmZv+9V6mkcgIDAQAB AoGBAKrZWCTblMcz9yrJDcLJpefjMtOWw8FEtTl8h0IOw1i+NgISNAFjTdEoFKlu RLE0eJXoLIX4ebQfSWViyV6/lfH0qOs1MDUkNXhkm550P75mY5ZMB0UqicTAt4q/ Z0SDlXPfDwBFQboaX7VKNa6xW4OPXbQX1yiXQRM6SC0tR5zpAoGBAPcienSQoqe3 ti1Id/1f+ZcC+HBK5a/BqCwVIvB6h6lyEVNWi/TmGZlA7VKnHXx0kLrfU5YYfJrN ZgJod8At3LGvHVpPXIPQQhEzOGy2OYBkuRBYIa7KzqyWNdg/4gHtCYpUMeww/QqP oW8aKTIyppxznPUwNcsu1XMzf96r1NI5AgECAoGBAKrZWCTblMcz9yrJDcLJpefj MtOWw8FEtTl8h0IOw1i+NgISNAFjTdEoFKluRLE0eJXoLIX4ebQfSWViyV6/lfH0 qOs1MDUkNXhkm550P75mY5ZMB0UqicTAt4q/Z0SDlXPfDwBFQboaX7VKNa6xW4OP XbQX1yiXQRM6SC0tR5zpAgEAAoGAe5E9OkhRU9vbFqQ7/q/8y4F8OCVy1+DUFgqR eD1D1LkIqatF+nMMzKB2qVOOvjpIXW+pyww+TWazATQ74BbuWNeOrSeuQeghCJmc NlscwDJciCwQ12VnVksa7B/xAPaExSoY9hh+hUfQt40UmRlTTjnOepga5ZdquZm/ 71XqaR0= -----END RSA PRIVATE KEY----- """.encode() serialization.load_pem_private_key(key,password=None) ``` Result: ``` Traceback (most recent call last): File "/tmp/x/./foo.py", line 21, in <module> serialization.load_pem_private_key(key,password=None) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 22, in load_pem_private_key return ossl.load_pem_private_key(data, password) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 823, in load_pem_private_key return self._load_key( File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1088, in _load_key return convert_func(evp_pkey) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 595, in _evp_pkey_to_private_key return _RSAPrivateKey( File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 403, in __init__ backend.openssl_assert(res == 1) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 192, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 77, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=50843714, lib=3, reason=66, reason_text=b'error:0307D042:bignum routines:BN_mod_exp_recp:called a function you should not call'), _OpenSSLErrorWithText(code=67665923, lib=4, reason=3, reason_text=b'error:04088003:rsa routines:RSA_setup_blinding:BN lib')])
Hmm, so we can easily handle the return value here, but the question is whether or not there's a more correct API to use to detect this circumstance. On Mon, Apr 11, 2022 at 6:33 AM Hanno Böck ***@***.***> wrote: > A private key with a q value of 2 triggers an internal openssl error with > python cryptography. > > Try this key: > https://github.com/vcsjones/badkeys/blob/main/rsa-1025-q-is-2/key.pem > > Example code: > > #!/usr/bin/python3 > from cryptography.hazmat.primitives import serialization > key="""-----BEGIN RSA PRIVATE KEY----- > MIICoQIBAAKBgQHuRPTpIUVPb2xakO/6v/MuBfDglctfg1BYKkXg9Q9S5CKmrRfp > zDMygdqlTjr46SF1vqcsMPk1mswE0O+AW7ljXjq0nrkHoIQiZnDZbHMAyXIgsENd > lZ1ZLGuwf8QD2hMUqGPYYfoVH0LeNFJkZU045znqYGuWXarmZv+9V6mkcgIDAQAB > AoGBAKrZWCTblMcz9yrJDcLJpefjMtOWw8FEtTl8h0IOw1i+NgISNAFjTdEoFKlu > RLE0eJXoLIX4ebQfSWViyV6/lfH0qOs1MDUkNXhkm550P75mY5ZMB0UqicTAt4q/ > Z0SDlXPfDwBFQboaX7VKNa6xW4OPXbQX1yiXQRM6SC0tR5zpAoGBAPcienSQoqe3 > ti1Id/1f+ZcC+HBK5a/BqCwVIvB6h6lyEVNWi/TmGZlA7VKnHXx0kLrfU5YYfJrN > ZgJod8At3LGvHVpPXIPQQhEzOGy2OYBkuRBYIa7KzqyWNdg/4gHtCYpUMeww/QqP > oW8aKTIyppxznPUwNcsu1XMzf96r1NI5AgECAoGBAKrZWCTblMcz9yrJDcLJpefj > MtOWw8FEtTl8h0IOw1i+NgISNAFjTdEoFKluRLE0eJXoLIX4ebQfSWViyV6/lfH0 > qOs1MDUkNXhkm550P75mY5ZMB0UqicTAt4q/Z0SDlXPfDwBFQboaX7VKNa6xW4OP > XbQX1yiXQRM6SC0tR5zpAgEAAoGAe5E9OkhRU9vbFqQ7/q/8y4F8OCVy1+DUFgqR > eD1D1LkIqatF+nMMzKB2qVOOvjpIXW+pyww+TWazATQ74BbuWNeOrSeuQeghCJmc > NlscwDJciCwQ12VnVksa7B/xAPaExSoY9hh+hUfQt40UmRlTTjnOepga5ZdquZm/ > 71XqaR0= > -----END RSA PRIVATE KEY----- > """.encode() > serialization.load_pem_private_key(key,password=None) > > Result: > > Traceback (most recent call last): > File "/tmp/x/./foo.py", line 21, in <module> > serialization.load_pem_private_key(key,password=None) > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 22, in load_pem_private_key > return ossl.load_pem_private_key(data, password) > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 823, in load_pem_private_key > return self._load_key( > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1088, in _load_key > return convert_func(evp_pkey) > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 595, in _evp_pkey_to_private_key > return _RSAPrivateKey( > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 403, in __init__ > backend.openssl_assert(res == 1) > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 192, in openssl_assert > return binding._openssl_assert(self._lib, ok, errors=errors) > File "/usr/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 77, in _openssl_assert > raise InternalError( > cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=50843714, lib=3, reason=66, reason_text=b'error:0307D042:bignum routines:BN_mod_exp_recp:called a function you should not call'), _OpenSSLErrorWithText(code=67665923, lib=4, reason=3, reason_text=b'error:04088003:rsa routines:RSA_setup_blinding:BN lib')]) > > — > Reply to this email directly, view it on GitHub > <https://github.com/pyca/cryptography/issues/7056>, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAAAGBFQUZKYXBWTEBTKGRLVEP5YFANCNFSM5TCXONOQ> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> > -- All that is necessary for evil to succeed is for good people to do nothing.
2022-04-16T09:01:36Z
[]
[]
Traceback (most recent call last): File "/tmp/x/./foo.py", line 21, in <module> serialization.load_pem_private_key(key,password=None) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 22, in load_pem_private_key return ossl.load_pem_private_key(data, password) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 823, in load_pem_private_key return self._load_key( File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1088, in _load_key return convert_func(evp_pkey) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 595, in _evp_pkey_to_private_key return _RSAPrivateKey( File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 403, in __init__ backend.openssl_assert(res == 1) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 192, in openssl_assert return binding._openssl_assert(self._lib, ok, errors=errors) File "/usr/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 77, in _openssl_assert raise InternalError( cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=50843714, lib=3, reason=66, reason_text=b'error:0307D042:bignum routines:BN_mod_exp_recp:called a function you should not call'), _OpenSSLErrorWithText(code=67665923, lib=4, reason=3, reason_text=b'error:04088003:rsa routines:RSA_setup_blinding:BN lib')])
16,958
pyca/cryptography
pyca__cryptography-7162
895a07abf230c0c99043ac2cb5e90c017ab2e1c5
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -706,6 +706,19 @@ def _evp_pkey_to_public_key(self, evp_pkey) -> PUBLIC_KEY_TYPES: self.openssl_assert(rsa_cdata != self._ffi.NULL) rsa_cdata = self._ffi.gc(rsa_cdata, self._lib.RSA_free) return _RSAPublicKey(self, rsa_cdata, evp_pkey) + elif ( + key_type == self._lib.EVP_PKEY_RSA_PSS + and not self._lib.CRYPTOGRAPHY_IS_LIBRESSL + and not self._lib.CRYPTOGRAPHY_IS_BORINGSSL + and not self._lib.CRYPTOGRAPHY_OPENSSL_LESS_THAN_111E + ): + rsa_cdata = self._lib.EVP_PKEY_get1_RSA(evp_pkey) + self.openssl_assert(rsa_cdata != self._ffi.NULL) + rsa_cdata = self._ffi.gc(rsa_cdata, self._lib.RSA_free) + bio = self._create_mem_bio_gc() + res = self._lib.i2d_RSAPublicKey_bio(bio, rsa_cdata) + self.openssl_assert(res == 1) + return self.load_der_public_key(self._read_mem_bio(bio)) elif key_type == self._lib.EVP_PKEY_DSA: dsa_cdata = self._lib.EVP_PKEY_get1_DSA(evp_pkey) self.openssl_assert(dsa_cdata != self._ffi.NULL)
x509._Certificate.public_key does not work with RSASSA_PSS certs Cause: in `cryptography/hazmat/backends/openssl/backend.py` `_evp_pkey_to_public_key` cryptography is only testing for `self._lib.EVP_PKEY_RSA` and not `EVP_PKEY_RSA_PSS` as well. I guess the same problem will occur with RSA OAEP certificates. * Versions of Python, ``cryptography``, ``cffi``, ``pip``, and ``setuptools`` you're using * Python 3.7.3 * cryptography 2.6.1 * cffi 1.11.5 * pip 19.0.3 * setuptools 40.4.3 * How you installed ``cryptography`` : pip 1. Create a self-signed certificate with RSA 2048 RSASSA_PSS; OpenSSL can self-verify this example cert, i.e., `openssl verify -CAfile sample.pem sample.pem` gives `OK`. ``` -----BEGIN CERTIFICATE----- MIIDLTCCAhWgAwIBAgIUCD6ZpVYd5vCgzRh5ZIqYupE2VKIwDQYJKoZIhvcNAQEK MAAwJTESMBAGA1UECgwJYm9vdHN0cmFwMQ8wDQYDVQQDDAZyb290Y2EwHhcNMTYw MTAxMDAwMDAwWhcNNDAwMTAxMDAwMDAwWjAlMRIwEAYDVQQKDAlib290c3RyYXAx DzANBgNVBAMMBnJvb3RjYTCCAVYwQQYJKoZIhvcNAQEKMDSgDzANBglghkgBZQME AgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQMEAgEFAKIDAgEgA4IBDwAwggEK AoIBAQCuXwLURTDREKWTeBxUQWQvj/hDVc0+PruZtBF5voNAZCjKSOKHFLasmCDw JuEHjj7ZHDF1JWZVGUbz3p5P+TiFmO/c1Wgb5IyAxdiDUGZvSVX3uC/X8EG/1MQz bwcDpqiadoIjL59jUJ0g2BJnx81NvpNgpe0rmK7aU52sPKJme31Ttd/lO8VJ3Mps lzpH0qzDJEcE3+lBF+AOJf2XDbPTFlbuPvDZHE5tVmdYC2IOad8U0Q/FLOhpMFOX j0n6tKf+Z14+7+xu7RV3gj/NMm0CXWG3ibTSOSrbyvreI0dHgZL57RdqCSE9scjA /1tD0a7UINhPBDZc6HaUqQUsQCPhAgMBAAGjITAfMB0GA1UdDgQWBBSpiALqV+wo zwcvMEvwYFLKe/vDPzANBgkqhkiG9w0BAQowAAOCAQEAEdp7sFyQA9g3Vk1KsrAB UFKqEe1a0azE4TRz2SRktRCswgv7iae0CiBGtPrzBNS6MlketixTfF1npEi7wuDn /00XRdgHCBIRGvemATx8oSP4qVrHUud2y/DLZOZBGYiasSHHgybsnikFZppGFp7m 1D3Tti+GEsaANwRH5GW7h8f9hTMluwXlnNwyT/83yKq9Uih0eFEWHtf8hFswpCEK 4swEBwBHUiCZs1O702H36xEnoayOWnIWAkV8ZccEjfbCHs+rnU+nGI5UfXg86VRb 9iqcII7xyzPxb/HZRBusI9Uu/xiiqLjWqmx/ZMeadhiQndCoOj2yR8YT+G1BqcLa pA== -----END CERTIFICATE----- ``` 2. Load this cert into cryptography ``` cert = x509.load_pem_x509_certificate(b'-----BEGIN ...', backend=default_backend()) cert.public_key() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/Projects/venv37/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py", line 89, in public_key return self._backend._evp_pkey_to_public_key(pkey) File "/home/Projects/venv37/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 556, in _evp_pkey_to_public_key raise UnsupportedAlgorithm("Unsupported key type.") cryptography.exceptions.UnsupportedAlgorithm: Unsupported key type. ```
This is related to #2850, but I'm going to leave this open so we can separate the parsing/signing components here. This also affects `load_der_public_key`: the PSS NID (912) doesn't seem to have a useful counterpart to `EVP_PKEY_get1_RSA()` used in parsing component. Looking into this it appears there may be several missing pieces in OpenSSL. `EVP_PKEY_get0_RSA` looks for the non-PSS NID, and even if you recompile with that check removed you can't get to the RSA_PSS_PARAMS because there's no getter for `RSA_PSS_PARAMS *pss` in the opaque RSA struct. Some work is going to need to be done upstream. This may work in 1.1.1 (which has `RSA_get0_pss_params` and knows the PSS NID for get0_RSA). 3.0 is deprecating `RSA_get0_pss_params` in favor of a new set of getters for a new `RSA_PSS_PARAMS_30` struct, but we can (likely) ignore that until such time as we're 3.0+ only: https://github.com/openssl/openssl/commit/15671090f46364a0e92456b32ead7b4714ae0b5e#diff-44d6e290c824b579440a474b82116446R41 This was actually only added in 1.1.1e and then deprecated in 3.0.0. I think we should wait for 3.0 to decide what to do here.
2022-04-30T21:11:44Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/Projects/venv37/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py", line 89, in public_key return self._backend._evp_pkey_to_public_key(pkey) File "/home/Projects/venv37/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 556, in _evp_pkey_to_public_key raise UnsupportedAlgorithm("Unsupported key type.") cryptography.exceptions.UnsupportedAlgorithm: Unsupported key type.
16,964
pyca/cryptography
pyca__cryptography-774
933afee7da0ff431da452ef32ef23dc17527b16a
diff --git a/cryptography/hazmat/bindings/openssl/ssl.py b/cryptography/hazmat/bindings/openssl/ssl.py --- a/cryptography/hazmat/bindings/openssl/ssl.py +++ b/cryptography/hazmat/bindings/openssl/ssl.py @@ -21,107 +21,107 @@ /* * Internally invented symbols to tell which versions of SSL/TLS are supported. */ -static const int Cryptography_HAS_SSL2; -static const int Cryptography_HAS_TLSv1_1; -static const int Cryptography_HAS_TLSv1_2; +static const long Cryptography_HAS_SSL2; +static const long Cryptography_HAS_TLSv1_1; +static const long Cryptography_HAS_TLSv1_2; /* Internally invented symbol to tell us if SNI is supported */ -static const int Cryptography_HAS_TLSEXT_HOSTNAME; +static const long Cryptography_HAS_TLSEXT_HOSTNAME; /* Internally invented symbol to tell us if SSL_MODE_RELEASE_BUFFERS is * supported */ -static const int Cryptography_HAS_RELEASE_BUFFERS; +static const long Cryptography_HAS_RELEASE_BUFFERS; /* Internally invented symbol to tell us if SSL_OP_NO_COMPRESSION is * supported */ -static const int Cryptography_HAS_OP_NO_COMPRESSION; - -static const int Cryptography_HAS_SSL_OP_MSIE_SSLV2_RSA_PADDING; -static const int Cryptography_HAS_SSL_SET_SSL_CTX; -static const int Cryptography_HAS_SSL_OP_NO_TICKET; - -static const int SSL_FILETYPE_PEM; -static const int SSL_FILETYPE_ASN1; -static const int SSL_ERROR_NONE; -static const int SSL_ERROR_ZERO_RETURN; -static const int SSL_ERROR_WANT_READ; -static const int SSL_ERROR_WANT_WRITE; -static const int SSL_ERROR_WANT_X509_LOOKUP; -static const int SSL_ERROR_SYSCALL; -static const int SSL_ERROR_SSL; -static const int SSL_SENT_SHUTDOWN; -static const int SSL_RECEIVED_SHUTDOWN; -static const int SSL_OP_NO_SSLv2; -static const int SSL_OP_NO_SSLv3; -static const int SSL_OP_NO_TLSv1; -static const int SSL_OP_NO_TLSv1_1; -static const int SSL_OP_NO_TLSv1_2; -static const int SSL_OP_NO_COMPRESSION; -static const int SSL_OP_SINGLE_DH_USE; -static const int SSL_OP_EPHEMERAL_RSA; -static const int SSL_OP_MICROSOFT_SESS_ID_BUG; -static const int SSL_OP_NETSCAPE_CHALLENGE_BUG; -static const int SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG; -static const int SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG; -static const int SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER; -static const int SSL_OP_MSIE_SSLV2_RSA_PADDING; -static const int SSL_OP_SSLEAY_080_CLIENT_DH_BUG; -static const int SSL_OP_TLS_D5_BUG; -static const int SSL_OP_TLS_BLOCK_PADDING_BUG; -static const int SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS; -static const int SSL_OP_CIPHER_SERVER_PREFERENCE; -static const int SSL_OP_TLS_ROLLBACK_BUG; -static const int SSL_OP_PKCS1_CHECK_1; -static const int SSL_OP_PKCS1_CHECK_2; -static const int SSL_OP_NETSCAPE_CA_DN_BUG; -static const int SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG; -static const int SSL_OP_NO_QUERY_MTU; -static const int SSL_OP_COOKIE_EXCHANGE; -static const int SSL_OP_NO_TICKET; -static const int SSL_OP_ALL; -static const int SSL_OP_SINGLE_ECDH_USE; -static const int SSL_VERIFY_PEER; -static const int SSL_VERIFY_FAIL_IF_NO_PEER_CERT; -static const int SSL_VERIFY_CLIENT_ONCE; -static const int SSL_VERIFY_NONE; -static const int SSL_SESS_CACHE_OFF; -static const int SSL_SESS_CACHE_CLIENT; -static const int SSL_SESS_CACHE_SERVER; -static const int SSL_SESS_CACHE_BOTH; -static const int SSL_SESS_CACHE_NO_AUTO_CLEAR; -static const int SSL_SESS_CACHE_NO_INTERNAL_LOOKUP; -static const int SSL_SESS_CACHE_NO_INTERNAL_STORE; -static const int SSL_SESS_CACHE_NO_INTERNAL; -static const int SSL_ST_CONNECT; -static const int SSL_ST_ACCEPT; -static const int SSL_ST_MASK; -static const int SSL_ST_INIT; -static const int SSL_ST_BEFORE; -static const int SSL_ST_OK; -static const int SSL_ST_RENEGOTIATE; -static const int SSL_CB_LOOP; -static const int SSL_CB_EXIT; -static const int SSL_CB_READ; -static const int SSL_CB_WRITE; -static const int SSL_CB_ALERT; -static const int SSL_CB_READ_ALERT; -static const int SSL_CB_WRITE_ALERT; -static const int SSL_CB_ACCEPT_LOOP; -static const int SSL_CB_ACCEPT_EXIT; -static const int SSL_CB_CONNECT_LOOP; -static const int SSL_CB_CONNECT_EXIT; -static const int SSL_CB_HANDSHAKE_START; -static const int SSL_CB_HANDSHAKE_DONE; -static const int SSL_MODE_RELEASE_BUFFERS; -static const int SSL_MODE_ENABLE_PARTIAL_WRITE; -static const int SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER; -static const int SSL_MODE_AUTO_RETRY; -static const int SSL3_RANDOM_SIZE; +static const long Cryptography_HAS_OP_NO_COMPRESSION; + +static const long Cryptography_HAS_SSL_OP_MSIE_SSLV2_RSA_PADDING; +static const long Cryptography_HAS_SSL_SET_SSL_CTX; +static const long Cryptography_HAS_SSL_OP_NO_TICKET; + +static const long SSL_FILETYPE_PEM; +static const long SSL_FILETYPE_ASN1; +static const long SSL_ERROR_NONE; +static const long SSL_ERROR_ZERO_RETURN; +static const long SSL_ERROR_WANT_READ; +static const long SSL_ERROR_WANT_WRITE; +static const long SSL_ERROR_WANT_X509_LOOKUP; +static const long SSL_ERROR_SYSCALL; +static const long SSL_ERROR_SSL; +static const long SSL_SENT_SHUTDOWN; +static const long SSL_RECEIVED_SHUTDOWN; +static const long SSL_OP_NO_SSLv2; +static const long SSL_OP_NO_SSLv3; +static const long SSL_OP_NO_TLSv1; +static const long SSL_OP_NO_TLSv1_1; +static const long SSL_OP_NO_TLSv1_2; +static const long SSL_OP_NO_COMPRESSION; +static const long SSL_OP_SINGLE_DH_USE; +static const long SSL_OP_EPHEMERAL_RSA; +static const long SSL_OP_MICROSOFT_SESS_ID_BUG; +static const long SSL_OP_NETSCAPE_CHALLENGE_BUG; +static const long SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG; +static const long SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG; +static const long SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER; +static const long SSL_OP_MSIE_SSLV2_RSA_PADDING; +static const long SSL_OP_SSLEAY_080_CLIENT_DH_BUG; +static const long SSL_OP_TLS_D5_BUG; +static const long SSL_OP_TLS_BLOCK_PADDING_BUG; +static const long SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS; +static const long SSL_OP_CIPHER_SERVER_PREFERENCE; +static const long SSL_OP_TLS_ROLLBACK_BUG; +static const long SSL_OP_PKCS1_CHECK_1; +static const long SSL_OP_PKCS1_CHECK_2; +static const long SSL_OP_NETSCAPE_CA_DN_BUG; +static const long SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG; +static const long SSL_OP_NO_QUERY_MTU; +static const long SSL_OP_COOKIE_EXCHANGE; +static const long SSL_OP_NO_TICKET; +static const long SSL_OP_ALL; +static const long SSL_OP_SINGLE_ECDH_USE; +static const long SSL_VERIFY_PEER; +static const long SSL_VERIFY_FAIL_IF_NO_PEER_CERT; +static const long SSL_VERIFY_CLIENT_ONCE; +static const long SSL_VERIFY_NONE; +static const long SSL_SESS_CACHE_OFF; +static const long SSL_SESS_CACHE_CLIENT; +static const long SSL_SESS_CACHE_SERVER; +static const long SSL_SESS_CACHE_BOTH; +static const long SSL_SESS_CACHE_NO_AUTO_CLEAR; +static const long SSL_SESS_CACHE_NO_INTERNAL_LOOKUP; +static const long SSL_SESS_CACHE_NO_INTERNAL_STORE; +static const long SSL_SESS_CACHE_NO_INTERNAL; +static const long SSL_ST_CONNECT; +static const long SSL_ST_ACCEPT; +static const long SSL_ST_MASK; +static const long SSL_ST_INIT; +static const long SSL_ST_BEFORE; +static const long SSL_ST_OK; +static const long SSL_ST_RENEGOTIATE; +static const long SSL_CB_LOOP; +static const long SSL_CB_EXIT; +static const long SSL_CB_READ; +static const long SSL_CB_WRITE; +static const long SSL_CB_ALERT; +static const long SSL_CB_READ_ALERT; +static const long SSL_CB_WRITE_ALERT; +static const long SSL_CB_ACCEPT_LOOP; +static const long SSL_CB_ACCEPT_EXIT; +static const long SSL_CB_CONNECT_LOOP; +static const long SSL_CB_CONNECT_EXIT; +static const long SSL_CB_HANDSHAKE_START; +static const long SSL_CB_HANDSHAKE_DONE; +static const long SSL_MODE_RELEASE_BUFFERS; +static const long SSL_MODE_ENABLE_PARTIAL_WRITE; +static const long SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER; +static const long SSL_MODE_AUTO_RETRY; +static const long SSL3_RANDOM_SIZE; typedef ... X509_STORE_CTX; -static const int X509_V_OK; -static const int X509_V_ERR_APPLICATION_VERIFICATION; +static const long X509_V_OK; +static const long X509_V_ERR_APPLICATION_VERIFICATION; typedef ... SSL_METHOD; typedef ... SSL_CTX; @@ -144,7 +144,7 @@ ...; } SSL; -static const int TLSEXT_NAMETYPE_host_name; +static const long TLSEXT_NAMETYPE_host_name; typedef ... SSL_CIPHER; """ @@ -393,7 +393,7 @@ static const long Cryptography_HAS_SSL_SET_SSL_CTX = 1; #else static const long Cryptography_HAS_SSL_SET_SSL_CTX = 0; -static const int TLSEXT_NAMETYPE_host_name = 0; +static const long TLSEXT_NAMETYPE_host_name = 0; SSL_CTX *(*SSL_set_SSL_CTX)(SSL *, SSL_CTX *) = NULL; #endif """
OverflowError: integer 2147486719 does not fit '32-bit int' Hi there, not sure whether this belongs into the cryptography or the pyOpenSSL issue tracker, but it seems to be related to cryptography, so I'm posting it here. Summary: <pre> from OpenSSL import SSL context = SSL.Context(SSL.TLSv1_METHOD) context.set_options(SSL.OP_ALL)</pre> doesn't work on Windows: <pre> Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> context.set_options(SSL.OP_ALL) File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 753, in set_options return _lib.SSL_CTX_set_options(self._context, options) OverflowError: integer 2147486719 does not fit '32-bit int' </pre> Steps to reproduce (Win 8.1x64, Python 2.7 32 bit): <pre> # Install cryptography as per #762 pip install -I cffi==0.8.1 pip install https://pypi.python.org/packages/cp27/c/cryptography/cryptography-0.2.2-cp27-none-win32.whl#md5=7f3979da8340a7fe3aa859d3bfc1a5f1 pip install pyOpenSSL python code-from-above.py </pre> Any solution to this issue would be highly appreciated. Thanks! Max
This is our bug, so thanks for the report. We'll have a fix in master shortly.
2014-03-10T21:57:02Z
[]
[]
Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> context.set_options(SSL.OP_ALL) File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 753, in set_options return _lib.SSL_CTX_set_options(self._context, options) OverflowError: integer 2147486719 does not fit '32-bit int'
16,978
pyca/cryptography
pyca__cryptography-905
fb201e9f21c19d2e31020012fafdeb85083d36c4
diff --git a/cryptography/hazmat/bindings/openssl/ec.py b/cryptography/hazmat/bindings/openssl/ec.py --- a/cryptography/hazmat/bindings/openssl/ec.py +++ b/cryptography/hazmat/bindings/openssl/ec.py @@ -240,9 +240,6 @@ EC_GROUP *(*EC_GROUP_new_curve_GFp)( const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); -EC_GROUP *(*EC_GROUP_new_curve_GF2m)( - const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); - EC_GROUP *(*EC_GROUP_new_by_curve_name)(int); int (*EC_GROUP_set_curve_GFp)( @@ -251,12 +248,6 @@ int (*EC_GROUP_get_curve_GFp)( const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, BN_CTX *); -int (*EC_GROUP_set_curve_GF2m)( - EC_GROUP *, const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); - -int (*EC_GROUP_get_curve_GF2m)( - const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, BN_CTX *); - const EC_METHOD *(*EC_GROUP_method_of)(const EC_GROUP *) = NULL; const EC_POINT *(*EC_GROUP_get0_generator)(const EC_GROUP *) = NULL; int (*EC_GROUP_get_curve_name)(const EC_GROUP *) = NULL; @@ -283,15 +274,6 @@ int (*EC_POINT_set_compressed_coordinates_GFp)(const EC_GROUP *, EC_POINT *, const BIGNUM *, int, BN_CTX *) = NULL; -int (*EC_POINT_set_affine_coordinates_GF2m)(const EC_GROUP *, EC_POINT *, - const BIGNUM *, const BIGNUM *, BN_CTX *) = NULL; - -int (*EC_POINT_get_affine_coordinates_GF2m)(const EC_GROUP *, - const EC_POINT *, BIGNUM *, BIGNUM *, BN_CTX *) = NULL; - -int (*EC_POINT_set_compressed_coordinates_GF2m)(const EC_GROUP *, EC_POINT *, - const BIGNUM *, int, BN_CTX *) = NULL; - size_t (*EC_POINT_point2oct)(const EC_GROUP *, const EC_POINT *, point_conversion_form_t, unsigned char *, size_t, BN_CTX *) = NULL; @@ -380,6 +362,24 @@ static const long Cryptography_HAS_EC2M = 0; const EC_METHOD *(*EC_GF2m_simple_method)() = NULL; + +int (*EC_POINT_set_affine_coordinates_GF2m)(const EC_GROUP *, EC_POINT *, + const BIGNUM *, const BIGNUM *, BN_CTX *) = NULL; + +int (*EC_POINT_get_affine_coordinates_GF2m)(const EC_GROUP *, + const EC_POINT *, BIGNUM *, BIGNUM *, BN_CTX *) = NULL; + +int (*EC_POINT_set_compressed_coordinates_GF2m)(const EC_GROUP *, EC_POINT *, + const BIGNUM *, int, BN_CTX *) = NULL; + +int (*EC_GROUP_set_curve_GF2m)( + EC_GROUP *, const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); + +int (*EC_GROUP_get_curve_GF2m)( + const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, BN_CTX *); + +EC_GROUP *(*EC_GROUP_new_curve_GF2m)( + const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); #else static const long Cryptography_HAS_EC2M = 1; #endif @@ -391,12 +391,9 @@ "EC_GROUP_free", "EC_GROUP_clear_free", "EC_GROUP_new_curve_GFp", - "EC_GROUP_new_curve_GF2m", "EC_GROUP_new_by_curve_name", "EC_GROUP_set_curve_GFp", "EC_GROUP_get_curve_GFp", - "EC_GROUP_set_curve_GF2m", - "EC_GROUP_get_curve_GF2m", "EC_GROUP_method_of", "EC_GROUP_get0_generator", "EC_GROUP_get_curve_name", @@ -431,9 +428,6 @@ "EC_POINT_set_affine_coordinates_GFp", "EC_POINT_get_affine_coordinates_GFp", "EC_POINT_set_compressed_coordinates_GFp", - "EC_POINT_set_affine_coordinates_GF2m", - "EC_POINT_get_affine_coordinates_GF2m", - "EC_POINT_set_compressed_coordinates_GF2m", "EC_POINT_point2oct", "EC_POINT_oct2point", "EC_POINT_point2bn", @@ -473,5 +467,11 @@ "Cryptography_HAS_EC2M": [ "EC_GF2m_simple_method", + "EC_POINT_set_affine_coordinates_GF2m", + "EC_POINT_get_affine_coordinates_GF2m", + "EC_POINT_set_compressed_coordinates_GF2m", + "EC_GROUP_set_curve_GF2m", + "EC_GROUP_get_curve_GF2m", + "EC_GROUP_new_curve_GF2m", ], }
Uh-oh, master is broken on Fedora 20 `tox` output. ``` [ayrx@c00kies cryptography]$ tox GLOB sdist-make: /run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/setup.py ERROR: invocation failed, logfile: /run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/.tox/log/tox-0.log ERROR: actionid=tox msg=packaging cmdargs=['/usr/bin/python', local('/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/setup.py'), 'sdist', '--formats=zip', '--dist-dir', local('/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/.tox/dist')] env=None running sdist running egg_info writing requirements to cryptography.egg-info/requires.txt writing cryptography.egg-info/PKG-INFO writing top-level names to cryptography.egg-info/top_level.txt writing dependency_links to cryptography.egg-info/dependency_links.txt Traceback (most recent call last): File "setup.py", line 173, in <module> "test": PyTest, File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/sdist.py", line 86, in run self.run_command('egg_info') File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 187, in run self.find_sources() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 230, in find_sources mm.run() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 296, in run self.add_defaults() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 332, in add_defaults sdist.add_defaults(self) File "/usr/lib/python2.7/site-packages/setuptools/command/sdist.py", line 161, in add_defaults build_py = self.get_finalized_command('build_py') File "/usr/lib64/python2.7/distutils/cmd.py", line 312, in get_finalized_command cmd_obj.ensure_finalized() File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized self.finalize_options() File "/usr/lib/python2.7/site-packages/setuptools/command/build_py.py", line 73, in finalize_options _build_py.finalize_options(self) File "/usr/lib64/python2.7/distutils/command/build_py.py", line 46, in finalize_options ('force', 'force')) File "/usr/lib64/python2.7/distutils/cmd.py", line 298, in set_undefined_options src_cmd_obj.ensure_finalized() File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized self.finalize_options() File "setup.py", line 87, in finalize_options self.distribution.ext_modules = get_ext_modules() File "setup.py", line 67, in get_ext_modules OpenSSLBinding().ffi.verifier.get_extension(), File "/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/openssl/binding.py", line 84, in __init__ self._ensure_ffi_initialized() File "/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/openssl/binding.py", line 100, in _ensure_ffi_initialized libraries) File "/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/utils.py", line 77, in build_ffi ext_package="cryptography", File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/api.py", line 339, in verify lib = self.verifier.load_library() File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/verifier.py", line 75, in load_library return self._load_library() File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/verifier.py", line 151, in _load_library return self._vengine.load_library() File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/vengine_cpy.py", line 138, in load_library raise ffiplatform.VerificationError(error) cffi.ffiplatform.VerificationError: importing '/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_ca252f7dxca868440.so': /run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_ca252f7dxca868440.so: undefined symbol: EC_GROUP_new_curve_GF2m ERROR: FAIL could not package project ``` Some other stuff @public asked for. ``` [ayrx@c00kies cryptography]$ grep OPENSSL_NO_ /usr/include/openssl/*conf*.h /usr/include/openssl/conf.h:#ifndef OPENSSL_NO_FP_API /usr/include/openssl/conf.h:#ifndef OPENSSL_NO_FP_API /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_EC2M /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_EC2M /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_EC_NISTP_64_GCC_128 /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_GMP /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_GMP /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_GOST /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_GOST /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_JPAKE /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_JPAKE /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_MDC2 /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_MDC2 /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_RC5 /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_RC5 /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_RSAX /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_RSAX /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_SCTP /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_SCTP /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_SRP /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_SRP /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_STORE /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_STORE /usr/include/openssl/opensslconf-x86_64.h:#ifndef OPENSSL_NO_STATIC_ENGINE /usr/include/openssl/opensslconf-x86_64.h:# define OPENSSL_NO_STATIC_ENGINE /usr/include/openssl/opensslconf-x86_64.h:/* The OPENSSL_NO_* macros are also defined as NO_* if the application /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_EC2M) && !defined(NO_EC2M) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_RSAX) && !defined(NO_RSAX) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) /usr/include/openssl/opensslconf-x86_64.h:# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) ``` ``` [ayrx@c00kies cryptography]$ grep OPENSSL_VER /usr/include/openssl/opensslv.h #define OPENSSL_VERSION_NUMBER 0x1000105fL #define OPENSSL_VERSION_TEXT "OpenSSL 1.0.1e-fips 11 Feb 2013" #define OPENSSL_VERSION_TEXT "OpenSSL 1.0.1e 11 Feb 2013" #define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT ```
I think this is because they have patched out EC entirely without bothering to set the OPENSSL_NO_EC define, but they did set some of the other ones. Very weird. Since this is 1.0.1 I guess we need some sort of specific RHEL detection `ifdef` rather than relying on their ancient OPENSSL_VERSION_NUMBER values like we did before? It appears as though Fedora 20 only patches out _some_ of the EC stuff. Here is a dump of the `ec.h` file. https://gist.github.com/Ayrx/9c81f389b1b40e96cdc9 Hmm nope, this is my bug :) I need to move some of the `*GF2m` methods in to the OPENSSL_NO_EC2M block.
2014-04-08T17:02:40Z
[]
[]
Traceback (most recent call last): File "setup.py", line 173, in <module> "test": PyTest, File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/sdist.py", line 86, in run self.run_command('egg_info') File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 187, in run self.find_sources() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 230, in find_sources mm.run() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 296, in run self.add_defaults() File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 332, in add_defaults sdist.add_defaults(self) File "/usr/lib/python2.7/site-packages/setuptools/command/sdist.py", line 161, in add_defaults build_py = self.get_finalized_command('build_py') File "/usr/lib64/python2.7/distutils/cmd.py", line 312, in get_finalized_command cmd_obj.ensure_finalized() File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized self.finalize_options() File "/usr/lib/python2.7/site-packages/setuptools/command/build_py.py", line 73, in finalize_options _build_py.finalize_options(self) File "/usr/lib64/python2.7/distutils/command/build_py.py", line 46, in finalize_options ('force', 'force')) File "/usr/lib64/python2.7/distutils/cmd.py", line 298, in set_undefined_options src_cmd_obj.ensure_finalized() File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized self.finalize_options() File "setup.py", line 87, in finalize_options self.distribution.ext_modules = get_ext_modules() File "setup.py", line 67, in get_ext_modules OpenSSLBinding().ffi.verifier.get_extension(), File "/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/openssl/binding.py", line 84, in __init__ self._ensure_ffi_initialized() File "/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/openssl/binding.py", line 100, in _ensure_ffi_initialized libraries) File "/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/utils.py", line 77, in build_ffi ext_package="cryptography", File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/api.py", line 339, in verify lib = self.verifier.load_library() File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/verifier.py", line 75, in load_library return self._load_library() File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/verifier.py", line 151, in _load_library return self._vengine.load_library() File "/usr/lib/python2.7/site-packages/cffi-0.8.1-py2.7-linux-x86_64.egg/cffi/vengine_cpy.py", line 138, in load_library raise ffiplatform.VerificationError(error) cffi.ffiplatform.VerificationError: importing '/run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_ca252f7dxca868440.so': /run/media/ayrx/FE4E6F994E6F498B/Codes/cryptography/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_ca252f7dxca868440.so: undefined symbol: EC_GROUP_new_curve_GF2m
16,994
pypa/pip
pypa__pip-10029
8fe001193d4f0826c14ed77d380aeecc1395b527
diff --git a/src/pip/_vendor/tenacity/__init__.py b/src/pip/_vendor/tenacity/__init__.py --- a/src/pip/_vendor/tenacity/__init__.py +++ b/src/pip/_vendor/tenacity/__init__.py @@ -22,10 +22,12 @@ except ImportError: iscoroutinefunction = None -try: - import tornado -except ImportError: - tornado = None +# Replace a conditional import with a hard-coded None so that pip does +# not attempt to use tornado even if it is present in the environment. +# If tornado is non-None, tenacity will attempt to execute some code +# that is sensitive to the version of tornado, which could break pip +# if an old version is found. +tornado = None import sys import threading
Vendoring of `tenacity` is leaky ### Description Tenacity contains a [conditional import of tornado](https://github.com/pypa/pip/blob/88eb4f092e58f3aee1d389ad4f9047df46e44bb4/src/pip/_vendor/tenacity/__init__.py#L25-L28). This makes the behavior of `pip` sensitive to third-party packages outside of its vendor directory. Specifically, if a version of tornado that does not include the `tornado.gen.sleep` function is installed, `pip` will fail to start. (This is unlikely since this function has been around a long time and we have no plans of deprecating it or removing it. But we do have a report of this happening in https://github.com/tornadoweb/tornado/issues/3034) ### Expected behavior Pip should not be affected by the presence or absence of any other third-party packages. Any conditional imports in its vendored dependencies should be modified to unconditionally fail (e.g. replace the above-linked block with `tornado = None`). ### pip version 21.1.2 ### Python version 3.8 ### OS linux ### How to Reproduce 1. `pip install tornado==4.0.0` 2. `pip --version` ### Output ```sh-session ~/ImpressionableVoluminousCategories$ pip --version pip 21.1.2 from /opt/virtualenvs/python3/lib/python3.8/site-packages/pip (python 3.8) ~/ImpressionableVoluminousCategories$ pip install tornado==4.0.0 Collecting tornado==4.0.0 Downloading tornado-4.0.tar.gz (313 kB) |████████████████████████████████| 313 kB 4.5 MB/s Requirement already satisfied: certifi in /opt/virtualenvs/python3/lib/python3.8/site-packages (from tornado==4.0.0) (2020.12.5) Building wheels for collected packages: tornado Building wheel for tornado (setup.py) ... done Created wheel for tornado: filename=tornado-4.0-cp38-cp38-linux_x86_64.whl size=344556 sha256=d9c5e6911e5bdac5b90db4b33d01891562365e235396bd336380dd45cb61a9b7 Stored in directory: /home/runner/.cache/pip/wheels/9a/d7/93/a846246f95067512a78899329bdb84a695d693e67c28a4e71f Successfully built tornado Installing collected packages: tornado Successfully installed tornado-4.0 ~/ImpressionableVoluminousCategories$ pip --version Traceback (most recent call last): File "/opt/virtualenvs/python3/bin/pip", line 5, in <module> from pip._internal.cli.main import main File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 9, in <module> from pip._internal.cli.autocompletion import autocomplete File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module> from pip._internal.cli.main_parser import create_main_parser File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module> from pip._internal.cli import cmdoptions File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module> from pip._internal.cli.parser import ConfigOptionParser File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/parser.py", line 12, in <module> from pip._internal.configuration import Configuration, ConfigurationError File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/configuration.py", line 27, in <module> from pip._internal.utils.misc import ensure_dir, enum File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/utils/misc.py", line 38, in <module> from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_vendor/tenacity/__init__.py", line 523, in <module> from pip._vendor.tenacity.tornadoweb import TornadoRetrying File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_vendor/tenacity/tornadoweb.py", line 26, in <module> class TornadoRetrying(BaseRetrying): File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_vendor/tenacity/tornadoweb.py", line 27, in TornadoRetrying def __init__(self, sleep=gen.sleep, **kwargs): AttributeError: module 'tornado.gen' has no attribute 'sleep' ~/ImpressionableVoluminousCategories$ ``` ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
Thanks for raising the issue. I think an easy way would be to vendor a patch to delete those imports. We already have a few of those [here](https://github.com/pypa/pip/tree/main/tools/vendoring/patches). Would you be interested in contributing one for this?
2021-05-28T16:05:00Z
[]
[]
Traceback (most recent call last): File "/opt/virtualenvs/python3/bin/pip", line 5, in <module> from pip._internal.cli.main import main File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 9, in <module> from pip._internal.cli.autocompletion import autocomplete File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module> from pip._internal.cli.main_parser import create_main_parser File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module> from pip._internal.cli import cmdoptions File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module> from pip._internal.cli.parser import ConfigOptionParser File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/cli/parser.py", line 12, in <module> from pip._internal.configuration import Configuration, ConfigurationError File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/configuration.py", line 27, in <module> from pip._internal.utils.misc import ensure_dir, enum File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_internal/utils/misc.py", line 38, in <module> from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_vendor/tenacity/__init__.py", line 523, in <module> from pip._vendor.tenacity.tornadoweb import TornadoRetrying File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_vendor/tenacity/tornadoweb.py", line 26, in <module> class TornadoRetrying(BaseRetrying): File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pip/_vendor/tenacity/tornadoweb.py", line 27, in TornadoRetrying def __init__(self, sleep=gen.sleep, **kwargs): AttributeError: module 'tornado.gen' has no attribute 'sleep'
16,997
pypa/pip
pypa__pip-1015
3ea56eaecdddb91f5ba038a175e35555a34e5506
diff --git a/pip/util.py b/pip/util.py --- a/pip/util.py +++ b/pip/util.py @@ -589,8 +589,9 @@ def unpack_file(filename, location, content_type, link): if (content_type == 'application/zip' or filename.endswith('.zip') or filename.endswith('.pybundle') + or filename.endswith('.whl') or zipfile.is_zipfile(filename)): - unzip_file(filename, location, flatten=not filename.endswith('.pybundle')) + unzip_file(filename, location, flatten=not filename.endswith(('.pybundle', 'whl'))) elif (content_type == 'application/x-gzip' or tarfile.is_tarfile(filename) or splitext(filename)[1].lower() in ('.tar', '.tar.gz', '.tar.bz2', '.tgz', '.tbz')):
meta-package causes IndexError when converted to, then installed from, a .whl file I ran across this with the [celery-with-redis](https://pypi.python.org/pypi/celery-with-redis) package, which consistens of a setup.py with an `install_requires` clause. Using `pip wheel`, the whl file is generated just fine just fine, but when the wheel file istelf is used for installation as a dependency I get the following exception: ``` Traceback (most recent call last): File "venv/src/pip/pip/basecommand.py", line 134, in main status = self.run(options, args) File "venv/src/pip/pip/commands/wheel.py", line 151, in run wb.build() File "venv/src/pip/pip/wheel.py", line 293, in build self.requirement_set.prepare_files(self.finder) File "venv/src/pip/pip/req.py", line 1105, in prepare_files dist = list(pkg_resources.find_distributions(location))[0] IndexError: list index out of range ``` Where the `pkg_resources.find_distributions(location)` returns a generator that yields 0 items.
cc @dholth This is a better described duplicate of another issue. The reason is that pip's unarchiver "flattens" the archive by removing lone top-level directories, which in this case is the .dist-info directory and is wrong. The code that unzips the wheel should detect that it is handling a wheel and not flatten.
2013-06-26T19:04:37Z
[]
[]
Traceback (most recent call last): File "venv/src/pip/pip/basecommand.py", line 134, in main status = self.run(options, args) File "venv/src/pip/pip/commands/wheel.py", line 151, in run wb.build() File "venv/src/pip/pip/wheel.py", line 293, in build self.requirement_set.prepare_files(self.finder) File "venv/src/pip/pip/req.py", line 1105, in prepare_files dist = list(pkg_resources.find_distributions(location))[0] IndexError: list index out of range
17,009
pypa/pip
pypa__pip-10206
0a05d7677b71602ea22555a27dbc308b1fc3eea3
diff --git a/src/pip/_internal/commands/show.py b/src/pip/_internal/commands/show.py --- a/src/pip/_internal/commands/show.py +++ b/src/pip/_internal/commands/show.py @@ -1,8 +1,8 @@ import csv import logging -import os +import pathlib from optparse import Values -from typing import Iterator, List, NamedTuple, Optional +from typing import Iterator, List, NamedTuple, Optional, Tuple from pip._vendor.packaging.utils import canonicalize_name @@ -66,6 +66,33 @@ class _PackageInfo(NamedTuple): files: Optional[List[str]] +def _covert_legacy_entry(entry: Tuple[str, ...], info: Tuple[str, ...]) -> str: + """Convert a legacy installed-files.txt path into modern RECORD path. + + The legacy format stores paths relative to the info directory, while the + modern format stores paths relative to the package root, e.g. the + site-packages directory. + + :param entry: Path parts of the installed-files.txt entry. + :param info: Path parts of the egg-info directory relative to package root. + :returns: The converted entry. + + For best compatibility with symlinks, this does not use ``abspath()`` or + ``Path.resolve()``, but tries to work with path parts: + + 1. While ``entry`` starts with ``..``, remove the equal amounts of parts + from ``info``; if ``info`` is empty, start appending ``..`` instead. + 2. Join the two directly. + """ + while entry and entry[0] == "..": + if not info or info[-1] == "..": + info += ("..",) + else: + info = info[:-1] + entry = entry[1:] + return str(pathlib.Path(*info, *entry)) + + def search_packages_info(query: List[str]) -> Iterator[_PackageInfo]: """ Gather details from installed distributions. Print distribution name, @@ -100,14 +127,29 @@ def _files_from_record(dist: BaseDistribution) -> Optional[Iterator[str]]: text = dist.read_text('RECORD') except FileNotFoundError: return None - return (row[0] for row in csv.reader(text.splitlines())) + # This extra Path-str cast normalizes entries. + return (str(pathlib.Path(row[0])) for row in csv.reader(text.splitlines())) - def _files_from_installed_files(dist: BaseDistribution) -> Optional[Iterator[str]]: + def _files_from_legacy(dist: BaseDistribution) -> Optional[Iterator[str]]: try: text = dist.read_text('installed-files.txt') except FileNotFoundError: return None - return (p for p in text.splitlines(keepends=False) if p) + paths = (p for p in text.splitlines(keepends=False) if p) + root = dist.location + info = dist.info_directory + if root is None or info is None: + return paths + try: + info_rel = pathlib.Path(info).relative_to(root) + except ValueError: # info is not relative to root. + return paths + if not info_rel.parts: # info *is* root. + return paths + return ( + _covert_legacy_entry(pathlib.Path(p).parts, info_rel.parts) + for p in paths + ) for query_name in query_names: try: @@ -121,11 +163,11 @@ def _files_from_installed_files(dist: BaseDistribution) -> Optional[Iterator[str except FileNotFoundError: entry_points = [] - files_iter = _files_from_record(dist) or _files_from_installed_files(dist) + files_iter = _files_from_record(dist) or _files_from_legacy(dist) if files_iter is None: files: Optional[List[str]] = None else: - files = sorted(os.path.relpath(p, dist.location) for p in files_iter) + files = sorted(files_iter) metadata = dist.metadata diff --git a/src/pip/_internal/metadata/base.py b/src/pip/_internal/metadata/base.py --- a/src/pip/_internal/metadata/base.py +++ b/src/pip/_internal/metadata/base.py @@ -57,6 +57,26 @@ def location(self) -> Optional[str]: A string value is not necessarily a filesystem path, since distributions can be loaded from other sources, e.g. arbitrary zip archives. ``None`` means the distribution is created in-memory. + + Do not canonicalize this value with e.g. ``pathlib.Path.resolve()``. If + this is a symbolic link, we want to preserve the relative path between + it and files in the distribution. + """ + raise NotImplementedError() + + @property + def info_directory(self) -> Optional[str]: + """Location of the .[egg|dist]-info directory. + + Similarly to ``location``, a string value is not necessarily a + filesystem path. ``None`` means the distribution is created in-memory. + + For a modern .dist-info installation on disk, this should be something + like ``{location}/{raw_name}-{version}.dist-info``. + + Do not canonicalize this value with e.g. ``pathlib.Path.resolve()``. If + this is a symbolic link, we want to preserve the relative path between + it and other files in the distribution. """ raise NotImplementedError() diff --git a/src/pip/_internal/metadata/pkg_resources.py b/src/pip/_internal/metadata/pkg_resources.py --- a/src/pip/_internal/metadata/pkg_resources.py +++ b/src/pip/_internal/metadata/pkg_resources.py @@ -48,6 +48,10 @@ def from_wheel(cls, path: str, name: str) -> "Distribution": def location(self) -> Optional[str]: return self._dist.location + @property + def info_directory(self) -> Optional[str]: + return self._dist.egg_info + @property def canonical_name(self) -> "NormalizedName": return canonicalize_name(self._dist.project_name) diff --git a/src/pip/_internal/operations/install/legacy.py b/src/pip/_internal/operations/install/legacy.py --- a/src/pip/_internal/operations/install/legacy.py +++ b/src/pip/_internal/operations/install/legacy.py @@ -25,6 +25,46 @@ def __init__(self): self.parent = sys.exc_info() +def write_installed_files_from_setuptools_record( + record_lines: List[str], + root: Optional[str], + req_description: str, +) -> None: + def prepend_root(path): + # type: (str) -> str + if root is None or not os.path.isabs(path): + return path + else: + return change_root(root, path) + + for line in record_lines: + directory = os.path.dirname(line) + if directory.endswith('.egg-info'): + egg_info_dir = prepend_root(directory) + break + else: + message = ( + "{} did not indicate that it installed an " + ".egg-info directory. Only setup.py projects " + "generating .egg-info directories are supported." + ).format(req_description) + raise InstallationError(message) + + new_lines = [] + for line in record_lines: + filename = line.strip() + if os.path.isdir(filename): + filename += os.path.sep + new_lines.append( + os.path.relpath(prepend_root(filename), egg_info_dir) + ) + new_lines.sort() + ensure_dir(egg_info_dir) + inst_files_path = os.path.join(egg_info_dir, 'installed-files.txt') + with open(inst_files_path, 'w') as f: + f.write('\n'.join(new_lines) + '\n') + + def install( install_options, # type: List[str] global_options, # type: Sequence[str] @@ -88,38 +128,5 @@ def install( with open(record_filename) as f: record_lines = f.read().splitlines() - def prepend_root(path): - # type: (str) -> str - if root is None or not os.path.isabs(path): - return path - else: - return change_root(root, path) - - for line in record_lines: - directory = os.path.dirname(line) - if directory.endswith('.egg-info'): - egg_info_dir = prepend_root(directory) - break - else: - message = ( - "{} did not indicate that it installed an " - ".egg-info directory. Only setup.py projects " - "generating .egg-info directories are supported." - ).format(req_description) - raise InstallationError(message) - - new_lines = [] - for line in record_lines: - filename = line.strip() - if os.path.isdir(filename): - filename += os.path.sep - new_lines.append( - os.path.relpath(prepend_root(filename), egg_info_dir) - ) - new_lines.sort() - ensure_dir(egg_info_dir) - inst_files_path = os.path.join(egg_info_dir, 'installed-files.txt') - with open(inst_files_path, 'w') as f: - f.write('\n'.join(new_lines) + '\n') - + write_installed_files_from_setuptools_record(record_lines, root, req_description) return True
"pip show" fails when used on different disk from pip installation ### Description Using the "show" command on any disk other than the one where python/pip is installed will result in an error. This bug was introduced in 21.2, it does not occur when using 21.1.3. ### Expected behavior The show command works normally, displaying information about the specified package. ### pip version 21.2.1 ### Python version 3.9.6 ### OS Windows 10 Build 19043.1110 ### How to Reproduce 1. Open a terminal on a disk different from the disk where python and/or pip is installed. 2. Then run `pip show pip`. 3. Produces a ValueError. ### Output ```sh-session E:\> pip show pip ERROR: Exception: Traceback (most recent call last): File "c:\python\python39\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 45, in run if not print_results( File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 160, in print_results for i, dist in enumerate(distributions): File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 128, in search_packages_info files = sorted(os.path.relpath(p, dist.location) for p in files_iter) File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 128, in <genexpr> files = sorted(os.path.relpath(p, dist.location) for p in files_iter) File "c:\python\python39\lib\ntpath.py", line 703, in relpath raise ValueError("path is on mount %r, start on mount %r" % ( ValueError: path is on mount 'E:', start on mount 'c:' ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
2021-07-26T08:03:57Z
[]
[]
Traceback (most recent call last): File "c:\python\python39\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 45, in run if not print_results( File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 160, in print_results for i, dist in enumerate(distributions): File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 128, in search_packages_info files = sorted(os.path.relpath(p, dist.location) for p in files_iter) File "c:\python\python39\lib\site-packages\pip\_internal\commands\show.py", line 128, in <genexpr> files = sorted(os.path.relpath(p, dist.location) for p in files_iter) File "c:\python\python39\lib\ntpath.py", line 703, in relpath raise ValueError("path is on mount %r, start on mount %r" % ( ValueError: path is on mount 'E:', start on mount 'c:'
17,014
pypa/pip
pypa__pip-10213
867bbb00ccb0506095e19a0e111ce06ce71a2495
diff --git a/src/pip/_vendor/tenacity/__init__.py b/src/pip/_vendor/tenacity/__init__.py --- a/src/pip/_vendor/tenacity/__init__.py +++ b/src/pip/_vendor/tenacity/__init__.py @@ -190,7 +190,7 @@ def __init__(self, last_attempt: "Future") -> None: self.last_attempt = last_attempt super().__init__(last_attempt) - def reraise(self) -> t.NoReturn: + def reraise(self) -> "t.NoReturn": if self.last_attempt.failed: raise self.last_attempt.result() raise self
v21.2 does not run on Python 3.6.0 & Python 3.6.1 ### Description v21.2 updated the version of `tenacity` which includes [an explicit dependency on `typing.NoReturn`](https://github.com/pypa/pip/blob/21.2/src/pip/_vendor/tenacity/__init__.py#L193) (which was [added in 3.6.2](https://docs.python.org/3/library/typing.html#typing.NoReturn)). Based on [this issue](https://github.com/jd/tenacity/issues/322), `tenacity` isn't planning making the library compatible with older patch versions of Python 3.6. This type of issue [has occurred previously](https://github.com/pypa/pip/pull/9835). ### Expected behavior `pip` should work on all patch versions of Python 3.6. ### pip version 21.2.1 ### Python version 3.6.0 ### OS CentOS 7.6 ### How to Reproduce 1. Use Python 3.6.0. 2. Install `pip` 21.2.1 3. Attempt to install a package. ### Output ```sh-session pip3 install -r requirements.lock Traceback (most recent call last): File "/foobar/home/jenkins/venvs/default/bin/pip3", line 7, in <module> from pip._internal.cli.main import main File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/main.py", line 9, in <module> from pip._internal.cli.autocompletion import autocomplete File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module> from pip._internal.cli.main_parser import create_main_parser File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module> from pip._internal.cli import cmdoptions File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module> from pip._internal.cli.parser import ConfigOptionParser File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/parser.py", line 12, in <module> from pip._internal.configuration import Configuration, ConfigurationError File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/configuration.py", line 27, in <module> from pip._internal.utils.misc import ensure_dir, enum File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/utils/misc.py", line 38, in <module> from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_vendor/tenacity/__init__.py", line 186, in <module> class RetryError(Exception): File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_vendor/tenacity/__init__.py", line 193, in RetryError def reraise(self) -> t.NoReturn: AttributeError: module 'typing' has no attribute 'NoReturn' ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
2021-07-26T17:14:31Z
[]
[]
Traceback (most recent call last): File "/foobar/home/jenkins/venvs/default/bin/pip3", line 7, in <module> from pip._internal.cli.main import main File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/main.py", line 9, in <module> from pip._internal.cli.autocompletion import autocomplete File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module> from pip._internal.cli.main_parser import create_main_parser File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module> from pip._internal.cli import cmdoptions File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module> from pip._internal.cli.parser import ConfigOptionParser File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/cli/parser.py", line 12, in <module> from pip._internal.configuration import Configuration, ConfigurationError File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/configuration.py", line 27, in <module> from pip._internal.utils.misc import ensure_dir, enum File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_internal/utils/misc.py", line 38, in <module> from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_vendor/tenacity/__init__.py", line 186, in <module> class RetryError(Exception): File "/foobar/home/jenkins/venvs/default/lib64/python3.6/site-packages/pip/_vendor/tenacity/__init__.py", line 193, in RetryError def reraise(self) -> t.NoReturn: AttributeError: module 'typing' has no attribute 'NoReturn'
17,015
pypa/pip
pypa__pip-10263
e1dd4b425505fa690fb45d84d1434fc2e8e13eac
diff --git a/src/pip/_internal/network/session.py b/src/pip/_internal/network/session.py --- a/src/pip/_internal/network/session.py +++ b/src/pip/_internal/network/session.py @@ -3,6 +3,7 @@ """ import email.utils +import io import ipaddress import json import logging @@ -207,8 +208,11 @@ def send( try: stats = os.stat(pathname) except OSError as exc: + # format the exception raised as a io.BytesIO object, + # to return a better error message: resp.status_code = 404 - resp.raw = exc + resp.reason = type(exc).__name__ + resp.raw = io.BytesIO(f"{resp.reason}: {exc}".encode("utf8")) else: modified = email.utils.formatdate(stats.st_mtime, usegmt=True) content_type = mimetypes.guess_type(pathname)[0] or "text/plain"
'file:' identifier in '--requirements' argument yields FileNotFoundError ### Description Using a `file:` identifier when providing a `--requirements|-r` argument results in `FileNotFoundError`. ### Expected behavior The file should be found. Previous versions worked fine. Alternatively, omitting the `file:` identifier works. ### pip version 21.2.1 ### Python version 3.9.6 ### OS MacOS 10.14 ### How to Reproduce 1. Create and activate Conda environment with: ```bash conda create -n foo -c conda-forge python=3.9 pip=21.2.1 conda activate foo ``` 2. Create `requirements.txt`: ```bash echo "numpy" > requirements.txt ``` 3. Run install command: ```bash pip install -r file:requirements.txt ``` 4. Error. ### Output ```sh-session (foo) bash-3.2$ pip install -r file:requirements.txt ERROR: Exception: Traceback (most recent call last): File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 173, in _main status = self.run(options, args) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 286, in run reqs = self.get_requirements(args, options, finder, session) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 384, in get_requirements for parsed_req in parse_requirements( File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 135, in parse_requirements for parsed_line in parser.parse(filename, constraint): File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 319, in parse yield from self._parse_and_recurse(filename, constraint) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 324, in _parse_and_recurse for line in self._parse_file(filename, constraint): File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 353, in _parse_file _, content = get_file_content(filename, self._session) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 518, in get_file_content resp = session.get(url) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/network/session.py", line 454, in request return super().request(method, url, *args, **kwargs) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 697, in send r.content File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/models.py", line 836, in content self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b'' File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/models.py", line 769, in generate chunk = self.raw.read(chunk_size) AttributeError: 'FileNotFoundError' object has no attribute 'read' ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
`file:requirements.txt` is not a valid URL. The standard (RFC 8089) mandates the URL must starts with `file://` or `file:` + absolute path. This is neither, so pip treats it as a local relative path and correctly fails. Feel free to submit a PR for better error messages, but this is not a bug. > Feel free to submit a PR for better error messages, but this is not a bug. Hi @uranusjr. If you want (and if no one is working on it, of course), I can open a pull request for the next week. Just tell me where to go to adjust the error message. I'm not an expert with Conda (I actually don't use it on my work), but this issue doesn't seems to be really hard. I think the conda env part is not relevant; this is only caused by appending `file:` to the file name. This probably hit some edge case in the path/URL parser. Previously pip would parse `file:requirements.txt` as a URL with `file:` scheme and relative path `requirements.txt`; now it’s (correctly) recognising this is not a valid URL, and treating the entire string as a local filename. I traced the code a bit and it seems like the error is originated from `LocalFSAdapter` (used to provide `file:` URL support), around here: https://github.com/pypa/pip/blob/87aee20df2890a89f70eecbd7086262146a2e64a/src/pip/_internal/network/session.py#L218-L235 This `send()` function is used to send network requests and return a response object. When there’s an `OSError`, a 404 response is emitted, but `resp.raw` is set to the exception object. Which is not correct since, according to requests documentation, [`raw` should be a file-like object](https://docs.python-requests.org/en/master/api/#requests.Response.raw). So this can probably be fixed by changing `resp.raw = exc` to something like ```python error_message = f"{type(exc).__name__}: {exc}" resp.raw = io.BytesIO(error_message.encode("utf8")) ``` Or you can try out things in `traceback` to format the error message and see what result you like best. Ok. I'll take a look on it later. Thanks @uranusjr! It doesn't seems too hard, so I can do it on these days.
2021-08-02T18:10:36Z
[]
[]
Traceback (most recent call last): File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 173, in _main status = self.run(options, args) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 286, in run reqs = self.get_requirements(args, options, finder, session) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 384, in get_requirements for parsed_req in parse_requirements( File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 135, in parse_requirements for parsed_line in parser.parse(filename, constraint): File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 319, in parse yield from self._parse_and_recurse(filename, constraint) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 324, in _parse_and_recurse for line in self._parse_file(filename, constraint): File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 353, in _parse_file _, content = get_file_content(filename, self._session) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/req/req_file.py", line 518, in get_file_content resp = session.get(url) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_internal/network/session.py", line 454, in request return super().request(method, url, *args, **kwargs) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 697, in send r.content File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/models.py", line 836, in content self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b'' File "/Users/mfansler/miniconda3/envs/foo/lib/python3.9/site-packages/pip/_vendor/requests/models.py", line 769, in generate chunk = self.raw.read(chunk_size) AttributeError: 'FileNotFoundError' object has no attribute 'read'
17,018
pypa/pip
pypa__pip-10282
b400ee3a7abe88a8ff8ee137c0d7c3b04788ec58
diff --git a/src/pip/_internal/models/link.py b/src/pip/_internal/models/link.py --- a/src/pip/_internal/models/link.py +++ b/src/pip/_internal/models/link.py @@ -256,33 +256,33 @@ class _CleanResult(NamedTuple): subdirectory: str hashes: Dict[str, str] - @classmethod - def from_link(cls, link: Link) -> "_CleanResult": - parsed = link._parsed_url - netloc = parsed.netloc.rsplit("@", 1)[-1] - # According to RFC 8089, an empty host in file: means localhost. - if parsed.scheme == "file" and not netloc: - netloc = "localhost" - fragment = urllib.parse.parse_qs(parsed.fragment) - if "egg" in fragment: - logger.debug("Ignoring egg= fragment in %s", link) - try: - # If there are multiple subdirectory values, use the first one. - # This matches the behavior of Link.subdirectory_fragment. - subdirectory = fragment["subdirectory"][0] - except (IndexError, KeyError): - subdirectory = "" - # If there are multiple hash values under the same algorithm, use the - # first one. This matches the behavior of Link.hash_value. - hashes = {k: fragment[k][0] for k in _SUPPORTED_HASHES if k in fragment} - return cls( - parsed=parsed._replace(netloc=netloc, query="", fragment=""), - query=urllib.parse.parse_qs(parsed.query), - subdirectory=subdirectory, - hashes=hashes, - ) + +def _clean_link(link: Link) -> _CleanResult: + parsed = link._parsed_url + netloc = parsed.netloc.rsplit("@", 1)[-1] + # According to RFC 8089, an empty host in file: means localhost. + if parsed.scheme == "file" and not netloc: + netloc = "localhost" + fragment = urllib.parse.parse_qs(parsed.fragment) + if "egg" in fragment: + logger.debug("Ignoring egg= fragment in %s", link) + try: + # If there are multiple subdirectory values, use the first one. + # This matches the behavior of Link.subdirectory_fragment. + subdirectory = fragment["subdirectory"][0] + except (IndexError, KeyError): + subdirectory = "" + # If there are multiple hash values under the same algorithm, use the + # first one. This matches the behavior of Link.hash_value. + hashes = {k: fragment[k][0] for k in _SUPPORTED_HASHES if k in fragment} + return _CleanResult( + parsed=parsed._replace(netloc=netloc, query="", fragment=""), + query=urllib.parse.parse_qs(parsed.query), + subdirectory=subdirectory, + hashes=hashes, + ) @functools.lru_cache(maxsize=None) def links_equivalent(link1: Link, link2: Link) -> bool: - return _CleanResult.from_link(link1) == _CleanResult.from_link(link2) + return _clean_link(link1) == _clean_link(link2)
`AttributeError: type object '_CleanResult' has no attribute 'from_link'` crash on v21.2.3 ### Description `AttributeError` raised during `pip install -r requirements.txt` ### Expected behavior Installation should not raise error ### pip version 21.2.3 ### Python version 3.6.14 ### OS Docker image `python:3.6.0 sha256:a1782fa44ef7b53a653d51e20b961b90847ee6b6b95eeba619db8aa8b868e440` ### How to Reproduce 1. Install pip 21.2.3 globally: `pip install -U pip==21.2.3` 2. Run `pip install -r requirements.txt`. `requirements.txt` looks like: ``` Django==3.0.2 psycopg2-binary==2.8.4 mysqlclient==1.4.6 ujson==2.0.2 uWSGI==2.0.18 jsonschema==3.2.0 pyotp==2.3.0 qrcode[pil]==6.1 filelock==3.0.12 pyparsing==2.4.6 validate-email==1.3 python-dateutil==2.8.1 password-hashing-python==0.3.0 quick-email==0.5.0 ``` 3. `AttributeError` is raised I wish I could provide more than that. ### Output ```sh-session ERROR: Exception: Traceback (most recent call last): File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 173, in _main status = self.run(options, args) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 316, in run reqs, check_supported_wheels=not options.target_dir File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve collected.requirements, max_rounds=try_to_avoid_resolution_too_deep File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 366, in resolve failure_causes = self._attempt_to_pin_criterion(name) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 212, in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 203, in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 168, in _add_to_criteria candidates=build_iter_view(matches), File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", line 164, in build_iter_view matches = list(matches) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 417, in <genexpr> and all(req.is_satisfied_by(c) for req in requirements[identifier]) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 417, in <genexpr> and all(req.is_satisfied_by(c) for req in requirements[identifier]) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/requirements.py", line 39, in is_satisfied_by return candidate == self.candidate File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 172, in __eq__ return links_equivalent(self._link, other._link) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/models/link.py", line 288, in links_equivalent return _CleanResult.from_link(link1) == _CleanResult.from_link(link2) AttributeError: type object '_CleanResult' has no attribute 'from_link' ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
Thanks for the report. This looks like yet another Python patch-level typing incompatibility. https://docs.python.org/3.6/library/typing.html#typing.NamedTuple > *Changed in version 3.6.1:* Added support for default values, methods, and docstrings. So everything *other than* 3.6.0 is fine, which is why we didn’t get this earlier. I hope Python never does this again, this 3.6.x compatibility level thing is painful.
2021-08-07T02:27:24Z
[]
[]
Traceback (most recent call last): File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 173, in _main status = self.run(options, args) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 316, in run reqs, check_supported_wheels=not options.target_dir File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve collected.requirements, max_rounds=try_to_avoid_resolution_too_deep File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 366, in resolve failure_causes = self._attempt_to_pin_criterion(name) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 212, in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 203, in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 168, in _add_to_criteria candidates=build_iter_view(matches), File "/builds/.venv/lib/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", line 164, in build_iter_view matches = list(matches) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 417, in <genexpr> and all(req.is_satisfied_by(c) for req in requirements[identifier]) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 417, in <genexpr> and all(req.is_satisfied_by(c) for req in requirements[identifier]) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/requirements.py", line 39, in is_satisfied_by return candidate == self.candidate File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 172, in __eq__ return links_equivalent(self._link, other._link) File "/builds/.venv/lib/python3.6/site-packages/pip/_internal/models/link.py", line 288, in links_equivalent return _CleanResult.from_link(link1) == _CleanResult.from_link(link2) AttributeError: type object '_CleanResult' has no attribute 'from_link'
17,019
pypa/pip
pypa__pip-10507
0f21fb920647f07439c3ec9fb29579c0e00072ec
diff --git a/src/pip/_internal/distributions/installed.py b/src/pip/_internal/distributions/installed.py --- a/src/pip/_internal/distributions/installed.py +++ b/src/pip/_internal/distributions/installed.py @@ -11,8 +11,10 @@ class InstalledDistribution(AbstractDistribution): """ def get_metadata_distribution(self) -> BaseDistribution: + from pip._internal.metadata.pkg_resources import Distribution as _Dist + assert self.req.satisfied_by is not None, "not actually installed" - return self.req.satisfied_by + return _Dist(self.req.satisfied_by) def prepare_distribution_metadata( self, finder: PackageFinder, build_isolation: bool
21.3 regression with legacy resolver Assuming the following project with an empty `pyproject.toml` and the following `setup.cfg`: ```ini [metadata] name = pkgb version = 1.0 [options] install_requires = wrapt ``` We get the following stack trace, using pip main branch, today: ```console $ pip install --use-deprecated=legacy-resolver -e ./pkgb Obtaining file:///home/me/tmp/brol/pkgb Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Requirement already satisfied: wrapt in /home/me/.virtualenvs/tempenv-49ea1126817e6/lib/python3.8/site-packages (from pkgb==1.0) (1.12.1) ERROR: Exception: Traceback (most recent call last): File "/home/me/pip/src/pip/_internal/cli/base_command.py", line 179, in exc_logging_wrapper status = run_func(*args) File "/home/me/pip/src/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "/home/me/pip/src/pip/_internal/commands/install.py", line 334, in run requirement_set = resolver.resolve( File "/home/me/pip/src/pip/_internal/resolution/legacy/resolver.py", line 181, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/home/me/pip/src/pip/_internal/resolution/legacy/resolver.py", line 382, in _resolve_one _check_dist_requires_python( File "/home/me/pip/src/pip/_internal/resolution/legacy/resolver.py", line 75, in _check_dist_requires_python requires_python = str(dist.requires_python) File "/home/me/pip/src/pip/_vendor/pkg_resources/__init__.py", line 2816, in __getattr__ return getattr(self._provider, attr) AttributeError: 'PathMetadata' object has no attribute 'requires_python' ```
I don't understand what's happening here. @uranusjr can you help ? It's probably related to some of the importlib.metadata abstraction I made. I'll investigate next week (busy weekend). The `dist` in the `_check_dist_requires_python` should not be a `PathMetadata` object, but the `Distribution` abstraction class defined in `pip._internal.metadata`. Something in the call chain passed an incorrect value.
2021-09-26T04:04:15Z
[]
[]
Traceback (most recent call last): File "/home/me/pip/src/pip/_internal/cli/base_command.py", line 179, in exc_logging_wrapper status = run_func(*args) File "/home/me/pip/src/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "/home/me/pip/src/pip/_internal/commands/install.py", line 334, in run requirement_set = resolver.resolve( File "/home/me/pip/src/pip/_internal/resolution/legacy/resolver.py", line 181, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/home/me/pip/src/pip/_internal/resolution/legacy/resolver.py", line 382, in _resolve_one _check_dist_requires_python( File "/home/me/pip/src/pip/_internal/resolution/legacy/resolver.py", line 75, in _check_dist_requires_python requires_python = str(dist.requires_python) File "/home/me/pip/src/pip/_vendor/pkg_resources/__init__.py", line 2816, in __getattr__ return getattr(self._provider, attr) AttributeError: 'PathMetadata' object has no attribute 'requires_python'
17,030
pypa/pip
pypa__pip-10697
9cf35b25e25a47b41480d5b2dc82b8ebd1eeb6a0
diff --git a/src/pip/_internal/req/req_uninstall.py b/src/pip/_internal/req/req_uninstall.py --- a/src/pip/_internal/req/req_uninstall.py +++ b/src/pip/_internal/req/req_uninstall.py @@ -527,7 +527,7 @@ def from_dist(cls, dist: BaseDistribution) -> "UninstallPathSet": # above, so this only covers the setuptools-style editable. with open(develop_egg_link) as fh: link_pointer = os.path.normcase(fh.readline().strip()) - assert link_pointer == dist_location, ( + assert os.path.samefile(link_pointer, dist_location), ( f"Egg-link {link_pointer} does not match installed location of " f"{dist.raw_name} (at {dist_location})" )
Unable to delete packages installed as editable from Windows junction link ### Description If a package with a path containing a Windows junction link is installed as editable, an egg-link `AssertionError` occurs that the package path does not match when uninstalling. ``` AssertionError: Egg-link \path\that\link\include\test_pkg does not match installed location of test-pkg (at \real\package\path) ``` ### Expected behavior Deleting or reinstalling packages should not raise `AssertionError: Egg-link`. ### pip version 21.2.2 ### Python version 3.8.8 ### OS Windows 10 (version 1909) ### How to Reproduce ```batch # Create or locate test package to original directory code src\test_pkg # Make junction link mklink /J src-link src # Install package over junction link path cd src-link\test_pkg pip install -e . # Uninstall or re-install package over junction link pip uninstall test_pkg >> Raise AssertionError ``` ### Output ```sh-session ERROR: Exception: Traceback (most recent call last): File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\cli\req_command.py", line 203, in wrapper return func(self, options, args) File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\commands\install.py", line 390, in run installed = install_given_reqs( File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\req\__init__.py", line 66, in install_given_reqs uninstalled_pathset = requirement.uninstall( File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\req\req_install.py", line 632, in uninstall uninstalled_pathset = UninstallPathSet.from_dist(dist) File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\req\req_uninstall.py", line 527, in from_dist assert (link_pointer == dist.location), ( AssertionError: Egg-link e:\workspace-link\test_pkg does not match installed location of test-pkg (at e:\workspace\test_pkg) ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
2021-12-01T07:27:38Z
[]
[]
Traceback (most recent call last): File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\cli\req_command.py", line 203, in wrapper return func(self, options, args) File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\commands\install.py", line 390, in run installed = install_given_reqs( File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\req\__init__.py", line 66, in install_given_reqs uninstalled_pathset = requirement.uninstall( File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\req\req_install.py", line 632, in uninstall uninstalled_pathset = UninstallPathSet.from_dist(dist) File "C:\Users\jiunbae\conda\lib\site-packages\pip\_internal\req\req_uninstall.py", line 527, in from_dist assert (link_pointer == dist.location), ( AssertionError: Egg-link e:\workspace-link\test_pkg does not match installed location of test-pkg (at e:\workspace\test_pkg)
17,047
pypa/pip
pypa__pip-10716
b8ccb04ffd1ead19ec0db8411fccac5b420d3fed
diff --git a/src/pip/_internal/commands/configuration.py b/src/pip/_internal/commands/configuration.py --- a/src/pip/_internal/commands/configuration.py +++ b/src/pip/_internal/commands/configuration.py @@ -228,9 +228,15 @@ def open_in_editor(self, options: Values, args: List[str]) -> None: fname = self.configuration.get_file_to_edit() if fname is None: raise PipError("Could not determine appropriate file.") + elif '"' in fname: + # This shouldn't happen, unless we see a username like that. + # If that happens, we'd appreciate a pull request fixing this. + raise PipError( + f'Can not open an editor for a file name containing "\n{fname}' + ) try: - subprocess.check_call([editor, fname]) + subprocess.check_call(f'{editor} "{fname}"', shell=True) except FileNotFoundError as e: if not e.filename: e.filename = editor
pip config and $EDITOR containing arguments **Environment** * pip version: 19.2.3 * Python version: 3.8 * OS: Linux <!-- Feel free to add more information about your environment here --> **Description** <!-- A clear and concise description of what the bug is. --> `pip config edit` is supposed to open the program specified by environment variable Editor if it's set. Actually if the env is a program with its options, pip will treat the whole thing as the program name and throws a FileNotFoundError. **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> pip config edit open the editor with options set. **How to Reproduce** <!-- Describe the steps to reproduce this bug. --> 1. `export EDITOR="nvim --noplugin"; pip config edit` **Output** ``` ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in main status = self.run(options, args) File "/usr/lib/python3.8/site-packages/pip/_internal/commands/configuration.py", line 136, in run handlers[action](options, args[1:]) File "/usr/lib/python3.8/site-packages/pip/_internal/commands/configuration.py", line 216, in open_in_editor subprocess.check_call([editor, fname]) File "/usr/lib/python3.8/subprocess.py", line 359, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python3.8/subprocess.py", line 340, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'nvim #--noplugin' ``` My Fix #7391
There is some discussion on the associated PR #7391. I remember researching this. There wasn't any reference material for $editor that involved arguments. That said, if git and svn (both) support this form of invocation, that's a strong argument in support of allowing this. If either doesn't, I don't know how we should go about this. Regardless, we should definitely print a nicer error message here IMO. `SVN_EDITOR` supports it per [this](http://svnbook.red-bean.com/en/1.8/svn.advanced.externaleditors.html) snippet: > The value of [`EDITOR`] is the beginning of a command line to be executed by the shell. Subversion appends to that command line a space and the pathname of a temporary file to be edited. A quick test shows git supports it too: ``` #!/bin/bash cd "$(mktemp -d)" mkdir "example path" cd "example path" git init cat <<'EOF' > script #!/bin/sh printf "%s\n" "$@" > args.txt EOF chmod +x script git add . EDITOR="'$PWD/script' hello world" git commit echo ========= Result ========= cat args.txt ``` yields ``` Initialized empty Git repository in /tmp/user/1000/tmp.WJdV4vgEQd/example path/.git/ Aborting commit due to empty commit message. ========= Result ========= hello world /tmp/user/1000/tmp.WJdV4vgEQd/example path/.git/COMMIT_EDITMSG ``` I would be in favor of this depending on the approach. We can discuss that on #7391. For anyone that wants to implement this, please see #7391 which shows where the change needs to happen and [#7391 (comment)](https://github.com/pypa/pip/pull/7391#pullrequestreview-335613001) which has advice to improve that approach. We would be happy to review a PR that implements this taking those into account. I would like to resolve this issue. Hi @gutsytechster! My previous comment still stands. The first place I would start is figuring out a way to get `shutil.which`-compatible behavior on Python 2 (like mentioned in [#7391 (comment)](https://github.com/pypa/pip/pull/7391#issuecomment-572984530). If having a `shutil.which`-compatible version in Python 2 looks like too much work, then we can either make it work in Python 3 only or wait until we drop Python 2 support. I would not spend too much time trying to get a Python 2 version to work nicely, maybe 15 minutes before doing Python 3 only. Feel free to drop a comment with what you find out, or submit a PR if you're comfortable with your approach! An alternative to `shutil.which` for Python2 can be implemented as ``` >>> def which(pgm): path=os.getenv('PATH') for p in path.split(os.path.pathsep): p=os.path.join(p,pgm) if os.path.exists(p) and os.access(p,os.X_OK): return p >>> os.which=which >>> os.which('ls.exe') 'C:\\GNUwin32\\bin\\ls.exe' ``` A quick search over the web leaded to me this implementation. Reference:- https://stackoverflow.com/questions/9877462/is-there-a-python-equivalent-to-the-which-command. What do you think about this @chrahunt? On Windows it would also need to check `PATHEXT`. And we'd need tests for the same. Given that, I would no longer implement this for Python 2. We can just use the existing behavior for Python 2 and handle args in Python 3. I see. Thanks, I'll then put up a PR to implement this on Python3. @chrahunt, In the suggested implementation here, https://github.com/pypa/pip/pull/7391#pullrequestreview-335613001, what would be the case when the code under `if os.path.exists(editor)` would execute? To me this condition and the first condition i.e. `shutil.which(editor)` looks similar. I mean, if the path would exist, then the first condition would already return `True`, won't it? Also currently, the way that code executes is like this. | input | Python 2 | Python 3 | | ------- |--------------- |--------------| | `vim`| `[vim]` | `[/usr/bin/vim]` | | `vim --nofork` | `[vim --nofork]` | `[vim, --nofork]`| Since the behaviour is not changed for Python 2, the output is similar to what is being provided to it as an editor. However for Python 3, if a single argument ie the application is provided, then it returns an absolute path to the executable but when an application is provided with arguments, the arguments are separated by space. Should it behave like that? This is w.r.t #8612 I've been reading the discussion over GH-7391 and I also favor passing the raw `EDITOR` with `shell=True`, for the following reasons: * It would just works as the user would expect/experience in other CLI tools, with all kind of obscure values for `EDITOR` * We won't have to deal with the pain of shell *un*quoting, e.g. `EDITOR="vim -S 'some weird path to additional rc'"`. I believe `shlex.split()` already deals with quoting and unquoting correctly. You can pass the splitted result directly into `subprocess` and it would just work. How do other tools (e.g. SVN, Git) handle this environment variable? > I believe shlex.split() already deals with quoting and unquoting correctly. You can pass the splitted result directly into subprocess and it would just work. You're right, I've just checked this again. > How do other tools (e.g. SVN, Git) handle this environment variable? git seems to handle it out-of-box, e.g. with ```sh #!/bin/sh cd $(mktemp -d) mkdir example\ path cp ~/.vim/vimrc example\ path git init git add . EDITOR="vim -S 'example path/vimrc'" git commit ``` I don't understand why we need `shutil.which` though. I should be clearer. I was wondering how other tools implement this feature, e.g. do they use something analogous to `shell=True`? I've just taken a peak at git's source and [it uses shell too](https://github.com/git/git/blob/a7d14a44285d3ec4b25bf9e3b7df701221350661/editor.c#L84). So, how do we want to proceed with it? This question https://github.com/pypa/pip/issues/7392#issuecomment-663652892 still stands. ping^^ I feel we should yield and just use `shell=True` if needed. I still think it’s wrong, but it is what users expect because everybody is doing it. I'll just add a popular use case to the discussion - using [vscode as a git editor](https://code.visualstudio.com/docs/editor/versioncontrol#_vs-code-as-git-editor). @gutsytechster - About https://github.com/pypa/pip/issues/7392#issuecomment-663652892, what if we change the logic to: ```python ... result = shutil.which(editor) if result or os.path.exists(editor): return [editor] return shlex.split(editor) ``` So if the users command works - we just use that without changing it. This removes the odd behavior of changing to absolute path, but keeps everything else working. Just tripped across this issue. I have `EDITOR='subl -w'` which works great with git but crashes pip Yep, just hit this one too. Is there any workaround? ``` $ pip -V pip 21.3.1 from /opt/homebrew/lib/python3.10/site-packages/pip (python 3.10) ``` As a workaround, you can have a small script that invokes your editor with your preferred arguments, and put that script's name into your `EDITOR` variable. There's no real documentation on `EDITOR` that I could find, and in particular nothing that says it allows arguments. [This SO question](https://stackoverflow.com/questions/8299610/zsh-command-not-found-for-editor) indicates that zsh has the same behaviour as pip currently does.
2021-12-08T18:44:43Z
[]
[]
Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in main status = self.run(options, args) File "/usr/lib/python3.8/site-packages/pip/_internal/commands/configuration.py", line 136, in run handlers[action](options, args[1:]) File "/usr/lib/python3.8/site-packages/pip/_internal/commands/configuration.py", line 216, in open_in_editor subprocess.check_call([editor, fname]) File "/usr/lib/python3.8/subprocess.py", line 359, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python3.8/subprocess.py", line 340, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'nvim #--noplugin'
17,048
pypa/pip
pypa__pip-10819
79e6237aa63b8b9ee7ffc1bcf7c1c98ab7f62cdc
diff --git a/src/pip/_internal/commands/configuration.py b/src/pip/_internal/commands/configuration.py --- a/src/pip/_internal/commands/configuration.py +++ b/src/pip/_internal/commands/configuration.py @@ -225,6 +225,10 @@ def open_in_editor(self, options: Values, args: List[str]) -> None: try: subprocess.check_call([editor, fname]) + except FileNotFoundError as e: + if not e.filename: + e.filename = editor + raise except subprocess.CalledProcessError as e: raise PipError( "Editor Subprocess exited with exit code {}".format(e.returncode)
Improve error message when `pip config edit` is provided an editor that doesn't exist ### Description If you run `pip config --edit` with an editor that doesn't exist, pip presents a traceback. ### Expected behavior `pip` would present a clear error message, about which file could not be found. ### pip version 21.3.1 ### Python version N/A ### OS Windows ### How to Reproduce Run `pip config edit --editor code` on a Windows machine without VSCode installed. ### Output ```sh-session C:\Users\traveler\Desktop\pip>py -m pip config edit --editor code ERROR: Exception: Traceback (most recent call last): File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\commands\configuration.py", line 128, in run handlers[action](options, args[1:]) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\commands\configuration.py", line 225, in open_in_editor subprocess.check_call([editor, fname]) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 364, in check_call retcode = call(*popenargs, **kwargs) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 345, in call with Popen(*popenargs, **kwargs) as p: File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
2022-01-22T08:36:37Z
[]
[]
Traceback (most recent call last): File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\commands\configuration.py", line 128, in run handlers[action](options, args[1:]) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\commands\configuration.py", line 225, in open_in_editor subprocess.check_call([editor, fname]) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 364, in check_call retcode = call(*popenargs, **kwargs) File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 345, in call with Popen(*popenargs, **kwargs) as p: File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\traveler\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
17,050
pypa/pip
pypa__pip-1095
b262aa39220d7ff7731fbc82b758461947b5c927
diff --git a/pip/pep425tags.py b/pip/pep425tags.py --- a/pip/pep425tags.py +++ b/pip/pep425tags.py @@ -1,6 +1,7 @@ """Generate and work with PEP 425 Compatibility Tags.""" import sys +import warnings try: import sysconfig @@ -25,10 +26,7 @@ def get_abbr_impl(): def get_impl_ver(): """Return implementation version.""" - impl_ver = sysconfig.get_config_var("py_version_nodot") - if not impl_ver: - impl_ver = ''.join(map(str, sys.version_info[:2])) - return impl_ver + return ''.join(map(str, sys.version_info[:2])) def get_platform(): @@ -58,7 +56,12 @@ def get_supported(versions=None, noarch=False): abis = [] - soabi = sysconfig.get_config_var('SOABI') + try: + soabi = sysconfig.get_config_var('SOABI') + except IOError as e: # Issue #1074 + warnings.warn("{0}".format(e), RuntimeWarning) + soabi = None + if soabi and soabi.startswith('cpython-'): abis[0:0] = ['cp' + soabi.split('-', 1)[-1]] @@ -74,7 +77,7 @@ def get_supported(versions=None, noarch=False): if not noarch: arch = get_platform() - + # Current version, current API (built specifically for our Python): for abi in abis: supported.append(('%s%s' % (impl, versions[0]), abi, arch))
Unable to find venv/lib/python2.7/config/Makefile Seems the path is getting mangled. It's supposed to be looking for **/usr/local/myapp/venv/lib/python2.7/config/Makefile** but is actually looking for **/usr/myapp/venv/lib/python2.7/config/Makefile** (dropping the local) - Ubuntu 12.04 - Python 2.7.3 - pip 1.4 - virtualenv 1.7.1.2 ``` Traceback (most recent call last): File "/usr/local/myapp/venv/bin/pip", line 9, in <module> load_entry_point('pip==1.4', 'console_scripts', 'pip')() File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 11, in <module> from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/vcs/subversion.py", line 4, in <module> from pip.index import Link File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/index.py", line 32, in <module> from pip.wheel import Wheel, wheel_ext, wheel_setuptools_support, setuptools_requirement File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/wheel.py", line 18, in <module> from pip import pep425tags File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/pep425tags.py", line 98, in <module> supported_tags = get_supported() File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/pep425tags.py", line 61, in get_supported soabi = sysconfig.get_config_var('SOABI') File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var return get_config_vars().get(name) File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python2.7/sysconfig.py", line 344, in _init_posix raise IOError(msg) IOError: invalid Python installation: unable to open /usr/myapp/venv/lib/python2.7/config/Makefile (No such file or directory) ```
cc @dholth maybe a corner case here, but a try/except around these sysconfig calls may be in order. pip didn't cause this per se, but we're exposing it. note that virtualenv patches sysconfig, but that patch logic has been static, even going back to v1.7 it seems. https://github.com/pypa/virtualenv/commits/develop/virtualenv_embedded/distutils-init.py maybe it's just a sysconfig bug, or a debian bug. not sure That variable isn't even important/available until Python 3.3ish. You won't lose anything by guarding it. There is a second use of sysconfig in that module but it's just to get the python version.
2013-07-28T03:54:11Z
[]
[]
Traceback (most recent call last): File "/usr/local/myapp/venv/bin/pip", line 9, in <module> load_entry_point('pip==1.4', 'console_scripts', 'pip')() File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 11, in <module> from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/vcs/subversion.py", line 4, in <module> from pip.index import Link File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/index.py", line 32, in <module> from pip.wheel import Wheel, wheel_ext, wheel_setuptools_support, setuptools_requirement File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/wheel.py", line 18, in <module> from pip import pep425tags File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/pep425tags.py", line 98, in <module> supported_tags = get_supported() File "/usr/local/myapp/venv/local/lib/python2.7/site-packages/pip/pep425tags.py", line 61, in get_supported soabi = sysconfig.get_config_var('SOABI') File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var return get_config_vars().get(name) File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python2.7/sysconfig.py", line 344, in _init_posix raise IOError(msg) IOError: invalid Python installation: unable to open /usr/myapp/venv/lib/python2.7/config/Makefile (No such file or directory)
17,058
pypa/pip
pypa__pip-11112
d0c89a151c82a91161477cc9b385833efc18289a
diff --git a/src/pip/_internal/build_env.py b/src/pip/_internal/build_env.py --- a/src/pip/_internal/build_env.py +++ b/src/pip/_internal/build_env.py @@ -175,8 +175,10 @@ def check_requirements( ) for req_str in reqs: req = Requirement(req_str) - if req.marker is not None and not req.marker.evaluate(): - continue # FIXME: Consider extras? + # We're explicitly evaluating with an empty extra value, since build + # environments are not provided any mechanism to select specific extras. + if req.marker is not None and not req.marker.evaluate({"extra": ""}): + continue dist = env.get_distribution(req.name) if not dist: missing.add(req_str)
22.1: Editable installs for packages with extras & flit causes `UndefinedEnvironmentName` ### Description First of all, thanks for `pip` and for taking the time to read this issue! We use editable installs on [sigstore-python](https://github.com/sigstore/sigstore-python) to provide a convenient development environment. For example, either with or without the `dev` extra: ``` pip install --editable . pip install --editable .[dev] ``` Our dependencies are entirely managed within a `pyproject.toml`, with a small stub `setup.py` to help `pip` do an editable install. Up until `pip==22.1`, these commands worked just fine. Upon upgrading to `22.1` (released today), we get this error: ``` File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 215, in _get_env raise UndefinedEnvironmentName( pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment. ``` (I've truncated the traceback. I'll paste the full-length trace below.) When I run with `--debug`, I see that the `dev` extra is being passed in as an environment marker, which then fails since `extra` is not included in the marker environment. ![image](https://user-images.githubusercontent.com/3059210/167964052-9a650ccc-8562-417e-bbe0-c9f5790738d2.png) <img width="933" alt="Screen Shot 2022-05-11 at 7 34 06 PM" src="https://user-images.githubusercontent.com/3059210/167964111-4fef9399-51c8-4e82-9ed2-d1d31034dc46.png"> ### Expected behavior I expect `pip install --editable .` to behave the same as it did in the last stable release (22.0.4), i.e. install correctly with no errors. ### pip version 22.1 ### Python version 3.10.0 ### OS macOS 12.3.1 ### How to Reproduce These steps should reproduce the failure: ```bash git clone https://github.com/sigstore/sigstore-python && cd sigstore-python make dev ``` If that fails to pull down the latest `pip` for whatever reason, you can do it explicitly: ```bash git clone https://github.com/sigstore/sigstore-python && cd sigstore-python python -m venv env && source env/bin/activate pip install --upgrade pip pip install --editable . ``` ### Output ```sh-session Obtaining file:///Users/william/devel/sigstore-python Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' ERROR: Exception: Traceback (most recent call last): File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper status = run_func(*args) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper return func(self, options, args) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 340, in run requirement_set = resolver.resolve( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve collected = self.factory.collect_root_requirements(root_reqs) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements req = self._make_requirement_from_install_req( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req cand = self._make_candidate_from_link( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 188, in _make_candidate_from_link self._editable_candidate_cache[link] = EditableCandidate( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 316, in __init__ super().__init__( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 161, in __init__ self.dist = self._prepare() File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 230, in _prepare dist = self._prepare_distribution() File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 326, in _prepare_distribution return self._factory.preparer.prepare_editable_requirement(self._ireq) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 543, in prepare_editable_requirement dist = _get_prepared_distribution( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 57, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata(finder, build_isolation) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 45, in prepare_distribution_metadata self._install_build_reqs(finder) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 114, in _install_build_reqs conflicting, missing = self.req.build_env.check_requirements(build_reqs) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/build_env.py", line 178, in check_requirements if req.marker is not None and not req.marker.evaluate(): File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 304, in evaluate return _evaluate_markers(self._markers, current_environment) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 234, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 215, in _get_env raise UndefinedEnvironmentName( pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment. ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
2022-05-12T00:05:32Z
[]
[]
Traceback (most recent call last): File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper status = run_func(*args) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper return func(self, options, args) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 340, in run requirement_set = resolver.resolve( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve collected = self.factory.collect_root_requirements(root_reqs) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements req = self._make_requirement_from_install_req( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req cand = self._make_candidate_from_link( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 188, in _make_candidate_from_link self._editable_candidate_cache[link] = EditableCandidate( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 316, in __init__ super().__init__( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 161, in __init__ self.dist = self._prepare() File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 230, in _prepare dist = self._prepare_distribution() File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 326, in _prepare_distribution return self._factory.preparer.prepare_editable_requirement(self._ireq) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 543, in prepare_editable_requirement dist = _get_prepared_distribution( File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 57, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata(finder, build_isolation) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 45, in prepare_distribution_metadata self._install_build_reqs(finder) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 114, in _install_build_reqs conflicting, missing = self.req.build_env.check_requirements(build_reqs) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_internal/build_env.py", line 178, in check_requirements if req.marker is not None and not req.marker.evaluate(): File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 304, in evaluate return _evaluate_markers(self._markers, current_environment) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 234, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "/Users/william/devel/sigstore-python/env/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 215, in _get_env raise UndefinedEnvironmentName( pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment.
17,068
pypa/pip
pypa__pip-11298
0231a1d9b69e4e1db9b158d112451a934355c869
diff --git a/src/pip/_internal/locations/_distutils.py b/src/pip/_internal/locations/_distutils.py --- a/src/pip/_internal/locations/_distutils.py +++ b/src/pip/_internal/locations/_distutils.py @@ -3,6 +3,17 @@ # The following comment should be removed at some point in the future. # mypy: strict-optional=False +# If pip's going to use distutils, it should not be using the copy that setuptools +# might have injected into the environment. This is done by removing the injected +# shim, if it's injected. +# +# See https://github.com/pypa/pip/issues/8761 for the original discussion and +# rationale for why this is done within pip. +try: + __import__("_distutils_hack").remove_shim() +except ImportError: + pass + import logging import os import sys
Unable to upgrade setuptools with adopted distutils **Environment** * pip version: 20.2.2 * Python version: 3.8.5 * OS: macOS 10.15.6 <!-- Feel free to add more information about your environment here --> **Description** In pypa/setuptools#417, Setuptools is seeking to adopt distutils. With the current release (49.6), Setuptools has a vendored copy of distutils, but that copy is not activated except when `SETUPTOOLS_USE_DISTUTILS=local` in the environment. In pypa/setuptools#2259, the team identified the need to make the distutils replacement more aggressive so that packages that `import distutils` before `import setuptools` would get the version from Setuptools (and not some unfortunate mix). This behavior was released in Setuptools 49.3, but still dormant unless `SETUPTOOLS_USE_DISTUTILS=local`. In pypa/setuptools#2255, we're seeking to make that behavior the default (opt-out with `SETUPTOOLS_USE_DISTUTILS=stdlib`), but the test suite caught an undesirable behavior when attempting to upgrade setuptools--it seems that there's a race condition in pip when the distutils that setuptools is supplying disappears during an upgrade. **Expected behavior** `pip` should be able to upgrade setuptools even when setuptools supplies distutils. **How to Reproduce** 1. Install setuptools 49.3 or later. 2. Install any other version of setuptools with `SETUPTOOLS_USE_DISTUTILS=local` set. **Output** ``` draft $ virtualenv env --no-setuptools created virtual environment CPython3.8.5.final.0-64 in 271ms creator CPython3Posix(dest=/Users/jaraco/draft/env, clear=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/Users/jaraco/Library/Application Support/virtualenv) added seed packages: pip==20.2.1, wheel==0.34.2 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator draft $ env/bin/pip install 'setuptools<49.6' Collecting setuptools<49.6 Using cached setuptools-49.5.0-py3-none-any.whl (803 kB) Installing collected packages: setuptools Successfully installed setuptools-49.5.0 draft $ env SETUPTOOLS_USE_DISTUTILS=local env/bin/pip install setuptools==49.6 Collecting setuptools==49.6 Using cached setuptools-49.6.0-py3-none-any.whl (803 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 49.5.0 Uninstalling setuptools-49.5.0: Successfully uninstalled setuptools-49.5.0 Rolling back uninstall of setuptools Moving to /Users/jaraco/draft/env/bin/easy_install from /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-uninstall-0v5mjgxu/easy_install Moving to /Users/jaraco/draft/env/bin/easy_install-3.8 from /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-uninstall-0v5mjgxu/easy_install-3.8 Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/__pycache__/easy_install.cpython-38.pyc from /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-uninstall-jg6byxv1/easy_install.cpython-38.pyc Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/_distutils_hack/ from /Users/jaraco/draft/env/lib/python3.8/site-packages/~distutils_hack Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/distutils-precedence.pth from /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-uninstall-te4egp43/distutils-precedence.pth Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/easy_install.py from /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-uninstall-te4egp43/easy_install.py Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/pkg_resources/ from /Users/jaraco/draft/env/lib/python3.8/site-packages/~kg_resources Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools-49.5.0.dist-info/ from /Users/jaraco/draft/env/lib/python3.8/site-packages/~etuptools-49.5.0.dist-info Moving to /Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/ from /Users/jaraco/draft/env/lib/python3.8/site-packages/~etuptools ERROR: Exception: Traceback (most recent call last): File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 216, in _main status = self.run(options, args) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper return func(self, options, args) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 412, in run installed = install_given_reqs( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/req/__init__.py", line 82, in install_given_reqs requirement.install( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 778, in install scheme = get_scheme( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/locations.py", line 185, in get_scheme scheme = distutils_scheme( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/locations.py", line 125, in distutils_scheme i.finalize_options() File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 381, in finalize_options self.set_undefined_options('build', File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 286, in set_undefined_options src_cmd_obj = self.distribution.get_command_obj(src_cmd) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 858, in get_command_obj klass = self.get_command_class(command) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/dist.py", line 771, in get_command_class return _Distribution.get_command_class(self, command) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 844, in get_command_class raise DistutilsModuleError("invalid command '%s'" % command) distutils.errors.DistutilsModuleError: invalid command 'build' ```
cc @pganssle , @ncoghlan , @pfmoore I see the last implicated code in pip is in [locations.distutils_scheme](https://github.com/pypa/pip/blob/4312b940b4c8426fb428809556236b724aace80c/src/pip/_internal/locations.py#L95-L156). I'm pretty sure what's happening here is pip is getting distutils from the installed version of setuptools, and when that version of setuptools is removed, the command discovery no longer works. More importantly, the stdlib version of distutils is intended to be deprecated, so pip will need to find an alternative. Here are some ideas: - A short-term solution could be for pip to vendor setuptools and use `Distribution` from setuptools instead of from distutils. - An even shorter-term solution might be to require users to set `SETUPTOOLS_USE_DISTUTILS=stdlib` when upgrading setuptools with pip (yuck) or have pip do that implicitly (requires new bugfix release(s) of pip). - Setuptools could re-write distutils to eagerly import its commands and avoid resolving them late. - Pip could re-write locations not to rely on distutils, possibly factoring this behavior out into a shared library (packaging?). > * A short-term solution could be for pip to vendor setuptools and use `Distribution` from setuptools instead of from distutils. This feels like it could be a long-term solution, it's hardly a band-aid if `pip` is relying on this behavior that will now live in `setuptools`, though you may be right that factoring out the relevant code into some shared library might be a more surgical approach. > * Setuptools could re-write distutils to eagerly import its commands and avoid resolving them late. I think our short-term solution should be setuptools-based if possible, because we don't have any good way to declare an incompatibility with older versions of `pip`, and if we want to avoid breaking a whole bunch of existing packages / workflows, we'd have to delay the `distutils` adoption until we could be reasonably sure that `pip`'s fix is in. I don't totally understand the potential impact here, but I'm assuming it's just performance at the time you do `import distutils`? It might be worth attempting to profile import times and seeing how much of an impact we're actually having here. Another possible temporary mitigation: - The distutils import hack could detect when pip is importing distutils and in that case disable the local copy. We've done a lot of work to decouple pip from setuptools (as a build backend). It seems like a step backward to just re-couple ourselves to get distutils functionality. Particularly as we'd end up vendoring setuptools, which vendors other stuff that we already vendor (like packaging) increasing our already-large footprint further. So -1 on vendoring setuptools from me. What's the "official" migration strategy for removing distutils from the stdlib? Are any tools that use distutils expected to add a new dependency on setuptools? I've not seen much discussion of this. I note that packaging depends on `distutils.util.get_platform()` - will we now have packaging depend on setuptools as well? That seems like another potential issue - particularly considering the discussion at https://discuss.python.org/t/split-tags-into-a-separate-package/4965/8. My feeling is that pip should continue to use distutils on the basis that it's in the stdlib, until it's officially removed from there. I'd be fine with moving to a non-distutils solution, and I would strongly prefer that as the solution over vendoring setuptools. But I don't feel we need to do anything urgently - until distutils is formally removed from the stdlib, I'd expect to be able to use it. If there's an issue with upgrading setuptools, that's really a matter for how the migration out of the stdlib is handled, and one for setuptools to handle smoothly in the first instance. That's not to say I'm not willing to support the process, but we shouldn't take on significant maintenance burden to do so. > My feeling is that pip should continue to use distutils on the basis that it's in the stdlib, until it's officially removed from there. I'd be fine with moving to a non-distutils solution, and I would strongly prefer that as the solution over vendoring setuptools. But I don't feel we need to do anything urgently - until distutils is formally removed from the stdlib, I'd expect to be able to use it. If there's an issue with upgrading setuptools, that's really a matter for how the migration out of the stdlib is handled, and one for setuptools to handle smoothly in the first instance. I mostly disagree with this idea — people should be attempting to abandon `distutils` *now*, as soon as possible, even though it is not officially deprecated or removed yet. I would say in some ways this is more important for `pip` than other libraries because of how long people tend to continue using `pip`. I also expect that the idea that `distutils` is "in the standard library" will get fuzzier once the `setuptools` adoption takes place. It's already fuzzy because `setuptools` monkey-patches `distutils`, but once the `setuptools` adoption is the default, if you have `setuptools` installed, `import distutils` will no longer come from the standard library. Given that there's a lot of uncertainty about the way forward for dropping `distutils`. I'm thinking maybe it would be a good idea for there to be a PEP for the `distutils` deprecation and removal plan, possibly *before* `setuptools` adoption becomes the default (as much as it pains me to delay it more). > people should be attempting to abandon `distutils` _now_, as soon as possible, even though it is not officially deprecated or removed yet. I agree 100% with this conceptually, but the reality is there are systems everywhere depending on distutils, and pip gets blamed when it tries to “fix” that (#5193 comes to mind). > I agree 100% with this conceptually, but the reality is there are systems everywhere depending on distutils, and pip gets blamed when it tries to “fix” that (#5193 comes to mind). I'm not sure I see how this is relevant. That bug seems to be "debian's weird patching and removal of `distutils` from the standard library breaks stuff", which happens whether or not we drop `distutils` *anyway*. It seems like this (and another issue that came up in `setuptools`) is an extreme version of Debian relying on implementation details. I think we should give Debian maintainers an early head's up to start backing out their changes or getting them implemented upstream in a platform-independent manner or something. This migration is going to be complicated and we should try to disentangle as much of the deep relationships between `distutils` and other packaging tools like `pip` as early in the process as possible, to unblock later changes and minimize the impact of future version incompatibilities ("can't run `pip<20.1 with `setuptools>50`" is not great when those are both in active use). > people should be attempting to abandon distutils now, as soon as possible, even though it is not officially deprecated or removed yet To clarify, what I meant was that we should handle moving off distutils based on the idea that "distutils is going to be dropped from the stdlib". So we have to deal with that, and while it may be a long way off we don't want to leave it till the last minute, conversely we shouldn't treat it as an emergency that needs an immediate band-aid solution. We should focus on getting the solution *right*, because the timescale for pip is about distutils no longer being in the stdlib, not about the intermediate stage where setuptools is trying to expose distutils while it is also still in the stdlib (sorry if I mischaracterise what's going on here, I haven't really been following the migration). And my view is that the right long-term solution is to replace the functionality with something that doesn't need yet another large vendored library just to provide one function. So we should be looking for either a stdlib-based solution, or something that we add to a tool support library like packaging, and definitely *not* pull in a full build backend just to get distribution layout information. And with all that in mind, we have to prioritise the resource we have and dealing with the consequences of distutils disappearing is way down the list right now. Would it be a good idea to make migrating off `distutils` (and probbly also `pkg_resources`) a [fundable project](https://github.com/psf/fundable-packaging-improvements)? Not sure who would be interested in funding it, but this is very well-scoped and largely only requires rigorous (and tedious) work, making it a suitable funded project. > Would it be a good idea to make migrating off distutils (and probably also pkg_resources) a fundable project? Quite likely, in particular as we get closer to any sort of hard deadline. While there's still a relatively large amount of time, I still have some hope that someone might feel inclined to do it as volunteer work. (That's one reason I want to avoid putting undue time pressure on the work - nothing drains enthusiasm more than cries of "we need this yesterday" 🙁) Gentle reminder that in less than a year, Python 3.12 alpha will be released without distutils. Hmm, I think this is done, actually. Since 21.3, pip running on Python 3.10 or later will use sysconfig by default; the distutils code path is still present to support 3.9 and lower (and as a stopgap measure for Python redistributors not yet able to implement a working sysconfig). I don’t think there are any more things left for pip to do. The reported issue applies to all supported versions of Python. Since the plan is for pip to remain reliant on distutils from the stdlib for older Pythons, then I think pip should also be responsible for ensuring that distutils is used, so that Setuptools doesn't need to try to detect if pip is the caller and keep track of which Python versions pip need special treatment. In particular, I'd like to get rid of [this special exemption](https://github.com/pypa/setuptools/blob/b2ba0e39918d58bd6c6b15093ddcdc42605040ce/_distutils_hack/__init__.py#L132-L140). I don't think it's done either. pip [unconditionally imports distutils](https://github.com/pypa/pip/blob/7b6c5c9e7ced238375c11c33284dc26e43847812/src/pip/_internal/locations/_distutils.py#L9). I started drafting a PR to have pip set `SETUPTOOLS_USE_DISTUTILS=stdlib`, but I realized pip can't do that early enough for it to have effect. I'm still trying to figure out a technique by which setuptools doesn't have to infer the presence of pip in order to hide distutils. > pip unconditionally imports distutils. Ah right, I forgot to add a conditional import. Thanks for spotting it. I’ll add some mechanism so the module is only imported if the distutils backend is used. > Since the plan is for pip to remain reliant on distutils from the stdlib for older Pythons, then I think pip should also be responsible for ensuring that distutils is used, so that Setuptools doesn't need to try to detect if pip is the caller and keep track of which Python versions pip need special treatment. Does setting the environment variable all that’s needed? I can incorporate this to the said conditional import mechanism to make this work. How would you recommend to reliably test that the stdlib copy is used in CI? > Does setting the environment variable all that’s needed? I can incorporate this to the said conditional import mechanism to make this work. How would you recommend to reliably test that the stdlib copy is used in CI? I don't think setting an environment will work. Because Setuptools uses a .pth file, the environment variable will already have been evaluated before any runtime has a chance to set it. It's only honored during `import site`. I'm now wondering if pip should invoke something like: ``` with contextlib.suppress(ImportError): __import__('_distutils_hack').remove_shim() ``` (undoing the effect of the .pth file) I'm not loving that approach, but it is in some ways the most direct. Do you have any other ideas? > How would you recommend to reliably test that the stdlib copy is used in CI? Probably `'setuptools' not in distutils.__spec__.origin` (or `'_distutils'`) would work. > ``` > with contextlib.suppress(ImportError): > __import__('_distutils_hack').remove_shim() > ``` I'm happy to just do this on pip's end. FWIW, all of pip's imports of distutils now live within a single module -- https://github.com/pypa/pip/blob/9351efd78b0c0f7814b01188f6e877c5411cf104/src/pip/_internal/locations/_distutils.py We could just add this snippet on top of that module, which should make things work as expected? And, this is now only affecting Python <3.10, since starting with 3.10, pip's using importlib.metadata as the source of truth for loading metadata and sysconfig for the various paths of the packages.
2022-07-24T11:44:50Z
[]
[]
Traceback (most recent call last): File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 216, in _main status = self.run(options, args) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper return func(self, options, args) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 412, in run installed = install_given_reqs( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/req/__init__.py", line 82, in install_given_reqs requirement.install( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 778, in install scheme = get_scheme( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/locations.py", line 185, in get_scheme scheme = distutils_scheme( File "/Users/jaraco/draft/env/lib/python3.8/site-packages/pip/_internal/locations.py", line 125, in distutils_scheme i.finalize_options() File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 381, in finalize_options self.set_undefined_options('build', File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 286, in set_undefined_options src_cmd_obj = self.distribution.get_command_obj(src_cmd) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 858, in get_command_obj klass = self.get_command_class(command) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/dist.py", line 771, in get_command_class return _Distribution.get_command_class(self, command) File "/Users/jaraco/draft/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 844, in get_command_class raise DistutilsModuleError("invalid command '%s'" % command) distutils.errors.DistutilsModuleError: invalid command 'build'
17,078
pypa/pip
pypa__pip-11318
b8ccb04ffd1ead19ec0db8411fccac5b420d3fed
diff --git a/src/pip/_internal/utils/entrypoints.py b/src/pip/_internal/utils/entrypoints.py --- a/src/pip/_internal/utils/entrypoints.py +++ b/src/pip/_internal/utils/entrypoints.py @@ -55,9 +55,14 @@ def get_best_invocation_for_this_pip() -> str: if exe_are_in_PATH: for exe_name in _EXECUTABLE_NAMES: found_executable = shutil.which(exe_name) - if found_executable and os.path.samefile( - found_executable, - os.path.join(binary_prefix, exe_name), + binary_executable = os.path.join(binary_prefix, exe_name) + if ( + found_executable + and os.path.exists(binary_executable) + and os.path.samefile( + found_executable, + binary_executable, + ) ): return exe_name
Logging error when checking for new version of pip. ### Description When pip (22.1.2) checked for a new version it failed with an error. It's coming from the following function: https://github.com/pypa/pip/blob/c4606b3572529625762f0586dda134302cf6122c/src/pip/_internal/utils/entrypoints.py#L46-L62 The problem call is to `os.path.samefile` on line 58, where it compares the output of `shutil.which('pip')` to `<sys.prefix>/bin/pip` (in my case `/usr/bin/pip`). However, on my system, `pip` is installed to the user site-packages directory (so the binary is at `/home/domdf/.local/bin/pip`). The solution is to check whether the file exists before calling `samefile`. I have Python 3.7 and 3.9 installed to `/usr` alongside the system's Python 3.8, and the error is present with all three versions. ### Expected behavior Pip checks for a new version without an error. ### pip version 22.1.2 ### Python version 3.9.13 ### OS Ubuntu 20.04 ### How to Reproduce 1. `pip install pip==22.1.2` 2. `pip install pip` <- Any package will do. ### Output ```shell $ pip install pip Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pip in ./.local/lib/python3.9/site-packages (22.1.2) --- Logging error --- Traceback (most recent call last): File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 177, in emit self.console.print(renderable, overflow="ignore", crop=False, style=style) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1752, in print extend(render(renderable, render_options)) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1390, in render for render_output in iter_render: File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 134, in __rich_console__ for line in lines: File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/segment.py", line 245, in split_lines for segment in segments: File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1368, in render renderable = rich_cast(renderable) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast renderable = cast_method() File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py", line 130, in __rich__ pip_cmd = get_best_invocation_for_this_pip() File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip if found_executable and os.path.samefile( File "/usr/lib/python3.9/genericpath.py", line 101, in samefile s2 = os.stat(f2) FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip' Call stack: File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/domdf/.local/lib/python3.9/site-packages/pip/__main__.py", line 31, in <module> sys.exit(_main()) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 70, in main return command.main(cmd_args) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 101, in main return self._main(args) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main self.handle_pip_version_check(options) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 148, in handle_pip_version_check pip_self_version_check(session, options) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py", line 237, in pip_self_version_check logger.info("[present-rich] %s", upgrade_prompt) File "/usr/lib/python3.9/logging/__init__.py", line 1446, in info self._log(INFO, msg, args, **kwargs) File "/usr/lib/python3.9/logging/__init__.py", line 1589, in _log self.handle(record) File "/usr/lib/python3.9/logging/__init__.py", line 1599, in handle self.callHandlers(record) File "/usr/lib/python3.9/logging/__init__.py", line 1661, in callHandlers hdlr.handle(record) File "/usr/lib/python3.9/logging/__init__.py", line 952, in handle self.emit(record) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 179, in emit self.handleError(record) Message: '[present-rich] %s' Arguments: (UpgradePrompt(old='22.1.2', new='22.2'),) ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
Looks like I have the exact same issue. ``` $ pip3 install --user boto3 awscli ...redacted... --- Logging error --- Traceback (most recent call last): File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 177, in emit self.console.print(renderable, overflow="ignore", crop=False, style=style) File "/home/nic/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1752, in print extend(render(renderable, render_options)) File "/home/nic/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1390, in render for render_output in iter_render: File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 134, in __rich_console__ for line in lines: File "/home/nic/.local/lib/python3.9/site-packages/pip/_vendor/rich/segment.py", line 245, in split_lines for segment in segments: File "/home/nic/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1368, in render renderable = rich_cast(renderable) File "/home/nic/.local/lib/python3.9/site-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast renderable = cast_method() File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py", line 130, in __rich__ pip_cmd = get_best_invocation_for_this_pip() File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip if found_executable and os.path.samefile( File "/usr/lib/python3.9/genericpath.py", line 101, in samefile s2 = os.stat(f2) FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip3.9' Call stack: File "/home/nic/.local/bin/pip3", line 8, in <module> sys.exit(main()) File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 70, in main return command.main(cmd_args) File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 101, in main return self._main(args) File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main self.handle_pip_version_check(options) File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 148, in handle_pip_version_check pip_self_version_check(session, options) File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py", line 237, in pip_self_version_check logger.info("[present-rich] %s", upgrade_prompt) File "/usr/lib/python3.9/logging/__init__.py", line 1446, in info self._log(INFO, msg, args, **kwargs) File "/usr/lib/python3.9/logging/__init__.py", line 1589, in _log self.handle(record) File "/usr/lib/python3.9/logging/__init__.py", line 1599, in handle self.callHandlers(record) File "/usr/lib/python3.9/logging/__init__.py", line 1661, in callHandlers hdlr.handle(record) File "/usr/lib/python3.9/logging/__init__.py", line 952, in handle self.emit(record) File "/home/nic/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 179, in emit self.handleError(record) Message: '[present-rich] %s' Arguments: (UpgradePrompt(old='22.1.2', new='22.2.1'),) ``` A PR fixing this would be welcome!
2022-07-28T04:37:59Z
[]
[]
Traceback (most recent call last): File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 177, in emit self.console.print(renderable, overflow="ignore", crop=False, style=style) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1752, in print extend(render(renderable, render_options)) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1390, in render for render_output in iter_render: File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 134, in __rich_console__ for line in lines: File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/segment.py", line 245, in split_lines for segment in segments: File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/console.py", line 1368, in render renderable = rich_cast(renderable) File "/home/domdf/.local/lib/python3.9/site-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast renderable = cast_method() File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py", line 130, in __rich__ pip_cmd = get_best_invocation_for_this_pip() File "/home/domdf/.local/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip if found_executable and os.path.samefile( File "/usr/lib/python3.9/genericpath.py", line 101, in samefile s2 = os.stat(f2) FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip'
17,080
pypa/pip
pypa__pip-11716
07a360dfe8fcad8c34d7bb70c77362cc3ec8a374
diff --git a/src/pip/_internal/operations/check.py b/src/pip/_internal/operations/check.py --- a/src/pip/_internal/operations/check.py +++ b/src/pip/_internal/operations/check.py @@ -75,7 +75,7 @@ def check_package_set( if name not in package_set: missed = True if req.marker is not None: - missed = req.marker.evaluate() + missed = req.marker.evaluate({"extra": ""}) if missed: missing_deps.add((name, req)) continue
packaging does not expect 'extra' in marker (need vendor upgrade) ### Description Hi, I've been doing some hacks on pip recently, like taking extra requirements into account when `checking_install_conflicts`. I have rewritten the `method` of `pkg_resources.Distribution`, and every time I get the dependency, I will return the extra mim requirements. Here are the sample code: ```python3 from contextlib import contextmanager from pip._internal.commands import create_command @contextmanager def patch_pkg_resources_distribution() -> Generator: from pip._vendor.pkg_resources import Distribution, parse_requirements origin_requires = Distribution.requires def patched_requires(self, extras=()): deps = origin_requires(self, extras) if 'mim' in self.extras: mim_extra_requires = origin_requires(self, ('mim',)) filter_invalid_marker(mim_extra_requires) deps += mim_extra_requires return deps Distribution.requires = patched_requires # type: ignore yield Distribution.requires = origin_requires # type: ignore return install_args = [...] with patch_pkg_resources_distribution(): create_command('install')(install_args) ``` I got this error during `check_install_conflicts`: ``` ERROR: Error while checking for conflicts. Please file an issue on pip's issue tracker: https://github.com/pypa/pip/issues/new Traceback (most recent call last): File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 531, in _determine_conflicts return check_install_conflicts(to_install) File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 111, in check_install_conflicts package_set, should_ignore=lambda name: name not in whitelist File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 78, in check_package_set missed = req.marker.evaluate() File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_vendor/packaging/markers.py", line 304, in evaluate return _evaluate_markers(self._markers, current_environment) File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_vendor/packaging/markers.py", line 234, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_vendor/packaging/markers.py", line 216, in _get_env f"{name!r} does not exist in evaluation environment." pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment. ``` The reason for the above error is that this [code](https://github.com/pypa/pip/blob/22.1.2/src/pip/_internal/operations/check.py#L78) does not consider that the marker of the requirement obtained from METADATA may contain extras. Is this behavior a bug? A sample METADTA that contains Requires-Dist: ``` ... Requires-Dist: matplotlib Requires-Dist: mmcls (>=0.20.1) Requires-Dist: numpy Requires-Dist: packaging Requires-Dist: prettytable Provides-Extra: all Requires-Dist: cityscapesscripts ; extra == 'all' Requires-Dist: matplotlib ; extra == 'all' Requires-Dist: mmcls (>=0.20.1) ; extra == 'all' Requires-Dist: numpy ; extra == 'all' Requires-Dist: packaging ; extra == 'all' Requires-Dist: prettytable ; extra == 'all' Requires-Dist: codecov ; extra == 'all' Requires-Dist: flake8 ; extra == 'all' Requires-Dist: interrogate ; extra == 'all' Requires-Dist: pytest ; extra == 'all' Requires-Dist: xdoctest (>=0.10.0) ; extra == 'all' Requires-Dist: yapf ; extra == 'all' Provides-Extra: build Provides-Extra: mim Requires-Dist: mmcls (>=0.20.1) ; extra == 'mim' Requires-Dist: mmcv-full (<=1.6.0,>=1.4.4) ; extra == 'mim' Provides-Extra: optional Requires-Dist: cityscapesscripts ; extra == 'optional' Provides-Extra: tests Requires-Dist: codecov ; extra == 'tests' Requires-Dist: flake8 ; extra == 'tests' Requires-Dist: interrogate ; extra == 'tests' Requires-Dist: pytest ; extra == 'tests' Requires-Dist: xdoctest (>=0.10.0) ; extra == 'tests' Requires-Dist: yapf ; extra == 'tests' ... ``` ### Expected behavior The requirement parsed from METADATA should consider the invalid situation of the marker? For example, in [src/pip/_internal/operations/check.py#L78](https://github.com/pypa/pip/blob/22.1.2/src/pip/_internal/operations/check.py#L78) we can handle the invalid marker? ```python3 ... for req in package_detail.dependencies: name = canonicalize_name(req.name) # Check if it's missing if name not in package_set: missed = True if req.marker is not None: try: missed = req.marker.evaluate() except: missed = False if missed: missing_deps.add((name, req)) continue .... ``` ### pip version 22.1.2 ### Python version 3.7 ### OS ubuntu ### How to Reproduce See above ### Output ```sh-session see above ``` ### Code of Conduct - [x] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
This looks like a duplicate of #9643 `packaging` already recently fixed this, but we need to pull in the change. The change is still unreleased so that needs to happen as well. You can pass {"extra": ""} to the evaluate call for your experimentation, which will let you move forward with that. @uranusjr I don't think we need a tracking issue for doing a vendoring upgrade. If you're in agreement, please feel free to close this out. :) Sure if you also remember to release packaging before the pip release 🙂 That’s the part I’m less sure about. Ouch, but fair. 😝 It doesn't look like packaging will get released for the 22.3 release, so I'm moving this to the 23.0 milestone.
2023-01-09T16:18:19Z
[]
[]
Traceback (most recent call last): File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 531, in _determine_conflicts return check_install_conflicts(to_install) File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 111, in check_install_conflicts package_set, should_ignore=lambda name: name not in whitelist File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 78, in check_package_set missed = req.marker.evaluate() File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_vendor/packaging/markers.py", line 304, in evaluate return _evaluate_markers(self._markers, current_environment) File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_vendor/packaging/markers.py", line 234, in _evaluate_markers lhs_value = _get_env(environment, lhs.value) File "/mnt/data/xiaoyancong/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/pip/_vendor/packaging/markers.py", line 216, in _get_env f"{name!r} does not exist in evaluation environment." pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment.
17,100
pypa/pip
pypa__pip-1176
2a6cf632e89b759f8b663785fe44e017e6fbbbcb
diff --git a/pip/locations.py b/pip/locations.py --- a/pip/locations.py +++ b/pip/locations.py @@ -137,15 +137,15 @@ def distutils_scheme(dist_name, user=False, home=None): scheme = {} d = Distribution({'name': dist_name}) i = install(d) + # NOTE: setting user or home has the side-effect of creating the home dir or + # user base for installations during finalize_options() + # ideally, we'd prefer a scheme class that has no side-effects. i.user = user or i.user i.home = home or i.home i.finalize_options() for key in SCHEME_KEYS: scheme[key] = getattr(i, 'install_'+key) - #be backward-compatible with what pip has always done? - scheme['scripts'] = bin_py - if running_under_virtualenv(): scheme['headers'] = os.path.join(sys.prefix, 'include',
pip install --use-wheel doesn't respect --user for installing scripts For example: ``` habnabit@bach:~$ pip install --use-wheel -i [redacted] -r requirements.txt --user Downloading/unpacking zope.interface==4.0.5 (from -r requirements.txt (line 2)) Downloading zope.interface-4.0.5-cp27-none-linux_x86_64.whl (144kB): 144kB downloaded Downloading/unpacking Twisted==12.3.0 (from -r requirements.txt (line 3)) Downloading Twisted-12.3.0-cp27-none-linux_x86_64.whl (2.9MB): 2.9MB downloaded Downloading/unpacking py-bcrypt==0.3 (from -r requirements.txt (line 4)) Downloading py_bcrypt-0.3-cp27-none-linux_x86_64.whl Downloading/unpacking web.py==0.37 (from -r requirements.txt (line 5)) Downloading web.py-0.37-py27-none-any.whl (100kB): 100kB downloaded Downloading/unpacking SQLAlchemy==0.7.10 (from -r requirements.txt (line 6)) Downloading SQLAlchemy-0.7.10-cp27-none-linux_x86_64.whl (727kB): 727kB downloaded Downloading/unpacking psycopg2==2.5 (from -r requirements.txt (line 7)) Downloading psycopg2-2.5-cp27-none-linux_x86_64.whl (309kB): 309kB downloaded Downloading/unpacking sanpera==0.1.1.dev1 (from -r requirements.txt (line 8)) Downloading sanpera-0.1.1.dev1.tar.gz (239kB): 239kB downloaded Running setup.py egg_info for package sanpera Package ImageMagick was not found in the pkg-config search path. Perhaps you should add the directory containing `ImageMagick.pc' to the PKG_CONFIG_PATH environment variable No package 'ImageMagick' found Package ImageMagick was not found in the pkg-config search path. Perhaps you should add the directory containing `ImageMagick.pc' to the PKG_CONFIG_PATH environment variable No package 'ImageMagick' found Downloading/unpacking anyjson==0.3.3 (from -r requirements.txt (line 9)) Downloading anyjson-0.3.3-py27-none-any.whl Downloading/unpacking yajl==0.3.5 (from -r requirements.txt (line 10)) Downloading yajl-0.3.5-cp27-none-linux_x86_64.whl (56kB): 56kB downloaded Requirement already satisfied (use --upgrade to upgrade): setuptools in ./.local/lib/python2.7/site-packages/setuptools-1.0-py2.7.egg (from zope.interface==4.0.5->-r requirements.txt (line 2)) Installing collected packages: zope.interface, Twisted, py-bcrypt, web.py, SQLAlchemy, psycopg2, sanpera, anyjson, yajl Cleaning up... Exception: Traceback (most recent call last): File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/commands/install.py", line 241, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 1298, in install requirement.install(install_options, global_options, *args, **kwargs) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 595, in install self.move_wheel_files(self.source_dir) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 815, in move_wheel_files move_wheel_files(self.name, self.req, wheeldir, user=self.use_user_site, home=self.target_dir) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/wheel.py", line 184, in move_wheel_files clobber(source, dest, False, fixer=fixer) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/wheel.py", line 166, in clobber shutil.move(srcfile, destfile) File "/usr/lib/python2.7/shutil.py", line 301, in move copy2(src, real_dst) File "/usr/lib/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: '/usr/bin/trial' ``` Why is this trying to write to `/usr/bin` when `--user` is given?
It's probably either a bug in https://github.com/pypa/pip/blob/develop/pip/locations.py#L131 or the user flag isn't making it through to that point. this line is throwing away the proper location for scripts. https://github.com/pypa/pip/blob/develop/pip/locations.py#L147 the `bin_py` logic location up above can probably replaced with the newer `distutils_scheme` method. btw, there is a `--user` test for wheels, just wasn't confirming scripts. fyi, will get on this tomorrow.
2013-08-31T15:23:38Z
[]
[]
Traceback (most recent call last): File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/commands/install.py", line 241, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 1298, in install requirement.install(install_options, global_options, *args, **kwargs) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 595, in install self.move_wheel_files(self.source_dir) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 815, in move_wheel_files move_wheel_files(self.name, self.req, wheeldir, user=self.use_user_site, home=self.target_dir) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/wheel.py", line 184, in move_wheel_files clobber(source, dest, False, fixer=fixer) File "/home/habnabit/.local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/wheel.py", line 166, in clobber shutil.move(srcfile, destfile) File "/usr/lib/python2.7/shutil.py", line 301, in move copy2(src, real_dst) File "/usr/lib/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: '/usr/bin/trial'
17,102
pypa/pip
pypa__pip-11779
6a416d281ee916209a450ab326d5398c9f63d317
diff --git a/src/pip/_internal/models/direct_url.py b/src/pip/_internal/models/direct_url.py --- a/src/pip/_internal/models/direct_url.py +++ b/src/pip/_internal/models/direct_url.py @@ -108,7 +108,12 @@ def __init__( if hash is not None: # Auto-populate the hashes key to upgrade to the new format automatically. # We don't back-populate the legacy hash key. - hash_name, hash_value = hash.split("=", 1) + try: + hash_name, hash_value = hash.split("=", 1) + except ValueError: + raise DirectUrlValidationError( + f"invalid archive_info.hash format: {hash!r}" + ) if hashes is None: hashes = {hash_name: hash_value} elif hash_name not in hash:
pip 23.0: `pip list` fails with error "ValueError: not enough values to unpack" for archives installed from URL ### Description When a project contains installed archives installed by specifying URL (e.g. spaCy models), `pip list` does not display the list of installed packages, because it crashes. Probable cause: https://github.com/pypa/pip/commit/38681f3d6669754c7e919f0eb051b12931bfb0f2 ### Expected behavior _No response_ ### pip version pip 23.0 ### Python version Python 3.8.16 ### OS Ubuntu 20.04.5 LTS (Focal Fossa) ### How to Reproduce ``` pyenv virtualenv 3.8.16 pip-issue pyenv local pip-issue ``` ``` cat << EOF > ./pyproject.toml [tool.poetry] name = "pip_issue" version = "0.0.1" authors = [ "Foo Bar <foo@example.com>" ] description = "pip issue" [tool.poetry.dependencies] python = ">=3.8, <3.11" en_core_web_sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0.tar.gz" } [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" EOF ``` ``` pip install --upgrade poetry poetry install ``` ``` # ✅ previous version works fine pip list ``` ``` # 💥 latest version crashes python3.8 -m pip install --upgrade pip pip list ``` ### Output ``` $ pip list ERROR: Exception: Traceback (most recent call last): File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper status = run_func(*args) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 192, in run self.output_package_listing(packages, options) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 273, in output_package_listing data, header = format_for_columns(packages, options) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 316, in format_for_columns has_editables = any(x.editable for x in pkgs) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 316, in <genexpr> has_editables = any(x.editable for x in pkgs) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/metadata/base.py", line 338, in editable return bool(self.editable_project_location) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/metadata/base.py", line 176, in editable_project_location direct_url = self.direct_url File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/metadata/base.py", line 306, in direct_url return DirectUrl.from_json(content) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 217, in from_json return cls.from_dict(json.loads(s)) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 200, in from_dict ArchiveInfo._from_dict(_get(d, dict, "archive_info")), File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 124, in _from_dict return cls(hash=_get(d, str, "hash"), hashes=_get(d, dict, "hashes")) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 111, in __init__ hash_name, hash_value = hash.split("=", 1) ValueError: not enough values to unpack (expected 2, got 1) ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
> ``` > poetry install > ``` Can this be reproduced without involving Poetry? (i.e. change this to `pip install .`) No, it's not reproducible without Poetry. Only the environment created with Poetry contains file `direct_url.json`: ![image](https://user-images.githubusercontent.com/183731/216330986-9f72c147-b1d5-4808-b8cb-a7c430647bf3.png) The contents is: ``` {"url": "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0.tar.gz", "archive_info": {"hash": "sha256:63d38fecdd4290635c7af4d4f6da50902bdc6c1732ce416b55c2b76c4b0c4626"}} ``` `src/pip/_internal/models/direct_url.py` tries to split the hash value on `=` (i.e. `hash_name, hash_value = hash.split("=", 1)`) and the character is not there. Is that an error in `direct_url.py` or is the contents of `direct_url.json` wrong? > is the contents of direct_url.json wrong? Yes. It's using a colon instead of an equal sign. See [the spec](https://packaging.python.org/en/latest/specifications/direct-url/#specification) which says > A deprecated hash key (type string) MAY be present for backwards compatibility purposes, with value `<hash-algorithm>=<expected-hash>`. It looks like Poetry isn't following the spec. The problem looks like it might be here: https://github.com/python-poetry/poetry/blob/master/src/poetry/installation/executor.py#L671 None the less, we should probably still have pip not fail with a hard-crash in these cases; and just note that the package has invalid metadata. (one of the problems with standards that people opt-in to implementing!! :P)
2023-02-04T23:15:56Z
[]
[]
Traceback (most recent call last): File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper status = run_func(*args) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 192, in run self.output_package_listing(packages, options) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 273, in output_package_listing data, header = format_for_columns(packages, options) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 316, in format_for_columns has_editables = any(x.editable for x in pkgs) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/commands/list.py", line 316, in <genexpr> has_editables = any(x.editable for x in pkgs) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/metadata/base.py", line 338, in editable return bool(self.editable_project_location) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/metadata/base.py", line 176, in editable_project_location direct_url = self.direct_url File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/metadata/base.py", line 306, in direct_url return DirectUrl.from_json(content) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 217, in from_json return cls.from_dict(json.loads(s)) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 200, in from_dict ArchiveInfo._from_dict(_get(d, dict, "archive_info")), File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 124, in _from_dict return cls(hash=_get(d, str, "hash"), hashes=_get(d, dict, "hashes")) File "/home/users/foo/.pyenv/versions/pip-issue/lib/python3.8/site-packages/pip/_internal/models/direct_url.py", line 111, in __init__ hash_name, hash_value = hash.split("=", 1) ValueError: not enough values to unpack (expected 2, got 1)
17,103
pypa/pip
pypa__pip-12060
b0a8317ffbcc07d4972caf617ed7d4b7ca165bc0
diff --git a/src/pip/_internal/cache.py b/src/pip/_internal/cache.py --- a/src/pip/_internal/cache.py +++ b/src/pip/_internal/cache.py @@ -194,7 +194,17 @@ def __init__( self.origin: Optional[DirectUrl] = None origin_direct_url_path = Path(self.link.file_path).parent / ORIGIN_JSON_NAME if origin_direct_url_path.exists(): - self.origin = DirectUrl.from_json(origin_direct_url_path.read_text()) + try: + self.origin = DirectUrl.from_json( + origin_direct_url_path.read_text(encoding="utf-8") + ) + except Exception as e: + logger.warning( + "Ignoring invalid cache entry origin file %s for %s (%s)", + origin_direct_url_path, + link.filename, + e, + ) class WheelCache(Cache): @@ -257,16 +267,26 @@ def get_cache_entry( @staticmethod def record_download_origin(cache_dir: str, download_info: DirectUrl) -> None: origin_path = Path(cache_dir) / ORIGIN_JSON_NAME - if origin_path.is_file(): - origin = DirectUrl.from_json(origin_path.read_text()) - # TODO: use DirectUrl.equivalent when https://github.com/pypa/pip/pull/10564 - # is merged. - if origin.url != download_info.url: + if origin_path.exists(): + try: + origin = DirectUrl.from_json(origin_path.read_text(encoding="utf-8")) + except Exception as e: logger.warning( - "Origin URL %s in cache entry %s does not match download URL %s. " - "This is likely a pip bug or a cache corruption issue.", - origin.url, - cache_dir, - download_info.url, + "Could not read origin file %s in cache entry (%s). " + "Will attempt to overwrite it.", + origin_path, + e, ) + else: + # TODO: use DirectUrl.equivalent when + # https://github.com/pypa/pip/pull/10564 is merged. + if origin.url != download_info.url: + logger.warning( + "Origin URL %s in cache entry %s does not match download URL " + "%s. This is likely a pip bug or a cache corruption issue. " + "Will overwrite it with the new value.", + origin.url, + cache_dir, + download_info.url, + ) origin_path.write_text(download_info.to_json(), encoding="utf-8")
Need an escape hatch for corrupted cache. ### Description If the pip wheel_cache json file is corrupted, users get a confusing error and there does not seem to be a recovery mode other than finding and removing the cache. `pip cache purge` does not resolve such a problem. It is not completely clear how the file became corrupted in this case, but it may have been related to an instance of a disk quota being exceeded. ### Expected behavior * The JSON decoder exception should be caught. * Either `pip` should automatically remove / regenerate the cache data file or `pip` should advise the user on how to proceed. In this case, the exception propagated from `pip/_internal/cache.py::WheelCache.record_download_origin()`, which called `DirectUrl.from_json()`. Letting the JSONDecoderError propagate through `DirectUrl.from_json()` seems appropriate. It also seems reasonable to let it propagate through `WheelCache.record_download_origin()`. I think one of the following would be an appropriate place for additional error handling. * `pip/_internal/wheel_builder.py::build()` produces a `build_failures` list, but does not catch exceptions for conversion to "build_failures". * `pip/_internal/commands/install.py::InstallCommand.run()` calls `build` in a `try` block, but only OSError is caught. It also seems reasonable that `pip cache purge` could reinitialize state files more completely. ### pip version main, as of 20 April 2023 ### Python version all ### OS all ### How to Reproduce `pip install` a package from a source distribution, producing a cachable "wheel", but with invalid JSON files in the pip cache. ### Output ``` Building wheels for collected packages: ... Stored in directory: /.../.cache/pip/wheels/e4/50/f2/fddc95515d81964ea105d53c75210d0c94388d80faf5e0b797 ERROR: Exception: Traceback (most recent call last): File "/.../lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) File "/.../lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper return func(self, options, args) File "/.../lib/python3.9/site-packages/pip/_internal/commands/install.py", line 417, in run _, build_failures = build( File "/.../lib/python3.9/site-packages/pip/_internal/wheel_builder.py", line 334, in build wheel_cache.record_download_origin(cache_dir, req.download_info) File "/.../lib/python3.9/site-packages/pip/_internal/cache.py", line 261, in record_download_origin origin = DirectUrl.from_json(origin_path.read_text()) File "/.../lib/python3.9/site-packages/pip/_internal/models/direct_url.py", line 231, in from_json return cls.from_dict(json.loads(s)) File "/opt/cray/pe/python/[3.9.12.1/lib/python3.9/json/__init__.py](http://3.9.12.1/lib/python3.9/json/__init__.py)", line 346, in loads return _default_decoder.decode(s) File "/opt/cray/pe/python/[3.9.12.1/lib/python3.9/json/decoder.py](http://3.9.12.1/lib/python3.9/json/decoder.py)", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/cray/pe/python/[3.9.12.1/lib/python3.9/json/decoder.py](http://3.9.12.1/lib/python3.9/json/decoder.py)", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
2023-05-29T10:36:53Z
[]
[]
Traceback (most recent call last): File "/.../lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) File "/.../lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper return func(self, options, args) File "/.../lib/python3.9/site-packages/pip/_internal/commands/install.py", line 417, in run _, build_failures = build( File "/.../lib/python3.9/site-packages/pip/_internal/wheel_builder.py", line 334, in build wheel_cache.record_download_origin(cache_dir, req.download_info) File "/.../lib/python3.9/site-packages/pip/_internal/cache.py", line 261, in record_download_origin origin = DirectUrl.from_json(origin_path.read_text()) File "/.../lib/python3.9/site-packages/pip/_internal/models/direct_url.py", line 231, in from_json return cls.from_dict(json.loads(s)) File "/opt/cray/pe/python/[3.9.12.1/lib/python3.9/json/__init__.py](http://3.9.12.1/lib/python3.9/json/__init__.py)", line 346, in loads return _default_decoder.decode(s) File "/opt/cray/pe/python/[3.9.12.1/lib/python3.9/json/decoder.py](http://3.9.12.1/lib/python3.9/json/decoder.py)", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/cray/pe/python/[3.9.12.1/lib/python3.9/json/decoder.py](http://3.9.12.1/lib/python3.9/json/decoder.py)", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
17,120
pypa/pip
pypa__pip-12078
98814e5050d21dccd8f2572ab0c2e5c6e79473d7
diff --git a/src/pip/_internal/models/link.py b/src/pip/_internal/models/link.py --- a/src/pip/_internal/models/link.py +++ b/src/pip/_internal/models/link.py @@ -69,18 +69,6 @@ class LinkHash: def __post_init__(self) -> None: assert self.name in _SUPPORTED_HASHES - @classmethod - def parse_pep658_hash(cls, dist_info_metadata: str) -> Optional["LinkHash"]: - """Parse a PEP 658 data-dist-info-metadata hash.""" - if dist_info_metadata == "true": - return None - name, sep, value = dist_info_metadata.partition("=") - if not sep: - return None - if name not in _SUPPORTED_HASHES: - return None - return cls(name=name, value=value) - @classmethod @functools.lru_cache(maxsize=None) def find_hash_url_fragment(cls, url: str) -> Optional["LinkHash"]: @@ -107,6 +95,28 @@ def is_hash_allowed(self, hashes: Optional[Hashes]) -> bool: return hashes.is_hash_allowed(self.name, hex_digest=self.value) +@dataclass(frozen=True) +class MetadataFile: + """Information about a core metadata file associated with a distribution.""" + + hashes: Optional[Dict[str, str]] + + def __post_init__(self) -> None: + if self.hashes is not None: + assert all(name in _SUPPORTED_HASHES for name in self.hashes) + + +def supported_hashes(hashes: Optional[Dict[str, str]]) -> Optional[Dict[str, str]]: + # Remove any unsupported hash types from the mapping. If this leaves no + # supported hashes, return None + if hashes is None: + return None + hashes = {n: v for n, v in hashes.items() if n in _SUPPORTED_HASHES} + if not hashes: + return None + return hashes + + def _clean_url_path_part(part: str) -> str: """ Clean a "part" of a URL path (i.e. after splitting on "@" characters). @@ -179,7 +189,7 @@ class Link(KeyBasedCompareMixin): "comes_from", "requires_python", "yanked_reason", - "dist_info_metadata", + "metadata_file_data", "cache_link_parsing", "egg_fragment", ] @@ -190,7 +200,7 @@ def __init__( comes_from: Optional[Union[str, "IndexContent"]] = None, requires_python: Optional[str] = None, yanked_reason: Optional[str] = None, - dist_info_metadata: Optional[str] = None, + metadata_file_data: Optional[MetadataFile] = None, cache_link_parsing: bool = True, hashes: Optional[Mapping[str, str]] = None, ) -> None: @@ -208,11 +218,10 @@ def __init__( a simple repository HTML link. If the file has been yanked but no reason was provided, this should be the empty string. See PEP 592 for more information and the specification. - :param dist_info_metadata: the metadata attached to the file, or None if no such - metadata is provided. This is the value of the "data-dist-info-metadata" - attribute, if present, in a simple repository HTML link. This may be parsed - into its own `Link` by `self.metadata_link()`. See PEP 658 for more - information and the specification. + :param metadata_file_data: the metadata attached to the file, or None if + no such metadata is provided. This argument, if not None, indicates + that a separate metadata file exists, and also optionally supplies + hashes for that file. :param cache_link_parsing: A flag that is used elsewhere to determine whether resources retrieved from this link should be cached. PyPI URLs should generally have this set to False, for example. @@ -220,6 +229,10 @@ def __init__( determine the validity of a download. """ + # The comes_from, requires_python, and metadata_file_data arguments are + # only used by classmethods of this class, and are not used in client + # code directly. + # url can be a UNC windows share if url.startswith("\\\\"): url = path_to_url(url) @@ -239,7 +252,7 @@ def __init__( self.comes_from = comes_from self.requires_python = requires_python if requires_python else None self.yanked_reason = yanked_reason - self.dist_info_metadata = dist_info_metadata + self.metadata_file_data = metadata_file_data super().__init__(key=url, defining_class=Link) @@ -262,9 +275,25 @@ def from_json( url = _ensure_quoted_url(urllib.parse.urljoin(page_url, file_url)) pyrequire = file_data.get("requires-python") yanked_reason = file_data.get("yanked") - dist_info_metadata = file_data.get("dist-info-metadata") hashes = file_data.get("hashes", {}) + # PEP 714: Indexes must use the name core-metadata, but + # clients should support the old name as a fallback for compatibility. + metadata_info = file_data.get("core-metadata") + if metadata_info is None: + metadata_info = file_data.get("dist-info-metadata") + + # The metadata info value may be a boolean, or a dict of hashes. + if isinstance(metadata_info, dict): + # The file exists, and hashes have been supplied + metadata_file_data = MetadataFile(supported_hashes(metadata_info)) + elif metadata_info: + # The file exists, but there are no hashes + metadata_file_data = MetadataFile(None) + else: + # False or not present: the file does not exist + metadata_file_data = None + # The Link.yanked_reason expects an empty string instead of a boolean. if yanked_reason and not isinstance(yanked_reason, str): yanked_reason = "" @@ -278,7 +307,7 @@ def from_json( requires_python=pyrequire, yanked_reason=yanked_reason, hashes=hashes, - dist_info_metadata=dist_info_metadata, + metadata_file_data=metadata_file_data, ) @classmethod @@ -298,14 +327,39 @@ def from_element( url = _ensure_quoted_url(urllib.parse.urljoin(base_url, href)) pyrequire = anchor_attribs.get("data-requires-python") yanked_reason = anchor_attribs.get("data-yanked") - dist_info_metadata = anchor_attribs.get("data-dist-info-metadata") + + # PEP 714: Indexes must use the name data-core-metadata, but + # clients should support the old name as a fallback for compatibility. + metadata_info = anchor_attribs.get("data-core-metadata") + if metadata_info is None: + metadata_info = anchor_attribs.get("data-dist-info-metadata") + # The metadata info value may be the string "true", or a string of + # the form "hashname=hashval" + if metadata_info == "true": + # The file exists, but there are no hashes + metadata_file_data = MetadataFile(None) + elif metadata_info is None: + # The file does not exist + metadata_file_data = None + else: + # The file exists, and hashes have been supplied + hashname, sep, hashval = metadata_info.partition("=") + if sep == "=": + metadata_file_data = MetadataFile(supported_hashes({hashname: hashval})) + else: + # Error - data is wrong. Treat as no hashes supplied. + logger.debug( + "Index returned invalid data-dist-info-metadata value: %s", + metadata_info, + ) + metadata_file_data = MetadataFile(None) return cls( url, comes_from=page_url, requires_python=pyrequire, yanked_reason=yanked_reason, - dist_info_metadata=dist_info_metadata, + metadata_file_data=metadata_file_data, ) def __str__(self) -> str: @@ -407,17 +461,13 @@ def subdirectory_fragment(self) -> Optional[str]: return match.group(1) def metadata_link(self) -> Optional["Link"]: - """Implementation of PEP 658 parsing.""" - # Note that Link.from_element() parsing the "data-dist-info-metadata" attribute - # from an HTML anchor tag is typically how the Link.dist_info_metadata attribute - # gets set. - if self.dist_info_metadata is None: + """Return a link to the associated core metadata file (if any).""" + if self.metadata_file_data is None: return None metadata_url = f"{self.url_without_fragment}.metadata" - metadata_link_hash = LinkHash.parse_pep658_hash(self.dist_info_metadata) - if metadata_link_hash is None: + if self.metadata_file_data.hashes is None: return Link(metadata_url) - return Link(metadata_url, hashes=metadata_link_hash.as_dict()) + return Link(metadata_url, hashes=self.metadata_file_data.hashes) def as_hashes(self) -> Hashes: return Hashes({k: [v] for k, v in self._hashes.items()})
pip parses `dist-info-metadata` key from JSON indexes incorrectly ### Description When using a JSON-based package index, pip expects the `dist-info-metadata` key to always have a string value and does not parse the values described by the spec. [PEP 691 states](https://peps.python.org/pep-0691/#project-detail): > `dist-info-metadata`: An optional key that indicates that metadata for this file is available, via the same location as specified in [PEP 658](https://peps.python.org/pep-0658) (`{file_url}.metadata`). **Where this is present, it MUST be either a boolean to indicate if the file has an associated metadata file, or a dictionary mapping hash names to a hex encoded digest of the metadata’s hash.** pip tries to apply the same string parsing for this value as it does for the `data-dist-info-metadata` value in [PEP 658](https://peps.python.org/pep-0658/#specification) and does not handle booleans or dicts. This does not work as the entries according to PEP 691 look like: ```json { "dist-info-metadata": { "sha256": "8737b5dbb73f6b05e596c7c659f694a031de98b926e634716d9855fd365a5f2f" }, "filename": "pre_commit-3.3.2-py2.py3-none-any.whl", [...] }, ``` ### Expected behavior pip should handle values with boolean or dict type as described in [PEP 691](https://peps.python.org/pep-0691/#project-detail). ### pip version Tested with 23.1.2 and current `main` ### Python version 3.11 ### OS Linux (debian bullseye) ### How to Reproduce To reproduce, we need access to a registry which supports PEP 691 JSON indexes and also PEP 658 metadata. pypi.org is supposed to support both of these for new file uploads, but there is currently a bug where it provides the metadata under the wrong JSON key (https://github.com/pypi/warehouse/issues/13705), so it is hard to test at the moment. For now, the easiest way to reproduce is to temporarily patch your pip code to use the (incorrect) key to trigger the bug. 1. Temporarily patch your `pip` code so that it uses the key name provided by pypi.org: ```diff diff --git a/src/pip/_internal/models/link.py b/src/pip/_internal/models/link.py index e741c3283..5d1e0be4e 100644 --- a/src/pip/_internal/models/link.py +++ b/src/pip/_internal/models/link.py @@ -262,7 +262,7 @@ class Link(KeyBasedCompareMixin): url = _ensure_quoted_url(urllib.parse.urljoin(page_url, file_url)) pyrequire = file_data.get("requires-python") yanked_reason = file_data.get("yanked") - dist_info_metadata = file_data.get("dist-info-metadata") + dist_info_metadata = file_data.get("data-dist-info-metadata") hashes = file_data.get("hashes", {}) # The Link.yanked_reason expects an empty string instead of a boolean. ``` 2. Try to install a package. * `pip install --no-cache --only-binary :all: pre-commit==3.3.2` to reproduce pip trying to parse a metadata dict as a string * `pip install --no-cache --only-binary :all: pre-commit==3.0.0` to reproduce pip trying to parse a boolean `false` as a string ### Output ``` $ pip install --no-cache --only-binary :all: pre-commit==3.3.2 Collecting pre-commit==3.3.2 ERROR: Exception: Traceback (most recent call last): File "/home/ckuehl/proj/pip/src/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/cli/req_command.py", line 248, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/commands/install.py", line 377, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ return any(self) ^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr> return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built candidate = func() ^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ super().__init__( File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/operations/prepare.py", line 510, in prepare_linked_requirement metadata_dist = self._fetch_metadata_only(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/operations/prepare.py", line 374, in _fetch_metadata_only return self._fetch_metadata_using_link_data_attr( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/operations/prepare.py", line 384, in _fetch_metadata_using_link_data_attr metadata_link = req.link.metadata_link() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/models/link.py", line 417, in metadata_link metadata_link_hash = LinkHash.parse_pep658_hash(self.dist_info_metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/models/link.py", line 77, in parse_pep658_hash name, sep, value = dist_info_metadata.partition("=") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'dict' object has no attribute 'partition' ``` Same traceback for `pre-commit==3.0.0` except the last line is instead ``` AttributeError: 'bool' object has no attribute 'partition' ``` ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
This needs an urgent fix, as pip will start failing on any package with a PEP 658 metadata file when PyPI release their fix. @pypa/pip-committers any thoughts? Should we release an emergency bug fix mid-cycle? How do we communicate the issue (as *every* version of pip back to 22.something will fail)? Is there anything Warehouse could do to mitigate this? I’m happy to release an emergency fix, but I’m nervous about how we test it sufficiently in advance of Warehouse releasing their fix. And I don’t know how we handle the rollout issue. On reflection, I was forgetting that PyPI haven't backfilled yet. Assuming they hold off on the backfill until this is fixed, the problem isn't as severe as I'd feared - it will only impact *new* wheel uploads. As a result, I think that an emergency release with advice that if people hit the issue, they have to upgrade pip should be sufficient. We'll still need to monitor the situation, and PyPI will need to consider how to co-ordinate the backfill with uptake of new pip versions, but we should be OK. > Assuming they hold off on the backfill until this is fixed, the problem isn't as severe as I'd feared - it will only impact _new_ wheel uploads. At the moment warehouse is setting `"data-dist-info-metadata": false` for files which don't have the metadata, so effectively all packages are broken right now with current pip versions. But perhaps warehouse could be changed to omit the key when there is no metadata file instead of setting `false`? Do we know if our current PEP 658 implementation was tested with any real-world (private) index ? Could we use the same to test these fixes? About the rollout I'm not sure either. It looks like the pip fix *has to be* released before the pypi.org fix, since all installs would otherwise fail without workaround ? In that case it might also be an exceptional situation where we need to release a bug fix for a non current version (it's in since 22.3, actually), since some users may not be in a position to upgrade to 23.1 just yet, due to the recent removal of `setup.py install` support. I'm in agreement that backporting and releasing bugfixes for older versions is a good idea (all the way back to when this was released), and something that we should do. I also agree that we should cut emergency-style bugfix releases for this (as is implied). I'll take a look into the fix for this today (I'm at the airport for an 8+ hr flight, and this seems like a good thing to fill my hours + keep me awake), and review our PEP 658 implementation overall. I'm happy to help with the release management work for this as well, although I'm unlikely to have a lot of "definitely free" time next week. > At the moment warehouse is setting "data-dist-info-metadata": false for files which don't have the metadata Ouch, that's bad. But assuming PyPI fix this (the key is optional, so they *can* fix it) the damage is significantly limited. Enough to not need backports? I don't know. I was only thinking in terms of a 23.1.3 bugfix, which I'm happy to do, but @sbidoul has a point. I don't want to commit myself to doing backports, though, as I'm not sure I'll have the free time for that. FWIW, the key has a typo right now. Once that typo is fixed, the pip bug will rear its head, so we should fix pip before that typo and I don't then pypi.org wouldn't need to do anything other than fix that typo. That seems reasonable, my only question is, to what extent do we care about users who haven't upgraded their copy of pip - is "there's a fix, you need to upgrade" enough? Is there a workaround for users who don't upgrade Pip? Like a command line flag to avoid using the PEP 658 metadata file? Just asking because there will be some noise from users if PyPi stops working even if upgrading to a bugfix is available, many users have strange setups that make things which should be easy not always easy. > Is there a workaround for users who don't upgrade Pip? Basically no. That's the big problem here, if an index serves JSON, we'll use it in preference to HTML, and if they provide a `dist-info-metadata` value we'll mis-parse it and fail. There's no flag that controls either of those two behaviours. And adding a flag is (of course) pointless, because the user could just as easily upgrade to a fixed version as to one with an opt-out. The best someone could do is write a service that proxies PyPI but without serving the JSON. But I'm not aware of anyone proposing to do that. Just to be clear too, the above is true because of the specifics of this bug, but if pip preferred the HTML version, the same general problem could happen in reverse. There's nothing specific to JSON here other than the bug happens to be in the JSON API on PyPI. This sort of bug is honestly a risk anytime there's some code path that isn't being used, that suddenly starts being used. I think there just isn't a path forward for people who don't upgrade pip, even without the backfill sooner or later most projects are going to end up with releases with `dist-info-metadata`. Hmm, in that case I recommend if anyone has any channels to "get the word out" it be used when Pip posts these bug fixes, I will post it on the Reddit community. > Do we know if our current PEP 658 implementation was tested with any real-world (private) index ? Could we use the same to test these fixes? [`proxpi`](https://github.com/EpicWink/proxpi) v1.1rc0 [^1] causes the mentioned error when proxying an index which correctly provides the metadata. This can be achieved with PyPI by commenting-out [this line](https://github.com/EpicWink/proxpi/blob/722947e46de23b44267a40261b25604d57fbdd19/src/proxpi/_cache.py#L332) (ie disable JSON-response requests to PyPI). [^1]: shameless plug Just because it has been brought up previously to take on mousebender as a dependency for pip, https://github.com/brettcannon/mousebender/blob/main/mousebender/simple.py had this covered for both response types with tests for the HTML side of things (the JSON side is a `TypedDict`, so it was implicitly covered). Do we have a gameplan here? What can we do to unblock this? There was mention of a patch release of pip, is that still being considered? Unfortunately, the affected pip 23.0.1 has now been backported to today's Python 3.7, 3.8 and 3.9 releases: https://github.com/python/cpython/issues/101997 https://github.com/python/cpython/pull/102273 https://github.com/python/cpython/pull/102244 https://github.com/python/cpython/pull/102243 Prior to this backport those release branches had been running pip 22.0.4, which wasn't affected since it didn't include #11111 (since the feature didn't land until pip 22.3). This presumably means the warehouse fix (pypi/warehouse#13706; which will allow pip and other clients to start benefiting from the feature) is now blocked not only on the pip bug (the bug described in the OP here) being fixed in a new pip bugfix release, but also new CPython releases containing that updated pip too? This might particularly be an issue for Python 3.7, given it reaches EOL at the end of this month, so I'm guessing there may not even be another 3.7 release after today's 3.7.17 release? Short of emergency pip/CPython releases, is there any other way the warehouse fix can be unblocked? Does warehouse have access to the pip version via the user agent, and so could use it to only serve the new `dist-info-metadata` key for fixed pip versions perhaps? OOF. size large. The proposal (bifurcation on user agent) is not likely to happen as it will double the number of objects we need to cache in our CDN. So we're kind of a crummy spot right now. We have a widely deployed version of pip that contains a bug, that went unnoticed because of a PyPI bug, but we're blocked on fixing that PyPI bug because of the pip bug. The way I see it we have 3 real options here: 1. Fix the bug in pip, wait some length of time until the broken versions of pip are "old enough", then fix the PyPI bug and break those versions of pip without a good way to upgrade. 2. Fix the bug in pip, fix the bug in PyPI, but special case pip itself so it doesn't have the PEP 658 metadata key at all until the broken versions of pip are "old" enough. This breaks those versions of pip, but allows them to easily upgrade. 3. Amend PEP 691 (or make a new mini PEP if we think it's needed) to rename the key that PEP 658 metadata uses to something completely different. This would allow both pip and PyPI to fix their bugs independently, but means we have to amend the spec. - We might want to also amend the HTML representation to match? or deal with them having different names? I think that (3) is probably our best option here, we could just rename the key from `dist-info-metadata` to `core-metadata`, old versions of pip won't take advantage of the key by default, but they were never going to since pip had a bug that prevented that. It avoids a big breaking change and it avoids having to wait some long period of time before we can take advantage of PEP 658. I agree that (3) seems like the best option. Even if fixed versions of pip were released via new bugfix releases of CPython 3.7/3.8/3.9/3.10/3.11, there will still be some users who are using non-latest patch releases of CPython who would end up being broken by options 1/2. > This might particularly be an issue for Python 3.7, given it reaches EOL at the end of this month, so I'm guessing there may not even be another 3.7 release after today's 3.7.17 release? It's possible, but unknown. A potentially mitigating factor: 3.7-3.10 are source-only releases. Only 3.11 (and 3.12) get binary installers. https://devguide.python.org/versions/ > Unfortunately, the affected pip 23.0.1 has now been backported to today's Python 3.7, 3.8 and 3.9 releases: There are also 3.10 and 3.11 releases due out today (3.12.0b2 already went out). I don't think the builds have started and there might be still be time to adjust the pip version (e.g. rollback) if you're quick? > A potentially mitigating factor: 3.7-3.10 are source-only releases True, but I suspect most places are still distributing all supported CPython versions even if they are only source only. For example: https://hub.docker.com/_/python/tags?page=1&name=3.9 > There are also 3.10 and 3.11 releases due out today. I don't think the builds have started and there might be still be time to adjust the pip version (e.g. rollback) if you're quick? Python 3.10 and 3.11 have been using the affected pip versions for some time (the last release of each was already on pip 22.3.1, and the feature has been in pip since 22.3) - so the situation for those versions wasn't made any worse by today's backport. Keep in mind that the bundled pips in these releases are only part of the optional ensurepip module which provides a minimum version of pip that can be used as a bootstrap which can then be used to upgrade to the most current version of pip. Most third-party distributors of Python do not include ensurepip in their packages as they provide their own versions of pip. I don't think we need to do anything urgent about this. Well many people do use the bundled version of pip, I think all of the python docker container versions do, Homebrew, etc. That being said, I think this bug has existed dormant in pip since at least 22.3, so we're already well past the point where we can avoid having it "out in the wild", so I don't think today's CPython releases matter much at all for our strategy here, other than it would have been nice to get a fixed version into those releases. I think since (3) is probably our best option, I'm going to raise a topic on discuss.p.o. Agreed, I think (3) is the best option. I'm inclined to think we should produce a PEP, as there's the possibility that other index providers have started to implement the existing spec - although it's unlikely any have deployed it, as if they had, we'd have got bug reports for pip before now... https://discuss.python.org/t/pep-658-rollout-on-pypi-has-gotten-stuck-due-to-multiple-related-bugs/27471?u=dstufft [PEP 714: Rename dist-info-metadata in the Simple API](https://peps.python.org/pep-0714/) https://github.com/pypi/warehouse/pull/13706 is now an implementation of PEP 714 awaiting pronouncement. I'm looking at a pip fix. Hmm, there's an important difference between PEP 658 (which specifies how hashes are supplied in the HTML index) and PEP 691 (which specifies the JSON form). The JSON form allows for *multiple* hashes, which isn't possible in the HTML form. So to correctly process the JSON data will need more than just fixing how the data is parsed, it will need extra functionality to handle multiple hashes. So it's going to be a deeper fix than it looked at first. You're not required to use all of them, PEP 691: > Multiple hashes can be included, and it is up to the client to decide what to do with multiple hashes (it may validate all of them or a subset of them, or nothing at all). So you can just pick one of them to verify if that makes it easier. The infrastructure's all there to handle multiple hashes (the `Link.hashes` attribute) it's just that the data structures used to parse the `dist-info-metadata` don't handle multiples. Basically `Link.metadata_link` is fine, it's the intermediate `LinkHash` structure that's the limited one. I may just replace that class altogether. (I could just do something specifically for the JSON case, but that would be messy, and I want to keep the implementation clean, as I *really* don't want to introduce any new problems here). I'm also thinking we need some much better tests of this, so we can be sure we've actually fixed the issue *before* saying it's OK for PyPI to turn on their implementation. Sorry, I shouldn't be trying to pair-program via GitHub issues 😉 The good news is we should be able to turn on PyPI's implementation of PEP 714 before pip lands their implementation, since the whole purpose of the strategy in the PEP is that it enables PyPI to land it without breaking the existing logic in pip. Not that much better tests would be a bad thing of course :) but I know how gnarly pip's code base can be to test too, so there's not a huge rush to land it in pip prior to PyPI anymore. Hmm, that's a good point and probably worth doing, when we get to that point. It makes me a lot more comfortable that I can check that I haven't made a dumb mistake before we unleash the pip fix on the world 🙂
2023-06-07T19:59:40Z
[]
[]
Traceback (most recent call last): File "/home/ckuehl/proj/pip/src/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/cli/req_command.py", line 248, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/commands/install.py", line 377, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "/home/ckuehl/proj/pip/src/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ return any(self) ^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr> return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built candidate = func() ^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ super().__init__( File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/operations/prepare.py", line 510, in prepare_linked_requirement metadata_dist = self._fetch_metadata_only(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/operations/prepare.py", line 374, in _fetch_metadata_only return self._fetch_metadata_using_link_data_attr( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/operations/prepare.py", line 384, in _fetch_metadata_using_link_data_attr metadata_link = req.link.metadata_link() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/models/link.py", line 417, in metadata_link metadata_link_hash = LinkHash.parse_pep658_hash(self.dist_info_metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ckuehl/proj/pip/src/pip/_internal/models/link.py", line 77, in parse_pep658_hash name, sep, value = dist_info_metadata.partition("=") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'dict' object has no attribute 'partition'
17,122
pypa/pip
pypa__pip-12127
b88addeaf5fde848733d7ef631caa522eb1cfa53
diff --git a/noxfile.py b/noxfile.py --- a/noxfile.py +++ b/noxfile.py @@ -67,7 +67,7 @@ def should_update_common_wheels() -> bool: # ----------------------------------------------------------------------------- # Development Commands # ----------------------------------------------------------------------------- -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"]) +@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]) def test(session: nox.Session) -> None: # Get the common wheels. if should_update_common_wheels(): @@ -89,6 +89,7 @@ def test(session: nox.Session) -> None: shutil.rmtree(sdist_dir, ignore_errors=True) # fmt: off + session.install("setuptools") session.run( "python", "setup.py", "sdist", "--formats=zip", "--dist-dir", sdist_dir, silent=True, @@ -351,6 +352,7 @@ def build_dists(session: nox.Session) -> List[str]: ) session.log("# Build distributions") + session.install("setuptools", "wheel") session.run("python", "setup.py", "sdist", "bdist_wheel", silent=True) produced_dists = glob.glob("dist/*")
Test suite assumes virtualenv installs setuptools ### Description Running `nox -s test-3.11` in a system that has virtualenv (globally) configured to not install setuptools or wheel, fails with the error ``` Traceback (most recent call last): File "C:\Work\Projects\pip\setup.py", line 4, in <module> from setuptools import find_packages, setup ModuleNotFoundError: No module named 'setuptools' ``` ### Expected behavior Test suite doesn't depend on the user's configuration being the default. (It's worth noting that I think virtualenv is going to stop installing setuptools in Python 3.12). ### pip version 23.2.dev0 ### Python version 3.11.2 ### OS Windows ### How to Reproduce 1. Put `no_setuptools=True` in your `virtualenv.ini`. 2. Run `nox -s test-3.11` ### Output _No response_ ### Code of Conduct - [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
I'm logging this as a reminder, it's not a critical issue right now
2023-07-04T09:08:34Z
[]
[]
Traceback (most recent call last): File "C:\Work\Projects\pip\setup.py", line 4, in <module> from setuptools import find_packages, setup ModuleNotFoundError: No module named 'setuptools'
17,123
pypa/pip
pypa__pip-1307
a92b19095013a0771b816b38e8c2b54542e11c0f
diff --git a/pip/wheel.py b/pip/wheel.py --- a/pip/wheel.py +++ b/pip/wheel.py @@ -13,7 +13,7 @@ import sys from base64 import urlsafe_b64encode -from pip.backwardcompat import ConfigParser +from pip.backwardcompat import ConfigParser, StringIO from pip.exceptions import InvalidWheelFilename from pip.locations import distutils_scheme from pip.log import logger @@ -106,11 +106,25 @@ def root_is_purelib(name, wheeldir): return True return False + def get_entrypoints(filename): if not os.path.exists(filename): return {}, {} + + # This is done because you can pass a string to entry_points wrappers which + # means that they may or may not be valid INI files. The attempt here is to + # strip leading and trailing whitespace in order to make them valid INI + # files. + with open(filename) as fp: + data = StringIO() + for line in fp: + data.write(line.strip()) + data.write("\n") + data.seek(0) + cp = ConfigParser.RawConfigParser() - cp.read(filename) + cp.readfp(data) + console = {} gui = {} if cp.has_section('console_scripts'): @@ -119,6 +133,7 @@ def get_entrypoints(filename): gui = dict(cp.items('gui_scripts')) return console, gui + def move_wheel_files(name, req, wheeldir, user=False, home=None, root=None): """Install a wheel"""
Whitespace in entry_points.txt is suddenly significant when installíng with wheels It seems that whitespace in `entry_points.txt` (possibly at other places too) has become significant with `pip` and wheels: ``` $ pip uninstall gunicorn Cannot uninstall requirement gunicorn, not installed $ pip wheel gunicorn [....] $ pip install wheelhouse/gunicorn-18.0-py26-none-any.whl Unpacking ./wheelhouse/gunicorn-18.0-py26-none-any.whl Installing collected packages: gunicorn Cleaning up... Exception: Traceback (most recent call last): File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/basecommand.py", line 121, in main status = self.run(options, args) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/commands/install.py", line 259, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/req.py", line 1322, in install requirement.install(install_options, global_options, *args, **kwargs) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/req.py", line 615, in install self.move_wheel_files(self.source_dir, root=root) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/req.py", line 839, in move_wheel_files root=root, File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/wheel.py", line 193, in move_wheel_files console, gui = get_entrypoints(ep_file) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/wheel.py", line 112, in get_entrypoints cp.read(filename) File "/usr/lib64/python2.6/ConfigParser.py", line 286, in read self._read(fp, filename) File "/usr/lib64/python2.6/ConfigParser.py", line 482, in _read raise MissingSectionHeaderError(fpname, lineno, line) MissingSectionHeaderError: File contains no section headers. file: /home/rassie/.virtualenvs/test/lib64/python2.6/site-packages/gunicorn-18.0.dist-info/entry_points.txt, line: 3 ' [console_scripts]\n' Storing debug log for failure in /home/rassie/.pip/pip.log ``` The whitespace does indeed come from the [source](https://github.com/benoitc/gunicorn/blob/master/setup.py), and `ConfigParser` really can't parse that, so the actual error is on `gunicorn`'s side. However, this behaviour differs from normal `pip install` and also from `easy_install` when using `egg`s, so something has to be done.
So the problem is https://github.com/benoitc/gunicorn/blob/master/setup.py#L85-L105 We can probably just strip the whitespace on reach line before reading the entrypoints file.
2013-11-08T11:34:43Z
[]
[]
Traceback (most recent call last): File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/basecommand.py", line 121, in main status = self.run(options, args) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/commands/install.py", line 259, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/req.py", line 1322, in install requirement.install(install_options, global_options, *args, **kwargs) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/req.py", line 615, in install self.move_wheel_files(self.source_dir, root=root) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/req.py", line 839, in move_wheel_files root=root, File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/wheel.py", line 193, in move_wheel_files console, gui = get_entrypoints(ep_file) File "/home/rassie/.virtualenvs/test/lib/python2.6/site-packages/pip/wheel.py", line 112, in get_entrypoints cp.read(filename) File "/usr/lib64/python2.6/ConfigParser.py", line 286, in read self._read(fp, filename) File "/usr/lib64/python2.6/ConfigParser.py", line 482, in _read raise MissingSectionHeaderError(fpname, lineno, line) MissingSectionHeaderError: File contains no section headers.
17,132
pypa/pip
pypa__pip-1311
143b4641a349ed16fc31b4920ff5efa4bf01b7e1
diff --git a/pip/download.py b/pip/download.py --- a/pip/download.py +++ b/pip/download.py @@ -359,7 +359,7 @@ def unpack_file_url(link, location): # delete the location since shutil will create it again :( if os.path.isdir(location): rmtree(location) - shutil.copytree(source, location) + shutil.copytree(source, location, symlinks=True) else: unpack_file(source, location, content_type, link)
"pip install ." fails on Python 3.3 (with symlinks in local directory) This seems to happen only if there are symlinks in the local directory. (In my case, the symlinks are from temporary build files.) ``` bash $ pip install . Unpacking /Users/myint/projects/docformatter Cleaning up... Exception: Traceback (most recent call last): File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/commands/install.py", line 235, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/req.py", line 1084, in prepare_files self.unpack_url(url, location, self.is_download) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/req.py", line 1224, in unpack_url return unpack_file_url(link, loc) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/download.py", line 422, in unpack_file_url shutil.copytree(source, location) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/shutil.py", line 343, in copytree raise Error(errors) shutil.Error: [('/Users/myint/projects/docformatter/.travis-solo/2.6/include/python2.6', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/include/python2.6', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/include/python2.6'"), ('/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/lib/python2.6/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/config'"), ('/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/lib/python2.6/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/lib/python2.6/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/include/python2.7', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/include/python2.7', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/include/python2.7'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/lib/python2.7/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/config'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/lib/python2.7/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/lib/python2.7/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/include/python3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/include/python3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/include/python3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/config-3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/lib/python3.2/config-3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/config-3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/lib/python3.2/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/lib/python3.2/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/include/python3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/include/python3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/include/python3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/collections', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/collections', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/collections'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/config-3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/config-3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/config-3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/importlib', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/importlib', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/importlib'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/plat-darwin', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/plat-darwin', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/plat-darwin'"), ('/Users/myint/projects/docformatter/.travis-solo/pypy/include', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/pypy/include', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/pypy/include'"), ('/Users/myint/projects/docformatter/.travis-solo/pypy/lib-python/2.7/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/pypy/lib-python/2.7/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/pypy/lib-python/2.7/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/include/python2.6', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/include/python2.6', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/include/python2.6'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/lib/python2.6/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/config'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/lib/python2.6/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/lib/python2.6/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/include/python2.7', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/include/python2.7', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/include/python2.7'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/lib/python2.7/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/config'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/lib/python2.7/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/lib/python2.7/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/include/python3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/include/python3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/include/python3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/config-3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/lib/python3.2/config-3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/config-3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/lib/python3.2/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/lib/python3.2/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/include/python3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/include/python3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/include/python3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/collections', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/collections', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/collections'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/config-3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/config-3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/config-3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/importlib', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/importlib', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/importlib'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/plat-darwin', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/plat-darwin', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/plat-darwin'")] Storing complete log in /Users/myint/.pip/pip.log ``` This seems to be due to `shutil.copytree()`, which fails if there are symlinks in the source.
can you explain the details of your symlink case, or provide a repeatable case. thanks. Yeah, it is easy to reproduce. ``` bash $ git clone https://github.com/myint/docformatter $ cd docformatter $ ln -s /tmp $ pip install . Unpacking /Users/myint/projects/docformatter Cleaning up... Exception: Traceback (most recent call last): File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/commands/install.py", line 235, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/req.py", line 1084, in prepare_files self.unpack_url(url, location, self.is_download) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/req.py", line 1224, in unpack_url return unpack_file_url(link, loc) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/download.py", line 420, in unpack_file_url shutil.copytree(source, location) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/shutil.py", line 343, in copytree raise Error(errors) shutil.Error: [('/Users/myint/projects/docformatter/tmp', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-ayxv_5-build/tmp', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/tmp'")] ``` Note that the error goes away if I set `symlinks` parameter of `shutil.copytree()` to `True` in `pip/download.py`. Any thoughts on my fix? `copytree` in py2 doesn't trigger these errors. did you discover the reason py3.3 behaves like this? to be clear, the failure is occuring when copying from src to the build location, not when installing. you're not intending to install a symlink are you? FWIW Python 3.3 changed the way `rmtree()` worked, it's possible they also changed the way `copytree()` worked too. Right, `copytree()` is just implemented differently in Python 3. Also, correct, the symlink is not meant to be installed. The symlink is just some temporary file (as in the contents of `.tox` or a virtualenv, which include symlinks to various locations).
2013-11-10T00:07:01Z
[]
[]
Traceback (most recent call last): File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/commands/install.py", line 235, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/req.py", line 1084, in prepare_files self.unpack_url(url, location, self.is_download) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/req.py", line 1224, in unpack_url return unpack_file_url(link, loc) File "/Users/myint/Library/Python/3.3/lib/python/site-packages/pip/download.py", line 422, in unpack_file_url shutil.copytree(source, location) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/shutil.py", line 343, in copytree raise Error(errors) shutil.Error: [('/Users/myint/projects/docformatter/.travis-solo/2.6/include/python2.6', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/include/python2.6', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/include/python2.6'"), ('/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/lib/python2.6/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/config'"), ('/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/lib/python2.6/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.6/lib/python2.6/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.6/lib/python2.6/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/include/python2.7', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/include/python2.7', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/include/python2.7'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/lib/python2.7/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/config'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/lib/python2.7/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/2.7/lib/python2.7/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/2.7/lib/python2.7/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/include/python3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/include/python3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/include/python3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/config-3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/lib/python3.2/config-3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/config-3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/lib/python3.2/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.2/lib/python3.2/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.2/lib/python3.2/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/include/python3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/include/python3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/include/python3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/collections', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/collections', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/collections'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/config-3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/config-3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/config-3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/importlib', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/importlib', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/importlib'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/plat-darwin', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/3.3/lib/python3.3/plat-darwin', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/3.3/lib/python3.3/plat-darwin'"), ('/Users/myint/projects/docformatter/.travis-solo/pypy/include', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/pypy/include', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/pypy/include'"), ('/Users/myint/projects/docformatter/.travis-solo/pypy/lib-python/2.7/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/pypy/lib-python/2.7/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/pypy/lib-python/2.7/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/include/python2.6', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/include/python2.6', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/include/python2.6'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/lib/python2.6/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/config'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/lib/python2.6/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.6/lib/python2.6/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.6/lib/python2.6/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/include/python2.7', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/include/python2.7', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/include/python2.7'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/config', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/lib/python2.7/config', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/config'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/lib/python2.7/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python2.7/lib/python2.7/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python2.7/lib/python2.7/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/include/python3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/include/python3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/include/python3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/config-3.2m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/lib/python3.2/config-3.2m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/config-3.2m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/lib/python3.2/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.2/lib/python3.2/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.2/lib/python3.2/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/include/python3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/include/python3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/include/python3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/collections', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/collections', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/collections'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/config-3.3m', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/config-3.3m', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/config-3.3m'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/encodings', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/encodings', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/encodings'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/importlib', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/importlib', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/importlib'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/lib-dynload', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/lib-dynload', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/lib-dynload'"), ('/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/plat-darwin', '/var/folders/eD/eDkaCQuWHJG9f-G6kmkpgk+++TI/-Tmp-/pip-5g3qy6-build/.travis-solo/python3.3/lib/python3.3/plat-darwin', "[Errno 21] Is a directory: '/Users/myint/projects/docformatter/.travis-solo/python3.3/lib/python3.3/plat-darwin'")]
17,133
pypa/pip
pypa__pip-1691
1cc460af7aace784b33c58dc1a5457ff2d892521
diff --git a/pip/_vendor/six.py b/pip/_vendor/six.py --- a/pip/_vendor/six.py +++ b/pip/_vendor/six.py @@ -25,7 +25,7 @@ import types __author__ = "Benjamin Peterson <benjamin@python.org>" -__version__ = "1.5.2" +__version__ = "1.6.1" # Useful for very coarse version differentiation. @@ -83,7 +83,11 @@ def __init__(self, name): self.name = name def __get__(self, obj, tp): - result = self._resolve() + try: + result = self._resolve() + except ImportError: + # See the nice big comment in MovedModule.__getattr__. + raise AttributeError("%s could not be imported " % self.name) setattr(obj, self.name, result) # Invokes __set__. # This is a bit ugly, but it avoids running this again. delattr(obj.__class__, self.name) @@ -105,15 +109,22 @@ def _resolve(self): return _import_module(self.mod) def __getattr__(self, attr): - # Hack around the Django autoreloader. The reloader tries to get - # __file__ or __name__ of every module in sys.modules. This doesn't work - # well if this MovedModule is for an module that is unavailable on this - # machine (like winreg on Unix systems). Thus, we pretend __file__ and - # __name__ don't exist if the module hasn't been loaded yet. See issues - # #51 and #53. - if attr in ("__file__", "__name__") and self.mod not in sys.modules: - raise AttributeError - _module = self._resolve() + # It turns out many Python frameworks like to traverse sys.modules and + # try to load various attributes. This causes problems if this is a + # platform-specific module on the wrong platform, like _winreg on + # Unixes. Therefore, we silently pretend unimportable modules do not + # have any attributes. See issues #51, #53, #56, and #63 for the full + # tales of woe. + # + # First, if possible, avoid loading the module just to look at __file__, + # __name__, or __path__. + if (attr in ("__file__", "__name__", "__path__") and + self.mod not in sys.modules): + raise AttributeError(attr) + try: + _module = self._resolve() + except ImportError: + raise AttributeError(attr) value = getattr(_module, attr) setattr(self, attr, value) return value @@ -222,6 +233,7 @@ class _MovedItems(_LazyModule): MovedModule("urllib", __name__ + ".moves.urllib", __name__ + ".moves.urllib"), MovedModule("urllib_robotparser", "robotparser", "urllib.robotparser"), MovedModule("xmlrpc_client", "xmlrpclib", "xmlrpc.client"), + MovedModule("xmlrpc_server", "xmlrpclib", "xmlrpc.server"), MovedModule("winreg", "_winreg"), ] for attr in _moved_attributes: @@ -241,6 +253,7 @@ class Module_six_moves_urllib_parse(_LazyModule): _urllib_parse_moved_attributes = [ MovedAttribute("ParseResult", "urlparse", "urllib.parse"), + MovedAttribute("SplitResult", "urlparse", "urllib.parse"), MovedAttribute("parse_qs", "urlparse", "urllib.parse"), MovedAttribute("parse_qsl", "urlparse", "urllib.parse"), MovedAttribute("urldefrag", "urlparse", "urllib.parse"), @@ -254,6 +267,7 @@ class Module_six_moves_urllib_parse(_LazyModule): MovedAttribute("unquote", "urllib", "urllib.parse"), MovedAttribute("unquote_plus", "urllib", "urllib.parse"), MovedAttribute("urlencode", "urllib", "urllib.parse"), + MovedAttribute("splitquery", "urllib", "urllib.parse"), ] for attr in _urllib_parse_moved_attributes: setattr(Module_six_moves_urllib_parse, attr.name, attr)
MovedModule errors on systems where they are n/a (like winreg on unix systems) - If I install pip 1.5.2 (or any earlier version) my little script works: ``` diana$ pip install pip==1.5.2 diana$ python foo.py works! ``` - If I install pip 1.5.3 or 1.5.4 my silly script stops working: ``` diana$ pip install pip==1.5.3 diana$ python foo.py Traceback (most recent call last): File "foo.py", line 13, in <module> scan_module(pip) File "foo.py", line 11, in scan_module scan_module(item) File "foo.py", line 11, in scan_module scan_module(item) File "foo.py", line 11, in scan_module scan_module(item) File "foo.py", line 9, in scan_module item = getattr(module, name, None) File "/User/diana/env/foo/lib/python2.7/site-packages/pip/_vendor/six.py", line 86, in __get__ result = self._resolve() File "/User/diana/env/foo/lib/python2.7/site-packages/pip/_vendor/six.py", line 105, in _resolve return _import_module(self.mod) File "/User/diana/env/foo/lib/python2.7/site-packages/pip/_vendor/six.py", line 76, in _import_module __import__(name) ImportError: No module named _winreg ``` - My silly script (foo.py): ``` import pip import types def scan_module(module): modules.add(module) for name in dir(module): item = getattr(module, name, None) if isinstance(item, types.ModuleType) and item not in modules: scan_module(item) modules = set() scan_module(pip) print 'works!' ``` A six.py regression? PS. This code snippet was extracted from paver. My paver scripts import pip, and since paver scans all imported modules (paver/tasks.py), the paver commands stopped working when I upgraded to pip 1.5.3. https://github.com/paver/paver
Yah, [seems to be](https://bitbucket.org/gutworth/six/issue/63/importing-six-breaks-pickling). Around [here](https://bitbucket.org/gutworth/six/src/320691c3ccadeb64bb8a368ef9d39cb2a9a44770/six.py?at=default#cl-93), apparently fixed for django's purposes, but obviously not everyone's. edit: wanted to link to a six issue, not a sphinx issue >_> I'm sure there's a good reason to not do the following... like not being able to differentiate between missing modules (winreg on unix systems), and modules that simply fail to import (for whatever reason). Thoughts @gutworth? ``` diff --git a/pip/_vendor/six.py b/pip/_vendor/six.py index 7ec7f1b..34b7992 100644 --- a/pip/_vendor/six.py +++ b/pip/_vendor/six.py @@ -73,10 +73,12 @@ def _add_doc(func, doc): def _import_module(name): """Import module, returning the module after the last dot.""" - __import__(name) + try: + __import__(name) + except ImportError: + return None return sys.modules[name] - class _LazyDescr(object): def __init__(self, name): @@ -84,6 +86,8 @@ class _LazyDescr(object): def __get__(self, obj, tp): result = self._resolve() + if result is None: + raise AttributeError setattr(obj, self.name, result) # Invokes __set__. # This is a bit ugly, but it avoids running this again. delattr(obj.__class__, self.name) @@ -105,15 +109,9 @@ class MovedModule(_LazyDescr): return _import_module(self.mod) def __getattr__(self, attr): - # Hack around the Django autoreloader. The reloader tries to get - # __file__ or __name__ of every module in sys.modules. This doesn't work - # well if this MovedModule is for an module that is unavailable on this - # machine (like winreg on Unix systems). Thus, we pretend __file__ and - # __name__ don't exist if the module hasn't been loaded yet. See issues - # #51 and #53. - if attr in ("__file__", "__name__") and self.mod not in sys.modules: - raise AttributeError _module = self._resolve() + if _module is None: + raise AttributeError value = getattr(_module, attr) setattr(self, attr, value) return value ``` @dianaclarke That's not such a bad idea. Thanks! How does six 1.6.0 work for you? @gutworth six 1.6.0 still doesn't work for me b/c it's the resolve call in `_LazyDescr.__get__` (not `MovedModule.__getattr__`) that raises an ImportError for things like winreg (in my case). Ugg, I guess that's what I get for not scrolling to the right in your traceback. This is more of a borderline case because I think it's better for `six.moves.winreg` to raise an `ImportError` than an `AttributeError` if `winreg` is not in fact available. OTOH, it is an attribute access... Maybe 1.6.1 will do the trick? @gutworth Yup! six 1.6.1 fixes it. Thanks, that was fun :) ``` diana$ python foo.py works! ``` Is this an error that happened in normal use of pip, or only inside some larger use where you had to import it and scan modules? My use case: We import `pip.req` to `parse_requirements` within one of our paver scripts (https://github.com/paver/paver). Paver scans all modules to get all tasks breaking things like: `paver help`. For example, the following paver script breaks as of pip 1.5.3. ``` from paver.easy import task import pip @task def foo(): print 'foo' ```
2014-03-28T12:57:54Z
[]
[]
Traceback (most recent call last): File "foo.py", line 13, in <module> scan_module(pip) File "foo.py", line 11, in scan_module scan_module(item) File "foo.py", line 11, in scan_module scan_module(item) File "foo.py", line 11, in scan_module scan_module(item) File "foo.py", line 9, in scan_module item = getattr(module, name, None) File "/User/diana/env/foo/lib/python2.7/site-packages/pip/_vendor/six.py", line 86, in __get__ result = self._resolve() File "/User/diana/env/foo/lib/python2.7/site-packages/pip/_vendor/six.py", line 105, in _resolve return _import_module(self.mod) File "/User/diana/env/foo/lib/python2.7/site-packages/pip/_vendor/six.py", line 76, in _import_module __import__(name) ImportError: No module named _winreg
17,145
pypa/pip
pypa__pip-1725
9539ce21cb5653cfcdd6b5b7e486360e7ce925be
diff --git a/pip/__init__.py b/pip/__init__.py --- a/pip/__init__.py +++ b/pip/__init__.py @@ -149,11 +149,11 @@ def parseopts(args): sys.exit() # the subcommand name - cmd_name = args_else[0].lower() + cmd_name = args_else[0] # all the args without the subcommand cmd_args = args[:] - cmd_args.remove(args_else[0].lower()) + cmd_args.remove(args_else[0]) if cmd_name not in commands: guess = get_similar_commands(cmd_name) diff --git a/pip/commands/__init__.py b/pip/commands/__init__.py --- a/pip/commands/__init__.py +++ b/pip/commands/__init__.py @@ -67,14 +67,14 @@ def get_similar_commands(name): """Command name auto-correct.""" from difflib import get_close_matches + name = name.lower() + close_commands = get_close_matches(name, commands.keys()) if close_commands: - guess = close_commands[0] + return close_commands[0] else: - guess = False - - return guess + return False def _sort_commands(cmddict, order):
Traceback if any uppercase command entered. c:\Python34\Scripts>pip3.exe -V pip 1.5.2 from C:\Python34\lib\site-packages (python 3.4) Windows 7.1 c:\Python34\Scripts>pip3.exe LIST Traceback (most recent call last): File "C:\Python34\lib\runpy.py", line 171, in _run_module_as_main "__main__", mod_spec) File "C:\Python34\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "c:\Python34\Scripts\pip3.exe__main__.py", line 9, in <module> File "C:\Python34\lib\site-packages\pip__init__.py", line 177, in main cmd_name, cmd_args = parseopts(initial_args) File "C:\Python34\lib\site-packages\pip__init__.py", line 156, in parseopts cmd_args.remove(args_else[0].lower()) ValueError: list.remove(x): x not in list This was confirmed in response to my query on the main python mailing list.
2014-04-15T21:49:02Z
[]
[]
Traceback (most recent call last): File "C:\Python34\lib\runpy.py", line 171, in _run_module_as_main "__main__", mod_spec) File "C:\Python34\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "c:\Python34\Scripts\pip3.exe__main__.py", line 9, in <module> File "C:\Python34\lib\site-packages\pip__init__.py", line 177, in main cmd_name, cmd_args = parseopts(initial_args) File "C:\Python34\lib\site-packages\pip__init__.py", line 156, in parseopts cmd_args.remove(args_else[0].lower()) ValueError: list.remove(x): x not in list
17,147
pypa/pip
pypa__pip-1830
8ba11ed5656f353831fdb36c3ae8b66e6fb3f858
diff --git a/pip/vcs/__init__.py b/pip/vcs/__init__.py --- a/pip/vcs/__init__.py +++ b/pip/vcs/__init__.py @@ -4,6 +4,7 @@ import shutil from pip.compat import urlparse, urllib +from pip.exceptions import BadCommand from pip.log import logger from pip.util import (display_path, backup_dir, find_command, rmtree, ask_path_exists) @@ -242,7 +243,15 @@ def get_src_requirement(self, dist, location, find_tags=False): def get_src_requirement(dist, location, find_tags): version_control = vcs.get_backend_from_location(location) if version_control: - return version_control().get_src_requirement(dist, location, find_tags) + try: + return version_control().get_src_requirement(dist, + location, + find_tags) + except BadCommand: + logger.warn('cannot determine version of editable source in %s ' + '(%s command not found in path)' % ( + location, version_control.name)) + return dist.as_requirement() logger.warn( 'cannot determine version of editable source in %s (is not SVN ' 'checkout, Git clone, Mercurial clone or Bazaar branch)' % location
'pip freeze' fails with BadCommand if vcs program is not found Although mechanisms are in place to catch errors in the get_src_requirement() path, a BadCommand exception reaches the top-level and makes pip unusable if any package is found that has a .git directory and 'git' is not installed (or not in path). I think this should be caught and a warning displayed in [pip.vcs:get_src_requirement()](https://github.com/pypa/pip/blob/3e7c94e9/pip/vcs/__init__.py#L246) instead, allowing the program to continue. ``` > python -m pip -v freeze Cannot find command 'git' Exception information: Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line 139, in main status = self.run(options, args) File "C:\Python27\lib\site-packages\pip\commands\freeze.py", line 73, in run req = pip.FrozenRequirement.from_dist(dist, dependency_links, find_tags=find_tags) File "C:\Python27\lib\site-packages\pip\__init__.py", line 181, in from_dist req = get_src_requirement(dist, location, find_tags) File "C:\Python27\lib\site-packages\pip\vcs\__init__.py", line 249, in get_src_requirement return version_control().get_src_requirement(dist, location, find_tags) File "C:\Python27\lib\site-packages\pip\vcs\git.py", line 155, in get_src_requirement repo = self.get_url(location) File "C:\Python27\lib\site-packages\pip\vcs\git.py", line 123, in get_url [self.cmd, 'config', 'remote.origin.url'], File "C:\Python27\lib\site-packages\pip\vcs\__init__.py", line 110, in cmd command = find_command(self.name) File "C:\Python27\lib\site-packages\pip\util.py", line 107, in find_command raise BadCommand('Cannot find command %r' % cmd) BadCommand: Cannot find command 'git' ```
2014-05-21T22:16:05Z
[]
[]
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line 139, in main status = self.run(options, args) File "C:\Python27\lib\site-packages\pip\commands\freeze.py", line 73, in run req = pip.FrozenRequirement.from_dist(dist, dependency_links, find_tags=find_tags) File "C:\Python27\lib\site-packages\pip\__init__.py", line 181, in from_dist req = get_src_requirement(dist, location, find_tags) File "C:\Python27\lib\site-packages\pip\vcs\__init__.py", line 249, in get_src_requirement return version_control().get_src_requirement(dist, location, find_tags) File "C:\Python27\lib\site-packages\pip\vcs\git.py", line 155, in get_src_requirement repo = self.get_url(location) File "C:\Python27\lib\site-packages\pip\vcs\git.py", line 123, in get_url [self.cmd, 'config', 'remote.origin.url'], File "C:\Python27\lib\site-packages\pip\vcs\__init__.py", line 110, in cmd command = find_command(self.name) File "C:\Python27\lib\site-packages\pip\util.py", line 107, in find_command raise BadCommand('Cannot find command %r' % cmd) BadCommand: Cannot find command 'git'
17,155
pypa/pip
pypa__pip-1834
82948cd49f99c93d2c11e9611ba6de29373901ef
diff --git a/pip/download.py b/pip/download.py --- a/pip/download.py +++ b/pip/download.py @@ -15,6 +15,7 @@ import tempfile from pip._vendor.six.moves.urllib import parse as urllib_parse +from pip._vendor.six.moves.urllib import request as urllib_request import pip @@ -371,17 +372,15 @@ def url_to_path(url): """ assert url.startswith('file:'), ( "You can only turn file: urls into filenames (not %r)" % url) - path = url[len('file:'):].lstrip('/') - path = urllib_parse.unquote(path) - if _url_drive_re.match(path): - path = path[0] + ':' + path[2:] - else: - path = '/' + path - return path + _, netloc, path, _, _ = urllib_parse.urlsplit(url) -_drive_re = re.compile('^([a-z]):', re.I) -_url_drive_re = re.compile('^([a-z])[:|]', re.I) + # if we have a UNC path, prepend UNC share notation + if netloc: + netloc = '\\\\' + netloc + + path = urllib_request.url2pathname(netloc + path) + return path def path_to_url(path): @@ -390,12 +389,8 @@ def path_to_url(path): quoted path parts. """ path = os.path.normpath(os.path.abspath(path)) - drive, path = os.path.splitdrive(path) - filepath = path.split(os.path.sep) - url = '/'.join([urllib_parse.quote(part) for part in filepath]) - if not drive: - url = url.lstrip('/') - return 'file:///' + drive + url + url = urllib_parse.urljoin('file:', urllib_request.pathname2url(path)) + return url def is_archive_file(name): diff --git a/pip/index.py b/pip/index.py --- a/pip/index.py +++ b/pip/index.py @@ -1041,6 +1041,11 @@ class Link(object): def __init__(self, url, comes_from=None, internal=None, trusted=None, _deprecated_regex=False): + + # url can be a UNC windows share + if url != Inf and url.startswith('\\\\'): + url = path_to_url(url) + self.url = url self.comes_from = comes_from self.internal = internal
On Windows, Pip does not suppport UNC paths. When you specify a UNC path as a --find-links option, pip fails when specifying an UNC path: ``` cd f:\ pip install -f \\UNC\path --no-index ipython Exception: Traceback (most recent call last): File "F:\python27\lib\site-packages\pip\basecommand.py", line 122, in main status = self.run(options, args) File "F:\python27\lib\site-packages\pip\commands\install.py", line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "F:\python27\lib\site-packages\pip\req.py", line 1197, in prepare_files do_download, File "F:\python27\lib\site-packages\pip\req.py", line 1364, in unpack_url unpack_file_url(link, location, download_dir) File "F:\python27\lib\site-packages\pip\download.py", line 640, in unpack_file_url unpack_file(from_path, location, content_type, link) File "F:\python27\lib\site-packages\pip\util.py", line 621, in unpack_file unzip_file(filename, location, flatten=not filename.endswith(('.pybundle', '.whl'))) File "F:\python27\lib\site-packages\pip\util.py", line 489, in unzip_file zipfp = open(filename, 'rb') IOError: [Errno 2] No such file or directory: 'f:\\UNC\path\\ipython-2.0.0-py27-none-any.whl' ```
+1 on this. This is a must have.
2014-05-23T20:39:14Z
[]
[]
Traceback (most recent call last): File "F:\python27\lib\site-packages\pip\basecommand.py", line 122, in main status = self.run(options, args) File "F:\python27\lib\site-packages\pip\commands\install.py", line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "F:\python27\lib\site-packages\pip\req.py", line 1197, in prepare_files do_download, File "F:\python27\lib\site-packages\pip\req.py", line 1364, in unpack_url unpack_file_url(link, location, download_dir) File "F:\python27\lib\site-packages\pip\download.py", line 640, in unpack_file_url unpack_file(from_path, location, content_type, link) File "F:\python27\lib\site-packages\pip\util.py", line 621, in unpack_file unzip_file(filename, location, flatten=not filename.endswith(('.pybundle', '.whl'))) File "F:\python27\lib\site-packages\pip\util.py", line 489, in unzip_file zipfp = open(filename, 'rb') IOError: [Errno 2] No such file or directory: 'f:\\UNC\path\\ipython-2.0.0-py27-none-any.whl'
17,156
pypa/pip
pypa__pip-1855
3eaea35f2e28a8bfc29f9236ecc4a799d116abbb
diff --git a/pip/wheel.py b/pip/wheel.py --- a/pip/wheel.py +++ b/pip/wheel.py @@ -242,6 +242,10 @@ def is_entrypoint_wrapper(name): maker = ScriptMaker(None, scheme['scripts']) + # Ensure old scripts are overwritten. + # See https://github.com/pypa/pip/issues/1800 + maker.clobber = True + # Ensure we don't generate any variants for scripts because this is almost # never what somebody wants. # See https://bitbucket.org/pypa/distlib/issue/35/
pip fail after upgrade to 1.5.5 ``` $ pip install --upgrade pip Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.5-py2.py3-none-any.whl#md5=03a932d6f82a3887d8de1cdb837c87ed Using download cache from /Users/robinho/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fpy2.py3%2Fp%2Fpip%2Fpip-1.5.5-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.4 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... $ pip Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module> working_set = WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pip==1.5.4 ``` Using a python installed by homebrew. ``` $ python --version Python 2.7.6 $ brew --version 0.9.5 $ sw_vers ProductName: Mac OS X ProductVersion: 10.9.2 BuildVersion: 13C1021 ```
Hmm, for some reason your `pip` command wasn't updated. I wasn't able to reproduce with a quick attempt here locally. You could try do `python -m pip --upgrade --force-reinstall pip` to see if that fixes it. @dstufft don't work. ``` $ python -m pip install --upgrade --force-reinstall pip Downloading/unpacking pip Using download cache from /Users/robinho/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fpy2.py3%2Fp%2Fpip%2Fpip-1.5.5-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.5 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... $ pip Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module> working_set = WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pip==1.5.4 ``` Maybe it is a bug on homebrew install =/. What's your opinion about it? ``` $ mkvirtualenv test New python executable in test/bin/python2.7 Also creating executable in test/bin/python Installing setuptools, pip...done. $ pip list --outdated pip (Current: 1.5.4 Latest: 1.5.5) setuptools (Current: 2.2 Latest: 3.5.1) $ pip install --upgrade pip Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.5-py2.py3-none-any.whl#md5=03a932d6f82a3887d8de1cdb837c87ed Using download cache from /Users/robinho/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fpy2.py3%2Fp%2Fpip%2Fpip-1.5.5-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.4 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... $ pip --version pip 1.5.5 from /Users/robinho/.virtualenvs/test/lib/python2.7/site-packages (python 2.7) ``` What happens if you do `which pip`? Before upgrade: ``` $ which pip /usr/local/bin/pip $ pip --version pip 1.5.4 from /usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.4-py2.7.egg (python 2.7) ``` After upgrade: ``` $ pip install --upgrade pip Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.5-py2.py3-none-any.whl#md5=03a932d6f82a3887d8de1cdb837c87ed Using download cache from /Users/robinho/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fpy2.py3%2Fp%2Fpip%2Fpip-1.5.5-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.4 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... $ which pip /usr/local/bin/pip $ pip --version Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2749, in <module> working_set = WorkingSet._build_master() File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 446, in _build_master return cls._build_from_requirements(__requires__) File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 459, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pip==1.5.4 ``` Either your pythons and paths are horribly messed up, or this might just be an old distribute/setuptools blowup. Try these: ``` # Get rid of them $ python -m pip uninstall -y setuptools $ python -m pip uninstall -y distribute # the next command should FAIL now because the above should be uninstalled $ python -c "import pkg_resources" # reinstall stuff now $ python -m pip install -U --force-reinstall setuptools $ python -m pip install -U --force-reinstall pip # now check things work and are the same $ python -m pip --version $ pip --version $ pip list ``` Does pip try to check/upgrade the setuptools version to avoid these situations? Not work. I don't known why, but the `uninstall` keep the `pkg_resources`. ``` $ python -m pip uninstall -y setuptools Uninstalling setuptools: Successfully uninstalled setuptools $ python -m pip uninstall -y distribute Cannot uninstall requirement distribute, not installed Storing debug log for failure in /Users/robinho/.pip/pip.log $ python -c "import pkg_resources" $ python -m pip install -U --force-reinstall setuptools Downloading/unpacking setuptools Using download cache from /Users/robinho/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2F3.4%2Fs%2Fsetuptools%2Fsetuptools-3.6-py2.py3-none-any.whl Installing collected packages: setuptools Successfully installed setuptools Cleaning up... $ python -m pip install -U --force-reinstall pip Downloading/unpacking pip Using download cache from /Users/robinho/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fpy2.py3%2Fp%2Fpip%2Fpip-1.5.5-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.4 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... $ python -m pip --version pip 1.5.5 from /usr/local/lib/python2.7/site-packages (python 2.7) $ pip --version Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2829, in <module> working_set = WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 451, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 464, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pip==1.5.4 $ ls -l /usr/local/bin/pip lrwxr-xr-x 1 robinho admin 32 May 7 14:22 /usr/local/bin/pip -> ../Cellar/python/2.7.6_1/bin/pip $ cat /usr/local/bin/pip #!/usr/local/opt/python/bin/python2.7 # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.5.4','console_scripts','pip' __requires__ = 'pip==1.5.4' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pip==1.5.4', 'console_scripts', 'pip')() ) ``` I think **Upgrade setuptools and pip** Pull Request #29039 probably solves this issue. A similar pip 1.5.4 to 1.5.5 problem is at the root of [/homebrew/python issue](https://github.com/Homebrew/homebrew/issues/26900) #26900 @wem3 The Pull Request https://github.com/Homebrew/homebrew/pull/29039 was merged. Now the pip 1.5.5 are working. Thanks for the attention, guys! I see `pkg_resources.DistributionNotFound:` error popping out at SO from time to time. My [diagnosis](http://stackoverflow.com/a/21314526/95735) at one point in the past was > The root of the problem are often outdated scripts in the bin (Linux) or Scripts (Windows) subdirectory. However I'm not sure what causes these scripts to not be updated when upgrading given distribution/package. To provide a bit more information, Homebrew's version of Python currently bundles setuptools 3.6; before yesterday it provided setuptools 3.4.1. I can confirm that setuptools 3.6 does not fix this problem, and it does occur even if no other setuptools/distutils installations are present. I've noticed this only happens when pip tries to upgrade itself by downloading a wheel (which is the default); `pip install --upgrade --no-use-wheel pip` does produce a working pip. I can provide more information if needed. I can also see two separate `site-packages` in the logs shown on the issue, which suggests to me that some migration hasn't worked properly (some scripts might have been left behind?). You only want one `site-packages` for one python.. @mistydemeo pip provides a `RECORD` file in the `egg-info` / `dist-info` folder of a package when its installed, in the python's `site-packages` folder. e.g ``` /usr/lib/python2.7/site-packages/setuptools-3.5.1-py2.7.egg-info/RECORD ``` It lists the files installed by pip for a package. If you compare those between pip install between `--no-use-wheel` and not, we could find some of the problem. The contents are identical between the working and non-working (non-wheel and wheel) installs; even the checksums of the files are identical. Well, damn. @mistydemeo thanks for trying that! fwiw the reason to manually look up the `RECORD`s is that listing files installed with `pip show --list <pkg>` doesn't work for wheels in 1.5.x, it's fixed in 1.6. I'd still consider a possibility of @robsonpeixoto is that his installation seems to have gathered two `site-packages` (two python install locations? :S), ``` /usr/local/lib/python2.7/site-packages/ ``` and ``` /usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ ``` I'm not sure if this is caused from homebrew workings or what. Leftover files in there might also be a problem. Having multiple `setuptools` (and `pkg_resources.py`) in these and 'wrong one' / old one being found in different situations has happened to people before. It seems weird to me that even though `python -m pip` came from the correct `site-packages`, it installed (or not?) a script that is symlinked to an old one :S One of the two site-packages directories is actually just a symlink: they're the same directory. Homebrew's python is only configured to use one `site-packages`. > It seems weird to me that even though python -m pip came from the correct site-packages, it installed (or not?) a script that is symlinked to an old one :S To explain the symlink structure: Homebrew installs software to private versioned directories within `/usr/local/Cellar`, then symlinked to the standard locations. In the case of Python 2.7.6 (revision 1), it is installed to `/usr/local/Cellar/python/2.7.6_1`, then symlinked into `/usr/local`. `pip` is not actually installed as a symlink; rather `/usr/local/bin/pip` just happens to be the public symlink to the real script in `/usr/local/Cellar/python/2.7.6_1/bin/pip`. When the working non-wheel pip upgrade occurs, it's updating the script in the longer private path, while the non-working upgrade leaves that old script in place. Neither upgrade touches the `/usr/local/bin/pip` symlink. Homebrew download pip tarball and execute setup.py. `pip install --upgrade pip` installs pip from wheel. Installing from setup.py makes versioned script. I think upgrading pip from wheel doesn't overwrite versioned script. This is why DistributionNotFound happens. For more detail: ``` $ rm -rf /usr/local/lib/python2.7/ $ brew uninstall python Uninstalling /usr/local/Cellar/python/2.7.6_1... $ brew install python ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/python-2.7.6_1.mavericks.bottle.tar.gz Already downloaded: /Library/Caches/Homebrew/python-2.7.6_1.mavericks.bottle.tar.gz ==> Pouring python-2.7.6_1.mavericks.bottle.tar.gz ==> Caveats Setuptools and Pip have been installed. To update them pip install --upgrade setuptools pip install --upgrade pip You can install Python packages with pip install <package> They will install into the site-package directory /usr/local/lib/python2.7/site-packages See: https://github.com/Homebrew/homebrew/wiki/Homebrew-and-Python .app bundles were installed. Run `brew linkapps` to symlink these to /Applications. Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using: brew link python Possible conflicting files are: /usr/local/bin/pip ==> /usr/local/Cellar/python/2.7.6_1/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/2.7.6_1/bin --install-lib=/usr/local/lib/python2.7/ ==> /usr/local/Cellar/python/2.7.6_1/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/2.7.6_1/bin --install-lib=/usr/local/lib/python2.7/ ==> Summary 🍺 /usr/local/Cellar/python/2.7.6_1: 4907 files, 80M $ ll /usr/local/bin/pip lrwxr-xr-x 1 inada-n admin 32 5 29 09:18 /usr/local/bin/pip@ -> ../Cellar/python/2.7.6_1/bin/pip $ ll /usr/local/bin/pip2 lrwxr-xr-x 1 inada-n admin 33 5 29 09:18 /usr/local/bin/pip2@ -> ../Cellar/python/2.7.6_1/bin/pip2 $ rm /usr/local/bin/pip2 $ pip install --upgrade pip Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.6-py2.py3-none-any.whl#md5=4d4fb4b69df6731c7aeaadd6300bc1f2 Using download cache from /Users/inada-n/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fpy2.py3%2Fp%2Fpip%2Fpip-1.5.6-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.4 Uninstalling pip: Successfully uninstalled pip Successfully installed pip Cleaning up... $ ll /usr/local/bin/pip lrwxr-xr-x 1 inada-n admin 32 5 29 09:18 /usr/local/bin/pip@ -> ../Cellar/python/2.7.6_1/bin/pip $ ll /usr/local/bin/pip2 -rwxr-xr-x 1 inada-n admin 305 5 29 09:19 /usr/local/bin/pip2* $ pip Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2749, in <module> File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 446, in _build_master File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 459, in _build_from_requirements File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 628, in resolve pkg_resources.DistributionNotFound: pip==1.5.4 $ pip2 Usage: pip <command> [options] ... ``` When using `--no-use-wheel`, pip overwrites to symlinked script. ``` $ pip install -U --no-use-wheel pip --log ~/pip.log Downloading/unpacking pip from https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e Downloading pip-1.5.6.tar.gz (938kB): 938kB downloaded Storing download in cache at ./.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpip%2Fpip-1.5.6.tar.gz Running setup.py (path:/private/var/folders/11/3pzjxxcd7q53dbfsm95ms3d00000gn/T/pip_build_inada-n/pip/setup.py) egg_info for package pip warning: no files found matching 'pip/cacert.pem' warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.rst' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Installing collected packages: pip Found existing installation: pip 1.5.4 Uninstalling pip: Successfully uninstalled pip Running setup.py install for pip warning: no files found matching 'pip/cacert.pem' warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.rst' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Installing pip script to /usr/local/bin Installing pip2.7 script to /usr/local/bin Installing pip2 script to /usr/local/bin Successfully installed pip Cleaning up... $ ll /usr/local/bin/pip lrwxr-xr-x 1 inada-n admin 32 5 29 09:22 /usr/local/bin/pip@ -> ../Cellar/python/2.7.6_1/bin/pip ``` What is the correct behavior when file exists while installing script? 1. Overwrite (follow symlink, current hehavior of installing from source) 2. Overwrite (replace symlink) 3. Do nothing (Current behavior of installing from wheel) 4. Report error FYI, `pip --exists-action=b install -U pip` doesn't fix this problem.
2014-06-07T03:08:11Z
[]
[]
Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module> working_set = WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pip==1.5.4
17,157
pypa/pip
pypa__pip-2007
4b6b7c77b6cb535beb425e3a40c1d6eaed59fe7e
diff --git a/pip/commands/install.py b/pip/commands/install.py --- a/pip/commands/install.py +++ b/pip/commands/install.py @@ -51,7 +51,11 @@ def __init__(self, *args, **kw): dest='target_dir', metavar='dir', default=None, - help='Install packages into <dir>.') + help='Install packages into <dir>. ' + 'By default this will not replace existing files/folders in ' + '<dir>. Use --upgrade to replace existing packages in <dir> ' + 'with new versions.' + ) cmd_opts.add_option( '-d', '--download', '--download-dir', '--download-directory', @@ -344,9 +348,32 @@ def run(self, options, args): os.makedirs(options.target_dir) lib_dir = distutils_scheme('', home=temp_target_dir)['purelib'] for item in os.listdir(lib_dir): + target_item_dir = os.path.join(options.target_dir, item) + if os.path.exists(target_item_dir): + if not options.upgrade: + logger.warn( + 'Target directory %s already exists. Specify ' + '--upgrade to force replacement.' + % target_item_dir + ) + continue + if os.path.islink(target_item_dir): + logger.warn( + 'Target directory %s already exists and is ' + 'a link. Pip will not automatically replace ' + 'links, please remove if replacement is ' + 'desired.' + % target_item_dir + ) + continue + if os.path.isdir(target_item_dir): + shutil.rmtree(target_item_dir) + else: + os.remove(target_item_dir) + shutil.move( os.path.join(lib_dir, item), - os.path.join(options.target_dir, item), + target_item_dir ) shutil.rmtree(temp_target_dir) return requirement_set
--target option causes issues when upgrading or re-installing If you install using the "--target" option: ``` pip install --target lib requests ``` And then repeat the command a second time, it doesn't say "requirement satisfied" it installs it again as a subdirectory of the existing installation (lib/requests/requests and lib/requests-2.2.0.dist-info/requests-2.2.0.dist-info Repeat the command a third time and it appears the nesting stops but it chokes and still doesn't report "requirement satisfied": ``` Downloading/unpacking requests Downloading requests-2.2.0-py2.py3-none-any.whl (623kB): 623kB downloaded Installing collected packages: requests Successfully installed requests Cleaning up... Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run os.path.join(options.target_dir, item) File "/usr/lib/python2.7/shutil.py", line 291, in move raise Error, "Destination path '%s' already exists" % real_dst Error: Destination path '/tmp/piptest/lib/requests/requests' already exists Storing debug log for failure in /tmp/tmpcBDoql ```
Has anyone had a chance to look at this since January? I just ran across this issue with the newest pip release. @dstufft, there seems to be a cluster of issues relating to this one. Has anyone looked at it? Hey guys, this issue has been open for some time. Is there anything I can do to help this along? @brosner, @dholth, @dstufft, @jezdez, @pfmoore, @pnasrat, @r1chardj0n3s This is a longstanding issue that is _really_ annoying. @jonparrott Apart from the obvious "patches welcome", not much... The nesting behaviour is really odd. On the other hand, the fact that pip doesn't recognise that requests is installed is understandable (after all, it _isn't_ installed in the sense that `import requests` will fail) - I can see that the behaviour is not what you'd want, but it's at least understandable (unlike the nesting!) Personally, I only ever use `--target` to dump a copy of a distribution somewhere (for vendoring, for example) and I never want to "manage" it - I just blow away the directory and re-download if needed. Even the `dist-info` directories are unwanted clutter for that usage. To be honest, I could argue that `--target` is just broken, and should be removed. Maybe we should replace it with a command, "pip unpack" that just unpacked the distribution into the target and made no pretense that it was "installed"? That might better match the reality. @pfmoore thanks for the response! `--target` is currently rather important for one environment in particular, Google App Engine (eg. https://github.com/GoogleCloudPlatform/appengine-python-flask-skeleton and https://github.com/GoogleCloudPlatform/appengine-python-bottle-skeleton An 'unpack' command, that still retrieved dependencies, updated in place, etc. could be a workable replacement, but you might want to talk to the folks in that community for feedback. The 'blow away and re-download' approach is what @jonparrott's tool [Gaelic](https://bitbucket.org/jonparrott/gaelic) does as a workaround, BTW. @pfmoore The vendoring use case is exactly what the app engine community is trying to do, as mentioned by @webmaven. The problem stems that even though --target works great for the initial vendoring, running it again just breaks everything. I've even written a [tool](https://bitbucket.org/jonparrott/gaelic) to do exactly what you described- nuke the target directory and re-"install" everything. Personally I think a command like "unpack" would perfectly suit the app engine community. I'm unfamiliar with pip internals and the particulars behind package installation, but I'm willing to dive in and take a first stab at implementing it. What are your thoughts, @webmaven? Of course, if Google would add proper virtualenv support to app engine we'd be fine where we are. :( @webmaven as you say, it's probably the AppEngine community that need to discuss alternative approaches. If we can fix upgrades with `--target` we will, but I'm not promising anything (it feels like a hard problem). OK, here is the bare minimum of functionality that I think a notional `pip unpack` would need. For all operations, unpack needs to get dependencies by default in the exact same way install does: `pip unpack <packagename> --target lib/` `pip unpack -r requirements.txt --target lib/` A current pain point not yet addressed by pip: deriving a list of installed packages and their versions from a target folder. Because it isn't installing anything, you need an alternate method of creating expanded requirements files that include the unpacked dependencies. Either of the following would work: `pip unpack -r requirements.txt --freeze > requirements.txt` or `pip freeze --target lib/ > requirements.txt` Frankly, in the absence of an unpack command, the latter spelling would still be a good feature for pip, for the same reasons. @jonparrott, can you think of anything else that is required to replace `pip install --target` for GAE's use case? All you need to scan a directory for what's installed is: ``` python import pkg_resources env = pkg_resources.Environment([dirname]) for project in env: for dist in env[project]: print("{}=={}".format(dist.project_name, dist.version)) ``` That's effectively what you were wanting from `pip freeze --target dirname`. It doesn't deal quite right with editable installations, but I suspect you'd have problems installing those with `--target` anyway. Oh, and the `pip unpack` invocations you show work now, using `pip install` rather than `pip unpack`. Modulo the bug originally reported for this issue, of course ;-) So it seems to me that you can probably use the "blow away the directory" approach along with the script to generate a requirements file as a workaround. > It doesn't deal quite right with editable installations, but I suspect you'd have problems installing those with --target anyway. @jonparrott, you have more experience than I in this area, but it doesn't seem to me, provided that the local install is in a virtualenv, that the `--editable` flag would be particularly problematic, unless you forgot to change it back before you deployed to GAE. > Oh, and the pip unpack invocations you show work now, using pip install rather than pip unpack. Modulo the bug originally reported for this issue, of course ;-) Of course. But then, you were asking what it would take to replace `--target dirname` on the install command with something like `pip unpack`, well, the answer is that it needs to support those relevant parts of the install command (such as `--target`) and actually work for reinstalls (ie. 'modulo the bug'). It isn't very surprising that the resulting commands look so similar. > So it seems to me that you can probably use the "blow away the directory" approach along with the script to generate a requirements file as a workaround. Blowing away the contents of the directory only works for `pip install -r requirements.txt --target lib/` and not for `pip install <packagename> --target lib/`. OK. I just looked at the code. If `--target` is set, all pip does is: 1. Set `ignore-installed` to true. (So that stuff already in `site-packages` doesn't block the install). 2. Create a temporary directory. 3. Do the install with `--home=the_temp_dir` 4. Move everything from the `lib_dir` of the temp home into the target dir. 5. Delete the temp dir. So the nesting comes from step (4) as if the destination of `shutil.move` is a directory, the source is moved inside that directory. That's a clear bug, and fixable (although fixing is a bit fiddly). I may have a go at it, although I'm not promising when, as it's not a key issue for me (fixing the code isn't the hard bit, we'd want a test adding to confirm that the fix works). PRs are obviously welcome. The "install into a temp dir" aspect explains most of the other inconsistencies, too. Multiple installs don't say "this is already there" because it isn't. Upgrade won't work because it's not there to upgrade. Editable would probably be a mess, I have no idea how it would work. "Fragile" is the most polite term I can think of for the behaviour... Thanks for looking into this Paul and finding the source of one of the problems. I think for App Engine's purposes, fixing upgrade isn't really necessary - if there's a way for us to overwrite anything in the destination directory instead of failing that would be sufficient. I can try to see if I can write a test/PR this weekend for the fix if you don't beat me to it. @pfmoore thanks for investigating! Like @jonparrott says, upgrading is desired but not required (desired because it makes using app engine that much more like the rest of the Python ecosystem). If we just get to idempotency for repeated installs, I think we'll both be quite pleased. What happens if you skip steps 2, 4, and 5, and do the install with `--home=target_dir`?
2014-08-31T00:21:40Z
[]
[]
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 307, in run os.path.join(options.target_dir, item) File "/usr/lib/python2.7/shutil.py", line 291, in move raise Error, "Destination path '%s' already exists" % real_dst Error: Destination path '/tmp/piptest/lib/requests/requests' already exists
17,170
pypa/pip
pypa__pip-2080
9ffa90fb5d8345fa8c3245bbe54d4970498e4cf4
diff --git a/pip/vcs/__init__.py b/pip/vcs/__init__.py --- a/pip/vcs/__init__.py +++ b/pip/vcs/__init__.py @@ -119,6 +119,12 @@ def cmd(self): self._cmd = command return command + # See issue #1083 for why this method was introduced: + # https://github.com/pypa/pip/issues/1083 + def translate_egg_surname(self, surname): + # For example, Django has branches of the form "stable/1.7.x". + return surname.replace('/', '_') + def get_url_rev(self): """ Returns the correct repository URL and revision by parsing the given diff --git a/pip/vcs/git.py b/pip/vcs/git.py --- a/pip/vcs/git.py +++ b/pip/vcs/git.py @@ -176,9 +176,10 @@ def get_src_requirement(self, dist, location, find_tags): names_by_commit[commit] = ref if current_rev in names_by_commit: - # It's a tag + # It's a tag or branch. + name = names_by_commit[current_rev] full_egg_name = ( - '%s-%s' % (egg_project_name, names_by_commit[current_rev]) + '%s-%s' % (egg_project_name, self.translate_egg_surname(name)) ) else: full_egg_name = '%s-dev' % egg_project_name
pip freeze messes up egg version with git branches, raising ValueError: 'Expected version spec in' I have a requirements.txt containing this line: ``` -e git://github.com/mfogel/django-timezone-field#egg=django-timezone-field ``` When dumping pip freeze, it writes this: ``` -e git://github.com/mfogel/django-timezone-field@82a9c16eb7955e7d4f037ececf867d10fd5565ae#egg=django_timezone_field-origin/develop ``` This cannot be installed with pip, it raises: ``` Exception: Traceback (most recent call last): File "lib/python2.7/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "lib/python2.7/site-packages/pip/commands/install.py", line 220, in run for req in parse_requirements(filename, finder=finder, options=options): File "lib/python2.7/site-packages/pip/req.py", line 1454, in parse_requirements line, comes_from=comes_from, default_vcs=options.default_vcs if options else None) File "lib/python2.7/site-packages/pip/req.py", line 85, in from_editable res = cls(name, comes_from, source_dir=source_dir, editable=True, url=url, prereleases=True) File "lib/python2.7/site-packages/pip/req.py", line 43, in __init__ req = pkg_resources.Requirement.parse(req) File "lib/python2.7/site-packages/pkg_resources.py", line 2914, in parse reqs = list(parse_requirements(s)) File "lib/python2.7/site-packages/pkg_resources.py", line 2839, in parse_requirements line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec") File "lib/python2.7/site-packages/pkg_resources.py", line 2807, in scan_list raise ValueError("Expected "+item_name+" in",line,"at",line[p:]) ValueError: ('Expected version spec in', 'django_timezone_field-origin/develop', 'at', '/develop') ``` ``` $ pip --version pip 1.4 from ...virtualenv/lib/python2.7/site-packages (python 2.7) $ easy_install --version setuptools 0.9.8 ```
+1 am getting this issue as well.. exact same versions Me too. Is it a bug or a new backwards incompatible feature? Pip used to dump these with a "-dev" suffix. Now it seems to use "remote/branch" (or sometimes, just "branch"). +1 +1 +1 +1, same versions. It could be fixed in setuptools by changing the regex `DISTRO = re.compile(r"\s*((\w|[-.])+)").match` to `DISTRO = re.compile(r"\s*((\w|[-./])+)").match` in `pkg_resources.py` to allow for slashes. But I guess it would be better if pip didn't put slashes in egg names in the first place. A quick fix is of course to remove the slashes from your `pip freeze` output. I also hit this in pip 1.5. It looks like [this](https://github.com/pypa/pip/blob/6bd791df1d921d66e67b7a9127dc01928526f470/pip/__init__.py#L251) is where pip adds the egg name: ``` req = '%s@%s#egg=%s' % (svn_location, rev, cls.egg_name(dist)) ``` The `egg_name` is originally defined [here](https://bitbucket.org/pypa/setuptools/src/6ed8f0298e64223e5ebf179d30783d34524f918d/pkg_resources.py?at=default#cl-2257) in setuptools's pkg_resources module: ``` def egg_name(self): """Return what this distribution's standard .egg filename should be""" filename = "%s-%s-py%s" % ( to_filename(self.project_name), to_filename(self.version), self.py_version or PY_MAJOR ) ``` And [here](https://github.com/pypa/pip/blob/6bd791df1d921d66e67b7a9127dc01928526f470/pip/__init__.py#L255) it looks like pip is already stripping off the last `-py...` part of that: ``` def egg_name(dist): name = dist.egg_name() match = re.search(r'-py\d\.\d$', name) if match: name = name[:match.start()] return name ``` So maybe the fix is as easy as having pip strip off a bit more from the end. I've just closed #1125 as it's a dupe of this issue. > Is it a bug or a new backwards incompatible feature? Pip used to dump these with a "-dev" suffix. Now it seems to use "remote/branch" (or sometimes, just "branch"). It looks like this change may have been introduced back in May 2013 in commit fa81a41d0b1577788e24861d57c5ad149234e9c5. For example, you can see one of the test expectations [changing](https://github.com/pypa/pip/commit/fa81a41d0b1577788e24861d57c5ad149234e9c5#diff-ddd05dd04117fc1972e60567655ec76cL110) in that commit from `-dev` to `-0.1.1`. And see [this line](https://github.com/pypa/pip/commit/fa81a41d0b1577788e24861d57c5ad149234e9c5#diff-4cb54fa0d0d77f2cf5e44310056fec4aR165): ``` + full_egg_name = '%s-%s' % (egg_project_name, names_by_commit[current_rev]) ``` The commit message sounds like it was meant to be only a refactoring ("Combine Git get_tag_revs and get_branch_revs into single get_refs method."), so I wonder whether this change in functionality was indeed deliberate. The change in functionality was deliberate in that commit (clearly, since a test was changed), although it's true that the commit message didn't reflect that as it should have. In the course of a refactoring I came across functionality that had been apparently intended by broken/dead code paths in the existing code, and restored it. However, I failed to check the case of a branch name including remote name, and apparently failed to notice that the previous dead code path had tried to handle that case with an removal of an "origin/" prefix (which I think is overly simplistic, since it assumes the only possible remote name is "origin"). I think the right solution here is, when constructing `full_egg_name` from `egg_project_name` and `names_by_commit[current_rev]`, to split `names_by_commit[current_rev]` on slashes and use only the final portion. Thanks for replying so quickly, @carljm. > I think the right solution here is, when constructing full_egg_name from egg_project_name and names_by_commit[current_rev], to split names_by_commit[current_rev] on slashes and use only the final portion. It seems somewhat common to have branch names with a slash in it. To name one example, [Django](https://github.com/django/django) has a series of branches of the form `stable/1.6.x`. Can you suggest a solution that accommodates cases like that? @cjerdonek Short of a change to the regex in setuptools as suggested above (which may have other consequences I'm not aware of, and I'm not sure would be accepted by the setuptools maintainers), it's not possible to maintain such branch names unmodified. This egg version is not functionally important; using anything other than "dev" here is simply an attempt to give a better human-readable clue as to which version of the package is in use. In the case of Django you mention, the resulting egg name would be "Django-1.4.x" if the branch was "stable/1.4.x", which still seems reasonable and more useful than "Django-dev". Another option would be to translate slashes to some other allowed character (underscore?); it's not clear to me that "Django-origin_stable_1.4.x" is really better than "Django-1.4.x", though. Perhaps there are other cases where it would be preferable, but my guess is that in general a) the remote name is not very useful there, and b) in most cases where branch names with slashes are in use, the final portion is probably adequate as a human-readable hint. Okay, good to know that the name isn't functionally important. For readability/usability, my instinct would be to lean towards stripping the remote name off the front and then convert slashes to underscores. So in the example, it would be ""Django-stable_1.4.x". Locating the corresponding branch name is more immediate if it at least begins with the same characters (otherwise you have to scan every name for the final segment). Sure, that seems fine to me. According to @mrmachine above, the remote name is only sometimes included, so in order to implement this approach it would be necessary to figure out when it is or isn't, so the remote name alone can be reliably stripped if present. By the way, the pip documentation can probably use some clarification in this area. For example, the [VCS Support](http://www.pip-installer.org/en/latest/logic.html#vcs-support) section says: > The url suffix `"egg=<project name>"` is used by pip in it’s dependency logic to identify the project prior to pip downloading and analyzing the metadata. which doesn't leave open the possibility of suffixes of the form `"egg=<project_name>-<project_description>"` or say what the "suffix of the suffix" is for. [This section](http://www.pip-installer.org/en/latest/usage.html#examples) has a similar issue because all of the examples are of the form: ``` $ pip install -e git+https://git.repo/some_pkg.git#egg=SomePackage # from git ``` +1 Hi all, is there any fix available for this issue? On Python > 3.2, it's even worse as the generated egg name is non-deterministic and can vary from run to run - see https://github.com/pypa/pip/issues/1867 +1 +1 I'll start working on this and see if I can make some progress.
2014-10-01T11:15:41Z
[]
[]
Traceback (most recent call last): File "lib/python2.7/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "lib/python2.7/site-packages/pip/commands/install.py", line 220, in run for req in parse_requirements(filename, finder=finder, options=options): File "lib/python2.7/site-packages/pip/req.py", line 1454, in parse_requirements line, comes_from=comes_from, default_vcs=options.default_vcs if options else None) File "lib/python2.7/site-packages/pip/req.py", line 85, in from_editable res = cls(name, comes_from, source_dir=source_dir, editable=True, url=url, prereleases=True) File "lib/python2.7/site-packages/pip/req.py", line 43, in __init__ req = pkg_resources.Requirement.parse(req) File "lib/python2.7/site-packages/pkg_resources.py", line 2914, in parse reqs = list(parse_requirements(s)) File "lib/python2.7/site-packages/pkg_resources.py", line 2839, in parse_requirements line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec") File "lib/python2.7/site-packages/pkg_resources.py", line 2807, in scan_list raise ValueError("Expected "+item_name+" in",line,"at",line[p:]) ValueError: ('Expected version spec in', 'django_timezone_field-origin/develop', 'at', '/develop')
17,178
pypa/pip
pypa__pip-2133
9086993548799e7d2a0ccae2b979089cb398e952
diff --git a/pip/index.py b/pip/index.py --- a/pip/index.py +++ b/pip/index.py @@ -858,7 +858,7 @@ def _handle_fail(req, link, reason, url, level=1, meth=None): def _get_content_type(url, session): """Get the Content-Type of the given url, using a HEAD request""" scheme, netloc, path, query, fragment = urllib_parse.urlsplit(url) - if scheme not in ('http', 'https', 'ftp', 'ftps'): + if scheme not in ('http', 'https'): # FIXME: some warning or something? # assertion error? return ''
FTP download install failed ``` bash (venv)ubuntu@box31:~/bex$ pip install ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz ``` ``` bash Downloading/unpacking ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz Cleaning up... Exception: Traceback (most recent call last): File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 274, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/req.py", line 1173, in prepare_files self.unpack_url(url, location, self.is_download) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/req.py", line 1320, in unpack_url retval = unpack_http_url(link, location, self.download_cache, self.download_dir, self.session) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/download.py", line 555, in unpack_http_url resp = session.get(target_url, stream=True) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 395, in get return self.request('GET', url, **kwargs) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/download.py", line 237, in request return super(PipSession, self).request(method, url, *args, **kwargs) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 383, in request resp = self.send(prep, **send_kwargs) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 481, in send adapter = self.get_adapter(url=request.url) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 526, in get_adapter raise InvalidSchema("No connection adapters were found for '%s'" % url) InvalidSchema: No connection adapters were found for 'ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz' Storing debug log for failure in /home/ubuntu/.pip/pip.log ```
pip --version ``` pip 1.5.2 from /home/ubuntu/bex/venv/local/lib/python2.7/site-packages (python 2.7) ``` I tried the same file using the master HEAD and got the same issue. It works with pip 1.4.1 Ok, using git bisect I found this commit introduced the issue: https://github.com/pypa/pip/commit/ff2854a855cb3643a69d8e7c2b020c153107d2b2 I'm running the test like: ``` python pip/runner.py install ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz ``` The looks like it's the result of switching from using the urllib2 library (CacheFTPHandler) to the Requests library which does not provide an FTP Adapter. Until that is available you'll have this problem. @lucmult You **can** edit your comments – no need to put each update on it's own :) Hmm, yes this was a result of the switch to requests. However I'm not sure we should continue to support use of ftp urls either way. As far as I'm aware ftp servers to not generally support TLS and without that we lose the ability to securely fetch files from these servers. Any thoughts @qwcode and @pfmoore ? Personally, I have no need for ftp. The OP's use case is real, though - xmlsoft.org does only distribute libxml2-python over ftp. But that is a very old version - it's from 2004 as far as I can see. So I don't have any strong _objection_ to simply documenting that ftp support was discontinued with the move to requests. But if people come up with other genuine use cases, we should be prepared to reconsider (I have had ISPs in the past who only supported ftp hosting, and I can imagine having waned to host packages there) I found an alternative HTTP link for this package: `http://xmlsoft.org/sources/python/libxml2-python-2.6.9.tar.gz` HTTP isn't secure either ;-) Nope! It's not. But HTTPS is and pip is discouraging the use of HTTP instead of HTTPS :) @dstufft many hosts out there don't support HTTPS. In fact, this libxml example doesn't support HTTPS. I agree with @pfmoore suggestion to "fix" this issue by documenting it.
2014-11-20T13:45:29Z
[]
[]
Traceback (most recent call last): File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 274, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/req.py", line 1173, in prepare_files self.unpack_url(url, location, self.is_download) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/req.py", line 1320, in unpack_url retval = unpack_http_url(link, location, self.download_cache, self.download_dir, self.session) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/download.py", line 555, in unpack_http_url resp = session.get(target_url, stream=True) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 395, in get return self.request('GET', url, **kwargs) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/download.py", line 237, in request return super(PipSession, self).request(method, url, *args, **kwargs) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 383, in request resp = self.send(prep, **send_kwargs) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 481, in send adapter = self.get_adapter(url=request.url) File "/home/ubuntu/bex/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 526, in get_adapter raise InvalidSchema("No connection adapters were found for '%s'" % url) InvalidSchema: No connection adapters were found for 'ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz'
17,180
pypa/pip
pypa__pip-2214
32e729f6f22689f69d49c3defa554ac5c47dbb65
diff --git a/pip/_vendor/distlib/__init__.py b/pip/_vendor/distlib/__init__.py --- a/pip/_vendor/distlib/__init__.py +++ b/pip/_vendor/distlib/__init__.py @@ -6,7 +6,7 @@ # import logging -__version__ = '0.1.9' +__version__ = '0.2.0' class DistlibException(Exception): pass diff --git a/pip/_vendor/distlib/compat.py b/pip/_vendor/distlib/compat.py --- a/pip/_vendor/distlib/compat.py +++ b/pip/_vendor/distlib/compat.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2013 Vinay Sajip. +# Copyright (C) 2013-2014 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # @@ -86,35 +86,73 @@ class CertificateError(ValueError): pass - def _dnsname_to_pat(dn): + def _dnsname_match(dn, hostname, max_wildcards=1): + """Matching according to RFC 6125, section 6.4.3 + + http://tools.ietf.org/html/rfc6125#section-6.4.3 + """ pats = [] - for frag in dn.split(r'.'): - if frag == '*': - # When '*' is a fragment by itself, it matches a non-empty - # dotless fragment. - pats.append('[^.]+') - else: - # Otherwise, '*' matches any dotless fragment. - frag = re.escape(frag) - pats.append(frag.replace(r'\*', '[^.]*')) - return re.compile(r'\A' + r'\.'.join(pats) + r'\Z', re.IGNORECASE) + if not dn: + return False + + parts = dn.split('.') + leftmost, remainder = parts[0], parts[1:] + + wildcards = leftmost.count('*') + if wildcards > max_wildcards: + # Issue #17980: avoid denials of service by refusing more + # than one wildcard per fragment. A survery of established + # policy among SSL implementations showed it to be a + # reasonable choice. + raise CertificateError( + "too many wildcards in certificate DNS name: " + repr(dn)) + + # speed up common case w/o wildcards + if not wildcards: + return dn.lower() == hostname.lower() + + # RFC 6125, section 6.4.3, subitem 1. + # The client SHOULD NOT attempt to match a presented identifier in which + # the wildcard character comprises a label other than the left-most label. + if leftmost == '*': + # When '*' is a fragment by itself, it matches a non-empty dotless + # fragment. + pats.append('[^.]+') + elif leftmost.startswith('xn--') or hostname.startswith('xn--'): + # RFC 6125, section 6.4.3, subitem 3. + # The client SHOULD NOT attempt to match a presented identifier + # where the wildcard character is embedded within an A-label or + # U-label of an internationalized domain name. + pats.append(re.escape(leftmost)) + else: + # Otherwise, '*' matches any dotless string, e.g. www* + pats.append(re.escape(leftmost).replace(r'\*', '[^.]*')) + + # add the remaining fragments, ignore any wildcards + for frag in remainder: + pats.append(re.escape(frag)) + + pat = re.compile(r'\A' + r'\.'.join(pats) + r'\Z', re.IGNORECASE) + return pat.match(hostname) def match_hostname(cert, hostname): """Verify that *cert* (in decoded format as returned by - SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 rules - are mostly followed, but IP addresses are not accepted for *hostname*. + SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 and RFC 6125 + rules are followed, but IP addresses are not accepted for *hostname*. CertificateError is raised on failure. On success, the function returns nothing. """ if not cert: - raise ValueError("empty or no certificate") + raise ValueError("empty or no certificate, match_hostname needs a " + "SSL socket or SSL context with either " + "CERT_OPTIONAL or CERT_REQUIRED") dnsnames = [] san = cert.get('subjectAltName', ()) for key, value in san: if key == 'DNS': - if _dnsname_to_pat(value).match(hostname): + if _dnsname_match(value, hostname): return dnsnames.append(value) if not dnsnames: @@ -125,7 +163,7 @@ def match_hostname(cert, hostname): # XXX according to RFC 2818, the most specific Common Name # must be used. if key == 'commonName': - if _dnsname_to_pat(value).match(hostname): + if _dnsname_match(value, hostname): return dnsnames.append(value) if len(dnsnames) > 1: diff --git a/pip/_vendor/distlib/database.py b/pip/_vendor/distlib/database.py --- a/pip/_vendor/distlib/database.py +++ b/pip/_vendor/distlib/database.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2013 The Python Software Foundation. +# Copyright (C) 2012-2014 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """PEP 376 implementation.""" @@ -334,6 +334,8 @@ def __init__(self, metadata): self.digest = None self.extras = None # additional features requested self.context = None # environment marker overrides + self.download_urls = set() + self.digests = {} @property def source_url(self): @@ -925,9 +927,9 @@ def parse_requires_path(req_path): requires = None elif path.endswith('.egg-info'): if os.path.isdir(path): - path = os.path.join(path, 'PKG-INFO') req_path = os.path.join(path, 'requires.txt') requires = parse_requires_path(req_path) + path = os.path.join(path, 'PKG-INFO') metadata = Metadata(path=path, scheme='legacy') else: raise DistlibException('path must end with .egg-info or .egg, ' diff --git a/pip/_vendor/distlib/locators.py b/pip/_vendor/distlib/locators.py --- a/pip/_vendor/distlib/locators.py +++ b/pip/_vendor/distlib/locators.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2013 Vinay Sajip. +# Copyright (C) 2012-2014 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # @@ -290,9 +290,9 @@ def _get_digest(self, info): def _update_version_data(self, result, info): """ - Update a result dictionary (the final result from _get_project) with a dictionary for a - specific version, whih typically holds information gleaned from a filename or URL for an - archive for the distribution. + Update a result dictionary (the final result from _get_project) with a + dictionary for a specific version, which typically holds information + gleaned from a filename or URL for an archive for the distribution. """ name = info.pop('name') version = info.pop('version') @@ -302,9 +302,12 @@ def _update_version_data(self, result, info): else: dist = make_dist(name, version, scheme=self.scheme) md = dist.metadata - dist.digest = self._get_digest(info) + dist.digest = digest = self._get_digest(info) + url = info['url'] + result['digests'][url] = digest if md.source_url != info['url']: - md.source_url = self.prefer_url(md.source_url, info['url']) + md.source_url = self.prefer_url(md.source_url, url) + result['urls'].setdefault(version, set()).add(url) dist.locator = self result[version] = dist @@ -350,9 +353,18 @@ def locate(self, requirement, prereleases=False): slist = sorted(slist, key=scheme.key) if slist: logger.debug('sorted list: %s', slist) - result = versions[slist[-1]] - if result and r.extras: - result.extras = r.extras + version = slist[-1] + result = versions[version] + if result: + if r.extras: + result.extras = r.extras + result.download_urls = versions.get('urls', {}).get(version, set()) + d = {} + sd = versions.get('digests', {}) + for url in result.download_urls: + if url in sd: + d[url] = sd[url] + result.digests = d self.matcher = None return result @@ -380,7 +392,7 @@ def get_distribution_names(self): return set(self.client.list_packages()) def _get_project(self, name): - result = {} + result = {'urls': {}, 'digests': {}} versions = self.client.package_releases(name, True) for v in versions: urls = self.client.release_urls(name, v) @@ -398,12 +410,17 @@ def _get_project(self, name): dist.digest = self._get_digest(info) dist.locator = self result[v] = dist + for info in urls: + url = info['url'] + digest = self._get_digest(info) + result['urls'].setdefault(v, set()).add(url) + result['digests'][url] = digest return result class PyPIJSONLocator(Locator): """ This locator uses PyPI's JSON interface. It's very limited in functionality - nad probably not worth using. + and probably not worth using. """ def __init__(self, url, **kwargs): super(PyPIJSONLocator, self).__init__(**kwargs) @@ -416,7 +433,7 @@ def get_distribution_names(self): raise NotImplementedError('Not available from this locator') def _get_project(self, name): - result = {} + result = {'urls': {}, 'digests': {}} url = urljoin(self.base_url, '%s/json' % quote(name)) try: resp = self.opener.open(url) @@ -437,6 +454,10 @@ def _get_project(self, name): dist.digest = self._get_digest(info) dist.locator = self result[md.version] = dist + for info in urls: + url = info['url'] + result['urls'].setdefault(md.version, set()).add(url) + result['digests'][url] = digest except Exception as e: logger.exception('JSON fetch failed: %s', e) return result @@ -567,7 +588,7 @@ def _wait_threads(self): self._threads = [] def _get_project(self, name): - result = {} + result = {'urls': {}, 'digests': {}} with self._gplock: self.result = result self.project_name = name @@ -774,7 +795,7 @@ def should_include(self, filename, parent): return filename.endswith(self.downloadable_extensions) def _get_project(self, name): - result = {} + result = {'urls': {}, 'digests': {}} for root, dirs, files in os.walk(self.base_dir): for fn in files: if self.should_include(fn, root): @@ -822,7 +843,7 @@ def get_distribution_names(self): raise NotImplementedError('Not available from this locator') def _get_project(self, name): - result = {} + result = {'urls': {}, 'digests': {}} data = get_project_data(name) if data: for info in data.get('files', []): @@ -843,6 +864,7 @@ def _get_project(self, name): md.dependencies = info.get('requirements', {}) dist.exports = info.get('exports', {}) result[dist.version] = dist + result['urls'].setdefault(dist.version, set()).add(info['url']) return result class DistPathLocator(Locator): @@ -865,7 +887,10 @@ def _get_project(self, name): if dist is None: result = {} else: - result = { dist.version: dist } + result = { + dist.version: dist, + 'urls': {dist.version: set([dist.source_url])} + } return result @@ -907,7 +932,20 @@ def _get_project(self, name): d = locator.get_project(name) if d: if self.merge: + files = result.get('urls', {}) + digests = result.get('digests', {}) + # next line could overwrite result['urls'], result['digests'] result.update(d) + df = result.get('urls') + if files and df: + for k, v in files.items(): + if k in df: + df[k] |= v + else: + df[k] = v + dd = result.get('digests') + if digests and dd: + dd.update(digests) else: # See issue #18. If any dists are found and we're looking # for specific constraints, we only return something if @@ -1071,7 +1109,8 @@ def try_to_replace(self, provider, other, problems): unmatched.add(s) if unmatched: # can't replace other with provider - problems.add(('cantreplace', provider, other, unmatched)) + problems.add(('cantreplace', provider, other, + frozenset(unmatched))) result = False else: # can replace other with provider diff --git a/pip/_vendor/distlib/manifest.py b/pip/_vendor/distlib/manifest.py --- a/pip/_vendor/distlib/manifest.py +++ b/pip/_vendor/distlib/manifest.py @@ -147,9 +147,10 @@ def process_directive(self, directive): elif action == 'exclude': for pattern in patterns: - if not self._exclude_pattern(pattern, anchor=True): - logger.warning('no previously-included files ' - 'found matching %r', pattern) + found = self._exclude_pattern(pattern, anchor=True) + #if not found: + # logger.warning('no previously-included files ' + # 'found matching %r', pattern) elif action == 'global-include': for pattern in patterns: @@ -159,10 +160,11 @@ def process_directive(self, directive): elif action == 'global-exclude': for pattern in patterns: - if not self._exclude_pattern(pattern, anchor=False): - logger.warning('no previously-included files ' - 'matching %r found anywhere in ' - 'distribution', pattern) + found = self._exclude_pattern(pattern, anchor=False) + #if not found: + # logger.warning('no previously-included files ' + # 'matching %r found anywhere in ' + # 'distribution', pattern) elif action == 'recursive-include': for pattern in patterns: @@ -172,10 +174,11 @@ def process_directive(self, directive): elif action == 'recursive-exclude': for pattern in patterns: - if not self._exclude_pattern(pattern, prefix=thedir): - logger.warning('no previously-included files ' - 'matching %r found under directory %r', - pattern, thedir) + found = self._exclude_pattern(pattern, prefix=thedir) + #if not found: + # logger.warning('no previously-included files ' + # 'matching %r found under directory %r', + # pattern, thedir) elif action == 'graft': if not self._include_pattern(None, prefix=dirpattern): diff --git a/pip/_vendor/distlib/metadata.py b/pip/_vendor/distlib/metadata.py --- a/pip/_vendor/distlib/metadata.py +++ b/pip/_vendor/distlib/metadata.py @@ -20,7 +20,7 @@ from .compat import StringIO, string_types, text_type from .markers import interpret from .util import extract_by_key, get_extras -from .version import get_scheme, PEP426_VERSION_RE +from .version import get_scheme, PEP440_VERSION_RE logger = logging.getLogger(__name__) @@ -630,7 +630,7 @@ class Metadata(object): NAME_MATCHER = re.compile('^[0-9A-Z]([0-9A-Z_.-]*[0-9A-Z])?$', re.I) - VERSION_MATCHER = PEP426_VERSION_RE + VERSION_MATCHER = PEP440_VERSION_RE SUMMARY_MATCHER = re.compile('.{1,2047}') @@ -741,7 +741,27 @@ def __getattribute__(self, key): result = self._legacy.get(lk) else: value = None if maker is None else maker() - result = self._data.get(key, value) + if key not in ('commands', 'exports', 'modules', 'namespaces', + 'classifiers'): + result = self._data.get(key, value) + else: + # special cases for PEP 459 + sentinel = object() + result = sentinel + d = self._data.get('extensions') + if d: + if key == 'commands': + result = d.get('python.commands', value) + elif key == 'classifiers': + d = d.get('python.details') + if d: + result = d.get(key, value) + else: + d = d.get('python.exports') + if d: + result = d.get(key, value) + if result is sentinel: + result = value elif key not in common: result = object.__getattribute__(self, key) elif self._legacy: @@ -770,8 +790,20 @@ def __setattr__(self, key, value): if lk is None: raise NotImplementedError self._legacy[lk] = value - else: + elif key not in ('commands', 'exports', 'modules', 'namespaces', + 'classifiers'): self._data[key] = value + else: + # special cases for PEP 459 + d = self._data.setdefault('extensions', {}) + if key == 'commands': + d['python.commands'] = value + elif key == 'classifiers': + d = d.setdefault('python.details', {}) + d[key] = value + else: + d = d.setdefault('python.exports', {}) + d[key] = value elif key not in common: object.__setattr__(self, key, value) else: diff --git a/pip/_vendor/distlib/resources.py b/pip/_vendor/distlib/resources.py --- a/pip/_vendor/distlib/resources.py +++ b/pip/_vendor/distlib/resources.py @@ -129,7 +129,13 @@ def _adjust_path(self, path): return os.path.realpath(path) def _make_path(self, resource_name): - parts = resource_name.split('/') + # Issue #50: need to preserve type of path on Python 2.x + # like os.path._get_sep + if isinstance(resource_name, bytes): # should only happen on 2.x + sep = b'/' + else: + sep = '/' + parts = resource_name.split(sep) parts.insert(0, self.base) result = os.path.join(*parts) return self._adjust_path(result) diff --git a/pip/_vendor/distlib/scripts.py b/pip/_vendor/distlib/scripts.py --- a/pip/_vendor/distlib/scripts.py +++ b/pip/_vendor/distlib/scripts.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2013 Vinay Sajip. +# Copyright (C) 2013-2014 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # @@ -11,7 +11,7 @@ import struct import sys -from .compat import sysconfig, fsencode, detect_encoding, ZipFile +from .compat import sysconfig, detect_encoding, ZipFile from .resources import finder from .util import (FileOperator, get_export_entry, convert_path, get_executable, in_venv) @@ -113,7 +113,13 @@ def _get_shebang(self, encoding, post_interp=b'', options=None): # cater for executable paths with spaces (not uncommon on Windows) if enquote and ' ' in executable: executable = '"%s"' % executable - executable = fsencode(executable) + # Issue #51: don't use fsencode, since we later try to + # check that the shebang is decodable using utf-8. + executable = executable.encode('utf-8') + # in case of IronPython, play safe and enable frames support + if (sys.platform == 'cli' and '-X:Frames' not in post_interp + and '-X:FullFrames' not in post_interp): + post_interp += b' -X:Frames' shebang = b'#!' + executable + post_interp + b'\n' # Python parser starts to read a script using UTF-8 until # it gets a #coding:xxx cookie. The shebang has to be the @@ -198,7 +204,13 @@ def _write_script(self, names, shebang, script_bytes, filenames, ext): filenames.append(outname) def _make_script(self, entry, filenames, options=None): - shebang = self._get_shebang('utf-8', options=options) + post_interp = b'' + if options: + args = options.get('interpreter_args', []) + if args: + args = ' %s' % ' '.join(args) + post_interp = args.encode('utf-8') + shebang = self._get_shebang('utf-8', post_interp, options=options) script = self._get_script_text(entry).encode('utf-8') name = entry.name scriptnames = set() diff --git a/pip/_vendor/distlib/util.py b/pip/_vendor/distlib/util.py --- a/pip/_vendor/distlib/util.py +++ b/pip/_vendor/distlib/util.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2012-2013 The Python Software Foundation. +# Copyright (C) 2012-2014 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # import codecs @@ -154,12 +154,16 @@ def in_venv(): def get_executable(): - if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' - in os.environ): - result = os.environ['__PYVENV_LAUNCHER__'] - else: - result = sys.executable - return result +# The __PYVENV_LAUNCHER__ dance is apparently no longer needed, as +# changes to the stub launcher mean that sys.executable always points +# to the stub on OS X +# if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' +# in os.environ): +# result = os.environ['__PYVENV_LAUNCHER__'] +# else: +# result = sys.executable +# return result + return sys.executable def proceed(prompt, allowed_chars, error_prompt=None, default=None): @@ -196,7 +200,7 @@ def read_exports(stream): stream = StringIO(data) try: data = json.load(stream) - result = data['exports'] + result = data['extensions']['python.exports']['exports'] for group, entries in result.items(): for k, v in entries.items(): s = '%s = %s' % (k, v) diff --git a/pip/_vendor/distlib/version.py b/pip/_vendor/distlib/version.py --- a/pip/_vendor/distlib/version.py +++ b/pip/_vendor/distlib/version.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2013 The Python Software Foundation. +# Copyright (C) 2012-2014 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """ @@ -79,7 +79,7 @@ class Matcher(object): version_class = None dist_re = re.compile(r"^(\w[\s\w'.-]*)(\((.*)\))?") - comp_re = re.compile(r'^(<=|>=|<|>|!=|==|~=)?\s*([^\s,]+)$') + comp_re = re.compile(r'^(<=|>=|<|>|!=|={2,3}|~=)?\s*([^\s,]+)$') num_re = re.compile(r'^\d+(\.\d+)*$') # value is either a callable or the name of a method @@ -89,6 +89,7 @@ class Matcher(object): '<=': lambda v, c, p: v == c or v < c, '>=': lambda v, c, p: v == c or v > c, '==': lambda v, c, p: v == c, + '===': lambda v, c, p: v == c, # by default, compatible => >=. '~=': lambda v, c, p: v == c or v > c, '!=': lambda v, c, p: v != c, @@ -155,7 +156,7 @@ def match(self, version): @property def exact_version(self): result = None - if len(self._parts) == 1 and self._parts[0][0] == '==': + if len(self._parts) == 1 and self._parts[0][0] in ('==', '==='): result = self._parts[0][1] return result @@ -181,25 +182,29 @@ def __str__(self): return self._string -PEP426_VERSION_RE = re.compile(r'^(\d+(\.\d+)*)((a|b|c|rc)(\d+))?' +PEP440_VERSION_RE = re.compile(r'^v?(\d+!)?(\d+(\.\d+)*)((a|b|c|rc)(\d+))?' r'(\.(post)(\d+))?(\.(dev)(\d+))?' - r'(-(\d+(\.\d+)?))?$') + r'(\+([a-zA-Z\d]+(\.[a-zA-Z\d]+)?))?$') -def _pep426_key(s): +def _pep_440_key(s): s = s.strip() - m = PEP426_VERSION_RE.match(s) + m = PEP440_VERSION_RE.match(s) if not m: raise UnsupportedVersionError('Not a valid version: %s' % s) groups = m.groups() - nums = tuple(int(v) for v in groups[0].split('.')) + nums = tuple(int(v) for v in groups[1].split('.')) while len(nums) > 1 and nums[-1] == 0: nums = nums[:-1] - pre = groups[3:5] - post = groups[6:8] - dev = groups[9:11] - local = groups[12] + if not groups[0]: + epoch = 0 + else: + epoch = int(groups[0]) + pre = groups[4:6] + post = groups[7:9] + dev = groups[10:12] + local = groups[13] if pre == (None, None): pre = () else: @@ -215,7 +220,17 @@ def _pep426_key(s): if local is None: local = () else: - local = tuple([int(s) for s in local.split('.')]) + parts = [] + for part in local.split('.'): + # to ensure that numeric compares as > lexicographic, avoid + # comparing them directly, but encode a tuple which ensures + # correct sorting + if part.isdigit(): + part = (1, int(part)) + else: + part = (0, part) + parts.append(part) + local = tuple(parts) if not pre: # either before pre-release, or final release and after if not post and dev: @@ -230,10 +245,10 @@ def _pep426_key(s): dev = ('final',) #print('%s -> %s' % (s, m.groups())) - return nums, pre, post, dev, local + return epoch, nums, pre, post, dev, local -_normalized_key = _pep426_key +_normalized_key = _pep_440_key class NormalizedVersion(Version): @@ -260,9 +275,9 @@ def parse(self, s): # clause, since that's needed to ensure that X.Y == X.Y.0 == X.Y.0.0 # However, PEP 440 prefix matching needs it: for example, # (~= 1.4.5.0) matches differently to (~= 1.4.5.0.0). - m = PEP426_VERSION_RE.match(s) # must succeed + m = PEP440_VERSION_RE.match(s) # must succeed groups = m.groups() - self._release_clause = tuple(int(v) for v in groups[0].split('.')) + self._release_clause = tuple(int(v) for v in groups[1].split('.')) return result PREREL_TAGS = set(['a', 'b', 'c', 'rc', 'dev']) @@ -294,12 +309,13 @@ class NormalizedMatcher(Matcher): '<=': '_match_le', '>=': '_match_ge', '==': '_match_eq', + '===': '_match_arbitrary', '!=': '_match_ne', } def _adjust_local(self, version, constraint, prefix): if prefix: - strip_local = '-' not in constraint and version._parts[-1] + strip_local = '+' not in constraint and version._parts[-1] else: # both constraint and version are # NormalizedVersion instances. @@ -307,7 +323,7 @@ def _adjust_local(self, version, constraint, prefix): # ensure the version doesn't, either. strip_local = not constraint._parts[-1] and version._parts[-1] if strip_local: - s = version._string.split('-', 1)[0] + s = version._string.split('+', 1)[0] version = self.version_class(s) return version, constraint @@ -343,6 +359,9 @@ def _match_eq(self, version, constraint, prefix): result = _match_prefix(version, constraint) return result + def _match_arbitrary(self, version, constraint, prefix): + return str(version) == str(constraint) + def _match_ne(self, version, constraint, prefix): version, constraint = self._adjust_local(version, constraint, prefix) if not prefix: @@ -357,6 +376,8 @@ def _match_compatible(self, version, constraint, prefix): return True if version < constraint: return False +# if not prefix: +# return True release_clause = constraint._release_clause if len(release_clause) > 1: release_clause = release_clause[:-1] diff --git a/pip/_vendor/distlib/wheel.py b/pip/_vendor/distlib/wheel.py --- a/pip/_vendor/distlib/wheel.py +++ b/pip/_vendor/distlib/wheel.py @@ -85,6 +85,9 @@ def _derive_abi(): ''', re.IGNORECASE | re.VERBOSE) SHEBANG_RE = re.compile(br'\s*#![^\r\n]*') +SHEBANG_DETAIL_RE = re.compile(br'^(\s*#!("[^"]+"|\S+))\s+(.*)$') +SHEBANG_PYTHON = b'#!python' +SHEBANG_PYTHONW = b'#!pythonw' if os.sep == '/': to_posix = lambda o: o @@ -251,7 +254,20 @@ def info(self): def process_shebang(self, data): m = SHEBANG_RE.match(data) if m: - data = b'#!python' + data[m.end():] + end = m.end() + shebang, data_after_shebang = data[:end], data[end:] + # Preserve any arguments after the interpreter + if b'pythonw' in shebang.lower(): + shebang_python = SHEBANG_PYTHONW + else: + shebang_python = SHEBANG_PYTHON + m = SHEBANG_DETAIL_RE.match(shebang) + if m: + args = b' ' + m.groups()[-1] + else: + args = b'' + shebang = shebang_python + args + data = shebang + data_after_shebang else: cr = data.find(b'\r') lf = data.find(b'\n') @@ -262,7 +278,7 @@ def process_shebang(self, data): term = b'\r\n' else: term = b'\r' - data = b'#!python' + term + data + data = SHEBANG_PYTHON + term + data return data def get_hash(self, data, hash_kind=None): @@ -587,7 +603,9 @@ def install(self, paths, maker, **kwargs): try: with zf.open(metadata_name) as bwf: wf = wrapper(bwf) - commands = json.load(wf).get('commands') + commands = json.load(wf).get('extensions') + if commands: + commands = commands.get('python.commands') except Exception: logger.warning('Unable to read JSON metadata, so ' 'cannot generate scripts') @@ -810,11 +828,11 @@ def update_version(version, path): v = NormalizedVersion(version) i = version.find('-') if i < 0: - updated = '%s-1' % version + updated = '%s+1' % version else: parts = [int(s) for s in version[i + 1:].split('.')] parts[-1] += 1 - updated = '%s-%s' % (version[:i], + updated = '%s+%s' % (version[:i], '.'.join(str(i) for i in parts)) except UnsupportedVersionError: logger.debug('Cannot update non-compliant (PEP-440) '
pip3 need honor sys.executable in OS X I found that pip3 from homebrew handles the shebang of installed scripts in wrong way(https://github.com/Homebrew/homebrew/issues/32254). After further digging, I'm pretty sure it's pip's issue rather than homebrew. The related code is in [here](https://github.com/pypa/pip/blob/master/pip/_vendor/distlib/util.py#L156): ``` python def get_executable(): if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' in os.environ): result = os.environ['__PYVENV_LAUNCHER__'] else: result = sys.executable return result ``` I don't know why you guys would overwrite `sys.executable`. But as the test showed, under OS X python3 `__PYVENV_LAUNCHER__` will always exist. ``` $ python Python 2.7.8 (default, Aug 24 2014, 21:26:19) [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os;os.environ['__PYVENV_LAUNCHER__'] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: '__PYVENV_LAUNCHER__' $ python3 Python 3.4.1 (default, Aug 24 2014, 21:32:40) [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os;os.environ['__PYVENV_LAUNCHER__'] '/usr/local/bin/python3' ```
I think this is wheel-specific. The desired behavior in Homebrew is that the shebang is set to the opt path, /usr/local/opt/python3/bin/python3.4, which does not change between micro versions of python (and not the Cellar path, /usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4, which does). sys.executable is set to the opt path. Installing ipython with pip3 --no-use-wheel gives #!/usr/local/opt/python3/bin/python3.4 as the shebang; installing ipython from the wheel uses #!/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4 as the shebang. We would prefer that the wheel behavior matches the setup.py behavior. This is actually in the distlib project, or at least the linked code is. That's located at https://bitbucket.org/pypa/distlib. Perhaps @vsajip can jump in and give a rationale though. I would have been more inclined to blame fix_script in pip/wheel.py -- https://github.com/pypa/pip/blob/1.5.6/pip/wheel.py#L67-L88 -- except that I think it does what I want. Is there some reason python3 would be invoked without applying sitecustomize during a wheel install? Not unless pip itself is invoked without it. I think @xu-cheng was right; os.environ['**PYENV_LAUNCHER**'] takes the value of sys.argv[0] in python3; changing the shebang in the pip3 script changes the shebangs it writes for wheels. I wonder why this is wheel-specific! The reason for the logic in `distlib` is that on OS X, a stub launcher is used which essentially loads the real interpreter in a framework build. The `__PYVENV_LAUNCHER__` variable points to the stub, which is located next to `pyvenv.cfg` in a venv, and this allows the venv `sys.path` setup machinery to operate correctly. The environment variable is set by the stub launcher, and so won't be present if the interpreter in the framework build is invoked directly. @xu-cheng AFAIK, the executable pointed to by `__PYVENV_LAUNCHER__` will, when run, invoke the appropriate framework build interpreter, so in what way exactly is this causing a problem? @vsajip As for my test shown, `__PYVENV_LAUNCHER__` will always exist for python3 on OS X. When using Homebrew we want the shebang set as `sys.executable`. But currently it's somehow set by `__PYVENV_LAUNCHER__`. The desired behavior in Homebrew is that the shebang is set to the opt path, `/usr/local/opt/python3/bin/python3.4`, which does not change between micro versions of python. And that's what `sys.executable` does. But now as set by `__PYVENV_LAUNCHER__`, the shabang is pointed to the Cellar path, `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4`. So every time python gets micro update or a openssl security update occurs, the Cellar path will change which results the scripts cannot find the interpreter. That's the problem. @xu-cheng Unfortunately I am unable to build Python 3.4 on the somewhat aging Mac (Leopard) that I have access to. However, I do have a build which I made in January, and installed using `sudo make altinstall`. I ran some code three times: 1. Using the version installed on the machine using `sudo make altinstall`. 2. From a venv (`venv33`) created using `virtualenv`, using the Python in variant 1. 3. From a venv (`venv33a`) created using `pyvenv`, using the Python in variant 1. I printed `sys.executable` and the `os.environ` keys: ``` vinay@iMac:projects$ python3.3 Python 3.3.3+ (3.3:72560f9bb2a2, Jan 14 2014, 12:36:39) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os, sys >>> sys.executable, sorted(os.environ) ('/usr/local/bin/python3.3', ['Apple_PubSub_Socket_Render', 'COMMAND_MODE', 'DISPLAY', 'GPG_AGENT_INFO', 'HOME', 'LANG', 'LOGNAME', 'MANPATH', 'OLDPWD', 'PATH', 'PS1', 'PWD', 'SECURITYSESSIONID', 'SHELL', 'SHLVL', 'SSH_AUTH_SOCK', 'TERM', 'TERM_PROGRAM', 'TERM_PROGRAM_VERSION', 'TMPDIR', 'USER', 'WORKON_HOME', '_', '__CF_USER_TEXT_ENCODING']) >>> ^D vinay@iMac:projects$ venv33/bin/python Python 3.3.0+ (3.3:459a23083b66, Dec 31 2012, 16:26:43) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os, sys >>> sys.executable, sorted(os.environ) ('/Users/administrator/projects/venv33/bin/python', ['Apple_PubSub_Socket_Render', 'COMMAND_MODE', 'DISPLAY', 'GPG_AGENT_INFO', 'HOME', 'LANG', 'LOGNAME', 'MANPATH', 'OLDPWD', 'PATH', 'PS1', 'PWD', 'SECURITYSESSIONID', 'SHELL', 'SHLVL', 'SSH_AUTH_SOCK', 'TERM', 'TERM_PROGRAM', 'TERM_PROGRAM_VERSION', 'TMPDIR', 'USER', 'WORKON_HOME', '_', '__CF_USER_TEXT_ENCODING']) >>> ^D vinay@iMac:projects$ venv33a/bin/python Python 3.3.0+ (3.3:459a23083b66, Dec 31 2012, 16:26:43) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os, sys >>> sys.executable, sorted(os.environ) ('/Users/administrator/projects/venv33a/bin/python', ['Apple_PubSub_Socket_Render', 'COMMAND_MODE', 'DISPLAY', 'GPG_AGENT_INFO', 'HOME', 'LANG', 'LOGNAME', 'MANPATH', 'OLDPWD', 'PATH', 'PS1', 'PWD', 'SECURITYSESSIONID', 'SHELL', 'SHLVL', 'SSH_AUTH_SOCK', 'TERM', 'TERM_PROGRAM', 'TERM_PROGRAM_VERSION', 'TMPDIR', 'USER', 'WORKON_HOME', '_', '__CF_USER_TEXT_ENCODING', '__PYVENV_LAUNCHER__']) >>> os.environ['__PYVENV_LAUNCHER__'] '/Users/administrator/projects/venv33a/bin/python' >>> ``` I know this is an old machine and an old Python version, but that shouldn't matter. From the above, you'll see that `__PYVENV_LAUNCHER__` is only in the environment when run from a venv created using `pyvenv`. Note also that in that case, the value of `sys.executable` and `os.environ[__PYVENV_LAUNCHER__]` are one and the same. I'm also unfortunately unable to install a Python 3.4 on this machine from a `python.org` installer, so it's hard for me to look into it further. From what I can see, `__PYVENV_LAUNCHER__` is not always in `os.environ`, at least in my environment (which has MacPorts BTW, though I am not using it as a source for Python interpreters). I wonder why the second and third results of your test have different python version with your first one. Anyway, I installed python 3.3.0 on my Mac through pyenv (not confused with pyvenv). Here's the results: ``` # xucheng at Xu-Chengs-MacBook-Pro in ~ on pyenv:3.3.0 [20:10:57] $ python Python 3.3.0 (default, Sep 19 2014, 20:09:04) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os;os.environ['__PYVENV_LAUNCHER__'] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/xucheng/.pyenv/versions/3.3.0/lib/python3.3/os.py", line 669, in __getitem__ value = self._data[self.encodekey(key)] KeyError: b'__PYVENV_LAUNCHER__' >>> import sys;sys.executable '/Users/xucheng/.pyenv/versions/3.3.0/bin/python' >>> ``` So there's a chance that this issue is python 3.4 specific. > I wonder why the second and third results of your test have different python version with your first one. You're right - I must have created the venvs from an older build. So I created some new venvs just now, and the results are different again! ``` vinay@iMac:~$ python3.3 /tmp/virtualenv.py --no-setuptools /tmp/venv33 Using base prefix '/usr/local' New python executable in /tmp/venv33/bin/python3.3 Also creating executable in /tmp/venv33/bin/python vinay@iMac:~$ python3.3 -m venv /tmp/venv33a vinay@iMac:~$ /tmp/venv33/bin/python Python 3.3.3+ (3.3:72560f9bb2a2, Jan 14 2014, 12:36:39) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os, sys >>> sys.executable, sorted(os.environ) ('/tmp/venv33/bin/python', ['Apple_PubSub_Socket_Render', 'COMMAND_MODE', 'DISPLAY', 'GPG_AGENT_INFO', 'HOME', 'LANG', 'LOGNAME', 'MANPATH', 'PATH', 'PS1', 'PWD', 'SECURITYSESSIONID', 'SHELL', 'SHLVL', 'SSH_AUTH_SOCK', 'TERM', 'TERM_PROGRAM', 'TERM_PROGRAM_VERSION', 'TMPDIR', 'USER', 'WORKON_HOME', '_', '__CF_USER_TEXT_ENCODING']) >>> ^D vinay@iMac:~$ /tmp/venv33a/bin/python Python 3.3.3+ (3.3:72560f9bb2a2, Jan 14 2014, 12:36:39) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os, sys >>> sys.executable, sorted(os.environ) ('/tmp/venv33a/bin/python', ['Apple_PubSub_Socket_Render', 'COMMAND_MODE', 'DISPLAY', 'GPG_AGENT_INFO', 'HOME', 'LANG', 'LOGNAME', 'MANPATH', 'PATH', 'PS1', 'PWD', 'SECURITYSESSIONID', 'SHELL', 'SHLVL', 'SSH_AUTH_SOCK', 'TERM', 'TERM_PROGRAM', 'TERM_PROGRAM_VERSION', 'TMPDIR', 'USER', 'WORKON_HOME', '_', '__CF_USER_TEXT_ENCODING']) >>> ``` Now, neither of them has a `__PYVENV_LAUNCHER__` key! So, possibly some 3.3 versions are also affected. So the results got weird. `__PYVENV_LAUNCHER__` shows in the place it shouldn't be and fails to show in the place it should be. But setting aside from this problem, I fail to see the reason why we need to use `__PYVENV_LAUNCHER__` overwriting `sys.executable` in pip or distlib. As your test is shown, when using pyvenv, `sys.executable` would be sufficient. > As your test is shown, when using pyvenv, sys.executable would be sufficient Believe me, I didn't add this little complication for fun :-) I think it may depend on exactly how Python is built. When I implemented venv, I had to modify the stub launcher on OS X so that the stub value was used. I'm pretty sure that `sys.executable` gave me a framework build location and not a simple path such as `/usr/local/bin/python`. This meant that we couldn't find `pyvenv.cfg` in a venv (as `sys.executable` didn't point into a venv), which led me to change the stub launcher to set the environment variable, and add code in `site.py` to look for that variable. I don't claim to be a Python-on-OS X expert, and I'm not sure if anything has changed in the way Python is built on OS X or whether Homebrew builds differ from `python.org` builds. It's unfortunate that I can't build or install 3.4 on OS X to do further investigation. What happens with a non-Homebrew Python 3.4 (e.g. from a `python.org` installer)? I just tested python 3.4.0 and 3.4.1 installed by pyenv. And it's surprise that neither of them have `__PYVENV_LAUNCHER__` key. So now it's back to homebrew problem. I don't know why homebrew builds differ from others, especially after I reviewed [its building method](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/python3.rb). One possible reason is that homebrew builds have an extra `--enable-framework` argument during compiling. Does @tdsmith have any opinion? FYI: In the 3.4 sources, `__PYVENV_LAUNCHER__` occurs in the following places: ``` ./Lib/site.py 454: if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env: 455: executable = os.environ['__PYVENV_LAUNCHER__'] ./Lib/test/test_venv.py 52: if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in os.environ: 53: executable = os.environ['__PYVENV_LAUNCHER__'] 100: if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' 102: executable = os.environ['__PYVENV_LAUNCHER__'] ./Lib/venv/__init__.py 120: if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env: 121: executable = os.environ['__PYVENV_LAUNCHER__'] ./Mac/Tools/pythonw.c 199: setenv("__PYVENV_LAUNCHER__", real_path, 1); ./Modules/main.c 628: char* pyvenv_launcher = getenv("__PYVENV_LAUNCHER__"); 637: Py_FatalError("Cannot decode __PYVENV_LAUNCHER__"); ``` Note that it is only set in one place: the stub launcher in `Mac/Tools/pythonw.c`. In all the others, it's just read. IIUC, the stub launcher is only used in framework builds anyway, to allow GUI apps to work correctly. I'm not sure if the pyenv builds you mention are such. Here's an example using a Python 3.2 framework build: ``` vinay@iMac:~$ which python3.2 /usr/local/bin/python3.2 vinay@iMac:~$ python3.2 Python 3.2.3+ (3.2:0786dfc3b2b4, Dec 31 2012, 14:23:03) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys; sys.executable '/Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python' ``` However, what is `/usr/local/bin/python3.2`? It's a symlink to the stub launcher for that framework build: ``` vinay@iMac:~$ ls -l /usr/local/bin/python3.2 lrwxr-xr-x 1 root wheel 63 31 Dec 2012 /usr/local/bin/python3.2 -> /Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2 ``` So, the stub is at `/Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2` whereas the real interpreter is at `/Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python`. Now it makes much more sense. The pyenv builds don't have framework enable, while homebrew bulids have. For homebrewed python, both `/usr/local/bin/python3` and `/usr/local/opt/python3/bin/python3` are ultimately pointed to the stub launcher `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3`. Therefore, a `__PYVENV_LAUNCHER__` key always exists. If I use `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/Resources/Python.app/Contents/MacOS/Python` as interpreter, the `__PYVENV_LAUNCHER__` key is gone. So now the problem is how to make `__PYVENV_LAUNCHER__` behave correctly. What we need is that `__PYVENV_LAUNCHER__` exists only when pyvenv is invoked. But now `__PYVENV_LAUNCHER__` will always exist if we use the stub launcher. Am I correct? > But now **PYVENV_LAUNCHER** will always exist if we use the stub launcher. Am I correct? Yes, but that is correct behaviour and needed for correct operation in venvs created by `pyvenv` on OS X. I would assume that the `python.org` builds are framework builds - can you check what the behaviour with them is (in terms of whether `pip3` does the right thing)? When `distlib` writes shebangs for scripts installed into venvs, it must use `os,environ[__PYVENV_LAUNCHER__]` on OS X if available, otherwise the scripts won't work correctly (using the venv's interpreter, and with the venv in `sys.path`). It's not clear from your original post whether your problem relates to installing scripts into venvs, or something else. Can you clarify? My current problem has no concern with venvs. It's that homebrew uses stub launcher, therefore making `sys.executable` useless as it's overwritten by `os.environ[__PYVENV_LAUNCHER__]`. But I think this problem would be spread to any framework enabled builds. I don't know whether I understand correctly. Shouldn't the correct code look similar like this: ``` python def get_executable(): if sys.platform == 'darwin' and \ ('__PYVENV_LAUNCHER__' in os.environ) and \ venv_is_truly_running(): result = os.environ['__PYVENV_LAUNCHER__'] else: result = sys.executable return result ``` The code that is determining the shebang to use is running in an installer (like `pip`, but not necessarily `pip`). There is no reason to assume that the installer code is running in the venv being installed into, and it might not be. The actual logic that `distlib` uses to determine the shebang to write is [here](https://bitbucket.org/pypa/distlib/src/0c1ba2c3da2c1e812a481303a43f56c003a9ea70/distlib/scripts.py?at=default#cl-94). Here's an excerpt: ``` if self.executable: executable = self.executable enquote = False # assume this will be taken care of elif not sysconfig.is_python_build(): executable = get_executable() elif in_venv(): executable = os.path.join(sysconfig.get_path('scripts'), 'python%s' % sysconfig.get_config_var('EXE')) else: executable = os.path.join( sysconfig.get_config_var('BINDIR'), 'python%s%s' % (sysconfig.get_config_var('VERSION'), sysconfig.get_config_var('EXE'))) ``` So, note that `get_executable()`, which you refer to in your original post, is only called if running from a source build, but not if running an installed Python. So it looks as though you are building the Homebrew Python from source and running that build, rather than installing it and running that - is that the case? Whoops, I think I misread the code I mentioned above (read it after coming in from a late night :-) Let me get some coffee and look at it again... Okay, I've had some coffee now, let's see if I can make a little more sense. 1. The shebangs written by `distlib` (and hence `pip`) refer to a stub launcher. This is important for venvs (so that the `sys.path` can be set up correctly for venvs) but also correct in the non-venv case, since running the stub launcher is essentially equivalent to running the corresponding Python interpreter. 2. You are seeing shebang executable paths like `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4` rather than `/usr/local/opt/python3/bin/python3.4`, which is bad because the former specifies a too-specific location and a minor version. However, both of these are paths pointing to stub launchers. It would seem that one is a symlink to the other (please confirm if that's not the case). If the `__PYVENV_LAUNCHER__` environment variable is wrong, there's been an unwanted symlink resolution somewhere. But where could it be? 3. If `os.environ[__PYVENV_LAUNCHER__]` _is_ pointing to the wrong path, that implies either a problem in the stub launcher code which sets the variable, or else that the too-specific path is used to invoke the launcher. When the stub launcher runs, [this C code](https://hg.python.org/cpython/file/7af0315bdfe0/Mac/Tools/pythonw.c#l161) sets up `__PYVENV_LAUNCHER__`. Note that the comment says that `realpath` isn't called specifically to avoid losing symlink information. ISTM it's worth checking why the environment variable is being set wrongly, and that means looking at the stub launcher code or the launcher invocation, rather than `distlib` or `pip`. Yeah you're right. So here're the test I run to determine different executes' realpath and `os.environ['__PYVENV_LAUNCHER__']`: | interpreter | realpath | `os.environ['__PYVENV_LAUNCHER__']` | | --- | --- | --- | | `/usr/local/bin/python3.4` | `../Cellar/python3/3.4.1_1/bin/python3.4` | `/usr/local/bin/python3.4` | | `/usr/local/opt/python3/bin/python3.4` | `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4` | `/usr/local/Cellar/python3/3.4.1_1/bin/python3.4` | | `/usr/local/Cellar/python3/3.4.1_1/bin/python3.4` | `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4` | `/usr/local/Cellar/python3/3.4.1_1/bin/python3.4` | | `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4` | N/A | `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4` | In addition, the pip3 of homebrewed python is installed by command: `/usr/local/Cellar/python3/3.4.1_1/bin/python3 -m ensurepip --upgrade`. Which results pip3 has the shebang: `#!/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4`. Then the pip3's shebang will spread to any other scripts installed by it. So, if instead the `ensurepip` command were invoked using e.g. `/usr/local/opt/python3/bin/python3`, all would perhaps be well. Can you confirm that's the case? Test shows it's not helping. Still wrong shebang. But I don't think we should solve the issue by finding right invoked command. From my understanding, the desired behavior is like this: - If in venv, using `os.environ['__PYVENV_LAUNCHER__']` - Then using `sys.executable` if available. - Fallback to OS specific default. So which command is invoked shouldn't be the issue. The behaviour in `distlib` seems correct from the point of view of both operation in a venv and otherwise. Remember what I said: when writing shebangs for a script being installed into a venv, you don't need to have the venv active, nor use the venv's interpreter for that writing operation. If `python -m ensurepip` is called with the correct symlink, the shebangs should be as expected - why is that not the correct solution? What exactly happens if you remove pip and reinstall it using one of the following commands? ``` /usr/local/opt/python3/bin/python3 -m ensurepip --upgrade /usr/local/bin/python3 -m ensurepip --upgrade ``` Also, in `get_executable()`, what is the value of `sys.executable`? Is it a stub launcher, or not? Whatever it is, where did that value come from? As the test shown, invoking `/usr/local/opt/python3/bin/python3 -m ensurepip --upgrade` will result out the shebang as `#!/usr/local/Cellar/python3/3.4.1_1/bin/python3`. And invoking `/usr/local/bin/python3 -m ensurepip --upgrade`, the shebang will become `#!/usr/local/bin/python3`. Neither of them are correct. And `sys.executable` is set by the file `/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sitecustomize.py` with the content of [this](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/python3.rb#L222-L267). For more homebrew related information, @tdsmith should have better insight. Why is `/usr/local/bin/python3` the wrong shebang? If it's too general, and you want to be 3.4-specific, then I presume there is a `/usr/local/bin/python3.4` which produces analogous results. Since I can't run Homebrew Python on my system, I was hoping you could e.g. set a break point in `get_executable()` [where you say the wrong value is being set] and see what the alternative value (`sys.executable`) is at that point. I added a call to pdb.set_trace() inside get_executable() in /usr/local/lib/python3.4/site-packages/pip/_vendor/distlib/utils.py. ``` darkside:distlib tim$ python3 -m pdb `which pip3` install -U --force-reinstall ipython > /usr/local/bin/pip3(4)<module>() -> import re (Pdb) c Downloading/unpacking ipython Downloading ipython-2.2.0-py3-none-any.whl (2.8MB): 2.8MB downloaded Downloading/unpacking gnureadline (from ipython) Downloading gnureadline-6.3.3-cp34-cp34m-macosx_10_9_x86_64.whl (133kB): 133kB downloaded Installing collected packages: ipython, gnureadline Found existing installation: ipython 2.2.0 Uninstalling ipython: Successfully uninstalled ipython > /usr/local/lib/python3.4/site-packages/pip/_vendor/distlib/util.py(158)get_executable() -> if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' (Pdb) sys.executable '/usr/local/opt/python3/bin/python3.4' ``` Oops, that was dumb, sorry; the same is true without the extra "python3 -m pdb" wrapper. ``` darkside:site-packages tim$ pip3 install -U --force-reinstall ipython ... Uninstalling ipython: Successfully uninstalled ipython > /usr/local/lib/python3.4/site-packages/pip/_vendor/distlib/util.py(158)get_executable() -> if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' (Pdb) sys.executable '/usr/local/opt/python3/bin/python3.4' ``` > Note that the comment says that realpath isn't called specifically to avoid losing symlink information. But then it says "It is nice to have the directory name as a cleaned up absolute path though, therefore call realpath on dirname(path)." Isn't that what's hosing us? > Isn't that what's hosing us? Perhaps. If so, it would need to be a change in Python itself. Why is this not an issue for stock (`python.org`) Python, which I believe is also a framework build? Or is it also an issue there? No issue has been reported on the stock Python builds, AFAIK. @vsajip The reason that I think `/usr/local/bin/python3` is wrong shebang is because we cannot guarantee it's homebrewed python. There's a slight chance for some users to install other python builds. So it's best that we have a shebang like this `/usr/local/opt/python3/bin/python3.4`. And that's the weird place as `/usr/local/opt/python3/bin/python3 -m ensurepip --upgrade` resulting to `#!/usr/local/Cellar/python3/3.4.1_1/bin/python3`. As for your unable testing homebrew on your Leopard, can you try test with [tigerbrew](https://github.com/mistydemeo/tigerbrew)? **EDIT** sorry for copy/paste error. > we cannot guarantee it's homebrewed python OK, I see. Unfortunately, my machine is a bit temperamental - although it has MacPorts installed and a whole bunch of MacPorts libraries, I still regularly get problems trying to install or upgrade stuff. So I'm wary of making any changes which might break something I need :-( Possibly @tdsmith has identified where the symlink resolution occurs, but that would mean a change to Python itself (not `distlib` or `pip`), and before raising a Python issue, the question would need to be answered as to whether the `python.org` framework builds have the same issue, or not. (Although I have built Python on this machine earlier this year, I can't get it to build now because I can't upgrade `libintl` on my machine, and newer Python needs that.) I can set up the python.org build but what is it we'd like to test? Homebrew doesn't patch Python and this manifestation is particular to the way Homebrew distributes python. Applying this patch against pythonw.c during the Homebrew build does indeed get rid of the symlink resolution so that pip takes a shebang that matches the ensurepip invocation and writes shebangs that match its own: https://gist.github.com/tdsmith/f6f3ab95101baf5de5fc I guess our next step is to open an issue against Python to see if we can convince them to change this behavior? I really appreciate your patience; this has been very helpful. While it was I that implemented the relevant change in `pythonw.c`, I don't profess to be an expert on framework builds. If you open a Python issue, I would hope that the Mac experts on python-dev can pronounce on it. I have no objection to your patch, but I believe (can't quite remember) that the original change was okayed by others. I would suggest adding me and Ronald Oussoren or Ned Deily to the nosy list for the issue. I'm not a homebrew user so I don't have a setup to test this at the moment. But, if I understand from the description above, everything works correctly in the non-wheel case, (which I assume means that Distutils build_scripts.py is doing the shebang modification?) and not in the wheel case when distlib is used to do it. So, before we think about changing the stub launcher, it seems to me a first issue to resolve is why does the behavior of distlib differs from that of Distutils, which is after all the standard? It's likely to actually be setuptools doing it. Probably setuptools just uses `sys.executable` since it was written before `__PYVENV_LAUNCHER__` was a thing. Added this to the 6.0 milestone and I've emailed @vsajip asking for a new release of distlib. Hopefully that comes out in time for 6.0 but if not I think we can work around it.
2014-12-17T20:03:45Z
[]
[]
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: '__PYVENV_LAUNCHER__'
17,189
pypa/pip
pypa__pip-2227
46a2757d7b7a089f8607592527b3abd0b872c611
diff --git a/pip/index.py b/pip/index.py --- a/pip/index.py +++ b/pip/index.py @@ -1098,6 +1098,7 @@ def __hash__(self): def filename(self): _, netloc, path, _, _ = urllib_parse.urlsplit(self.url) name = posixpath.basename(path.rstrip('/')) or netloc + name = urllib_parse.unquote(name) assert name, ('URL %r produced no filename' % self.url) return name
pip fails to install packages with local versions. `pip install apache_libcloud-0.16.0+clusterhq.0-py2.py3-none-any.whl` gives ``` python-traceback Exception: Traceback (most recent call last): File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/basecommand.py", line 210, in main status = self.run(options, args) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/commands/install.py", line 304, in run name, None, isolated=options.isolated_mode, File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/req/req_install.py", line 179, in from_line isolated=isolated) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/req/req_install.py", line 53, in __init__ req = pkg_resources.Requirement.parse(req) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2842, in parse reqs = list(parse_requirements(s)) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2789, in parse_requirements "version spec") File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2765, in scan_list raise ValueError(msg, line, "at", line[p:]) ValueError: ("Expected ',' or end-of-list in", 'apache-libcloud==0.16.0%2Bclusterhq.0', 'at', '%2Bclusterhq.0') ```
What works and what doesn't: - **Works:** `pip install --no-index --find-links . myproject` with a tarball - **Works:** `pip install myproject-0.0.dev0+dstufft.0.tar.gz` - **Doesn't Work:** `pip install --no-index --find-links . myproect` with a Wheel. - **Doesn't Work:** `pip install myproject-0.0.dev0+dstufft.0-py2.py3-none-any.whl` - **Doesn't Work:** `pip install --no-index --find-links . myproject==0.0.dev0+dstufft.0` with either. - **Works:** `pip install --no-index --find-links . myproject==0.0.dev0` with a tarball. *\* Doesn't Work:*\* `pip install --no-index --find-links . myproject==0.0.dev0` with a wheel.
2014-12-19T01:28:49Z
[]
[]
Traceback (most recent call last): File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/basecommand.py", line 210, in main status = self.run(options, args) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/commands/install.py", line 304, in run name, None, isolated=options.isolated_mode, File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/req/req_install.py", line 179, in from_line isolated=isolated) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/req/req_install.py", line 53, in __init__ req = pkg_resources.Requirement.parse(req) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2842, in parse reqs = list(parse_requirements(s)) File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2789, in parse_requirements "version spec") File "/Users/cougar/dev/tmp-83d539b3e47fa7c3/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2765, in scan_list raise ValueError(msg, line, "at", line[p:]) ValueError: ("Expected ',' or end-of-list in", 'apache-libcloud==0.16.0%2Bclusterhq.0', 'at', '%2Bclusterhq.0')
17,190
pypa/pip
pypa__pip-2270
fce9b560bc2255cd5305df3414c66cb2cea68431
diff --git a/pip/basecommand.py b/pip/basecommand.py --- a/pip/basecommand.py +++ b/pip/basecommand.py @@ -63,13 +63,13 @@ def __init__(self, isolated=False): ) self.parser.add_option_group(gen_opts) - def _build_session(self, options): + def _build_session(self, options, retries=None, timeout=None): session = PipSession( cache=( normalize_path(os.path.join(options.cache_dir, "http")) if options.cache_dir else None ), - retries=options.retries, + retries=retries if retries is not None else options.retries, insecure_hosts=options.trusted_hosts, ) @@ -82,8 +82,10 @@ def _build_session(self, options): session.cert = options.client_cert # Handle timeouts - if options.timeout: - session.timeout = options.timeout + if options.timeout or timeout: + session.timeout = ( + timeout if timeout is not None else options.timeout + ) # Handle configured proxies if options.proxy: @@ -201,8 +203,12 @@ def main(self, args): sys.exit(VIRTUALENV_NOT_FOUND) # Check if we're using the latest version of pip available - if not options.disable_pip_version_check: - with self._build_session(options) as session: + if (not options.disable_pip_version_check + and not getattr(options, "no_index", False)): + with self._build_session( + options, + retries=0, + timeout=min(5, options.timeout)) as session: pip_version_check(session) try: diff --git a/pip/baseparser.py b/pip/baseparser.py --- a/pip/baseparser.py +++ b/pip/baseparser.py @@ -4,6 +4,7 @@ import sys import optparse import os +import re import textwrap from distutils.util import strtobool @@ -16,6 +17,9 @@ from pip.utils import appdirs, get_terminal_size +_environ_prefix_re = re.compile(r"^PIP_", re.I) + + class PrettyHelpFormatter(optparse.IndentedHelpFormatter): """A prettier/less verbose help formatter for optparse.""" @@ -239,11 +243,11 @@ def get_config_section(self, name): return self.config.items(name) return [] - def get_environ_vars(self, prefix='PIP_'): + def get_environ_vars(self): """Returns a generator with all environmental vars with prefix PIP_""" for key, val in os.environ.items(): - if key.startswith(prefix): - yield (key.replace(prefix, '').lower(), val) + if _environ_prefix_re.search(key): + yield (_environ_prefix_re.sub("", key).lower(), val) def get_default_values(self): """Overridding to make updating the defaults after instantiation of diff --git a/pip/cmdoptions.py b/pip/cmdoptions.py --- a/pip/cmdoptions.py +++ b/pip/cmdoptions.py @@ -406,7 +406,7 @@ def make(self): action="store_true", default=False, help="Don't periodically check PyPI to determine whether a new version " - "of pip is available for download.") + "of pip is available for download. Implied with --no-index.") ########## # groups #
pip 6.0 unconditionally uses the network to check for update We run in a environment where we restrict the access to the internet. Currently, when we install our virtual env, pip always check for a update on the Pypi server and there is no way to disable it. The result is that several retries are performed thus slowing down pip install when an internet connection is not available. The default verbosity hides this and present an unresponsive session (nothing seems to be going on). Adding the option `-vvv` Maybe it could respect the `--no-index` option to avoid checking on the network? Since I cannot change the verbose level of pip through virtualenv, here is the virtualenv's call to pip ``` $ pip -vvv install --ignore-installed --pre --use-wheel --no-index setuptools pip Starting new HTTPS connection (1): pypi.python.org Incremented Retry for (url='/pypi/pip/json'): Retry(total=4, connect=None, read=None, redirect=None) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0330C5B0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /pypi/pip/json Starting new HTTPS connection (2): pypi.python.org Incremented Retry for (url='/pypi/pip/json'): Retry(total=3, connect=None, read=None, redirect=None) Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0330C730>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /pypi/pip/json Starting new HTTPS connection (3): pypi.python.org Incremented Retry for (url='/pypi/pip/json'): Retry(total=2, connect=None, read=None, redirect=None) Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0330C7F0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /pypi/pip/json Starting new HTTPS connection (4): pypi.python.org Incremented Retry for (url='/pypi/pip/json'): Retry(total=1, connect=None, read=None, redirect=None) Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0330C0F0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /pypi/pip/json Starting new HTTPS connection (5): pypi.python.org Incremented Retry for (url='/pypi/pip/json'): Retry(total=0, connect=None, read=None, redirect=None) Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0330C290>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /pypi/pip/json Starting new HTTPS connection (6): pypi.python.org There was an error checking the latest version of pip Traceback (most recent call last): File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\utils\outdated.py", line 109, in pip_version_check headers={"Accept": "application/json"}, File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\sessions.py", line 473, in get return self.request('GET', url, **kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\download.py", line 332, in request return super(PipSession, self).request(method, url, *args, **kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\sessions.py", line 461, in request resp = self.send(prep, **send_kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\sessions.py", line 573, in send r = adapter.send(request, **kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 43, in send resp = super(CacheControlAdapter, self).send(request, **kw) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\adapters.py", line 419, in send raise ConnectTimeout(e, request=request) ConnectTimeout: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0334B290>, 'Connection to pypi.python.org timed out. (connect timeout=15)')) I ... ```
You can disable it with `--disable-pip-version-check`, although maybe it should respect `--no-index` as well, and probably it should not use the retry mechanism. Good to know! Can we use the option `--disable-pip-version-check` when using virtualenv? Through an environment variable maybe? `PIP_DISABLE_PIP_VERSION_CHECK=1` should work I think.
2014-12-24T00:19:52Z
[]
[]
Traceback (most recent call last): File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\utils\outdated.py", line 109, in pip_version_check headers={"Accept": "application/json"}, File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\sessions.py", line 473, in get return self.request('GET', url, **kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\download.py", line 332, in request return super(PipSession, self).request(method, url, *args, **kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\sessions.py", line 461, in request resp = self.send(prep, **send_kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\sessions.py", line 573, in send r = adapter.send(request, **kwargs) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 43, in send resp = super(CacheControlAdapter, self).send(request, **kw) File "r:\dev\git\buildtools\venv\test6\lib\site-packages\pip\_vendor\requests\adapters.py", line 419, in send raise ConnectTimeout(e, request=request) ConnectTimeout: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0334B290>, 'Connection to pypi.python.org timed out. (connect timeout=15)'))
17,195
pypa/pip
pypa__pip-2284
630b4c0542552648dde383b3c126f74fd4f20f94
diff --git a/pip/index.py b/pip/index.py --- a/pip/index.py +++ b/pip/index.py @@ -505,7 +505,7 @@ def mkurl_pypi_url(url): if applicable_versions[0].location is INSTALLED_VERSION: # We have an existing version, and its the best version logger.debug( - 'Installed version (%s) is most up-to-date (past versions: ', + 'Installed version (%s) is most up-to-date (past versions: ' '%s)', req.satisfied_by.version, ', '.join(str(i.version) for i in applicable_versions[1:])
Fix pip install -v fails ``` Traceback (most recent call last): File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 978, in emit msg = self.format(record) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/utils/logging.py", line 103, in format ▽ msg = logging.StreamHandler.format(self, record) File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 828, in format return fmt.format(record) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/utils/logging.py", line 49, in format formatted = logging.Formatter.format(self, record) File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 565, in format record.message = record.getMessage() File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "venv/bin/pip", line 11, in <module> sys.exit(main()) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/__init__.py", line 217, in main return command.main(cmd_args) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/commands/install.py", line 339, in run requirement_set.prepare_files(finder) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/req/req_set.py", line 235, in prepare_files req_to_install, self.upgrade) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/index.py", line 512, in find_requirement or "none", Message: 'Installed version (%s) is most up-to-date (past versions: ' Arguments: ('%s)', '2.3.1', '2.3.1, 2.3.1, 2.3.1, 2.3.0, 2.3.0, 2.3.0, 2.2.0, 2.2.0, 2.2.0, 2.1.0, 2.1.0, 2.1.0, 2.0.0, 2.0.0, 2.0.0, 1.2.1, 1.2.1, 1.2.0, 1.2.0, 1.1.0, 1.1.0, 1.0.0, 1.0.0, 0.13.2, 0.13.2, 0.13.1, 0.13.1, 0.13, 0.13, 0.12.1, 0.12.1, 0.12, 0.12, 0.11, 0.11, 0.10.2, 0.10.2, 0.10.1, 0.10.1, 0.10') ```
2014-12-29T17:54:16Z
[]
[]
Traceback (most recent call last): File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 978, in emit msg = self.format(record) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/utils/logging.py", line 103, in format ▽ msg = logging.StreamHandler.format(self, record) File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 828, in format return fmt.format(record) File "/var/lib/jenkins/venv/lib/python3.4/site-packages/pip/utils/logging.py", line 49, in format formatted = logging.Formatter.format(self, record) File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 565, in format record.message = record.getMessage() File "/var/lib/jenkins/.pyenv/versions/3.4.2/lib/python3.4/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting
17,197
pypa/pip
pypa__pip-2288
e70c01f6324a16144077ef486de9ed827d0b4a4d
diff --git a/pip/index.py b/pip/index.py --- a/pip/index.py +++ b/pip/index.py @@ -360,7 +360,7 @@ def mkurl_pypi_url(url): logger.debug( 'dependency_links found: %s', ', '.join([ - link.url for p, link, version in dependency_versions + version.location.url for version in dependency_versions ]) ) file_versions = list(
regression: TypeError when using dependency_links Installing a package using dependency_links produces the following traceback: ``` Exception: Traceback (most recent call last): File ".../lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File ".../lib/python2.7/site-packages/pip/commands/install.py", line 339, in run requirement_set.prepare_files(finder) File ".../lib/python2.7/site-packages/pip/req/req_set.py", line 333, in prepare_files upgrade=self.upgrade, File ".../lib/python2.7/site-packages/pip/index.py", line 363, in find_requirement link.url for p, link, version in dependency_versions TypeError: 'InstallationCandidate' object is not iterable ``` The issue seems to affect only [this](https://github.com/pypa/pip/blob/develop/pip/index.py#L360) logging call, since the installation proceeds normally if I comment the call out. Tested under python 2.7 on Ubuntu 14.04 and OS X 10.10
2014-12-30T13:43:10Z
[]
[]
Traceback (most recent call last): File ".../lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File ".../lib/python2.7/site-packages/pip/commands/install.py", line 339, in run requirement_set.prepare_files(finder) File ".../lib/python2.7/site-packages/pip/req/req_set.py", line 333, in prepare_files upgrade=self.upgrade, File ".../lib/python2.7/site-packages/pip/index.py", line 363, in find_requirement link.url for p, link, version in dependency_versions TypeError: 'InstallationCandidate' object is not iterable
17,198
pypa/pip
pypa__pip-2290
6531a2db3e3533e877b4700b3b87ceee3ada196b
diff --git a/pip/req/req_set.py b/pip/req/req_set.py --- a/pip/req/req_set.py +++ b/pip/req/req_set.py @@ -494,6 +494,7 @@ def install(self, install_options, global_options=(), *args, **kwargs): distribute_req = pkg_resources.Requirement.parse("distribute>=0.7") for req in to_install: if (req.name == 'distribute' + and req.installed_version is not None and req.installed_version in distribute_req): to_install.remove(req) to_install.append(req)
Version parse error ``` % sw_vers ProductName: Mac OS X ProductVersion: 10.10.1 BuildVersion: 14B25 % python --version Python 2.7.9 % pip --version pip 6.0.3 from /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (python 2.7) % pip install -e git+https://github.com/edx/edx-ora2.git@release-2014-12-17T15.53#egg=edx-ora2 Obtaining edx-ora2 from git+https://github.com/edx/edx-ora2.git@release-2014-12-17T15.53#egg=edx-ora2 Updating /Users/singingwolfboy/.virtualenvs/edx-platform/src/edx-ora2 clone (to release-2014-12-17T15.53) Collecting scipy==0.14.0 (from edx-ora2) Using cached scipy-0.14.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Collecting django-extensions==1.2.5 (from edx-ora2) Using cached django-extensions-1.2.5.tar.gz Collecting lxml==3.3.6 (from edx-ora2) Using cached lxml-3.3.6.tar.gz /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) Building lxml version 3.3.6. Building without Cython. Using build configuration of libxslt 1.1.28 Collecting voluptuous==0.8.5 (from edx-ora2) Using cached voluptuous-0.8.5.tar.gz WARNING: Could not locate pandoc, using Markdown long_description. Collecting loremipsum==1.0.2 (from edx-ora2) Using cached loremipsum-1.0.2.tar.gz /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pkg_resources.py:2443: PEP440Warning: '0.6 (maintenance)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions. PEP440Warning, /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pkg_resources.py:2443: PEP440Warning: 'distribute (dev)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions. PEP440Warning, warning: install_lib: 'build/lib' does not exist -- no Python modules to install Installed /private/var/folders/0y/h8bkkgwj707_20n7lcfzdfjc0000gn/T/pip-build-HdgbgF/loremipsum/.eggs/distribute-0.7.3-py2.7.egg Collecting pytz==2012h (from edx-ora2) Using cached pytz-2012h.tar.bz2 /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/setuptools/dist.py:298: UserWarning: The version specified ('2012h') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version Collecting nltk==2.0.4 (from edx-ora2) Using cached nltk-2.0.4.tar.gz Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz Extracting in /var/folders/0y/h8bkkgwj707_20n7lcfzdfjc0000gn/T/tmpvygG41 Now working in /var/folders/0y/h8bkkgwj707_20n7lcfzdfjc0000gn/T/tmpvygG41/distribute-0.6.21 Building a Distribute egg in /private/var/folders/0y/h8bkkgwj707_20n7lcfzdfjc0000gn/T/pip-build-HdgbgF/nltk /private/var/folders/0y/h8bkkgwj707_20n7lcfzdfjc0000gn/T/pip-build-HdgbgF/nltk/distribute-0.6.21-py2.7.egg Collecting dogapi==1.2.1 (from edx-ora2) Using cached dogapi-1.2.1.tar.gz Collecting djangorestframework<2.4 (from edx-ora2) Using cached djangorestframework-2.3.14-py2.py3-none-any.whl Collecting python-dateutil==2.1 (from edx-ora2) Using cached python-dateutil-2.1.tar.gz Collecting python-memcached==1.48 (from edx-ora2) Using cached python-memcached-1.48.tar.gz Collecting scikit-learn==0.12.1 (from edx-ora2) Using cached scikit-learn-0.12.1.tar.gz Partial import of sklearn during the build process. blas_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] build_src building library "libsvm-skl" sources building extension "sklearn.__check_build._check_build" sources building extension "sklearn.svm.libsvm" sources building extension "sklearn.svm.liblinear" sources building extension "sklearn.svm.libsvm_sparse" sources building extension "sklearn.datasets._svmlight_format" sources building extension "sklearn.cluster._hierarchical" sources building extension "sklearn.cluster._k_means" sources building extension "sklearn.ensemble._gradient_boosting" sources building extension "sklearn.utils.sparsetools._csgraph" sources building extension "sklearn.utils.arraybuilder" sources building extension "sklearn.utils.sparsefuncs" sources building extension "sklearn.utils.arrayfuncs" sources building extension "sklearn.utils.murmurhash" sources building extension "sklearn.utils.graph_shortest_path" sources building extension "sklearn.utils.seq_dataset" sources building extension "sklearn.utils.weight_vector" sources building extension "sklearn.neighbors.ball_tree" sources building extension "sklearn.tree._tree" sources building extension "sklearn._hmmc" sources building extension "sklearn.linear_model.cd_fast" sources building extension "sklearn.linear_model.sgd_fast" sources building extension "sklearn.utils.sparsetools._csgraph" sources building extension "sklearn.utils.arraybuilder" sources building extension "sklearn.utils.sparsefuncs" sources building extension "sklearn.utils.arrayfuncs" sources building extension "sklearn.utils.murmurhash" sources building extension "sklearn.utils.graph_shortest_path" sources building extension "sklearn.utils.seq_dataset" sources building extension "sklearn.utils.weight_vector" sources building data_files sources build_src: building npy-pkg config files Collecting django-model-utils==1.4.0 (from edx-ora2) Using cached django-model-utils-1.4.0.tar.gz Requirement already satisfied (use --upgrade to upgrade): django<1.5,>=1.4 in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from edx-ora2) Collecting django-celery==3.0.17 (from edx-ora2) Using cached django-celery-3.0.17.tar.gz Collecting celery==3.0.19 (from edx-ora2) Using cached celery-3.0.19.tar.gz Upgrade: no old version found. Requirement already satisfied (use --upgrade to upgrade): lazy==1.1 in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from edx-ora2) Collecting boto<3.0.0,>=2.13.0 (from edx-ora2) Using cached boto-2.34.0-py2.py3-none-any.whl Collecting edx-submissions<0.1.0,>=0.0.8 (from edx-ora2) Using cached edx-submissions-0.0.8.tar.gz Collecting defusedxml==0.4.1 (from edx-ora2) Using cached defusedxml-0.4.1.tar.gz Collecting South==0.7.6 (from edx-ora2) Using cached South-0.7.6.tar.gz Requirement already satisfied (use --upgrade to upgrade): numpy==1.6.2 in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from edx-ora2) Requirement already satisfied (use --upgrade to upgrade): six in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from django-extensions==1.2.5->edx-ora2) Requirement already satisfied (use --upgrade to upgrade): setuptools>=0.6b1 in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from voluptuous==0.8.5->edx-ora2) Collecting distribute (from loremipsum==1.0.2->edx-ora2) Using cached distribute-0.7.3.zip Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.09 in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from nltk==2.0.4->edx-ora2) Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.0.9 in /Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages (from dogapi==1.2.1->edx-ora2) Collecting decorator>=3.3.2 (from dogapi==1.2.1->edx-ora2) Using cached decorator-3.4.0.tar.gz Collecting billiard<3.0,>=2.7.3.28 (from celery==3.0.19->edx-ora2) Using cached billiard-2.7.3.34.tar.gz Collecting kombu<3.0,>=2.5.10 (from celery==3.0.19->edx-ora2) Using cached kombu-2.5.16.tar.gz Collecting anyjson>=0.3.3 (from kombu<3.0,>=2.5.10->celery==3.0.19->edx-ora2) Using cached anyjson-0.3.3.tar.gz Collecting amqp<1.1.0,>=1.0.13 (from kombu<3.0,>=2.5.10->celery==3.0.19->edx-ora2) Using cached amqp-1.0.13.tar.gz Exception: Traceback (most recent call last): File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/commands/install.py", line 347, in run root=options.root_path, File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/req/req_set.py", line 497, in install and req.installed_version in distribute_req): File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2851, in __contains__ return self.specifier.contains(item, prereleases=True) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/packaging/specifiers.py", line 651, in contains item = parse(item) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/packaging/version.py", line 41, in parse return Version(version) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/packaging/version.py", line 202, in __init__ match = self._regex.search(version) TypeError: expected string or buffer ``` Fixes #2272 Returning None if distutils hasn't been installed will make the test `req.installed_version in distribute_req` fail with a TypeError
Thank you. Is this an issue that should be contributed to the distribute package instead of providing the workaround here in pip? Edit: Nevermind I forsee this can be an issue if the package doesn't properly specify it's version so perhaps this is still the right place to fix this regression. :+1: @farvour , pip code is faulty here. Nonetheless, we can clearly see this part of the code in pip is to workaround some behavior with distutils too. I'll see what I can do there.
2014-12-30T20:13:21Z
[]
[]
Traceback (most recent call last): File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/commands/install.py", line 347, in run root=options.root_path, File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/req/req_set.py", line 497, in install and req.installed_version in distribute_req): File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2851, in __contains__ return self.specifier.contains(item, prereleases=True) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/packaging/specifiers.py", line 651, in contains item = parse(item) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/packaging/version.py", line 41, in parse return Version(version) File "/Users/singingwolfboy/.virtualenvs/edx-platform/lib/python2.7/site-packages/pip/_vendor/packaging/version.py", line 202, in __init__ match = self._regex.search(version) TypeError: expected string or buffer
17,199
pypa/pip
pypa__pip-2303
ef4b0a9bed7880c0db886235524edba4c0879b2c
diff --git a/pip/utils/outdated.py b/pip/utils/outdated.py --- a/pip/utils/outdated.py +++ b/pip/utils/outdated.py @@ -1,6 +1,7 @@ from __future__ import absolute_import import datetime +import errno import json import logging import os.path @@ -12,6 +13,7 @@ from pip.compat import total_seconds from pip.index import PyPI from pip.locations import USER_CACHE_DIR, running_under_virtualenv +from pip.utils.filesystem import check_path_owner SELFCHECK_DATE_FMT = "%Y-%m-%dT%H:%M:%SZ" @@ -57,6 +59,19 @@ def __init__(self): self.state = {} def save(self, pypi_version, current_time): + # Check to make sure that we own the directory + if not check_path_owner( + os.path.dirname(self.statefile_path), os.geteuid()): + return + + # Now that we've ensured the directory is owned by this user, we'll go + # ahead and make sure that all our directories are created. + try: + os.makedirs(os.path.dirname(self.statefile_path)) + except OSError as exc: + if exc.errno != errno.EEXIST: + raise + # Attempt to write out our version check file with lockfile.LockFile(self.statefile_path): with open(self.statefile_path) as statefile:
Selfcheck failure on Windows I get this warning all the time: ``` There was an error checking the latest version of pip Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\utils\outdated.py", line 115, in pip_version_check state.save(pypi_version, current_time) File "C:\Python27\lib\site-packages\pip\utils\outdated.py", line 62, in save with open(self.statefile_path) as statefile: IOError: [Errno 2] No such file or directory: u'C:\\Users\\ionel_000\\AppData\\Local\\pip\\Cache\\selfcheck.json' ``` If I create the file, it complains about invalid json. I've put `{}` inside, the warning has gone away, but this seems very wrong to me.
pip 6.0.3, python 2.7.9 Looks like the `USER_CACHE_DIR` directory isn't created before the state check. We should probably put some defensive code in `GlobalSelfCheckState.save()`, but I don't immediately see how to fix it cleanly... Are you using `-v` or is this just by default? Ooops, yes, I had `-v`. Not sure how I copy-pasted without it.
2015-01-03T04:25:17Z
[]
[]
Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\utils\outdated.py", line 115, in pip_version_check state.save(pypi_version, current_time) File "C:\Python27\lib\site-packages\pip\utils\outdated.py", line 62, in save with open(self.statefile_path) as statefile: IOError: [Errno 2] No such file or directory: u'C:\\Users\\ionel_000\\AppData\\Local\\pip\\Cache\\selfcheck.json'
17,202
pypa/pip
pypa__pip-2308
0e96c4b5d5dd7f632dbca7cadb2438e2c6df0579
diff --git a/pip/utils/filesystem.py b/pip/utils/filesystem.py --- a/pip/utils/filesystem.py +++ b/pip/utils/filesystem.py @@ -1,9 +1,15 @@ +import os import os.path from pip.compat import get_path_uid def check_path_owner(path, uid): + # If we don't have a way to check the effective uid of this process, then + # we'll just assume that we own the directory. + if not hasattr(os, "geteuid"): + return True + previous = None while path != previous: if os.path.lexists(path):
pip6.0.4 can not work under python3.4, windows7 64bit. use" pip list" command, met a error: ``` python Traceback (most recent call last): File "C:\Python34\Scripts\pip-script.py", line 9, in <module> load_entry_point('pip==6.0.4', 'console_scripts', 'pip')() File "C:\Python34\lib\site-packages\pip-6.0.4-py3.4.egg\pip\__init__.py", line 217, in main return command.main(cmd_args) File "C:\Python34\lib\site-packages\pip-6.0.4-py3.4.egg\pip\basecommand.py", l ine 122, in main write_debug_log = check_path_owner(debug_log_path, os.geteuid()) AttributeError: 'module' object has no attribute 'geteuid' ``` other commands can not work also.
2015-01-03T07:33:32Z
[]
[]
Traceback (most recent call last): File "C:\Python34\Scripts\pip-script.py", line 9, in <module> load_entry_point('pip==6.0.4', 'console_scripts', 'pip')() File "C:\Python34\lib\site-packages\pip-6.0.4-py3.4.egg\pip\__init__.py", line 217, in main return command.main(cmd_args) File "C:\Python34\lib\site-packages\pip-6.0.4-py3.4.egg\pip\basecommand.py", l ine 122, in main
17,204