Skip to content

Commit

Permalink
refactor: introduce conda-forge as default channel
Browse files Browse the repository at this point in the history
  • Loading branch information
tunayokumus committed Jan 25, 2023
1 parent da14a8f commit 5773952
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.0
current_version = 0.4.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion poetry2conda/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Note the version managed by bump2version.
# Do not change it manually here, use bump2version to change it.
__version__ = "0.3.0"
__version__ = "0.4.2"
4 changes: 3 additions & 1 deletion poetry2conda/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,16 @@ def to_yaml_string(
conda_yaml = f"""
###############################################################################
# NOTE: This file has been auto-generated by poetry2conda
# poetry2conda version = {__version__}
# poetry2conda(forked by tunayokumus) version = {__version__}
# date: {date_str}
###############################################################################
# If you want to change the contents of this file, you should probably change
# the pyproject.toml file and then use poetry2conda again to update this file.
# Alternatively, stop using (ana)conda.
###############################################################################
name: {env_name}
channels:
- conda-forge
dependencies:
{deps_str}
""".lstrip()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "poetry2conda"
# Note the version managed by bump2version.
# Do not change it manually here, use bump2version to change it.
version = "0.3.0"
version = "0.4.2"
description = "Convert pyproject.toml to environment.yaml"
authors = ["David Ojeda <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 5773952

Please sign in to comment.