Comments (3)
@tpdn mojimojiの依存削除ありがとうございました。
pendulumのv3.0.0b1も各種環境でテストが通りましたので、こちらを使用してPython3.12対応の0.2.8
をリリースしました。pendulum側の様子を見てstableが出たらそちらを使用する予定ですが、現状はbeta版を利用した0.2.8
を利用いただければと思います。
from ja-timex.
@tpdn 報告ありがとうございます。また、依存パッケージの現状調査も記載いただき、大変助かりました。
まずpendulumについてはタイムゾーンのハンドリング含めて使用箇所が多いため置き換えは難しく、依存先のPython3.12を待つほかなさそうです。ver3.0.0が正式にリリースしたら依存バーションを上げたいと思います。また、mojimojiは全角半角の変換のみに使用しているのみで置き換えが可能ではあるため、こちらは代替手段を実装すれば問題ないと思われます。
from ja-timex.
自分でやってみた感じでは、Pendulum3.0.0b1と自分で修正したmojimojiの組み合わせでフルテストをPython3.8-3.11まですんなりと通せることを確認できました。
Python3.12でも依存関係を解消すればテストが通ります。
tpdn#2
しかしながらPython3.12に対応するとなるとdev dependenciesに大量のパッケージが入っているため、それらの依存関係解消が大変そうに見えました。
ipython・streamlit・pandasなどについては、不要であればdev dependenciesからの撤去も検討すると今後のアップデートが楽になりそうです。
from ja-timex.
Related Issues (20)
- [Feature Request] 基準日を設定できるようにする
- [Bug] "毎年6月"が"年6月"と判定される
- trigger CI tests when issue is created
- [Bug] Windows環境でテストが通らない
- [Modify Rules] 夜9時・今夜9時のような表現のサポート HOT 3
- [Docs] CustomTaggerの使い方を説明する
- [Modify Rules] "半"という表現をサポート
- [Feature Request] 漢数字からアラビア数字への変換を無効にするオプションの追加 HOT 3
- [Modify Rules] ハイフンやドットを使った数字表現を除外する HOT 1
- [Bug] 12:00〜17:30の抽出が失敗する
- [Modify Rules] 複数の日付間の範囲指定のrangeStartとrangeEndが対応しない HOT 1
- [Bug] 生誕100年がDATEとして抽出される
- [Modify Rules] Xから翌Yという表現を範囲表現とする
- [Bug] 漢数字の時刻表現のspanがずれる HOT 2
- [Feature Request] 期間を含む表現が数字を含まない場合にも range_start (range_end) が取得できる HOT 1
- [Bug] to_datetime HOT 1
- [Bug] 日付表現で半を含む際のto_datetime()の動作 HOT 2
- [Bug] 千歳市に挟まれた日付表現で正しい`raw_text`と`raw_span`が得られない
- [Bug] 江戸以前の元号で西暦換算が1年ズレる
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ja-timex.