Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
d-feet
d-feet
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • d-feetd-feet
  • Merge Requests
  • !7

Merged
Opened Sep 19, 2018 by Will Thompson@wjtDeveloper

Fix 'make check', detect 'pycodestyle' (the new name for 'pep8'), use Python 3 in Flatpak version, and set up CI

  • Overview 1
  • Commits 9
  • Pipelines 1
  • Changes 14

I noticed that make check was broken due to some coding style violations, so decided to take the opportunity to set up GitLab CI. To avoid having to install pep8 in the Flatpak, I added both a Flatpak build (against the master runtime) and a Fedora build (on Rawhide). Then I discovered many things:

  • pep8 has been renamed to pycodestyle; new versions complain about more things
  • The master GNOME runtime does not include Python 2, which was previously used for the app
  • Even if you set PYTHON=/usr/bin/python3, make check previously ran the tests under Python 2

All these things are addressed here. Both builds run with Python 3. Personally, I would support bumping the minimum Python version to 3.5 (or perhaps even newer) and dropping the Python 2 compatibility stuff.

Edited Sep 19, 2018 by Will Thompson
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: GNOME/d-feet!7
Source branch: enable-gitlab-ci

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.