Skip to content

Commit

Permalink
Move Zendesk provider to new structure (apache#46047)
Browse files Browse the repository at this point in the history
* init run on zendesk

* remove selective check
  • Loading branch information
rawwar authored and got686-yandex committed Jan 30, 2025
1 parent 8684eca commit b8db61a
Show file tree
Hide file tree
Showing 30 changed files with 473 additions and 39 deletions.
5 changes: 1 addition & 4 deletions .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,7 @@ labelPRBasedOnFilePath:
- providers/tests/system/ydb/**/*

provider:zendesk:
- providers/src/airflow/providers/zendesk/**/*
- docs/apache-airflow-providers-zendesk/**/*
- providers/tests/zendesk/**/*
- providers/tests/system/zendesk/**/*
- providers/zendesk/**

area:providers:
- providers/src/airflow/providers/**/*
Expand Down
8 changes: 3 additions & 5 deletions dev/breeze/tests/test_selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,9 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
(
"providers/tests/system/apache/beam/file.py",
"providers/tests/apache/beam/file.py",
"providers/tests/system/zendesk/file.py",
"providers/tests/zendesk/file.py",
),
{
"selected-providers-list-as-string": "apache.beam common.compat google zendesk",
"selected-providers-list-as-string": "apache.beam common.compat google",
"all-python-versions": "['3.9']",
"all-python-versions-list-as-string": "3.9",
"python-versions": "['3.9']",
Expand All @@ -458,8 +456,8 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
"run-kubernetes-tests": "false",
"upgrade-to-newer-dependencies": "false",
"core-test-types-list-as-string": "Always",
"providers-test-types-list-as-string": "Providers[apache.beam,common.compat,zendesk] Providers[google]",
"individual-providers-test-types-list-as-string": "Providers[apache.beam] Providers[common.compat] Providers[google] Providers[zendesk]",
"providers-test-types-list-as-string": "Providers[apache.beam,common.compat] Providers[google]",
"individual-providers-test-types-list-as-string": "Providers[apache.beam] Providers[common.compat] Providers[google]",
"needs-mypy": "true",
"mypy-checks": "['mypy-providers']",
"skip-providers-tests": "false",
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ apache-airflow-providers-edge
apache-airflow-providers-pinecone
apache-airflow-providers-standard
apache-airflow-providers-weaviate
apache-airflow-providers-zendesk
25 changes: 0 additions & 25 deletions docs/apache-airflow-providers-zendesk/changelog.rst

This file was deleted.

62 changes: 62 additions & 0 deletions providers/zendesk/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
.. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
`PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
Package ``apache-airflow-providers-zendesk``

Release: ``4.9.0``


`Zendesk <https://www.zendesk.com/>`__


Provider package
----------------

This is a provider package for ``zendesk`` provider. All classes for this provider package
are in ``airflow.providers.zendesk`` python package.

You can find package information and changelog for the provider
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.9.0/>`_.

Installation
------------

You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
for the minimum Airflow version supported) via
``pip install apache-airflow-providers-zendesk``

The package supports the following python versions: 3.9,3.10,3.11,3.12

Requirements
------------

================== ==================
PIP package Version required
================== ==================
``apache-airflow`` ``>=2.9.0``
``zenpy`` ``>=2.0.40``
================== ==================

The changelog for the provider package can be found in the
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.9.0/changelog.html>`_.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,10 @@ versions:
- 1.0.1
- 1.0.0

dependencies:
- apache-airflow>=2.9.0
- zenpy>=2.0.40

integrations:
- integration-name: Zendesk
external-doc-url: https://www.zendesk.com/
logo: /integration-logos/zendesk/Zendesk.png
logo: /docs/integration-logos/Zendesk.png
tags: [software]

hooks:
Expand Down
78 changes: 78 additions & 0 deletions providers/zendesk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!

# IF YOU WANT TO MODIFY THIS FILE EXCEPT DEPENDENCIES, YOU SHOULD MODIFY THE TEMPLATE
# `pyproject_TEMPLATE.toml.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
[build-system]
requires = ["flit_core==3.10.1"]
build-backend = "flit_core.buildapi"

[project]
name = "apache-airflow-providers-zendesk"
version = "4.9.0"
description = "Provider package apache-airflow-providers-zendesk for Apache Airflow"
readme = "README.rst"
authors = [
{name="Apache Software Foundation", email="dev@airflow.apache.org"},
]
maintainers = [
{name="Apache Software Foundation", email="dev@airflow.apache.org"},
]
keywords = [ "airflow-provider", "zendesk", "airflow", "integration" ]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Framework :: Apache Airflow",
"Framework :: Apache Airflow :: Provider",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.9"

# The dependencies should be modified in place in the generated file
# Any change in the dependencies is preserved when the file is regenerated
dependencies = [
"apache-airflow>=2.9.0",
"zenpy>=2.0.40",
]

[project.urls]
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.9.0"
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.9.0/changelog.html"
"Bug Tracker" = "https://github.com/apache/airflow/issues"
"Source Code" = "https://github.com/apache/airflow"
"Slack Chat" = "https://s.apache.org/airflow-slack"
"Twitter" = "https://x.com/ApacheAirflow"
"YouTube" = "https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/"

[project.entry-points."apache_airflow_provider"]
provider_info = "airflow.providers.zendesk.get_provider_info:get_provider_info"

[tool.flit.module]
name = "airflow.providers.zendesk"

[tool.pytest.ini_options]
ignore = "tests/system/"
Loading

0 comments on commit b8db61a

Please sign in to comment.