Skip to content

chore(deps): Bump pytest-mock from 3.12.0 to 3.15.1 in /services/ai-analysis#18

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/services/ai-analysis/pytest-mock-3.15.1
Open

chore(deps): Bump pytest-mock from 3.12.0 to 3.15.1 in /services/ai-analysis#18
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/services/ai-analysis/pytest-mock-3.15.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 28, 2026

Copy link
Copy Markdown
Contributor

Bumps pytest-mock from 3.12.0 to 3.15.1.

Release notes

Sourced from pytest-mock's releases.

v3.15.1

2025-09-16

  • #529: Fixed itertools._tee object has no attribute error -- now duplicate_iterators=True must be passed to mocker.spy to duplicate iterators.

v3.15.0

2025-09-04

  • Python 3.8 (EOL) is no longer supported.
  • #524: Added spy_return_iter to mocker.spy, which contains a duplicate of the return value of the spied method if it is an Iterator.

v3.14.1

  • #503: Python 3.14 is now officially supported.

v3.14.0

  • #415: MockType and AsyncMockType can be imported from pytest_mock for type annotation purposes.
  • #420: Fixed a regression which would cause mocker.patch.object to not being properly cleared between tests.

v3.13.0

  • #417: spy now has spy_return_list, which is a list containing all the values returned by the spied function.
  • pytest-mock now requires pytest>=6.2.5.
  • #410: pytest-mock's setup.py file is removed. If you relied on this file, e.g. to install pytest using setup.py install, please see Why you shouldn't invoke setup.py directly for alternatives.
Changelog

Sourced from pytest-mock's changelog.

3.15.1

