Skip to content

Commit 7cbb9a2

Browse files
author
jayeshmepani
committed
fix: resolve macos x64 architecture mismatch and bump version to 1.0.0
1 parent ac038c1 commit 7cbb9a2

8 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ "main" ]
88

9+
env:
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
11+
912
jobs:
1013
test:
1114
runs-on: ${{ matrix.os }}

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
types: [published]
66
workflow_dispatch: # Allow manual triggering
77

8+
env:
9+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
10+
811
jobs:
912
build-and-publish:
1013
name: Build and publish to PyPI

.github/workflows/release-prebuilt-libs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
build-macos-x64:
6666
name: Build macOS x64
67-
runs-on: macos-14
67+
runs-on: macos-15-intel
6868
steps:
6969
- uses: actions/checkout@v4
7070

build/fetch-prebuilt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env php
22
<?php
33

4-
$postalkitVersion = "v0.1.0";
4+
$postalkitVersion = "v1.0.0";
55
$repoUrl = "https://github.com/jayeshmepani/libpostal-ffi-python/releases/download/{$postalkitVersion}";
66

77
$targets = [

build/fetch-prebuilt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66
from pathlib import Path
77

8-
POSTALKIT_VERSION = "v0.1.0"
8+
POSTALKIT_VERSION = "v1.0.0"
99
REPO_URL = f"https://github.com/jayeshmepani/libpostal-ffi-python/releases/download/{POSTALKIT_VERSION}"
1010

1111
TARGETS = {

postalkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
from .core.ffi import *
77

8-
__version__ = "0.1.0"
8+
__version__ = "1.0.0"

postalkit/data/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from ..exceptions import DependencyMissingError
77
from .checksum import verify_checksum
88

9-
POSTALKIT_VERSION = "v0.1.0"
9+
POSTALKIT_VERSION = "v1.0.0"
1010
BINARIES_BASE_URL = os.environ.get("POSTALKIT_BINARIES_URL", f"https://github.com/jayeshmepani/libpostal-ffi-python/releases/download/{POSTALKIT_VERSION}")
1111
MODEL_DATA_URL = os.environ.get("POSTALKIT_MODEL_URL", "https://s3.amazonaws.com/libpostal/data/libpostal_data.tar.gz")
1212

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "postalkit"
7-
version = "0.1.0"
7+
version = "1.0.0"
88
description = "Zero-setup, one-command install Python package for libpostal"
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)