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

Make core extra use ansible-core #1720

Merged
merged 1 commit into from Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -84,7 +84,7 @@ repos:
args: ["--strict"]
additional_dependencies:
- Sphinx>=3.1.2
- ansible-base
- ansible-core
- enrich
- flaky
- pytest
Expand All @@ -107,7 +107,7 @@ repos:
hooks:
- id: pylint
additional_dependencies:
- ansible-base
- ansible-core
- docutils
- enrich
- flaky
Expand Down
4 changes: 2 additions & 2 deletions docs/installing.rst
Expand Up @@ -29,8 +29,8 @@ related to containers and use the discussions_ forum instead.
specific version of Ansible. You need to either install the desired version
of Ansible yourself or mention one of the helper extras:

* ``core`` - will install the latest version of ansible-base 2.10
* ``community`` - will install the latest version of ansible 2.10 with community collections
* ``core`` - will install the latest version of ansible-core 2.11+
* ``community`` - will install the latest version of ansible community edition

Using pip or pipx
-----------------
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.in
@@ -1,4 +1,4 @@
ansible-base # needed by rules_table_generator
ansible-core # needed by rules_table_generator
myst-parser
pipdeptree
pytest
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Expand Up @@ -5,7 +5,7 @@
# pip-compile --extra=yamllint --no-annotate --output-file=docs/requirements.txt docs/requirements.in setup.cfg
#
alabaster==0.7.12
ansible-base==2.10.13
ansible-core==2.11.4
ansible-pygments==0.1.0
attrs==21.2.0
babel==2.9.1
Expand Down Expand Up @@ -39,6 +39,7 @@ pytest==6.2.4
pytz==2021.1
pyyaml==5.4.1
requests==2.26.0
resolvelib==0.5.4
rich==10.7.0
ruamel.yaml==0.17.11 ; python_version >= "3.7"
ruamel.yaml.clib==0.2.6
Expand Down
2 changes: 1 addition & 1 deletion examples/roles/dependency_in_meta/meta/main.yml
Expand Up @@ -22,7 +22,7 @@ dependencies:
name: nginx_role

# from GitLab or other git-based scm
- src: git@gitlab.company.com:mygroup/ansible-base.git
- src: git@gitlab.company.com:mygroup/myrepo.git
scm: git
version: "0.1" # quoted, so YAML doesn't parse this as a floating-point value

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -95,7 +95,7 @@ community =
ansible>=2.10 # GPLv3+
# this will move to latest stable ansible as soon that is released
core =
ansible-base>=2.10 # GPLv3+
ansible-core>=2.11.4 # GPLv3+
ssbarnea marked this conversation as resolved.
Show resolved Hide resolved
# will install ansible from devel branch, may break at any moment.
; Disabled due to https://github.com/pypa/twine/issues/726
; devel =
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Expand Up @@ -14,8 +14,7 @@ description =
Run the tests under {basepython} and
devel: ansible devel branch
ansible29: ansible 2.9
core: ansible-base 2.10
py: ansible-core 2.11
core: ansible-core 2.11+
ssbarnea marked this conversation as resolved.
Show resolved Hide resolved
extras =
yamllint
core: core
Expand Down