tensorflow/html5lib "Your dependencies could not be resolved" but can't see problem

$ pipenv install --dev
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

I did what it suggested: pipenv install --skip-lock and then pipenv graph
The graph shows that the only packages which ask for html5lib are dependencies of tensorflow, and they don't seem to conflict with each other or the installed version:
tensorflow==1.3.0
  - numpy [required: >=1.11.0, installed: 1.14.1]
  - protobuf [required: >=3.3.0, installed: 3.5.2]
    - setuptools [required: Any, installed: 38.5.1]
    - six [required: >=1.9, installed: 1.11.0]
  - six [required: >=1.10.0, installed: 1.11.0]
  - tensorflow-tensorboard [required: >=0.1.0,<0.2.0, installed: 0.1.8]
    - bleach [required: ==1.5.0, installed: 1.5.0]
      - html5lib [required: >=0.999,<0.99999999,!=0.9999,!=0.99999, installed: 0.9999999]
        - six [required: Any, installed: 1.11.0]
      - six [required: Any, installed: 1.11.0]
    - html5lib [required: ==0.9999999, installed: 0.9999999]
      - six [required: Any, installed: 1.11.0]
    - markdown [required: >=2.6.8, installed: 2.6.11]
    - numpy [required: >=1.11.0, installed: 1.14.1]
    - protobuf [required: >=3.2.0, installed: 3.5.2]
      - setuptools [required: Any, installed: 38.5.1]
      - six [required: >=1.9, installed: 1.11.0]
    - six [required: >=1.10.0, installed: 1.11.0]
    - werkzeug [required: >=0.11.10, installed: 0.14.1]
    - wheel [required: >=0.26, installed: 0.30.0]
  - wheel [required: >=0.26, installed: 0.30.0]

So we have:
html5lib [required: >=0.999,<0.99999999,!=0.9999,!=0.99999, installed: 0.9999999]

and
html5lib [required: ==0.9999999, installed: 0.9999999]

That package uses a pretty horrible versioning scheme, but the required versions don't seem to conflict.
One requires 0.9999999 (seven zeros, what we have installed) and the other requires <0.99999999 (eight zeros). Should be ok?

omg is this real

to top it off, these wacky versions have security vulnerabilities
$ pipenv check
Checking PEP 508 requirements…
Passed!
Checking installed package safety…
25846: html5lib <0.99999999 resolved (0.9999999 installed)!
html5lib before 0.99999999 is vulnerable to a XSS attack. Upgrading avoids the XSS bug potentially caused by serializer allowing attribute values to be escaped out of in old browser versions, changing the quote_attr_values option on serializer to take one of three values, "always" (the old True value), "legacy" (the new option,  and the new default), and "spec" (the old False value, and the old default).

35693: html5lib <0.99999999 resolved (0.9999999 installed)!
The serializer in html5lib before 0.99999999 might allow remote attackers to conduct cross-site scripting (XSS) attacks by leveraging mishandling of the < (less than) character in attribute values.

35694: html5lib <0.99999999 resolved (0.9999999 installed)!
The serializer in html5lib before 0.99999999 might allow remote attackers to conduct cross-site scripting (XSS) attacks by leveraging mishandling of special characters in attribute values, a different vulnerability than CVE-2016-9909.

34965: bleach <2.1 resolved (1.5.0 installed)!
bleach 2.1 converts control characters (backspace particularly) to "?" preventing malicious copy-and-paste situations.

I think the problem part is Could not find a version that matches html5lib...==0.9999999,>=0.99999999pre
I don't see where the >=0.99999999pre specifier is coming from, it's not mentioned in the pipenv graph output

it apparently comes from bleach package, but not the installed version:
bleach [required: ==1.5.0, installed: 1.5.0]
compare:
https://github.com/mozilla/bleach/blob/v1.5/setup.py
https://github.com/mozilla/bleach/blob/v2.1.3/setup.py

I downloaded the 1.5.0 tarball from PyPI to confirm
the setup.py contains:
install_requires = [
    'six',
    # 3 9s up to but not including 8 9s, but not 4 9s or 5 9s because they're
    # busted
    'html5lib>=0.999,!=0.9999,!=0.99999,<0.99999999',
]

but the meta info on the PyPI page for the package shows the requirements from the latest version (naturally):

Requires Distributions
html5lib (!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre)
six

some problem here?

reading further up the tensorboard issue thread linked above...
to confuse matters further, pip has its own vendored version of html5lib
https://github.com/pypa/pip/blob/9.0.1/pip/_vendor/html5lib/__init__.py
https://github.com/pypa/pip/blob/9.0.1/pip/_vendor/vendor.txt
html5lib==1.0b10
not sure if that's involved in some awful way

are you using latest?

I'm inside my project's pipenv shell
pipenv, version 11.6.1
pip 9.0.1
python 3.6

metadata inside the bleach 1.5.0 wheel from PyPI also looks correct
the conflict reported:
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre

seems to exactly match the requirements in latest version of bleach
install_requires = [
    'six',
    # >= 8 9s because of breaking API change
    # the 'pre' suffix is needed for supporting '1.0b*' versions
    'html5lib>=0.99999999pre,!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8',
]

added to the requirement from tensorboard https://github.com/tensorflow/tensorboard/blob/0.1.8/tensorboard/pip_package/setup.py
REQUIRED_PACKAGES = [
    'numpy >= 1.11.0',
    'six >= 1.10.0',
    'protobuf >= 3.2.0',
    'werkzeug >= 0.11.10',
    'html5lib == 0.9999999',  # identical to 1.0b8
    'markdown >= 2.6.8',
    'bleach == 1.5.0',
]

So seems like something weird going on when determining requirements for bleach==1.5.0

I am having the same problem. pipenv install complains that the dependencies need cryptography<1.0,>=1.7.2,>=1.8.1,>=1.8.2,>=1.9 (which can obviously never resolve), but I can't see any of my packages requiring cryptography<1.0 in pipenv graph. I don't know what to do, because it won't install at all.

@skorokithakis please open a seperate issue

@anentropic have you tried the latest version of pipenv?

@anentropic also please don't run pipenv from inside the pipenv shell, this isn't intended to work.  Try again from outside the pipenv shell and let us know if it is still broken

@techalchemy uh, yes it is.

that is literally the primary design principal behind this project

Ok, I've upgraded pipenv 11.6.1 --> 11.6.9
same problem
$ pipenv --version
pipenv, version 11.6.9
$ pipenv lock
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

I can't tell what's going on with these version numbers.
I can tell you that this isn't likely to change any time soon, though.

sure, I will keep looking into it if I can find anything
some more details:

I have no Pipfile.lock at the moment (it's unable to create one)
I tried deactivating my pipenv shell, deleting the associated virtualenv folder and running pipenv install (i.e. start over from scratch)... same problem

I can also reproduce with a minimal example... in a new shell, create an empty directory, the following Pipfile and run pipenv install
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]

tensorflow = "*"

[requires]

python_version = "3.6"

pipenv lock --verbose should shed some light on this

==0.9999999,>=0.99999999pre appears to be unresolvable to me.

this versioning scheme is just absurd

