Skip to content

Commit

Permalink
Merge pull request #323 from AlbertDeFusco/release0.10
Browse files Browse the repository at this point in the history
Release 0.10
  • Loading branch information
AlbertDeFusco authored May 14, 2021
2 parents a82a020 + 9adb337 commit dc5fae3
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,9 @@ htmlcov
CHANGELOG.temp

examples/*/envs

## testing outputs
cov.xml
coverage.xml
junit.xml
/fake_project
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,50 @@

We [keep a changelog.](http://keepachangelog.com/)

## Version 0.10.0

### Issues Closed

* [Issue 77](https://github.com/Anaconda-Platform/anaconda-project/issues/77) anaconda-project download feature request ([PR 217](https://github.com/Anaconda-Platform/anaconda-project/pull/217))
* [Issue 148](https://github.com/Anaconda-Platform/anaconda-project/issues/148) Packages installed when none requested ([PR 322](https://github.com/Anaconda-Platform/anaconda-project/pull/322))
* [Issue 151](https://github.com/Anaconda-Platform/anaconda-project/issues/151) anaconda-project-lock.yml does not contain pip depdendencies ([PR 317](https://github.com/Anaconda-Platform/anaconda-project/pull/317))
* [Issue 172](https://github.com/Anaconda-Platform/anaconda-project/issues/172) install pip packages from git ([PR 317](https://github.com/Anaconda-Platform/anaconda-project/pull/317))
* [Issue 181](https://github.com/Anaconda-Platform/anaconda-project/issues/181) list-packages excludes pip packages ([PR 317](https://github.com/Anaconda-Platform/anaconda-project/pull/317))
* [Issue 196](https://github.com/Anaconda-Platform/anaconda-project/issues/196) support multi-line commands ([PR 317](https://github.com/Anaconda-Platform/anaconda-project/pull/317))
* [Issue 252](https://github.com/Anaconda-Platform/anaconda-project/issues/252) Packages installed when none requested ([PR 322](https://github.com/Anaconda-Platform/anaconda-project/pull/322))
* [Issue 253](https://github.com/Anaconda-Platform/anaconda-project/issues/253) Docs rendering problem

### Enhancements

* [PR 306](https://github.com/Anaconda-Platform/anaconda-project/pull/306) Build docker images with s2i
* [PR 311](https://github.com/Anaconda-Platform/anaconda-project/pull/311) Support `default` command alias with `anaconda-project prepare --command default` if no command is acutally named `default`
* [PR 313](https://github.com/Anaconda-Platform/anaconda-project/pull/313) Add `--pack-envs` to `anaconda-project archive` to add Conda-packed envs to the project archive
* [PR 317](https://github.com/Anaconda-Platform/anaconda-project/pull/317) Improve pip package support
* [PR 322](https://github.com/Anaconda-Platform/anaconda-project/pull/322) `anaconda-project init` makes an empty environment by default
* [PR 323](https://github.com/Anaconda-Platform/anaconda-project/pull/323) Changelog and maintenance

### Bug fixes

* [PR 312](https://github.com/Anaconda-Platform/anaconda-project/pull/312) Do not add `.projectignore` if `.gitignore` is found

## Version 0.9.1

### Issues Closed

* [Issue 270](https://github.com/Anaconda-Platform/anaconda-project/issues/270) read-only environments ([PR 299](https://github.com/Anaconda-Platform/anaconda-project/pull/299))


### Enhancements

* [PR 299](https://github.com/Anaconda-Platform/anaconda-project/pull/299) Support for read-only environments
* [PR 307](https://github.com/Anaconda-Platform/anaconda-project/pull/307) Support .readonly file in environments
* [PR 309](https://github.com/Anaconda-Platform/anaconda-project/pull/309) Add option to replace read-only environment

## Version 0.9.0

### Issues Closed

* [Issue 190](https://github.com/Anaconda-Platform/anaconda-project/issues/238) anaconda-project commands in a subdrectory ([PR 215](https://github.com/Anaconda-Platform/anaconda-project/pull/215))
* [Issue 238](https://github.com/Anaconda-Platform/anaconda-project/issues/238) version file not updated for 0.8.4 ([PR 237](https://github.com/Anaconda-Platform/anaconda-project/pull/237))
* [PR 245](https://github.com/Anaconda-Platform/anaconda-project/pull/245) Fix prepare action when using global "dependencies:"
* [Issue 247](https://github.com/Anaconda-Platform/anaconda-project/issues/247) Graceful handling of read-only environments ([PR 250](https://github.com/Anaconda-Platform/anaconda-project/pull/250))
Expand All @@ -23,6 +54,7 @@ We [keep a changelog.](http://keepachangelog.com/)

### Enhancements

* [PR 215](https://github.com/Anaconda-Platform/anaconda-project/pull/215) Run anaconda-project commands from a subdirectory
* [PR 244](https://github.com/Anaconda-Platform/anaconda-project/pull/244) Templating for commands
* [PR 257](https://github.com/Anaconda-Platform/anaconda-project/pull/257) list default command *only*
* [PR 265](https://github.com/Anaconda-Platform/anaconda-project/pull/265) 'default' is an alias for the actual default command
Expand Down
4 changes: 4 additions & 0 deletions anaconda_project/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ def main():
Conda expects us to take no args and return an exit code.
"""
return cli_main.main()


if __name__ == '__main__':
main()
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Benefits of Project
``anaconda-project run``."

* Project facilitates collaboration by ensuring that all users
working on a project have the same dependencies in their conda
working on a project have the same dependencies in their Conda
environments. Project automates environment creation and
verifies that environments have the right versions of packages.

Expand Down Expand Up @@ -70,7 +70,7 @@ Project automates project setup by establishing all prerequisite
conditions for the project's commands to execute successfully.
These conditions could include:

* Creating a conda environment that includes certain packages.
* Creating a Conda environment that includes certain packages.
* Prompting the user for passwords or other configuration.
* Downloading data files.
* Starting extra processes such as a database server.
Expand Down
2 changes: 2 additions & 0 deletions docs/source/user-guide/tasks/create-project-archive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ formats (``.zip``, ``.tar.gz``, and ``.tar.bz2``)::
Experimental: Packaging environments
====================================

*Available since version 0.10.0*

There are cases where it may be preferable to package the
Conda environments directly into the archive. For example,
you may want to support uses where the target system cannot
Expand Down
6 changes: 6 additions & 0 deletions docs/source/user-guide/tasks/create-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ Creating a project
see what the file looks like for an empty project. As you work
with your project, the ``anaconda-project`` commands you use
will modify this file.

As of version 0.10.0 ``anaconda-project init`` will initialize an
empty environment. No packages will be listed in the ``pakcages:`` key.
To replicate this behavior on older versions run::

anaconda-project init --empty-environment
2 changes: 1 addition & 1 deletion docs/source/user-guide/tasks/docker-image.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Creating Docker Images
======================

*Available since version XYZ*
*Available since version 0.10.0*

Use the ``dockerize`` command to create a Docker image from
the project. Images created from Anaconda Projects are
Expand Down
2 changes: 1 addition & 1 deletion docs/source/user-guide/tasks/work-with-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Adding packages
***************

To add packages to your project that are not yet in your
``packages:`` list there are two appraoches.
``packages:`` list there are two approaches.

#. From within your project directory, run::

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ markers =
slow: marks tests as slow (deselect with '-m "not slow"')
norecursedirs= .* *.egg* build bin dist conda.recipe scripts examples
addopts =
-vrfe
-vvrfe
--durations=10
--cov-config=.coveragerc
--cov-report=xml:cov.xml
Expand Down

0 comments on commit dc5fae3

Please sign in to comment.