-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add/copyright_file_generation
Signed-off-by: Christian Henkel <[email protected]>
- Loading branch information
Showing
18 changed files
with
119 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,19 @@ | ||
name: bloom-ci | ||
--- | ||
name: Run tests | ||
|
||
on: | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: ['master'] | ||
pull_request: | ||
branches: ['*'] | ||
schedule: | ||
- cron: '40 7 * * 0' | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
python: [3.7, 3.8, 3.9] | ||
include: | ||
- os: ubuntu-18.04 | ||
python: 2.7 | ||
- os: ubuntu-18.04 | ||
python: 3.6 | ||
name: bloom tests | ||
runs-on: ${{matrix.os}} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{matrix.python}} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{matrix.python}} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
python -m pip install PyYAML argparse empy rosdep vcstools catkin-pkg python-dateutil packaging | ||
python -m pip install nose coverage pep8 | ||
- name: Run tests | ||
run: | | ||
BLOOM_VERBOSE=1 python setup.py nosetests -s --tests test | ||
pytest: | ||
uses: ros-infrastructure/ci/.github/workflows/pytest.yaml@main | ||
with: | ||
matrix-filter: del(.matrix.os[] | select(contains("windows"))) | ||
yamllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: yamllint -f github . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
name: Run tests periodically | ||
|
||
on: # yamllint disable-line rule:truthy | ||
schedule: | ||
- cron: '40 7 * * 0' | ||
|
||
jobs: | ||
pytest: | ||
uses: ./.github/workflows/ci.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,40 +3,37 @@ | |
import sys | ||
from setuptools import find_packages, setup | ||
|
||
install_requires = [ | ||
'catkin_pkg >= 0.4.3', | ||
'setuptools', | ||
'empy', | ||
'packaging', | ||
'python-dateutil', | ||
'PyYAML', | ||
'rosdep >= 0.15.0', | ||
'rosdistro >= 0.8.0', | ||
'ros_license_toolkit >= 1.2.2', | ||
'vcstools >= 0.1.22', | ||
] | ||
|
||
# argparse got moved into the stdlib in py2.7, so we only | ||
# need to install the pypi version if we're on an older | ||
# python. | ||
if sys.version_info[0] == 2 and sys.version_info[1] <= 6: | ||
install_requires.append('argparse') | ||
|
||
setup( | ||
name='bloom', | ||
version='0.11.2', | ||
version='0.12.0', | ||
packages=find_packages(exclude=['test', 'test.*']), | ||
package_data={ | ||
'bloom.generators.debian': [ | ||
'bloom/generators/debian/templates/*', | ||
'bloom/generators/debian/templates/source/*' | ||
'templates/*/*', | ||
'templates/*/source/*', | ||
], | ||
'bloom.generators.rpm': [ | ||
'bloom/generators/rpm/templates/*' | ||
] | ||
'templates/*/*.em', | ||
], | ||
}, | ||
include_package_data=True, | ||
install_requires=install_requires, | ||
install_requires=[ | ||
'catkin_pkg >= 0.4.3', | ||
'setuptools', | ||
'empy < 4', | ||
'packaging', | ||
'python-dateutil', | ||
'PyYAML', | ||
'ros_license_toolkit >= 2.0.0', | ||
'rosdep >= 0.15.0', | ||
'rosdistro >= 0.8.0', | ||
'vcstools >= 0.1.22', | ||
], | ||
extras_require={ | ||
'test': [ | ||
'pep8', | ||
'pytest', | ||
]}, | ||
author='Tully Foote, William Woodall', | ||
author_email='[email protected], [email protected]', | ||
maintainer='William Woodall', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
[DEFAULT] | ||
; release with a high debinc to avoid conflict with upstream debian of the same release version | ||
Debian-Version: 100 | ||
Depends: python-yaml, python-empy, python-argparse, python-packaging, python-rosdep (>= 0.15.0), python-rosdistro (>= 0.8.0), python-vcstools (>= 0.1.22), python-setuptools, python-catkin-pkg (>= 0.4.3) | ||
Depends3: python3-yaml, python3-empy, python3-packaging, python3-rosdep (>= 0.15.0), python3-rosdistro (>= 0.8.0), python3-vcstools (>= 0.1.22), python3-setuptools, python3-catkin-pkg (>= 0.4.3) | ||
Conflicts: python3-bloom | ||
Conflicts3: python-bloom | ||
Copyright-File: LICENSE.txt | ||
Suite: bionic buster | ||
Suite3: bionic focal jammy buster bullseye | ||
Python2-Depends-Name: python | ||
Suite3: focal jammy noble bookworm trixie | ||
Dh-python3-params: --no-guessing-deps | ||
X-Python3-Version: >= 3.4 | ||
X-Python3-Version: >= 3.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,12 @@ | |
scripts = os.path.abspath(scripts) | ||
os.environ['PATH'] = scripts + ':' + os.environ['PATH'] | ||
|
||
os.environ['ROSDISTRO_INDEX_URL'] = 'file://' + os.path.join( | ||
os.path.dirname(os.path.abspath(__file__)), | ||
'fake_rosdistro', | ||
'index-v4.yaml', | ||
) | ||
|
||
user_email = '[email protected]' | ||
user_name = 'Test User' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
%YAML 1.1 | ||
--- | ||
distributions: | ||
melodic: | ||
distribution: [melodic/distribution.yaml] | ||
distribution_status: end-of-life | ||
distribution_type: ros1 | ||
python_version: 2 | ||
type: index | ||
version: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
%YAML 1.1 | ||
--- | ||
release_platforms: | ||
debian: | ||
- buster | ||
ubuntu: | ||
- bionic | ||
repositories: [] | ||
type: distribution | ||
version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters