Skip to content

build: Enable editable installs #1625

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

Merged
merged 6 commits into from
Feb 7, 2025
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Repository = "https://github.com/Azure/azure-functions-python-worker"
dev = [
"azure-eventhub", # Used for EventHub E2E tests
"azure-functions-durable", # Used for Durable E2E tests
"azure-monitor-opentelemetry", # Used for Azure Monitor unit tests
"azure-monitor-opentelemetry; python_version >= '3.8'", # Used for Azure Monitor unit tests
"flask",
"fastapi~=0.103.2",
"pydantic",
Expand All @@ -56,7 +56,7 @@ dev = [
"requests==2.*",
"coverage",
"pytest-sugar",
"opentelemetry-api", # Used for OpenTelemetry unit tests
"opentelemetry-api; python_version >= '3.8'", # Used for OpenTelemetry unit tests
"pytest-cov",
"pytest-xdist",
"pytest-randomly",
Expand All @@ -83,7 +83,7 @@ test-deferred-bindings = [
]

[build-system]
requires = ["setuptools>=42", "wheel"]
requires = ["setuptools>=62", "wheel"]
build-backend = "setuptools.build_meta"


Expand Down
5 changes: 5 additions & 0 deletions tests/unittests/test_opentelemetry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import asyncio
import os
import sys
import unittest

from unittest import skipIf
from unittest.mock import MagicMock, patch

from tests.unittests.test_dispatcher import FUNCTION_APP_DIRECTORY
Expand All @@ -9,6 +12,8 @@
from azure_functions_worker import protos


@skipIf(sys.version_info.minor == 7,
"Packages are only supported for 3.8+")
class TestOpenTelemetry(unittest.TestCase):

def setUp(self):
Expand Down
Loading