Giter Club home page Giter Club logo

perl5-virtualenv's People

Contributors

manwar avatar orkunkaraduman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

manwar mattias-p

perl5-virtualenv's Issues

Korn shell compatibility

I've been using App::Virtualenv for several years now and it works really nice for me. It's got one rough edge though that trips me up consistently. There's a single line that isn't compatible with the shell I'm using (mksh). I don't create new environments very often but I always forget I have to patch that one line. Once patched I haven't noticed any other problems.

The incompatible line is this one:

SOURCE=${BASH_SOURCE:-$0}

I've struggled to come up with a portable replacement. The best I've come up with so far is this little atrocity:

SOURCE="`lsof -p $$ -Fn | grep '^n' | cut -b2- | while read f ; do test -f $f && echo $f ; done | tail -1`"

Anyways, thanks for providing a great tool!

Edit: Updated the replacement for FreeBSD compatibility.

Experimental keys on scalar is now forbidden

Tests fail with perl >= 5.24:

#   Failed test 'use App::Virtualenv;'
#   at t/App-Virtualenv.t line 7.
#     Tried to use 'App::Virtualenv'.
#     Error:  Experimental keys on scalar is now forbidden at /home/cpansand/.cpan/build/2017030315/App-Virtualenv-2.00-0/blib/lib/App/Virtualenv.pm line 353.
# Compilation failed in require at t/App-Virtualenv.t line 7.
# BEGIN failed--compilation aborted at t/App-Virtualenv.t line 7.
App::Virtualenv::Utils is deprecated
App::Virtualenv::Module is deprecated
App::Virtualenv::Piv is deprecated
# Looks like you failed 1 test of 4.
t/App-Virtualenv.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 

(Maybe, if this is fixed, the module could run again for perl < 5.14)

Deprecation warnings with perl 5.38.2

Tried virtualenv today and get following warnings:

# perl -MApp::Virtualenv -erun -- venv
... a lot noise :-)

# venv/bin/perl
given is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 320.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 322.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 332.
given is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 383.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 385.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 393.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 398.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 402.
when is deprecated at /usr/local/share/perl/5.38.2/App/Virtualenv.pm line 406.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.