2025-09-16

  • [#529](https://github.com/pytest-dev/pytest-mock/issues/529) <https://github.com/pytest-dev/pytest-mock/issues/529>_: Fixed itertools._tee object has no attribute error -- now duplicate_iterators=True must be passed to mocker.spy to duplicate iterators.

3.15.0

2025-09-04

  • Python 3.8 (EOL) is no longer supported.
  • [#524](https://github.com/pytest-dev/pytest-mock/issues/524) <https://github.com/pytest-dev/pytest-mock/pull/524>_: Added spy_return_iter to mocker.spy, which contains a duplicate of the return value of the spied method if it is an Iterator.

3.14.1 (2025-05-26)

  • [#503](https://github.com/pytest-dev/pytest-mock/issues/503) <https://github.com/pytest-dev/pytest-mock/pull/503>_: Python 3.14 is now officially supported.

3.14.0 (2024-03-21)

  • [#415](https://github.com/pytest-dev/pytest-mock/issues/415) <https://github.com/pytest-dev/pytest-mock/pull/415>_: MockType and AsyncMockType can be imported from pytest_mock for type annotation purposes.

  • [#420](https://github.com/pytest-dev/pytest-mock/issues/420) <https://github.com/pytest-dev/pytest-mock/issues/420>_: Fixed a regression which would cause mocker.patch.object to not being properly cleared between tests.

3.13.0 (2024-03-21)

  • [#417](https://github.com/pytest-dev/pytest-mock/issues/417) <https://github.com/pytest-dev/pytest-mock/pull/417>_: spy now has spy_return_list, which is a list containing all the values returned by the spied function.
  • pytest-mock now requires pytest>=6.2.5.
  • [#410](https://github.com/pytest-dev/pytest-mock/issues/410) <https://github.com/pytest-dev/pytest-mock/pull/410>: pytest-mock's setup.py file is removed. If you relied on this file, e.g. to install pytest using setup.py install, please see Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary> for alternatives.
Commits
  • e1b5c62 Release 3.15.1
  • 184eb19 Set spy_return_iter only when explicitly requested (#537)
  • 4fa0088 [pre-commit.ci] pre-commit autoupdate (#536)
  • f5aff33 Fix test failure with pytest 8+ and verbose mode (#535)
  • adc4187 Bump actions/setup-python from 5 to 6 in the github-actions group (#533)
  • 95ad570 [pre-commit.ci] pre-commit autoupdate (#532)
  • e696bf0 Fix standalone mock support (#531)
  • 5b29b03 Fix gen-release-notes script
  • 7d22ef4 Merge pull request #528 from pytest-dev/release-3.15.0
  • 90b29f8 Update CHANGELOG for 3.15.0
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 to 3.15.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v3.12.0...v3.15.1)

---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-version: 3.15.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Feb 28, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: ai-analysis, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@tpals0409 tpals0409 self-requested a review as a code owner March 3, 2026 23:42
tpals0409 added a commit that referenced this pull request May 20, 2026
* feat(ci): 블로그 cross-check 게이트 (Sprint 177 #18)

블로그 글(KR/EN)을 머지 전에 결정론적으로 검증하는 CI hard gate 신규 작성.
사람 눈 확인에 의존하던 블로그 정합성 검증을 quality-docs 잡에 자동화한다.

- scripts/check-blog-crosscheck.mjs (신규): 의존성 0(node 내장 모듈 + 경량
  frontmatter 파서). 검증 3축 — ① KR↔EN 정합(slug 양방향 짝 + date/category/
  order/tags/series/seriesOrder 일치, title/excerpt 제외) ② frontmatter 스키마
  (필수 필드/category enum/date 형식/order 유일) ③ 내부 링크 무결성(파일시스템
  이탈·OS 절대 경로 거부 + /posts·/en/posts 대상 존재). 기본/--lint(WARN)/
  --strict(exit 1) 모드. 회고록 시점 도메인 사실은 검증 제외(false-positive 방지).
- dogfood: sliding-window-agent-context.mdx KR/EN 의 파일시스템 이탈 링크
  (../../../../Desktop/...) → /adr/sprints/151/ · /en/adr/sprints/151/ 로 교체.
- ci.yml: docs paths-filter + quality-docs 스텝(--strict) 배선.

* fix(ci): 블로그 cross-check 코드펜스 제외 + order date-scoped (Critic P2)

Critic(Codex) P2 2건 + dogfood 전제 무효 수정.

- P2-1 (코드펜스 미제외 false-positive): stripCode 헬퍼 신규 — 링크 추출 전
  펜스드 코드 블록(``` / ~~~, info string 포함)과 인라인 코드 스팬(단일/멀티
  백틱)을 제거한다. 코드 영역 텍스트는 렌더 앵커가 아니라 예시이므로 배포
  사이트 404를 만들 수 없다 → 무결성 검사 대상에서 제외.
- P2-2 (order 전역 유일성 false-positive): order 유일성 판정을 locale 전역에서
  "동일 date 내"로 한정(키 ${date}::${order}). getAllPosts(posts.ts)가 date
  내림차순 우선 정렬 후 동일 date 안에서만 order를 tiebreaker로 쓰므로, 다른
  date 글의 order 재사용은 정상이다. 위반 메시지에 date 포함.
- dogfood revert: 대상이던 sliding-window-agent-context.mdx line 239는
  ```markdown 코드펜스 내부의 예시 텍스트였고 실제 404가 아니었다. P2-1
  수정으로 자동 무시되므로 잘못된 전제의 콘텐츠 편집을 main 기준으로 되돌림.

Sprint 177 #18.

* fix(ci): 블로그 cross-check locale-aware 링크 + date 타입 검증 (Critic R2 P2)

Critic R2 P2 2건(false-negative) 수정.

- R2-P2-1 (locale-leak 미검출): classifyLink/checkPostRoute 에 locale 전파.
  글은 자기 locale 의 post 라우트로만 링크해야 한다 — KO 글은 /posts/<slug>,
  EN 글은 /en/posts/<slug>. 교차-locale 라우트는 누수 위반으로 차단하고,
  같은 locale 이면 대상 .mdx 존재까지 검증. /adr/... 등 비-post 루트절대 통과.
  + EN dogfood: posts-en/toward-model-agnostic-harness.mdx 의 [When Baekjoon
    Vanished] 가 KO 라우트(/posts/baekjoon-gone)를 가리키던 실제 누수 →
    /en/posts/baekjoon-gone 으로 교체(KO 글의 동일 링크는 올바르므로 유지).
- R2-P2-2 (비문자열 date 우회): date 형식 검사를 'string AND match' 에서
  'present 한데 (non-string OR not-match)' 로 변경. 경량 파서가 따옴표 없는
  숫자(date: 20260409)를 number 로 파싱해 형식 검증을 통째로 우회하던
  false-negative 차단. undefined 는 필수필드 검사가 담당(중복 미보고).

Sprint 177 #18.

* fix(ci): 블로그 cross-check post 링크 fragment/query 정규화 (Critic R3 P2)

Critic R3 P2 1건(false-negative) 수정.

- R3-P2 (fragment/query 우회): checkPostRoute 가 `$` 앵커 정규식으로
  슬러그를 매칭해, `/posts/missing#section` · `/en/posts/missing?ref=foo`
  처럼 fragment/query 가 붙은 링크를 미매칭→통과시켰다. 그 결과 존재하지
  않는 슬러그를 가진 깨진 in-page 내부 post 링크가 --strict 를 우회했다.
  진입부에서 `href.split(/[#?]/)[0]` 로 path 를 정규화한 뒤 슬러그
  매칭·존재 검증·locale 누수 판정을 수행하도록 변경. 빈 슬러그(/posts/)는
  자연 미매칭으로 통과(현행 동작 유지).

Sprint 177 #18.

---------

Co-authored-by: Leo <leokim@LeoKim-Mac-mini.local>
tpals0409 added a commit that referenced this pull request Jun 9, 2026
…422)

AlgoSu 레포 내 평행 k8s 매니페스트 정의(infra/k3s + infra/overlays)를 삭제.
매니페스트 SSOT는 aether-gitops 하나로 일원화. 이로써 미러 드리프트 원천을
구조적으로 제거(loki/grafana divergence, CB 알림 버그, cb 대시보드 누락 등
모두 평행 정의의 증상이었음).

- infra/k3s/ + infra/overlays/ 삭제 (39파일)
- 미러 전용 개선은 사전 흡수 완료: aether PR #14(CB rule) #15(grafana 하드닝
  +cb 대시보드) #16(prometheus reload sidecar) #17(grafana readOnlyRootFS)
  #18(PDB). HPA/CronJob/NetworkPolicy는 리스크로 후속 보류(ADR-029).
- ADR-029 신규(KR+EN) + README 인덱스(영구 9)
- 잔여 참조 정합: security-headers.middleware.ts, check-*.mjs 주석,
  monitoring-logging.md, db-migration.md, alert-channel-separation.md
- postgres-init/deploy.sh/검증 재배선은 선행 PR(#419~421)에서 완료

Co-authored-by: Leo <tpals0409@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant