Project-local environments sounds like exactly what I am after. Great to 
hear its being worked on. I guess we will need to wait until 0.6 for Pkg3?

On Saturday, 5 November 2016 09:03:45 UTC+10, Stefan Karpinski wrote:
>
> In Pkg3, if your script uses a particular environment, which can be 
> project-local (i.e. local to the repository the script is in) then as long 
> as you don't change the version of anything in that environment, it won't 
> change. I wasn't planning on having a way of indicating a particular 
> version in the source code at the point of loading something, however.
>
> On Fri, Nov 4, 2016 at 6:30 PM, Tom Breloff <t...@breloff.com 
> <javascript:>> wrote:
>
>> Not that I know of. Hopefully the next generation package manager (Pkg3) 
>> will enable this sort of conditional pinning. It should at least enable 
>> dual environments. 
>>
>>
>> On Friday, November 4, 2016, Tom Lee <ma...@tomlee.id.au <javascript:>> 
>> wrote:
>>
>>> Hi all,
>>>
>>> Is there any way to specify that "using" or "import" should load a 
>>> specific package version without pinning the package to a particular 
>>> version globally? I would like to prevent my older scripts breaking when 
>>> packages are updated while still using the latest version by default.
>>>
>>> Thanks,
>>>
>>> Tom
>>>
>>
>

Reply via email to