Skip to content

Commit

Permalink
Move SEGMENT Provider to new structure (apache#46070)
Browse files Browse the repository at this point in the history
* move segment

* fix  Boring Cyborg configuration consistency

---------

Co-authored-by: Jarek Potiuk <[email protected]>
  • Loading branch information
2 people authored and ambika-garg committed Feb 13, 2025
1 parent c920e94 commit 768862a
Show file tree
Hide file tree
Showing 30 changed files with 473 additions and 36 deletions.
8 changes: 2 additions & 6 deletions .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,10 @@ labelPRBasedOnFilePath:
- providers/tests/samba/**/*

provider:segment:
- providers/src/airflow/providers/segment/**/*
- docs/apache-airflow-providers-segment/**/*
- providers/tests/segment/**/*
- providers/segment/**

provider:sendgrid:
- providers/src/airflow/providers/segment/**/*
- docs/apache-airflow-providers-segment/**/*
- providers/tests/segment/**/*
- providers/segment/**

provider:sftp:
- providers/src/airflow/providers/sftp/**/*
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ apache-airflow-providers-openai
apache-airflow-providers-pgvector
apache-airflow-providers-pinecone
apache-airflow-providers-postgres
apache-airflow-providers-segment
apache-airflow-providers-ssh
apache-airflow-providers-standard
apache-airflow-providers-telegram
Expand Down
25 changes: 0 additions & 25 deletions docs/apache-airflow-providers-segment/changelog.rst

This file was deleted.

62 changes: 62 additions & 0 deletions providers/segment/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-segment``

Release: ``3.7.0``


`Segment <https://segment.com/>`__


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

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

You can find package information and changelog for the provider
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-segment/3.7.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-segment``

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``
``analytics-python`` ``>=1.2.9``
==================== ==================

The changelog for the provider package can be found in the
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-segment/3.7.0/changelog.html>`_.
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 @@ -43,14 +43,10 @@ versions:
- 1.0.1
- 1.0.0

dependencies:
- apache-airflow>=2.9.0
- analytics-python>=1.2.9

integrations:
- integration-name: Segment
external-doc-url: https://segment.com/docs/
logo: /integration-logos/segment/Segment.png
logo: /docs/integration-logos/Segment.png
tags: [service]

operators:
Expand Down
78 changes: 78 additions & 0 deletions providers/segment/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-segment"
version = "3.7.0"
description = "Provider package apache-airflow-providers-segment for Apache Airflow"
readme = "README.rst"
authors = [
{name="Apache Software Foundation", email="[email protected]"},
]
maintainers = [
{name="Apache Software Foundation", email="[email protected]"},
]
keywords = [ "airflow-provider", "segment", "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",
"analytics-python>=1.2.9",
]

[project.urls]
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-segment/3.7.0"
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-segment/3.7.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.segment.get_provider_info:get_provider_info"

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

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

0 comments on commit 768862a

Please sign in to comment.