Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py27-lint is broken on 2016Q4 #454

Closed
sjorge opened this issue Jan 20, 2017 · 3 comments
Closed

py27-lint is broken on 2016Q4 #454

sjorge opened this issue Jan 20, 2017 · 3 comments

Comments

@sjorge
Copy link

sjorge commented Jan 20, 2017

[!]# pylint-2.7
Traceback (most recent call last):
  File "/opt/local/bin/pylint-2.7", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3019, in <module>
    @_call_aside
  File "/opt/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master
    ws.require(__requires__)
  File "/opt/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 963, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'backports.functools_lru_cache' distribution was not found and is required by pylint

Not found a fix yet

@sjorge
Copy link
Author

sjorge commented Jan 20, 2017

Installing backports.functools-lru-cache via pip fixed the problem.
It looks like it is not available in pkgsrc so probably a new package needs to be create as a dependency for the newer pylint.

@mamash
Copy link

mamash commented Feb 28, 2017

Yep, thanks for the tip. I just created a package py-lint in pkgsrc and all its dependencies. It will first show up in the 2017Q1 pkgsrc release though.

@mamash mamash closed this as completed Feb 28, 2017
@mamash
Copy link

mamash commented Mar 1, 2017

Just realized I was thrown off by 'py27-lint' and didn't see the package exists in pkgsrc as devel/py-pylint. I integrated my fixes into the existing one, but since a new package was added, the change will still show up in 2017Q1 only.

jperkin pushed a commit that referenced this issue Apr 27, 2017
2.7.0
-----

- #p450: Stop after the first installdeps and first testenv create hooks
  succeed.
- #271 and #464: Improve environment information for users.
- #464: Fix incorrect egg-info location for modified package_dir in setup.py.
- #431: Add 'LANGUAGE' to default passed environment variables.
- #455: Add a Vagrantfile with a customized Arch Linux box for local testing.
- #454: Revert #407, empty commands is not treated as an error.
- #446: (infrastructure) Travis CI tests for tox now also run on OS X now.

2.6.0
-----

- add "alwayscopy" config option to instruct virtualenv to always copy
  files instead of symlinking.
- pass setenv variables to setup.py during a usedevelop install.
- replace all references to testrun.org with readthedocs ones.
- fix #323 by avoiding virtualenv14 is not used on py32
- add Python 3.6 to envlist and CI.
- fix glob resolution from TOX_TESTENV_PASSENV env variable

2.5.0
-----

- slightly backward incompatible: fix issue310: the {posargs} substitution
  now properly preserves the tox command line positional arguments. Positional
  arguments with spaces are now properly handled.
- fix #359: add COMSPEC to default passenv on windows.
- add support for py36 and py37 and add py36-dev and py37(nightly) to
  travis builds of tox.
- fix #348: add py2 and py3 as default environments pointing to
  "python2" and "python3" basepython executables.  Also fix #347 by
  updating the list of default envs in the tox basic example.
- make "-h" and "--help-ini" options work even if there is no tox.ini,
- add {:} substitution, which is replaced with os-specific path
  separator
- fix #305: ``downloadcache`` test env config is now ignored as pip-8
  does caching by default.
- output from install command in verbose (-vv) mode is now printed to console instead of
  being redirected to file
- fix #399.  Make sure {envtmpdir} is created if it doesn't exist at the
  start of a testenvironment run.
- fix #316: Lack of commands key in ini file is now treated as an error.
  Reported virtualenv status is 'nothing to do' instead of 'commands
  succeeded', with relevant error message displayed.

2.4.1
-----

- fix issue380: properly perform substitution again.

2.4.0
-----

- remove PYTHONPATH from environment during the install phase because a
  tox-run should not have hidden dependencies and the test commands will also
  not see a PYTHONPATH.
- fix issue352: prevent a configuration where envdir==toxinidir and
  refine docs to warn people about changing "envdir".
- fix issue375, fix issue330: warn against tox-setup.py integration as
  "setup.py test" should really just test with the current interpreter.