the point is that >=0.99999999pre requirement is attributed to bleach==1.5.0 but that project in that version does not specify that dependency
I don't know where pipenv or underlying tools get the dependency info from, is the PyPI server lying somehow?
Here is the verbose output:
Locking [dev-packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:

Finding the best candidates:

Finding secondary dependencies:
------------------------------------------------------------
Result of round 1: stable, done

Locking [packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:
  tensorflow

Finding the best candidates:
  found candidate tensorflow==1.6.0 (constraint was <any>)

Finding secondary dependencies:
  tensorflow==1.6.0         requires absl-py>=0.1.6, astor>=0.6.0, gast>=0.2.0, grpcio>=1.8.6, numpy>=1.13.3, protobuf>=3.4.0, six>=1.10.0, tensorboard<1.7.0,>=1.6.0, termcolor>=1.1.0, wheel>=0.26

New dependencies found in this round:
  adding ['absl-py', '>=0.1.6', '[]']
  adding ['astor', '>=0.6.0', '[]']
  adding ['gast', '>=0.2.0', '[]']
  adding ['grpcio', '>=1.8.6', '[]']
  adding ['numpy', '>=1.13.3', '[]']
  adding ['protobuf', '>=3.4.0', '[]']
  adding ['six', '>=1.10.0', '[]']
  adding ['tensorboard', '<1.7.0,>=1.6.0', '[]']
  adding ['termcolor', '>=1.1.0', '[]']
  adding ['wheel', '>=0.26', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  absl-py>=0.1.6
  astor>=0.6.0
  gast>=0.2.0
  grpcio>=1.8.6
  numpy>=1.13.3
  protobuf>=3.4.0
  six>=1.10.0
  tensorboard<1.7.0,>=1.6.0
  tensorflow
  termcolor>=1.1.0
  wheel>=0.26

Finding the best candidates:
  found candidate absl-py==0.1.11 (constraint was >=0.1.6)
  found candidate astor==0.6.2 (constraint was >=0.6.0)
  found candidate gast==0.2.0 (constraint was >=0.2.0)
  found candidate grpcio==1.10.0 (constraint was >=1.8.6)
  found candidate numpy==1.14.2 (constraint was >=1.13.3)
  found candidate protobuf==3.5.2 (constraint was >=3.4.0)
  found candidate six==1.11.0 (constraint was >=1.10.0)
  found candidate tensorboard==1.6.0 (constraint was >=1.6.0,<1.7.0)
  found candidate tensorflow==1.6.0 (constraint was <any>)
  found candidate termcolor==1.1.0 (constraint was >=1.1.0)
  found candidate wheel==0.30.0 (constraint was >=0.26)

Finding secondary dependencies:
  absl-py==0.1.11           requires six
  wheel==0.30.0             requires -
  tensorflow==1.6.0         requires absl-py>=0.1.6, astor>=0.6.0, gast>=0.2.0, grpcio>=1.8.6, numpy>=1.13.3, protobuf>=3.4.0, six>=1.10.0, tensorboard<1.7.0,>=1.6.0, termcolor>=1.1.0, wheel>=0.26
  termcolor==1.1.0          requires -
  tensorboard==1.6.0        requires bleach==1.5.0, html5lib==0.9999999, markdown>=2.6.8, numpy>=1.12.0, protobuf>=3.4.0, six>=1.10.0, werkzeug>=0.11.10, wheel>=0.26; python_version >= "3"; python_version >= "3"
  protobuf==3.5.2           requires setuptools, six>=1.9
  gast==0.2.0               requires -
  astor==0.6.2              requires -
  numpy==1.14.2             requires -
  grpcio==1.10.0            requires protobuf>=3.5.0.post1, six>=1.5.2
  six==1.11.0               requires -

New dependencies found in this round:
  adding ['bleach', '==1.5.0', '[]']
  adding ['html5lib', '==0.9999999', '[]']
  adding ['markdown', '>=2.6.8', '[]']
  adding ['numpy', '>=1.12.0,>=1.13.3', '[]']
  adding ['protobuf', '>=3.4.0,>=3.5.0.post1', '[]']
  adding ['six', '>=1.10.0,>=1.5.2,>=1.9', '[]']
  adding ['werkzeug', '>=0.11.10', '[]']
Removed dependencies in this round:
  removing ['numpy', '>=1.13.3', '[]']
  removing ['protobuf', '>=3.4.0', '[]']
  removing ['six', '>=1.10.0', '[]']
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 2: not stable

                          ROUND 3
Current constraints:
  absl-py>=0.1.6
  astor>=0.6.0
  bleach==1.5.0
  gast>=0.2.0
  grpcio>=1.8.6
  html5lib==0.9999999
  markdown>=2.6.8
  numpy>=1.12.0,>=1.13.3
  protobuf>=3.4.0,>=3.5.0.post1
  six>=1.10.0,>=1.5.2,>=1.9
  tensorboard<1.7.0,>=1.6.0
  tensorflow
  termcolor>=1.1.0
  werkzeug>=0.11.10
  wheel>=0.26

Finding the best candidates:
  found candidate absl-py==0.1.11 (constraint was >=0.1.6)
  found candidate astor==0.6.2 (constraint was >=0.6.0)
  found candidate bleach==1.5.0 (constraint was ==1.5.0)
  found candidate gast==0.2.0 (constraint was >=0.2.0)
  found candidate grpcio==1.10.0 (constraint was >=1.8.6)
  found candidate html5lib==0.9999999 (constraint was ==0.9999999)
  found candidate markdown==2.6.11 (constraint was >=2.6.8)
  found candidate numpy==1.14.2 (constraint was >=1.12.0,>=1.13.3)
  found candidate protobuf==3.5.2 (constraint was >=3.4.0,>=3.5.0.post1)
  found candidate six==1.11.0 (constraint was >=1.10.0,>=1.5.2,>=1.9)
  found candidate tensorboard==1.6.0 (constraint was >=1.6.0,<1.7.0)
  found candidate tensorflow==1.6.0 (constraint was <any>)
  found candidate termcolor==1.1.0 (constraint was >=1.1.0)
  found candidate werkzeug==0.14.1 (constraint was >=0.11.10)
  found candidate wheel==0.30.0 (constraint was >=0.26)

Finding secondary dependencies:
  numpy==1.14.2             requires -
  werkzeug==0.14.1          requires -
  absl-py==0.1.11           requires six
  html5lib==0.9999999       requires six>=1.9, webencodings
  gast==0.2.0               requires -
  bleach==1.5.0             requires html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre, six
  protobuf==3.5.2           requires setuptools, six>=1.9
  markdown==2.6.11          requires -
  six==1.11.0               requires -
  tensorboard==1.6.0        requires bleach==1.5.0, html5lib==0.9999999, markdown>=2.6.8, numpy>=1.12.0, protobuf>=3.4.0, six>=1.10.0, werkzeug>=0.11.10, wheel>=0.26; python_version >= "3"; python_version >= "3"
  tensorflow==1.6.0         requires absl-py>=0.1.6, astor>=0.6.0, gast>=0.2.0, grpcio>=1.8.6, numpy>=1.13.3, protobuf>=3.4.0, six>=1.10.0, tensorboard<1.7.0,>=1.6.0, termcolor>=1.1.0, wheel>=0.26
  astor==0.6.2              requires -
  termcolor==1.1.0          requires -
  grpcio==1.10.0            requires protobuf>=3.5.0.post1, six>=1.5.2

New dependencies found in this round:
  adding ['html5lib', '!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre', '[]']
  adding ['webencodings', '', '[]']
Removed dependencies in this round:
  removing ['html5lib', '==0.9999999', '[]']
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 3: not stable

                          ROUND 4
Current constraints:
  absl-py>=0.1.6
  astor>=0.6.0
  bleach==1.5.0
  gast>=0.2.0
  grpcio>=1.8.6
  html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
  markdown>=2.6.8
  numpy>=1.12.0,>=1.13.3
  protobuf>=3.4.0,>=3.5.0.post1
  six>=1.10.0,>=1.5.2,>=1.9
  tensorboard<1.7.0,>=1.6.0
  tensorflow
  termcolor>=1.1.0
  webencodings
  werkzeug>=0.11.10
  wheel>=0.26

Finding the best candidates:
  found candidate absl-py==0.1.11 (constraint was >=0.1.6)
  found candidate astor==0.6.2 (constraint was >=0.6.0)
  found candidate bleach==1.5.0 (constraint was ==1.5.0)
  found candidate gast==0.2.0 (constraint was >=0.2.0)
  found candidate grpcio==1.10.0 (constraint was >=1.8.6)
Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:
  tensorflow

Finding the best candidates:
  found candidate tensorflow==1.6.0 (constraint was <any>)

Finding secondary dependencies:
  tensorflow==1.6.0         requires absl-py>=0.1.6, astor>=0.6.0, gast>=0.2.0, grpcio>=1.8.6, numpy>=1.13.3, protobuf>=3.4.0, six>=1.10.0, tensorboard<1.7.0,>=1.6.0, termcolor>=1.1.0, wheel>=0.26

New dependencies found in this round:
  adding ['absl-py', '>=0.1.6', '[]']
  adding ['astor', '>=0.6.0', '[]']
  adding ['gast', '>=0.2.0', '[]']
  adding ['grpcio', '>=1.8.6', '[]']
  adding ['numpy', '>=1.13.3', '[]']
  adding ['protobuf', '>=3.4.0', '[]']
  adding ['six', '>=1.10.0', '[]']
  adding ['tensorboard', '<1.7.0,>=1.6.0', '[]']
  adding ['termcolor', '>=1.1.0', '[]']
  adding ['wheel', '>=0.26', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  absl-py>=0.1.6
  astor>=0.6.0
  gast>=0.2.0
  grpcio>=1.8.6
  numpy>=1.13.3
  protobuf>=3.4.0
  six>=1.10.0
  tensorboard<1.7.0,>=1.6.0
  tensorflow
  termcolor>=1.1.0
  wheel>=0.26

Finding the best candidates:
  found candidate absl-py==0.1.11 (constraint was >=0.1.6)
  found candidate astor==0.6.2 (constraint was >=0.6.0)
  found candidate gast==0.2.0 (constraint was >=0.2.0)
  found candidate grpcio==1.10.0 (constraint was >=1.8.6)
  found candidate numpy==1.14.2 (constraint was >=1.13.3)
  found candidate protobuf==3.5.2 (constraint was >=3.4.0)
  found candidate six==1.11.0 (constraint was >=1.10.0)
  found candidate tensorboard==1.6.0 (constraint was >=1.6.0,<1.7.0)
  found candidate tensorflow==1.6.0 (constraint was <any>)
  found candidate termcolor==1.1.0 (constraint was >=1.1.0)
  found candidate wheel==0.30.0 (constraint was >=0.26)

Finding secondary dependencies:
  astor==0.6.2              requires -
  six==1.11.0               requires -
  tensorboard==1.6.0        requires bleach==1.5.0, html5lib==0.9999999, markdown>=2.6.8, numpy>=1.12.0, protobuf>=3.4.0, six>=1.10.0, werkzeug>=0.11.10, wheel>=0.26; python_version >= "3"; python_version >= "3"
  numpy==1.14.2             requires -
  grpcio==1.10.0            requires protobuf>=3.5.0.post1, six>=1.5.2
  tensorflow==1.6.0         requires absl-py>=0.1.6, astor>=0.6.0, gast>=0.2.0, grpcio>=1.8.6, numpy>=1.13.3, protobuf>=3.4.0, six>=1.10.0, tensorboard<1.7.0,>=1.6.0, termcolor>=1.1.0, wheel>=0.26
  wheel==0.30.0             requires -
  protobuf==3.5.2           requires setuptools, six>=1.9
  termcolor==1.1.0          requires -
  absl-py==0.1.11           requires six
  gast==0.2.0               requires -

New dependencies found in this round:
  adding ['bleach', '==1.5.0', '[]']
  adding ['html5lib', '==0.9999999', '[]']
  adding ['markdown', '>=2.6.8', '[]']
  adding ['numpy', '>=1.12.0,>=1.13.3', '[]']
  adding ['protobuf', '>=3.4.0,>=3.5.0.post1', '[]']
  adding ['six', '>=1.10.0,>=1.5.2,>=1.9', '[]']
  adding ['werkzeug', '>=0.11.10', '[]']
Removed dependencies in this round:
  removing ['numpy', '>=1.13.3', '[]']
  removing ['protobuf', '>=3.4.0', '[]']
  removing ['six', '>=1.10.0', '[]']
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 2: not stable

                          ROUND 3
Current constraints:
  absl-py>=0.1.6
  astor>=0.6.0
  bleach==1.5.0
  gast>=0.2.0
  grpcio>=1.8.6
  html5lib==0.9999999
  markdown>=2.6.8
  numpy>=1.12.0,>=1.13.3
  protobuf>=3.4.0,>=3.5.0.post1
  six>=1.10.0,>=1.5.2,>=1.9
  tensorboard<1.7.0,>=1.6.0
  tensorflow
  termcolor>=1.1.0
  werkzeug>=0.11.10
  wheel>=0.26

Finding the best candidates:
  found candidate absl-py==0.1.11 (constraint was >=0.1.6)
  found candidate astor==0.6.2 (constraint was >=0.6.0)
  found candidate bleach==1.5.0 (constraint was ==1.5.0)
  found candidate gast==0.2.0 (constraint was >=0.2.0)
  found candidate grpcio==1.10.0 (constraint was >=1.8.6)
  found candidate html5lib==0.9999999 (constraint was ==0.9999999)
  found candidate markdown==2.6.11 (constraint was >=2.6.8)
  found candidate numpy==1.14.2 (constraint was >=1.12.0,>=1.13.3)
  found candidate protobuf==3.5.2 (constraint was >=3.4.0,>=3.5.0.post1)
  found candidate six==1.11.0 (constraint was >=1.10.0,>=1.5.2,>=1.9)
  found candidate tensorboard==1.6.0 (constraint was >=1.6.0,<1.7.0)
  found candidate tensorflow==1.6.0 (constraint was <any>)
  found candidate termcolor==1.1.0 (constraint was >=1.1.0)
  found candidate werkzeug==0.14.1 (constraint was >=0.11.10)
  found candidate wheel==0.30.0 (constraint was >=0.26)

Finding secondary dependencies:
  protobuf==3.5.2           requires setuptools, six>=1.9
  html5lib==0.9999999       requires six>=1.9, webencodings
  gast==0.2.0               requires -
  bleach==1.5.0             requires html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre, six
  tensorflow==1.6.0         requires absl-py>=0.1.6, astor>=0.6.0, gast>=0.2.0, grpcio>=1.8.6, numpy>=1.13.3, protobuf>=3.4.0, six>=1.10.0, tensorboard<1.7.0,>=1.6.0, termcolor>=1.1.0, wheel>=0.26
  markdown==2.6.11          requires -
  termcolor==1.1.0          requires -
  astor==0.6.2              requires -
  numpy==1.14.2             requires -
  six==1.11.0               requires -
  absl-py==0.1.11           requires six
  tensorboard==1.6.0        requires bleach==1.5.0, html5lib==0.9999999, markdown>=2.6.8, numpy>=1.12.0, protobuf>=3.4.0, six>=1.10.0, werkzeug>=0.11.10, wheel>=0.26; python_version >= "3"; python_version >= "3"
  grpcio==1.10.0            requires protobuf>=3.5.0.post1, six>=1.5.2
  wheel==0.30.0             requires -
  werkzeug==0.14.1          requires -

New dependencies found in this round:
  adding ['html5lib', '!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre', '[]']
  adding ['webencodings', '', '[]']
Removed dependencies in this round:
  removing ['html5lib', '==0.9999999', '[]']
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 3: not stable

                          ROUND 4
Current constraints:
  absl-py>=0.1.6
  astor>=0.6.0
  bleach==1.5.0
  gast>=0.2.0
  grpcio>=1.8.6
  html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
  markdown>=2.6.8
  numpy>=1.12.0,>=1.13.3
  protobuf>=3.4.0,>=3.5.0.post1
  six>=1.10.0,>=1.5.2,>=1.9
  tensorboard<1.7.0,>=1.6.0
  tensorflow
  termcolor>=1.1.0
  webencodings
  werkzeug>=0.11.10
  wheel>=0.26

Finding the best candidates:
  found candidate absl-py==0.1.11 (constraint was >=0.1.6)
  found candidate astor==0.6.2 (constraint was >=0.6.0)
  found candidate bleach==1.5.0 (constraint was ==1.5.0)
  found candidate gast==0.2.0 (constraint was >=0.2.0)
  found candidate grpcio==1.10.0 (constraint was >=1.8.6)

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

look, we're not going to be able to do anything about this.

try 11.8.0

Success!

I think I found a similar error with django and django_pyodbc_azure. I need to install versions <2 so I run this command:
pipenv install django<2 django-pyodbc-azure<2
Here is what I get:
Installing django<2…
Collecting django<2
  Using cached Django-1.11.11-py2.py3-none-any.whl
Collecting pytz (from django<2)
  Using cached pytz-2018.3-py2.py3-none-any.whl
Installing collected packages: pytz, django
Successfully installed django-1.11.11 pytz-2018.3

Adding django<2 to Pipfile's [packages]…
Installing django-pyodbc-azure<2…
Collecting django-pyodbc-azure<2
  Using cached django_pyodbc_azure-<IP_ADDRESS>-py2.py3-none-any.whl
Collecting pyodbc>=3.0 (from django-pyodbc-azure<2)
  Using cached pyodbc-4.0.22-cp36-cp36m-win_amd64.whl
Requirement already satisfied: Django<2.0,>=1.11.11 in c:\users\msopko\.virtualenvs\kml_internal--4e53ydp\lib\site-packages (from django-pyodbc-azure<2)
Requirement already satisfied: pytz in c:\users\msopko\.virtualenvs\kml_internal--4e53ydp\lib\site-packages (from Django<2.0,>=1.11.11->django-pyodbc-azure<2)
Installing collected packages: pyodbc, django-pyodbc-azure
Successfully installed django-pyodbc-azure-<IP_ADDRESS> pyodbc-4.0.22

Adding django-pyodbc-azure<2 to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches django<2,<2.1,>=2.0.3
Tried: 1.1.3, 1.1.4, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 1.4.14, 1.4.15, 1.4.16, 1.4.17, 1.4.18, 1.4.19, 1.4.20, 1.4.21, 1.4.22, 1.5, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.12, 1.6, 1.6, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3, 1.6.3, 1.6.4, 1.6.4, 1.6.5, 1.6.5, 1.6.6, 1.6.6, 1.6.7, 1.6.7, 1.6.8, 1.6.8, 1.6.9, 1.6.9, 1.6.10, 1.6.10, 1.6.11, 1.6.11, 1.7, 1.7, 1.7.1, 1.7.1, 1.7.2, 1.7.2, 1.7.3, 1.7.3, 1.7.4, 1.7.4, 1.7.5, 1.7.5, 1.7.6, 1.7.6, 1.7.7, 1.7.7, 1.7.8, 1.7.8, 1.7.9, 1.7.9, 1.7.10, 1.7.10, 1.7.11, 1.7.11, 1.8a1, 1.8b1, 1.8b2, 1.8rc1, 1.8, 1.8, 1.8.1, 1.8.1, 1.8.2, 1.8.2, 1.8.3, 1.8.3, 1.8.4, 1.8.4, 1.8.5, 1.8.5, 1.8.6, 1.8.6, 1.8.7, 1.8.7, 1.8.8, 1.8.8, 1.8.9, 1.8.9, 1.8.10, 1.8.10, 1.8.11, 1.8.11, 1.8.12, 1.8.12, 1.8.13, 1.8.13, 1.8.14, 1.8.14, 1.8.15, 1.8.15, 1.8.16, 1.8.16, 1.8.17, 1.8.17, 1.8.18, 1.8.18, 1.8.19, 1.8.19, 1.9a1, 1.9b1, 1.9rc1, 1.9rc2, 1.9, 1.9, 1.9.1, 1.9.1, 1.9.2, 1.9.2, 1.9.3, 1.9.3, 1.9.4, 1.9.4, 1.9.5, 1.9.5, 1.9.6, 1.9.6, 1.9.7, 1.9.7, 1.9.8, 1.9.8, 1.9.9, 1.9.9, 1.9.10, 1.9.10, 1.9.11, 1.9.11, 1.9.12, 1.9.12, 1.9.13, 1.9.13, 1.10a1, 1.10a1, 1.10b1, 1.10b1, 1.10rc1, 1.10rc1, 1.10, 1.10, 1.10.1, 1.10.1, 1.10.2, 1.10.2, 1.10.3, 1.10.3, 1.10.4, 1.10.4, 1.10.5, 1.10.5, 1.10.6, 1.10.6, 1.10.7, 1.10.7, 1.10.8, 1.10.8, 1.11a1, 1.11b1, 1.11rc1, 1.11rc1, 1.11, 1.11, 1.11.1, 1.11.1, 1.11.2, 1.11.2, 1.11.3, 1.11.3, 1.11.4, 1.11.4, 1.11.5, 1.11.5, 1.11.6, 1.11.6, 1.11.7, 1.11.7, 1.11.8, 1.11.8, 1.11.9, 1.11.9, 1.11.10, 1.11.10, 1.11.11, 1.11.11, 2.0a1, 2.0b1, 2.0rc1, 2.0, 2.0, 2.0.1, 2.0.1, 2.0.2, 2.0.2, 2.0.3, 2.0.3

I got around this error by specifying the branch:
django-pyodbc-azure = {git = "https://github.com/michiya/django-pyodbc-azure", ref = "azure-1.11"}

I have upgraded to 11.8.0 but have same problem still
however my colleague could not reproduce it from my minimal example
I am currently debugging and will post more info when I have some

ok, this is weird
I got it to work by:
$ pyenv virtualenv pipenvtemp
$ pyenv activate pipenvtemp
pipenvtemp > $ pip install pipenv
pipenvtemp > $ pipenv lock

This has now broken my 'outside' install of pipenv though:
pipenvtemp > $ source deactivate
$ pipenv lock
pyenv: pipenv: command not found

The `pipenv' command exists in these Python versions:
  2.7.11/envs/pipenvtemp
  pipenvtemp
$ pipsi install pipenv
pipenv is already installed

so I have some horrible interaction between pyenv-virtualenv, pipsi and pipenv on my system
I thought I had faithfully followed the install instructions, but maybe existing state of my system was not compatible
I think now I have to try blowing away all my Pythons and set up my dev environment from scratch 😢

Oh it's specific to python 3 somehow, I tried the pyenv-virtualenv trick above with my actual project and it didn't work.
And if I try it again with the minimal example, but using Python 3.6.4 instead of 2.7, then it doesn't work:
$ pyenv virtualenv 3.6.4 pipenvtemp-py3
$ pyenv activate pipenvtemp-py3
pipenvtemp-py3 > $ pip install pipenv
pipenvtemp-py3 > $ rm Pipfile.lock
pipenvtemp-py3 > $ pipenv lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

@anentropic just uninstall all of the pipenvs you have, everywhere, and reinstall using system 3.6.4 with --user

Well I found the problem and a solution, if not an explanation for how it happened.
I spent a while stepping through the underlying code, i.e.
from pipenv.patched.piptools.repositories import PyPIRepository
from pipenv.patched.piptools.scripts.compile import get_pip_command
from pipenv.patched.notpip.req.req_install import InstallRequirement
from pipenv.patched.piptools.resolver import Resolver

pip_command = get_pip_command()
pip_options, _ = pip_command.parse_args([])
session = pip_command._build_session(pip_options)
pypi = PyPIRepository(pip_options=pip_options, use_json=False, session=session)

# first observe that this returns correct constraints:
ireq = InstallRequirement.from_line('bleach==1.5.0')
pypi.get_dependencies(ireq)
{<InstallRequirement object: six (from bleach==1.5.0) editable=False>,
 <InstallRequirement object: html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 (from bleach==1.5.0) editable=False>}

# I added the following breakpoint at pipenv/patched/piptools/resolver.py:200
            if str(best_match.req) == 'bleach==1.5.0':
                import ipdb; ipdb.set_trace()

# then ran the resolver:
ireq = InstallRequirement.from_line('tensorflow==1.3.0')
resolver = Resolver(constraints=[ireq], repository=pypi)
resolver.resolve()

# stepping through we fail this check, showing that 'html5lib' is already in the cache
    if ireq not in self.dependency_cache:

# so next it fetches dep from cache:
ipdb> pp self.dependency_cache[ireq]
['html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre',
 'six']
# aha!
ipdb> self.dependency_cache._cache_file
'/Users/anentropic/Library/Caches/pipenv/depcache-py3.6.json'

Somehow the bogus html5lib>=0.99999999pre requirement had got stuck in the dependency cache file.
Now I knew what to do...
pipenvtemp-py3 $ rm /Users/anentropic/Library/Caches/pipenv/depcache-py3.6.json
pipenvtemp-py3 $ pipenv lock
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Success.

@anentropic thanks for the update! We should have recommended that directly, bug I'm glad you got it sorted out!

@anentropic @techalchemy I'm facing the same issue but removing /Users/.../Library/Caches/pipenv/depcache-py3.6.json didn't help me. Any suggestions on what else I can try? Thanks!

@henadzit Please provide information for your platform. Open a new issue to see what information are expected to debug your problem. You don’t need to submit a new issue, only need to check the fields and provide them accordingly here.

@uranusjr, sure! Here it is
$ python -m pipenv.help output
Pipenv version: '11.9.0'
Pipenv location: '/Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/lib/python3.6/site-packages/pipenv'
Python location: '/Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/bin/python'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/bin/python3.6m

3.6: /Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/bin/python3.6

3.6: /Users/henadzit/.pyenv/shims/python3.6

3.6: /usr/local/bin/python3.6

3.6: /usr/local/bin/python3.6

3.6.4: /Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/bin/python

3.6.4: /Users/henadzit/.pyenv/shims/python

2.7.10: /usr/bin/python

3.6.4: /Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/bin/python3

3.6.4: /Users/henadzit/.pyenv/shims/python3

3.6.4: /usr/local/bin/python3

3.6.4: /usr/local/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '17.4.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST '
                     '2017; root:xnu-4570.41.2~1/RELEASE_X86_64',
 'python_full_version': '3.6.4',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

TERM_PROGRAM
PIP_PYTHON_PATH
TERM
SHELL
TMPDIR
DOCKER_HOST
Apple_PubSub_Socket_Render
PYTHONUNBUFFERED
TERM_PROGRAM_VERSION
TERM_SESSION_ID
USER
DOCKER_MACHINE_NAME
CPATH
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
VIRTUAL_ENV
DOCKER_TLS_VERIFY
PIPENV_ACTIVE
PATH
PWD
JAVA_HOME
LETSENCRYPT_CERTS_FOLDER
LANG
DOPEOPLESAY_WEB_SECRET_KEY_BASE
ITERM_PROFILE
XPC_FLAGS
PS1
PYTHONDONTWRITEBYTECODE
RBENV_SHELL
XPC_SERVICE_NAME
PYENV_SHELL
DOCKER_CERT_PATH
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LOGNAME
PKG_CONFIG_PATH
DISPLAY
_

Pipenv–specific environment variables:

PIPENV_ACTIVE: 1

Debug–specific environment variables:

PATH: /Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf/bin:/usr/local/Cellar/pipenv/11.9.0/libexec/tools:/Users/henadzit/.pyenv/shims:/Users/henadzit/.rbenv/shims:/Users/henadzit/.rbenv/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/henadzit/workspace/geckodriver:/Users/henadzit/.rvm/bin
SHELL: /bin/bash
LANG: en_US.UTF-8
PWD: /Users/henadzit/workspace/dopeoplesayit
VIRTUAL_ENV: /Users/henadzit/.local/share/virtualenvs/dopeoplesayit-BfIykoUf

Contents of Pipfile ('/Users/henadzit/workspace/dopeoplesayit/Pipfile'):
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]

falcon = "==1.3.0"
gunicorn = "==19.7.1"
hunspell = "==0.5.0"
nltk = "==3.2.4"
pysolr = "==3.7.0"
pytest = "==3.1.2"
pytest-mock = "==1.6.3"
requests = "==2.18.4"

[dev-packages]

jupyter = "*"
spacy = "*"
matplotlib = "*"

[requires]

python_version = "3.6.4"

@uranusjr, sorry for bothering you, but have you had a chance to look at the output in my previous comment? Thanks a lot!

@henadzit don't activate the pipenv shell before you run dependency resolution.  From outside of the pipenv shell, try pipenv lock --verbose --clear and see if this resolves the problem

🤔 Try removing the whole cache directory manually.

@henadzit try pipenv lock --clear or wipe any of the following directories if they exist:
/Users/.../Library/Caches/pipenv
/Users/.../Library/Caches/pip-tools
/Users/.../Library/Caches/pip

@uranusjr @techalchemy, thank you for trying to help me out! I tried everything you suggested and no luck. I created a new Pipfile with just two packages and I'm getting the same error. Below is the output of  pipenv.help. I'm about to try running this PIpfile in docker to see if it's just my environment.
$ python -m pipenv.help output
Pipenv version: '11.9.0'
Pipenv location: '/usr/local/Cellar/pipenv/11.9.0/libexec/lib/python3.6/site-packages/pipenv'
Python location: '/usr/local/Cellar/pipenv/11.9.0/libexec/bin/python3'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /Users/henadzit/anaconda3/bin/python3.6m

3.6: /Users/henadzit/anaconda3/bin/python3.6

3.6: /Users/henadzit/.pyenv/shims/python3.6

3.6: /usr/local/bin/python3.6

3.6: /usr/local/bin/python3.6

3.6.4: /Users/henadzit/anaconda3/bin/python

3.6.4: /Users/henadzit/.pyenv/shims/python

2.7.10: /usr/bin/python

3.6.4: /Users/henadzit/anaconda3/bin/python3

3.6.4: /Users/henadzit/.pyenv/shims/python3

3.6.4: /usr/local/bin/python3

3.6.4: /usr/local/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '17.4.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST '
                     '2017; root:xnu-4570.41.2~1/RELEASE_X86_64',
 'python_full_version': '3.6.4',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

TERM_PROGRAM
TERM
SHELL
TMPDIR
DOCKER_HOST
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
OLDPWD
TERM_SESSION_ID
USER
LD_LIBRARY_PATH
DOCKER_MACHINE_NAME
CPATH
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
DOCKER_TLS_VERIFY
PATH
PWD
JAVA_HOME
LANG
ITERM_PROFILE
XPC_FLAGS
RBENV_SHELL
XPC_SERVICE_NAME
PYENV_SHELL
DOCKER_CERT_PATH
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LOGNAME
PKG_CONFIG_PATH
DISPLAY
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
PYTHONUNBUFFERED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /Users/henadzit/anaconda3/bin:/Users/henadzit/.pyenv/shims:/Users/henadzit/.rbenv/shims:/Users/henadzit/.rbenv/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/henadzit/workspace/geckodriver:/Users/henadzit/workspace/torch/install/bin
SHELL: /bin/bash
LANG: en_US.UTF-8
PWD: /Users/henadzit/workspace/pipenv-html5lib-issue

Contents of Pipfile ('/Users/henadzit/workspace/pipenv-html5lib-issue/Pipfile'):
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
jupyter = "==1.0.0"
spacy = "==2.0.10"

[dev-packages]

[requires]

python_version = "3.6.4"

@uranusjr @techalchemy, looks like the issue isn't related to my environment. I was able to reproduce the issue in the completely clean environment of docker. I created a repo to show the issue, please, have a look if you get a chance - https://github.com/henadzit/pipenv-html5lib-issue.

@romanczuk, I upgraded spacy and it resolved the issue! Thank all for your help!

For me the issue still persists. I am trying to install both tensorflow and jupyter[notebook]. Whereas the former pinns bleach==1.5.0, the later has a transitive unpinned bleach dependencies. The latter seems to adds the constraint >=0.99999999pre.
I can recreate the behavior by trying to install bleach (unpinned) and tensorboard (which pins the bleach version):
pipenv install bleach tensorboard
Creating a virtualenv for this project…
Using /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6 (3.6.4) to create virtualenv…
⠋Already using interpreter /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6
Using real prefix '/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6'
New python executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python3.6
Also creating executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I
Creating a Pipfile for this project…
Installing bleach…
Collecting bleach
  Using cached bleach-2.1.3-py2.py3-none-any.whl
Collecting six (from bleach)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach)
  Using cached html5lib-1.0.1-py2.py3-none-any.whl
Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach)
  Using cached webencodings-0.5.1-py2.py3-none-any.whl
Installing collected packages: six, webencodings, html5lib, bleach
Successfully installed bleach-2.1.3 html5lib-1.0.1 six-1.11.0 webencodings-0.5.1

Adding bleach to Pipfile's [packages]…
Installing tensorboard…
Collecting tensorboard
  Using cached tensorboard-1.7.0-py3-none-any.whl
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from tensorboard)
Collecting werkzeug>=0.11.10 (from tensorboard)
  Using cached Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting bleach==1.5.0 (from tensorboard)
  Using cached bleach-1.5.0-py2.py3-none-any.whl
Collecting numpy>=1.12.0 (from tensorboard)
  Using cached numpy-1.14.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting markdown>=2.6.8 (from tensorboard)
  Using cached Markdown-2.6.11-py2.py3-none-any.whl
Collecting protobuf>=3.4.0 (from tensorboard)
  Using cached protobuf-3.5.2.post1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already satisfied: six>=1.10.0 in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from tensorboard)
Collecting html5lib==0.9999999 (from tensorboard)
Requirement already satisfied: setuptools in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from protobuf>=3.4.0->tensorboard)
Installing collected packages: werkzeug, html5lib, bleach, numpy, markdown, protobuf, tensorboard
  Found existing installation: html5lib 1.0.1
    Uninstalling html5lib-1.0.1:
      Successfully uninstalled html5lib-1.0.1
  Found existing installation: bleach 2.1.3
    Uninstalling bleach-2.1.3:
      Successfully uninstalled bleach-2.1.3
Successfully installed bleach-1.5.0 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.2 protobuf-3.5.2.post1 tensorboard-1.7.0 werkzeug-0.14.1

Adding tensorboard to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

When running install --skip-lock and graph there is no sign of this constraint:
$ pipenv install bleach tensorboard --skip-lock
...

$ pipenv graph | grep html5lib
    - html5lib [required: >=0.999,!=0.9999,!=0.99999,<0.99999999, installed: 0.9999999]
  - html5lib [required: ==0.9999999, installed: 0.9999999]

$ pipenv graph | grep bleach
  - bleach [required: ==1.5.0, installed: 1.5.0]

Removing the cache directories, does not change the behavior. I am running pipenv version 11.8.0. There does seem to be some interaction with global state. While searching for a minimal example, I tried the setup above multiple times. For one run, locking worked. However, I could not reproduce this behavior.
Further details:

$ pipenv --version
pipenv, version 11.8.0

$ pipenv graph
tensorboard==1.7.0
  - bleach [required: ==1.5.0, installed: 1.5.0]
    - html5lib [required: !=0.99999,!=0.9999,>=0.999,<0.99999999, installed: 0.9999999]
      - six [required: Any, installed: 1.11.0]
    - six [required: Any, installed: 1.11.0]
  - html5lib [required: ==0.9999999, installed: 0.9999999]
    - six [required: Any, installed: 1.11.0]
  - markdown [required: >=2.6.8, installed: 2.6.11]
  - numpy [required: >=1.12.0, installed: 1.14.2]
  - protobuf [required: >=3.4.0, installed: 3.5.2.post1]
    - setuptools [required: Any, installed: 39.0.1]
    - six [required: >=1.9, installed: 1.11.0]
  - six [required: >=1.10.0, installed: 1.11.0]
  - werkzeug [required: >=0.11.10, installed: 0.14.1]
  - wheel [required: >=0.26, installed: 0.31.0]
webencodings==0.5.1

$ cat Pipfile
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]

bleach = "*"
tensorboard = "*"

[dev-packages]

[requires]

python_version = "3.6"

$ pipenv lock --clear --verbose
Locking [dev-packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:

Finding the best candidates:

Finding secondary dependencies:
------------------------------------------------------------
Result of round 1: stable, done

Locking [packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:
  bleach
  tensorboard

Finding the best candidates:
  found candidate bleach==2.1.3 (constraint was <any>)
  found candidate tensorboard==1.7.0 (constraint was <any>)

Finding secondary dependencies:
  tensorboard==1.7.0        requires bleach==1.5.0, html5lib==0.9999999, markdown>=2.6.8, numpy>=1.12.0, protobuf>=3.4.0, six>=1.10.0, werkzeug>=0.11.10, wheel>=0.26; python_version >= "3"; python_version >= "3"
  bleach==2.1.3             requires html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre, six

New dependencies found in this round:
  adding ['bleach', '==1.5.0', '[]']
  adding ['html5lib', '!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre', '[]']
  adding ['markdown', '>=2.6.8', '[]']
  adding ['numpy', '>=1.12.0', '[]']
  adding ['protobuf', '>=3.4.0', '[]']
  adding ['six', '>=1.10.0', '[]']
  adding ['werkzeug', '>=0.11.10', '[]']
  adding ['wheel', '>=0.26', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  bleach==1.5.0
  html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
  markdown>=2.6.8
  numpy>=1.12.0
  protobuf>=3.4.0
  six>=1.10.0
  tensorboard
  werkzeug>=0.11.10
  wheel>=0.26

Finding the best candidates:
  found candidate bleach==1.5.0 (constraint was ==1.5.0)
Using pip: -i https://pypi.python.org/simple

                          ROUND 1
Current constraints:
  bleach
  tensorboard

Finding the best candidates:
  found candidate bleach==2.1.3 (constraint was <any>)
  found candidate tensorboard==1.7.0 (constraint was <any>)

Finding secondary dependencies:
  bleach==2.1.3             requires html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre, six
  tensorboard==1.7.0        requires bleach==1.5.0, html5lib==0.9999999, markdown>=2.6.8, numpy>=1.12.0, protobuf>=3.4.0, six>=1.10.0, werkzeug>=0.11.10, wheel>=0.26; python_version >= "3"; python_version >= "3"

New dependencies found in this round:
  adding ['bleach', '==1.5.0', '[]']
  adding ['html5lib', '!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre', '[]']
  adding ['markdown', '>=2.6.8', '[]']
  adding ['numpy', '>=1.12.0', '[]']
  adding ['protobuf', '>=3.4.0', '[]']
  adding ['six', '>=1.10.0', '[]']
  adding ['werkzeug', '>=0.11.10', '[]']
  adding ['wheel', '>=0.26', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  bleach==1.5.0
  html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
  markdown>=2.6.8
  numpy>=1.12.0
  protobuf>=3.4.0
  six>=1.10.0
  tensorboard
  werkzeug>=0.11.10
  wheel>=0.26

Finding the best candidates:
  found candidate bleach==1.5.0 (constraint was ==1.5.0)

INFO:pip9._vendor.requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): pypi.python.org
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

Okay looking at this carefully this is a legitimate dependency conflict. html5lib>=0.99999999pre is a bigger number than html5lib==0.9999999 so this can’t actually be resolved. Just put tensorboard in the dev-packages section for now and pipenv install —dev — pipenv will favor the non-dev resolution this way

Thanks for the workaround. I'll give a try.
What puzzles me: why does html5lib>=0.99999999pre even come up as a constraint? Tensorboard fixes bleach==1.5.0. Therefore, the additional bleach dependency passed to pipenv install should not affect the dependency graph, should it?

It does because you have it listed first, which might be fixed if you swap the ordering? Not sure. Try that too and let me know

If I add bleach to the commandline it fails (first two options). If I only install tensorboard, it works (last option). The pipenv is inside the details blocks.
$ rm -rf ~/Library/Caches/pip* ~/.virtualenvs/foo-i7B_Qy-I Pipfile
$ pipenv install tensorboard bleach

Creating a virtualenv for this project…
Using /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6 (3.6.4) to create virtualenv…
⠋Already using interpreter /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6
Using real prefix '/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6'
New python executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python3.6
Also creating executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I
Creating a Pipfile for this project…
Installing tensorboard…
Collecting tensorboard
  Downloading tensorboard-1.7.0-py3-none-any.whl (3.1MB)
Collecting html5lib==0.9999999 (from tensorboard)
  Downloading html5lib-0.9999999.tar.gz (889kB)
Collecting werkzeug>=0.11.10 (from tensorboard)
  Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
Collecting markdown>=2.6.8 (from tensorboard)
  Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB)
Collecting numpy>=1.12.0 (from tensorboard)
  Downloading numpy-1.14.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.7MB)
Collecting protobuf>=3.4.0 (from tensorboard)
  Downloading protobuf-3.5.2.post1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.2MB)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from tensorboard)
Collecting six>=1.10.0 (from tensorboard)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting bleach==1.5.0 (from tensorboard)
  Downloading bleach-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from protobuf>=3.4.0->tensorboard)
Building wheels for collected packages: html5lib
  Running setup.py bdist_wheel for html5lib: started
  Running setup.py bdist_wheel for html5lib: finished with status 'done'
  Stored in directory: /Volumes/Home/Library/Caches/pip/wheels/6f/85/6c/56b8e1292c6214c4eb73b9dda50f53e8e977bf65989373c962
Successfully built html5lib
Installing collected packages: six, html5lib, werkzeug, markdown, numpy, protobuf, bleach, tensorboard
Successfully installed bleach-1.5.0 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.2 protobuf-3.5.2.post1 six-1.11.0 tensorboard-1.7.0 werkzeug-0.14.1

Adding tensorboard to Pipfile's [packages]…
Installing bleach…
Requirement already satisfied: bleach in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages
Requirement already satisfied: six in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from bleach)
Requirement already satisfied: html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from bleach)

Adding bleach to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

$ rm -rf ~/Library/Caches/pip* ~/.virtualenvs/foo-i7B_Qy-I Pipfile
$ pipenv install bleach tensorboard

Creating a virtualenv for this project…
Using /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6 (3.6.4) to create virtualenv…
⠋Already using interpreter /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6
Using real prefix '/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6'
New python executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python3.6
Also creating executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I
Creating a Pipfile for this project…
Installing bleach…
Collecting bleach
  Downloading bleach-2.1.3-py2.py3-none-any.whl
Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach)
  Downloading html5lib-1.0.1-py2.py3-none-any.whl (117kB)
Collecting six (from bleach)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach)
  Downloading webencodings-0.5.1-py2.py3-none-any.whl
Installing collected packages: six, webencodings, html5lib, bleach
Successfully installed bleach-2.1.3 html5lib-1.0.1 six-1.11.0 webencodings-0.5.1

Adding bleach to Pipfile's [packages]…
Installing tensorboard…
Collecting tensorboard
  Downloading tensorboard-1.7.0-py3-none-any.whl (3.1MB)
Collecting werkzeug>=0.11.10 (from tensorboard)
  Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
Collecting markdown>=2.6.8 (from tensorboard)
  Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB)
Collecting bleach==1.5.0 (from tensorboard)
  Downloading bleach-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from tensorboard)
Collecting numpy>=1.12.0 (from tensorboard)
  Downloading numpy-1.14.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.7MB)
Collecting protobuf>=3.4.0 (from tensorboard)
  Downloading protobuf-3.5.2.post1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.2MB)
Requirement already satisfied: six>=1.10.0 in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from tensorboard)
Collecting html5lib==0.9999999 (from tensorboard)
  Downloading html5lib-0.9999999.tar.gz (889kB)
Requirement already satisfied: setuptools in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from protobuf>=3.4.0->tensorboard)
Building wheels for collected packages: html5lib
  Running setup.py bdist_wheel for html5lib: started
  Running setup.py bdist_wheel for html5lib: finished with status 'done'
  Stored in directory: /Volumes/Home/Library/Caches/pip/wheels/6f/85/6c/56b8e1292c6214c4eb73b9dda50f53e8e977bf65989373c962
Successfully built html5lib
Installing collected packages: werkzeug, markdown, html5lib, bleach, numpy, protobuf, tensorboard
  Found existing installation: html5lib 1.0.1
    Uninstalling html5lib-1.0.1:
      Successfully uninstalled html5lib-1.0.1
  Found existing installation: bleach 2.1.3
    Uninstalling bleach-2.1.3:
      Successfully uninstalled bleach-2.1.3
Successfully installed bleach-1.5.0 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.2 protobuf-3.5.2.post1 tensorboard-1.7.0 werkzeug-0.14.1

Adding tensorboard to Pipfile's [packages]…
Pipfile.lock (d84f24) out of date, updating to (930330)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1

$ rm -rf ~/Library/Caches/pip* ~/.virtualenvs/foo-i7B_Qy-I Pipfile
$ pipenv install tensorboard

Creating a virtualenv for this project…
Using /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6 (3.6.4) to create virtualenv…
⠋Already using interpreter /usr/local/Cellar/pipenv/11.8.0/libexec/bin/python3.6
Using real prefix '/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6'
New python executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python3.6
Also creating executable in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I
Creating a Pipfile for this project…
Installing tensorboard…
Collecting tensorboard
  Downloading tensorboard-1.7.0-py3-none-any.whl (3.1MB)
Collecting markdown>=2.6.8 (from tensorboard)
  Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from tensorboard)
Collecting bleach==1.5.0 (from tensorboard)
  Downloading bleach-1.5.0-py2.py3-none-any.whl
Collecting html5lib==0.9999999 (from tensorboard)
  Downloading html5lib-0.9999999.tar.gz (889kB)
Collecting numpy>=1.12.0 (from tensorboard)
  Downloading numpy-1.14.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.7MB)
Collecting werkzeug>=0.11.10 (from tensorboard)
  Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
Collecting six>=1.10.0 (from tensorboard)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting protobuf>=3.4.0 (from tensorboard)
  Downloading protobuf-3.5.2.post1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.2MB)
Requirement already satisfied: setuptools in /Volumes/Home/.local/share/virtualenvs/foo-i7B_Qy-I/lib/python3.6/site-packages (from protobuf>=3.4.0->tensorboard)
Building wheels for collected packages: html5lib
  Running setup.py bdist_wheel for html5lib: started
  Running setup.py bdist_wheel for html5lib: finished with status 'done'
  Stored in directory: /Volumes/Home/Library/Caches/pip/wheels/6f/85/6c/56b8e1292c6214c4eb73b9dda50f53e8e977bf65989373c962
Successfully built html5lib
Installing collected packages: markdown, six, html5lib, bleach, numpy, werkzeug, protobuf, tensorboard
Successfully installed bleach-1.5.0 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.2 protobuf-3.5.2.post1 six-1.11.0 tensorboard-1.7.0 werkzeug-0.14.1

Adding tensorboard to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (d84f24)!
Installing dependencies from Pipfile.lock (d84f24)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 9/9 — 00:00:04
To activate this project's virtualenv, run the following:
 $ pipenv shell

@techalchemy thanks again for the work around. It solved my actual problem (installing jupyter + tensorflow): I put jupyter into the development packages and kept tensorflow in the production packages. Then all packages can be locked.


Improve 404page reminder sentence

Avoid 404page always show
"select one 'strange-thing' from the sidebar"
Limited to "os", "app" and "font"

We can not assume that all the MirrorS provide only font, os and app, there may be other categories.
Also this can be a feature.
Try https://mirrorz.org/thington ro


[lit] The cmp() function should be treated as gone in Python 3

As noted in the "What's New in Python 3.0" documentation the Python 2 cmp function no longer exists in Python 3. The document goes on to say that if you really need the cmp function you should define your own.
Since the function appears to only be used once in the script I defined a local function rather than shadow the Python 2 function. The local function, _cmp, implements the recommended expression from the "What's New in Python 3.0" document. The behavior is now defined on both Python 2 and 3.

@moiseev I've updated the commit based on your feedback. There is a new comment that reads:

The _cmp function is provided to port the Python 2 global cmp
function forward to Python 3. The function implementation is taken
directly from the recommendation that announced its removal.
See: https://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons

That was my best attempt at making that succinct.  Please let me know how you'd like it changed if that is insufficient.

(I also rebased it on d30df98c52e3f1a9e4f43701afddd5c81da9f79a) just to bring it a little bit more up-to-date.)

Perfect. Thanks! :+1:


Update preflight for Ubuntu

[I request PR again to clean up the commit history.]
Thank you for your checking.
Since systemd-timesyncd is running in Ubuntu by default, chrony installation and execution is excluded.
If the Ubuntu version is less than 20.10, docker is installed, and if it is 20.10 or later, podman is installed.
I haven't tested it on Debian yet, so I've only added Ubuntu. I plan to test and update playbook for Debian in the future.

Please review the PR. Please comment if any corrections are needed.

we might want to add a check for catching those nbsps 🙂

@guits
Thank you for your checking and changes.
Please let me know how can i resolve conflicts? Do I need to change do something?

@YoungjuWang you have to squash your commits (you should have only 1 commit) and rebase on master

Thank you for your advice.
I squashed all commits to only 1 commit.

@YoungjuWang you need to rebase your branch

@guits updated and squashed. please review it.

@guits updated and squashed.

@guits It's done. review please.

Can I ask when this PR will be merged?

Can I ask when this PR will be merged?

We're going to enter the Christmas holidays. Is it ok for you, if we merge this in January?

Thank you for your answer. of course! Merry Christmas and Happy New Year.

Can I ask when this PR will be merged?

sorry for the delay, thanks for your patience @YoungjuWang


Feature request: pick only one conflict

When I tried it for the first time, I instinctively assumed that kakmerge-next-conflict and kakmerge-pick work in tandem — you jump to a conflict, select which version you prefer and jump on the next one. Currently kakmerge-pick replaces all conflicts with the selected version, until I read README I thought I'm experiencing a bug.
Can we have kakmerge-pick resolve one conflict and kakmerge-pick-all resolve all conflicts?

Probably. I thought about it but didn't really need the feature at the time of writing the script, maybe I'll get around to implementing that.

+1

+1


autoref specialization vs. generic traits

I'm in the process of moving overflower to autoref specialization. I have found that it works as you described in the unary operation case (e.g. specializing std::ops::Neg vs. overflower::OverflowerNeg).
However, there is a small niggle when the trait is generic over some other type as for example std::ops::Add<RHS = Self> is over RHS. In this case, if I try to implement the kind for T: std::ops::Add, this only works for the default RHS type (which is Self, but e.g. String implements Add for various other types (e.g. &'_ str and Cow<'_, str>).
Thus we must allow our kind to be implemented for arbitrary RHS. So let's try that:
pub struct OverflowerAddTag;
pub trait OverflowerAddKind<R> {
    fn overflower_add_tag() -> OverflowerAddTag {
        OverflowerAddTag
    }
}

impl<R, T> OverflowerAddKind<R> for T where &T: std::ops::Add<R> {}
impl<R, T> OverflowerAddKind<R> for T where T: OverflowerAdd<R> {}

Now the compiler tells us that we need to give a lifetime to &T, so we do that, which gives us:
impl<'a, R, T: 'a> OverflowerAddKind<R> for T where &'a T: std::ops::Add<R> {}

This works. Just wanted to let you know.

I don't think you are doing it right—I would expect to see an impl that looks like for &T where T: ....

Sorry, I fixed that after copying and forgot to update it in the text. The macro code for the kind impls is now (where $std_ty → $std_kind is the fallback and $ovf_ty → $ovf_kind the overflower specialization):
impl<'a, R, T: 'a> $std_kind<R> for &'a T where T: $std_ty<R> {}
impl<R, T> $ovf_kind<R> for T where T: $ovf_ty<R> {}

Looks good, but now I believe you shouldn't need the explicit named lifetime anymore, matching what's in the writeup.
impl<R, T> $std_kind<R> for &T where T: $std_ty<R> {}

Yes, I just tried. I think I added them on request of the compiler when I had the & in the wrong position.
Thank you! If you want, I can send a PR your way to add a few sentences about multiple generic arguments, otherwise feel free to close this.

Ah, there's another niggle: Specializing e.g. the AddAssign trait requires mutably borrowing self. So if I e.g. change a += b to { let x = &mut a; (&x).overflower_add_tag().add_assign_wrap(x, b); }, the trait dispatch fails to work (because we don't have &T, but &&mut T).

I did a reborrow, but that was apparently too complex for type inference, I had to add a _: &R argument to overflower_add_tag(..). To keep the macro simple (and to ensure it doesn't fail in the presence of multiple implementations for various Rs), I changed the binops, too.
Now a+b becomes { let (x, y) = (a, b); (&x).overflower_add_tag(&y).add_panic(x, y) } and a+=b becomes { let (x, y) = (a, b); (&x).overflower_add_assign_tag(&y).add_assign_panic(x, y) } (under #[overflow(panic)]).

The first one looks good.
The second one doesn't look right. I don't see how that ends up mutating a.

add_assign_panic takes a &mut self. Since x = &mut a it mutates a.

Okay, if x = &mut a that's fine. You pasted let (x, y) = (a, b); in which x = a.

I have one test failure: Consider the above change. let x = &255_u8; x + x gets changed to { let (x, y) = (x, x); (&x).overflower_add_tag(&y).add_wrap(x, y) }. Problem is, this selects the std::Add implementation (because x: &u8) instead of the specialized wrapping one. Any idea how to deal with that?

I think the error is that I lost the implementations of OverflowerAdd for &_ in the refactoring. Unfortunately, extending the macros to get them back isn't completely trivial.

Are you missing an overflowing Add impl for &u8 + &u8?

It appears so.

Now that I added the forwarding impls to my overflower traits, I get a new error:
error[E0034]: multiple applicable items in scope
  --> overflower/tests/simple.rs:58:1
   |
58 | #[overflow(wrap)]
   | ^^^^^^^^^^^^^^^^^ multiple `overflower_add_tag` found
   |
   = note: candidate #1 is defined in an impl of the trait `overflower::OverflowerStdAddKind` for the type `&_`
   = help: to disambiguate the method call, write `overflower::OverflowerStdAddKind::overflower_add_tag(&#[overflow(wrap)], #[overflow(wrap)])` instead
   = note: candidate #2 is defined in an impl of the trait `overflower::OverflowerAddKind` for the type `_`
   = help: to disambiguate the method call, write `overflower::OverflowerAddKind::overflower_add_tag(&#[overflow(wrap)], #[overflow(wrap)])` instead

This is the problem I initially feared and I didn't find in my earlier tests because I inadvertently removed the forwarding impls: I need to have an impl for T and &T for both my overriding traits and the original traits (well, we have them already). However, this means unless we have two levels of borrowing between those, we'll get some overlap. I have a hunch that I might be able to work around this by putting the Deref into the tag/kind mechanism, but I'm unsure how to implement it. Can you help me get this to work?

Is there a branch where I can reproduce the error you showed?

Yes there is

I minimized your current implementation to:
use std::ops::Add;

pub trait OverflowerAdd<RHS = Self> {
    type Output;
    fn add_wrap(self, r: RHS) -> Self::Output;
}

pub struct StdAddTag;
pub struct OverflowerAddTag;

pub trait StdAddKind<R> {
    fn overflower_add_tag(&self, _: &R) -> StdAddTag {
        StdAddTag
    }
}

pub trait OverflowerAddKind<R> {
    fn overflower_add_tag(&self, _: &R) -> OverflowerAddTag {
        OverflowerAddTag
    }
}

impl<T, R> StdAddKind<R> for &T where T: Add<R> {}

impl<T, R> OverflowerAddKind<R> for T where T: OverflowerAdd<R> {}

impl StdAddTag {
    pub fn add_wrap<T: Add<R>, R>(self, t: T, r: R) -> T::Output {
        Add::add(t, r)
    }
}

impl OverflowerAddTag {
    pub fn add_wrap<T: OverflowerAdd<R>, R>(self, t: T, r: R) -> T::Output {
        OverflowerAdd::add_wrap(t, r)
    }
}

impl OverflowerAdd<u8> for u8 {
    type Output = u8;
    fn add_wrap(self, r: u8) -> Self::Output {
        self.wrapping_add(r)
    }
}

impl OverflowerAdd<u8> for &u8 {
    type Output = u8;
    fn add_wrap(self, r: u8) -> Self::Output {
        (*self).add_wrap(r)
    }
}

impl OverflowerAdd<&u8> for u8 {
    type Output = u8;
    fn add_wrap(self, r: &u8) -> Self::Output {
        self.add_wrap(*r)
    }
}

impl OverflowerAdd<&u8> for &u8 {
    type Output = u8;
    fn add_wrap(self, r: &u8) -> Self::Output {
        (*self).add_wrap(*r)
    }
}

fn main() {
    let (_x, _y) = (&255u8, 255u8);
    (&_x).overflower_add_tag(&_y).add_wrap(_x, _y);
}

error[E0034]: multiple applicable items in scope
  --> src/main.rs:69:11
   |
69 |     (&_x).overflower_add_tag(&_y).add_wrap(_x, _y);
   |           ^^^^^^^^^^^^^^^^^^ multiple `overflower_add_tag` found

I would recommend implementing it instead as follows, which is a lot more like the way in the writeup:
use std::ops::Add;

pub trait OverflowerAdd<RHS = Self> {
    type Output;
    fn add_wrap(self, r: RHS) -> Self::Output;
}

pub struct StdAddTag;
pub struct OverflowerAddTag;

pub trait StdAddKind {
    fn overflower_add_tag(&self) -> StdAddTag {
        StdAddTag
    }
}

pub trait OverflowerAddKind {
    fn overflower_add_tag(&self) -> OverflowerAddTag {
        OverflowerAddTag
    }
}

impl<T, R> StdAddKind for &(&T, &R) where T: Add<R> {}

impl<T, R> OverflowerAddKind for (&T, &R) where T: OverflowerAdd<R> {}

impl StdAddTag {
    pub fn add_wrap<T: Add<R>, R>(self, t: T, r: R) -> T::Output {
        Add::add(t, r)
    }
}

impl OverflowerAddTag {
    pub fn add_wrap<T: OverflowerAdd<R>, R>(self, t: T, r: R) -> T::Output {
        OverflowerAdd::add_wrap(t, r)
    }
}

impl OverflowerAdd<u8> for u8 {
    type Output = u8;
    fn add_wrap(self, r: u8) -> Self::Output {
        self.wrapping_add(r)
    }
}

impl OverflowerAdd<u8> for &u8 {
    type Output = u8;
    fn add_wrap(self, r: u8) -> Self::Output {
        (*self).add_wrap(r)
    }
}

impl OverflowerAdd<&u8> for u8 {
    type Output = u8;
    fn add_wrap(self, r: &u8) -> Self::Output {
        self.add_wrap(*r)
    }
}

impl OverflowerAdd<&u8> for &u8 {
    type Output = u8;
    fn add_wrap(self, r: &u8) -> Self::Output {
        (*self).add_wrap(*r)
    }
}

fn main() {
    let (_x, _y) = (255u8, 255u8);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (255u8, &255u8);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (&255u8, 255u8);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (&255u8, &255u8);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (255usize, 255usize);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (255usize, &255usize);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (&255usize, 255usize);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);

    let (_x, _y) = (&255usize, &255usize);
    (&(&_x, &_y)).overflower_add_tag().add_wrap(_x, _y);
}

That did the trick. Thank you! I'll add some finishing touches, and then it'll be ready for version 1.0.0.


Non numeric y - axis with multiple labels in datasets in bubble chart

Hello Sir, I am trying to plot my json data dynamically in bubble chart where y axis contains or showing string/text and x axis showing date,same as image given below.Kindly guide me what to do to achieve same output

Note: To achieve the above graph I tried non numeric  y axis concept with multiples label in a dataset but did not achieve it.
for example
xLabels:[],
yLabels:[],
datasets: [{
label: "A",
},{
label: "B",
}]
can u please tell me how to draw non numeric  y axis with multiples label in a dataset?

sample1.json file
[
{
"date": "01/09/16",
"name": "i1",
"count": 2
},
{
"date": "01/09/16",
"name": "i2",
"count": 2
},
{
"date": "01/09/16",
"name": "i2",
"count": 7
},
{
"date": "01/09/16",
"name": "i3",
"count": 1
},
{
"date": "01/09/16",
"name": "i2",
"count": 11
},
{
"date": "01/09/16",
"name": "i1",
"count": 9
},
{
"date": "01/09/16",
"name": "i2",
"count": 14
},
{
"date": "01/09/16",
"name": "i2",
"count": 9
},
{
"date": "01/09/16",
"name": "i2",
"count": 2
},
{
"date": "01/09/16",
"name": "i1",
"count": 12
},
{
"date": "01/09/16",
"name": "i2",
"count": 57
},
{
"date": "01/09/16",
"name": "i2",
"count": 10
},
{
"date": "01/09/16",
"name": "i1",
"count": 13
},
{
"date": "01/09/16",
"name": "i2",
"count": 8
},
{
"date": "01/09/16",
"name": "i2",
"count": 7
}
]
sample2.json
[
{
"date": "01/09/16",
"country": "b1",
"count": 1
},
{
"date": "01/09/16",
"country": "b2",
"count": 3
},
{
"date": "01/10/16",
"country": "b2",
"count": 1
},
{
"date": "01/11/16",
"country": "b3",
"count": 6
},
{
"date": "01/11/16",
"country": "b4",
"count": 9
},
{
"date": "02/09/16",
"country": "b1",
"count": 3
},
{
"date": "02/09/16",
"country": "b2",
"count": 16
},
{
"date": "02/10/16",
"country": "b5",
"count": 8
},
{
"date": "02/11/16",
"country": "b6",
"count": 4
},
{
"date": "03/09/16",
"country": "b2",
"count": 5
},
{
"date": "03/09/16",
"country": "b1",
"count": 2
},
{
"date": "03/10/16",
"country": "b2",
"count": 62
},
{
"date": "04/09/16",
"country": "b1",
"count": 7
},
{
"date": "04/09/16",
"country": "b3",
"count": 4
},
{
"date": "04/10/16",
"country": "b6",
"count": 6
}
]

The best way to do this might be to change the function that generates tick strings to return from your labels set but keep the underlying data as integers

Hello sir thank u for your reply.i use ticks callback function and return ticks,like the code given below
callback: function(tickValue,index,ticks) {
return ticks[index];
},
but the problem is, it shows the duplicate values of "name" from sample1.json and  "country" from samle2.json on y axis

Thank u very much Sir!!!!! It worked

@prags123 can you provide the code for this chart.
Because i need x-axis some string not time
EX: {"x": "Common Outbound",
"y": "78",
"r": "78",}
{"x": "Common Outbound1",
"y": "160",
"r": "160",}
{"x": "Common inbound",
"y": "271",
"r": "271",}
{"x": "Common inbound1",
"y": "800",
"r": "800",}


Add cake task for nuspec NHibernate version transformation

Fix for issue #409
I added new cake task "Update-Nuspec_Files".
This task change version in all projects nuspecs (normal and symbol).
The result of task - nuspec xml file contains version node, based on semversion.
I also made task "Package" dependant off this new task

Great job @michalkowal.
It was not the intent of the issue, but the idea is good. The nuspec version is actually updated when packing nuget.
   NuGetPack($"{nuspecDir}/{project}.symbols.nuspec", new NuGetPackSettings {
            Version = semVersion,
            ...
        });

The issue was to update the version of NHibernate in the nuspec by means of cake, although now I think that overexertion does not make much sense. Sorry for that!
....
Apart of this, other idea is to keep just one version of NHibernate in shared.msbuild and reference that one from any project!
We can add othe project section in shared.build like this
...
<Project>
    <PropertyGroup Label="Package Versions">
        <NHibernatePackageVersion>5.1.1</NHibernatePackageVersion>
    </PropertyGroup>
</Project>

and then in the projects (csproj) reference the version.
...
  <ItemGroup>
    <PackageReference Include="NHibernate" Version="$(NHibernatePackageVersion)" />
  </ItemGroup>
...

What you think? You can go for this if you like.

What about a version provided right now by GitVersion? Maybe, first off all, set Shared.msbuild version from cake and then build and pack?

I think we should update the nhibernate versión manually in shared.msbuild and pick it up from there for the nuspec.
The version of the project will be followed by gitversion as before.
Thanks!

Ok, finally have it. My fault.
Misunderstanding about NHibernate and FluentNHibernate versions...

@jrgcubano
Please take a look on latest changes.
For me it looks really promising 🙂

Great job @michalkowal! 🥇


Fix TRAVIS_COMMIT_RANGE in .run_chisel_tests, replace ... with ..

This makes "skip chisel tests" work properly
Fixes https://github.com/freechipsproject/firrtl/issues/923 (I think)

This failing is expected due to https://github.com/freechipsproject/firrtl/issues/922, once https://github.com/freechipsproject/firrtl/issues/922 is resolved, we can rerun and it should pass


Feature Request: Save Images as AVIF (as default)

I would like to snap my images as AVIF to get better image quality with the same storage space compared to JPEG. Are there any developments in CameraX to support this file format or even use it by default?

It has to be supported by the device or there's no point since it would involve conversion from JPEG. Most camera apps supporting saving in alternate formats are really just converting from JPEG. That doesn't really make sense.
RAW support would be required to convert to arbitrary formats properly. We can consider supporting other formats once https://github.com/GrapheneOS/Camera/issues/14 is implemented.

It has to be supported by the device or there's no point since it would involve conversion from JPEG. Most camera apps supporting saving in alternate formats are really just converting from JPEG.

@thestinger
Hi there,
I'm using Samsung Galaxy S10 Lite (SM-G770F) Snapdragon 855 here in Qatar.  I've been looking at Your work since the days of CopperHeadOS. I Adore Your Work.
Default Samsung One UI Camera App, I (at the very first) change the Image to Heic & the Video to Hevc.  Is this the same as You have mentioned here that, it's just a conversion from JPEG to HEIC/HEIF for Images & from AVC to HEVC for Videos  in My Device too ?
My Phone is Completely Stock (One Ui 4.0) no root nothing (using it as a normal user).
My Settings for the UI are No Battery Optimization (no App is Optimised, ALL are Unrestricted), No Personalisation from Google (even Usage & Diagnostics, Android Personalisation Service is also off), No Customisation Service, Send Diagnostic Data (by Samsung Account is also turned off).
Screen Font size is completely to the smallest + Screen Zoom to entirely zoomed out,  Font, I've changed from Default to SamsungOne, even in the Samsung Internet Browser in Settings --> Labs --> Font is SamsungOne.


Few more failing object comprehension tests

gkz/LiveScript#639 still isn't fixed...here's a few more failing tests. :(
@gkz PTAL
The test simply throws at the erroneously added .push, which incidentally, the method's argument is what's supposed to be the whole statement.

Thanks for the tests!


how to save the generated qr code as image

hai i tried your  module it is helpful but i have a doubt that how to save the generated qr code as image

please give me response

this module is only writed to demonstrate qrcode.
On Mon, Apr 4, 2016 at 3:16 PM, shaikhussian<EMAIL_ADDRESS>wrote:

please give me response
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/cssivision/react-native-qrcode/issues/10#issuecomment-205169582

can i use on change here

This would require saving the image from a <WebView> component.


Initial attempt for custom EventAggregator

@ystros I'm considering we simply schedule this update for post-AHaH, and implement it properly; I like the idea you've posted above, and agree it will take a fair amount of tweaking to the event system. I'm alright with delaying this, as it will only actually be noticed once melee is done/released.

Conceptually, I like this idea of encapsulating aggregation as it exists today in a more formal way. It does allow us to do more specific aggregation.
I don't think this is necessarily the only way; if we wanted to get to a spot where we don't need to generate aggregate events for everything in the game, there may be an alternative concept where the card itself declares how it wants to aggregate events. e.g.
this.reaction({
    when: {
        aggregate: {
            eventName: 'onCardDiscarded',
            groupBy: event => event.card.controller,
            trigger: event => this.getNumberToDraw(event) > 0 && this.parent.isParticipating()
        }
    }

No new events would be generated; instead, the individual card would create its own psuedo event based on the criteria.
However, I do think that approach would require an entire reworking of how the event system works, so your idea of registering aggregates is probably a more realistic short term goal.

So I've been experimenting a little with how this could look from the card-code perspective before attempting any event engine changes; would be good to agree on a format before I attempt it too. The above suggestion could work, however I'm not the biggest fan of it being a different structure to existing listener formats. My approach would possibly be the following (using TWotW as an example):
this.reaction({
    when: {
        'onCardDiscarded': {
            aggregateBy: event => event.cardStateWhenDiscarded.controller,
            condition: event => this.parent.isParticipating() && this.getNumberToDraw(event.events) > 0
        }
    } ...

This would simply mean its the same "format" as existing triggers, with the only difference being that, within the event engine, we check if it's a function (simple event - legacy) or an object (aggregate/detailed event - new). This would also still let you contain multiple triggers for a single ability.
Up to you whether you think condition or trigger is more appropriate; I simply use condition as it's a more common term for checks like this, especially when relating to triggered abilities :)


Expansion of Charts Functionality

Default:

You need to hover over the bars to say which value they are without context, the Y-axis doesn't tell what the values represent either (in most cases the VPS)
Examples:

Stating the relative performance uplift would be interesting too and print it out below the chart:

If we want to display the values on the chart elements without hovering, that is going to require this plugin https://chartjs-plugin-datalabels.netlify.app/guide/
You can add context by labelling the axes - https://www.chartjs.org/docs/latest/axes/labelling.html

Stating the relative performance uplift would be interesting too and print it out below the chart:

This is going to be kinda difficult because the calculation is going to be different for every dataset.  I could add a feature that you could write javascript code to do the math and it could output the values below but, honestly since that requires manual effort - you might as well just write it in the markdown.


GMap sreen issues

Hi,
I compiled the app with the GMaps in it and found some problems:

On the main screen Gmap preview and options to search a place or stop navi (see photo)
After you put search info where is no additional info on the place (e.g. city, address if the is more then one result and is hard to choose correct)
Navigation doesn't work, after you find place and click on it navi doesn't start.
Map doesn't fit the place on the screen (see photos).  (Look at the side panel on/off). Changing option from the app to show on the full screen
Refresh rate is 1FPS or less. Disappointment :( Also very often maps just hangs and don't refresh the image for couple of seconds.

Link with the photos: https://photos.app.goo.gl/NTFDtozeVWNhiBD39

I just pushed a fix for the main menu display bug, please test it out!
Note that there isn't a navigation experience, because reproducing the Google Navigation experience is against the EULA.
I have some ideas for the rest of the issues, stay tuned!

Hi, I tested this. See photo below. It's better but still rest of the issues persists.

GMaps in the full screen mode.  Still, there is some resolution problem, as the map is not coverng full display.
Sometime, there is also an issue that GMaps dont get fix (gsp data) and present as bellow only blue splash screen.

Resolutions of NBT i found are:
800 x 480
1280 x 480
1440 x 540
1920 x 720
Side panel is 30% wide according to what I found.
So I suppose the app should ask for resolution and set exactly that size of GMap.

Thank you for this! I can easily get the resolution, you are correct. I haven't found a way to tell whether the sidebar is open, which is why it's a manual option.
I'd have to figure out what margin to take away because of the left and top bars. I opened ticket #50 to track the size issue specifically.
Thank you again!

Send me the file where map is set to 100% of the resolution. I will test it on 2 screens (1920px and 1280px wide). I'll try to calculate padding if needed.

Brilliant idea! Test out some changes in this file, with mapWidth and mapHeight. I apologize for the poor code in this file.

I played a bit with the values in the file on the biggest resolution screen.
For now it was based on hardcoded values and e.g. screen with resolution 1920 suits map with width 1860-1880px. Height should be around 690-700px.
I don't know if map can be positioned with out this padding
Did you documented somewhere what each of this properties (setProperty(int, value)) mean:
viewFullMap.setProperty(20, -36)    // positionX
viewFullMap.setProperty(21, -10)    // positionY
viewFullMap.setProperty(9, mapWidth)
viewFullMap.setProperty(10, mapHeight)
I also got some strange behaviour withe the map images as you capture image in resolution 1000x400 (VirtualDisplayScreenCapture):

More questions:

what was the purpose here rhmiWidth - 280 of substructing 280px (side widget?)
and why you chose in this line the min value ?
"menuMap" ->map.changeImageSize(720, 360) - brake the main screen and I dont get any map displayed.
i think the function private fun sendImage(bitmap: Bitmap) is a problem here, as it checks for sized that are odd for newer screens and dont correlate with values I changed upwards.

Wow, this is some old code :) Let me see if I can remember why I did things this way...
The internal screen resolution, as you discovered, is set in the VirtualDisplayScreenCapture. Those first pictures you posted of the blurry map shouldn't be related to that, because the location blue dot and the Google logo are rendered at the proper quality.
This app's MapView doesn't have access to the official Google Map app's cached tiles, so it's much more dependent on the internet connection, and perhaps that's what is causing a blurry map?
I haven't figured out too much about the properties, beyond their IDs and names and some example values I've seen, which I've saved at the bottom of this page.
I think subtracting 280 was my estimation of how many pixels are lost to the left edge of the screen. I didn't test too hard with it though, I just extrapolated from my 1280 screen looking good with an 1000 image.
I use the min() expression to use that calculated width if the screen's width is small, or the 700/1000 size if the screen is big enough.
menuMap is the little preview map in the menu. From the testing in my car, I could only get it up to a height of 90. It's shown inside a list widget, and each list row can only be two lines of text tall, it seems. You probably only want to change the mainMap size with the mapWidth and mapHeight variables.
sendImage uses this maximum height of 90 to decide whether an incoming frame from the map virtual display should go to the menu or the main screen. There's a slight lag between changing the mode and the next frame using the new size, so I examine the image itself to decide which widget to send it to.
You should try editing the VirtualDisplayScreenCapture.compressBitmap() function to use a lower JPEG quality. From some examples I've tried, 85 is way overkill and I don't even notice a problem with 50, which appears to reduce the image size, and thus frame transfer time, by 33%. If that works out, please try a few values and let me know what quality value looks like a good compromise between speed and clarity! I have plans to make it dynamically lower-quality when you are zooming in and out.
Thank you again for testing this with me :)

Hi, I've already start playing with size and quality from VirtualDisplayScreenCapture.
I decrease quality to 65 and also dpi to 200 and increase size to 1920x720.
Negative values to position only move the border box reserve by "back arrow" on the left and multimedia info on top right corner. (as on the pic above). So to get it working as regular map we have to figure out hot to change box model, and how to pass positioning absolute instead of relative.
The page rhmi-resources I already knew and used.

I almost finished testing it with gmaps. Results are quite good. I get around 2-3 fps.
Bug, i see is that after I find a result it neither shown on map nor start navi.

I found optimal settings and map images size to get nice results of presenting map on the idrive screen.
Map is presented in the full screen mode (exactly the same as original map, no black space around), with and without sidebar, refresh rate in ma case was 2-3 FPS on my setup (highest resolution, mid-range phone).
Later today I'll prepare files and comment changes I've made and prepare pull request.

If you manage to merge the PR and add missing stuff before weekend I'd be able to test the app in 1-2 more different BMW cars.
@All we need more testers especially with different resolutions (oldest and newest cars).
I tested it in both resolutions:
1280 x 480
1440 x 540

Ah, I also realized the cause of your point about the map freezing and not updating for several seconds: It's because I only request the phone's position every 5 seconds. I can change that easily.

Let me know where to change it so I can test it in deeper.

Hello,
I have a BMW series 5 from 2016, with navigation professional, NBT (not NBT EVO ! ).
I rebuild the app today and try it in the car and and found the following issues:

there is a diagonal red line starting from the left of the screen to the buttom- see attached image. Is any way to remove it ?
is any way to show the map in really full screen ? I can do some tests if needed.
searching for places worked fine after I connect the phone to the car, but after i went out and then back to gmap, it does not find any places anymore. Disconnect everything and reconned fix the problem, but i had this issue more than once
searching for any places does not make sense if you cannot navigate to them. Is any way to do that, something like we did to enable google maps .. ?

Whoa I didn't get any notifications for this thread, I sincerely apologize!
@jezikk82 The place to change the location update is here. When I add the ability to use the car's GPS in #48, I want to update more frequently.
The orange line is something I've never seen before, but I've been developing mainly for Mini. Maybe it is a line connecting to the menu that I use to detect scroll events? Try changing the position of the list to some negative number or straight down with an X of 0.
I will investigate this bug about losing the navigation status. I intend it to redraw the navigation whenever it shows the map after inactivity, and there's even code to redraw navigation after the map object is recreated when restarting the projection!
I will be focusing a lot of attention on this module for version 1.4, and I've tagged this Issue because of all the good contributions in it.

I dont have in 3 different cars any orange line. Maybe it's connected with older NBT.
p.s. I also lost notifications on this topics. :/

I did some tests and play with the values of positionX and positionY from MapView.kt. The best option found so far to hide that orange line was when I set mapInputList.setProperty(20,-50000) and mapInputList.setProperty(21,0). See attached picture.

@c-radu That looks so much better, thanks for working on this!
I just merged a big refactor of the Maps UI code to help with external contributions. Please submit a PR to change the inputList positioning in this file and I'll merge your work.

@c-radu Would you still like to provide a PR for this fix? I'd love to give you the credit for fixing this bug!

Hi, I tested your last updated and is almost everything as it should be.
Small adjustments I'd recommend:

GMapController.kt - set startZoom to value ~ 15/currentZoom ~18
FullImageView.kt

if we want to achieve result like in factory map we should set as follow: imageComponent.setProperty(RHMIProperty.PropertyId.POSITION_Y.id, -80) and LEFT_MARGIN = 0
if we want effect as we have now we need to subtract 80px from rhmiHeight for top bar.

Moreover, if you can please add option to change map type between regular map and hybrid map.
(All you need it to add map.setMapType(GoogleMap.MAP_TYPE_HYBRID) in GMapProjection.kt to get hybrid map work)

I definitely prefer the full screen view that the -80 POSITION_Y provides in your car. In my ID5/6 generation Mini, the car's map hides most of the status bar, but the app's map has a status bar covering up the whole screen.
Another very strange behavior in my car is: it claims to have an hmi_height of 480, and so the image height is set to this 480, but moving it up -80 under the status bar shows a large gap underneath.
I wonder if my car is secretly a 1440x540 model and only reports an HMI of 1280x480 because that's the allowed app area, what with the curve-y side bars? Does your 1440x540 car report that value in the capabilities view? (Click through the Waiting for Connection bar and Show Advanced Settings to view the list). Do you have an a4axl: true value different than mine?

I have a4axl: false in g30 idrive 6.

I've prepared a module to provide different padding measurements for different models of cars. I've measured my MINI ID5 XL car (it was in fact a 1440x540 screen) and made guesses on your cars, can you confirm the exact numbers that fit your cars? Are you able to test ID4, or can @c-radu help with measuring the ID4 padding?
I'll add those other map options in a separate commit(s)!

I've prepared a module to provide different padding measurements for different models of cars. I've measured my MINI ID5 XL car (it was in fact a 1440x540 screen) and made guesses on your cars, can you confirm the exact numbers that fit your cars? Are you able to test ID4, or can @c-radu help with measuring the ID4 padding?
I'll add those other map options in a separate commit(s)!

@hufman In following days I'll try to test it in G30 (BMW5), G01 (X3) - both have the 1440x540 screen&ID6 and F48 (X1) with 1280x480 screen&ID5 and adjust the values.
Thanks for introducing the hybrid mode & 3d buildings. Share feedback after I finish testing.

@hufman In following days I'll try to test it in G30 (BMW5), G01 (X3) - both have the 1440x540 screen&ID6 and F48 (X1) with 1280x480 screen&ID5 and adjust the values.
Thanks for introducing the hybrid mode & 3d buildings. Share feedback after I finish testing.

Hmmm I think this is complete, do you agree?

Yes, I think so. Nobody reported nothing about it.