- fix issue302: allow cross-testenv substitution where we substitute
  with ``{x,y}`` generative syntax.
- fix issue212: allow escaping curly brace chars "\{" and "\}" if you need the
  chars "{" and "}" to appear in your commands or other ini values.
- addresses issue66: add --workdir option to override where tox stores its ".tox" directory
  and all of the virtualenv environment.
- introduce per-venv list_dependencies_command which defaults
  to "pip freeze" to obtain the list of installed packages.
- close issue66: add documentation to jenkins page on how to avoid
  "too long shebang" lines when calling pip from tox.
- new list_dependencies_command to influence how tox determines
  which dependencies are installed in a testenv.
- (experimental) New feature: When a search for a config file fails, tox tries loading
  setup.cfg with a section prefix of "tox".
- fix issue275: Introduce hooks ``tox_runtest_pre``` and
  ``tox_runtest_post`` which run before and after the tests of a venv,
  respectively.
- fix issue317: evaluate minversion before tox config is parsed completely.
- added the "extras" environment option to specify the extras to use when doing the
  sdist or develop install.
- use pytest-catchlog instead of pytest-capturelog (latter is not
  maintained, uses deprecated pytest API)

2.3.2
-----

- fix issue314: fix command invocation with .py scripts on windows.
- fix issue279: allow cross-section substitution when the value contains
  posargs.

2.3.1
-----

- fix issue294: re-allow cross-section substitution for setenv.

2.3.0
-----

- DEPRECATE use of "indexservers" in tox.ini.
- fix issue285: make setenv processing fully lazy to fix regressions
  of tox-2.2.X and so that we can now have testenv attributes like
  "basepython" depend on environment variables that are set in
  a setenv section.
- allow "#" in commands.
- fix issue289: fix build_sphinx target
- fix issue252: allow environment names with special characters.
- introduce experimental tox_testenv_create(venv, action) and
  tox_testenv_install_deps(venv, action) hooks to allow
  plugins to do additional work on creation or installing
  deps.
- internal: push some optional object creation into tests because
  tox core doesn't need it.

2.2.1
-----

- fix bug where {envdir} substitution could not be used in setenv
  if that env value is then used in {basepython}.

2.2.0
-----

- fix issue265 and add LD_LIBRARY_PATH to passenv on linux by default
  because otherwise the python interpreter might not start up in
  certain configurations (redhat software collections).
- fix issue246: fix regression in config parsing by reordering
  such that {envbindir} can be used again in tox.ini.
- fix issue99: the {env:...} substitution now properly uses environment
  settings from the ``setenv`` section.
- fix issue281: make --force-dep work when urls are present in
  dependency configs.
- fix issue174: add new ``ignore_outcome`` testenv attribute which
  can be set to True in which case it will produce a warning instead
  of an error on a failed testenv command outcome.
- fix issue280: properly skip missing interpreter if
  {envsitepackagesdir} is present in commands.
jperkin pushed a commit that referenced this issue Jun 13, 2017
=== 4.1.0
=== 4.1.0.rc1

 * ProxyJump support [Ryan McGeary, #500]
 * Fix agent detection on Windows [Christian Koehler, #495]

=== 4.1.0.beta1

 * Fix nil error when libsodium is not there [chapmajs ,#488]
 * SSH certificate support for client auth [David Bartley, #485]

=== 4.0.1
=== 4.0.1.rc2

 * ENV["HOME"] might be empty so filter non expandable paths [Matt Casper, #351]

=== 4.0.1.rc1

 * support of rbnacl 4.0 and better error message [#479]
 * support include in config files [Kimura Masayuki, #475]
 * fixed issue with ruby 2.2 or older on windows [#472]

=== 4.0.0
=== 4.0.0.rc3

 * parse `+` character in config files [Christoph Lupprich, #470, #314]

=== 4.0.0.rc2

 * Fixed OpenSSL 2.0/Ruby 2.4.0 warnings [Miklós Fazekas, #468]
 * Added ssh-ed25519 to KnownHosts:SUPPORTED_TYPE [detatka-kuzlatka-otevrete, Miklós Fazekas, #459]
 * Allow nil for :passhrase and passing in nil option is now a depreaction warning [Miklós Fazekas, #465]

=== 4.0.0.rc1

 * Allow :password to be nil for capistrano v2 compatibility [Will Bryant, #357]
 * In next_packet if prefer consuming buffer before filling it again if we have enough data [Miklós Fazekas, #454]

=== 4.0.0.beta4

 * Added exitstatus method to exec's return [Miklós Fazekas, #452]
 * Don't raise from exec if server closes transport just after channel close [Miklós Fazekas, #450]
 * Removed java_pageant, as jruby should be using regular pagent impl [Miklós Fazekas, ]
 * Use SSH_AUTH_SOCK if possible on windows (cygwin) [Miklós Fazekas, Martin Dürst, #365, #361]
 * HTTPS proxy support [Marcus Ilgner, #432]
 * Supports ruby 2.4.0.dev new exception type from OpenSSL::PKey.read

=== 4.0.0.beta3

 * Fix Net::SSH::Disconnect exceptions when channels are closed cleanly [Miklos Fazekas, #421, #422]

=== 4.0.0.beta2

 * Fix raiseUnlessLoaded undefined ERROR issue [Miklos Fazekas, #418]

=== 4.0.0.beta1

* Fix pageant [elconas, #235]
* Relaxed rbnacl,rbnacl-selenium contstraints ang give better errors about them [Miklos Fazekas, #398]
* Fix UTF-8 encoding issues [Ethan J. Brown, #407]

=== 4.0.0.alpha4

* Experimental event loop abstraction [Miklos Fazekas]
* RbNacl dependency is optional [Miklos Fazekas]
* agent_socket_factory option [Alon Goldboim]
* client sends KEXINIT, it doesn't have to wait for server [Miklos Fazekas]
* better error message when option is nil [Kane Morgan]
* prompting can be customized [Miklos Fazekas]

=== 4.0.0.alpha3

* added max_select_wait_time [Eugene Kenny]

=== 4.0.0.alpha2

* when transport closes we're cleaning up channels [Miklos Fazekas]

=== 4.0.0.alpha1

* ed25519 key support [Miklos Fazekas]
* removed camellia [Miklos Fazekas]

=== 3.1.0
=== 3.1.0.rc1

* fix Secure#verify [Jean Boussier]
* use the smallest of don't spend longer time than keepalive if it's configured [Eugene Kenny]

=== 3.1.0.beta3

* forward/on_open_failed should stop listning closed socket otherwise it locks #269 [Miklos Fazekas,Scott McGillivray]
* fix incorrect pattern handling in config files #310 [Miklos Fazekas]

=== 3.1.0.beta2

* trying to execute something on a not yet opend channel throws nicer messag [Miklos Fazekas]
* calling close on a not opened channel marks the channel for close [Miklos Fazekas]
* read keepalive configuration from ssh config files [Miklos Fazekas]
* send client version on hadshake before waiting for server to reduce handshake time [Miklos Fazekas]
* allow custom Net::SSH::KnownHosts implementations [Jean Boussier]
* memoize known host so we only search it once per session [Jean Boussier, Miklos Fazekas]

=== 3.0.2
=== 3.0.2.rc1

* fixed rare WaitWritable error with proxy commands [Miklos Fazkas, Andre Meij]]
* if Net::SSH.start user is nil and config has no entry we default to Etc.getlogin
* Bugfix: CHANNEL_CLOSE was sent before draining ouput buffer #280 [Christopher F. Auston]

=== 3.0.1
=== 3.0.1.rc1

* Breaking change from 2.* series: exec! without block now returns empty string instread of nil if command has no output [net-ssh/net-ssh#273]
* Support remote_user as %r in proxy commands [Dominic Scheirlinck]
* Raise Net::SSH::ConnectionTimeout from connection timeout [Carl Hoerberg]

=== 3.0.0.rc1

* SemVer: Major version change because of dropping of ruby 1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants